<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi all,<br>
<br>
I'm told the <span lang="en-GB"><font size="2" color="black" face="Tahoma"><span style="font-size:10pt;" dir="ltr"><font face="Tahoma,sans-serif">AM79C973 NIC worked with BF before (well, just adding it in and using the RTL driver doesn't work in the latest
anyway), so I'm trying to "hack" BF to work with it again by changing the rtl8029as.dev file.<br>
(Scream at me if I'm doing this the wrong way :p)<br>
<br>
Anyway, I have a diff from a bf version from 2010 which I'm trying to patch in.<br>
Now, I am not so versed in Mackarel, so I'm trying to understand how this works.<br>
<br>
I have these lines here in the diff file:<br>
<br>
- regarray par rw page1( 0x1 )[6] "Physical Address" type(uint8);<br>
+ register par0 rw also io ( base, 0x1 ) "Physical Address Field 0" type(uint8);<br>
+ register par1 rw also io ( base, 0x2 ) "Physical Address Field 1" type(uint8);<br>
+ register par2 rw also io ( base, 0x3 ) "Physical Address Field 2" type(uint8);<br>
+ register par3 rw also io ( base, 0x4 ) "Physical Address Field 3" type(uint8);<br>
+ register par4 rw also io ( base, 0x5 ) "Physical Address Field 4" type(uint8);<br>
+ register par5 rw also io ( base, 0x6 ) "Physical Address Field 5" type(uint8);<br>
<br>
Since the current drive seems to work with arrays, I added back the first line with par1 since they seem to be based on the same address and equal number of bytes.<br>
But when I compile this, I get<br>
<br>
../source/devices/rtl8029as.dev:276:12: Undefined address space 'page1'<br>
<br>
I can see a line<br>
<br>
- space page1(addr) bytewise "NE2000 compatible page 1";<br>
<br>
at the beginning of the files (that's removed), but is this really necessary? Am I not understanding what a page is? Can someone explain, or elaborate a little perhaps, on how these retrofit these changes or how pages and arrays work?<br>
<br>
Thanks.<br>
</font></span></font></span>
<div><br>
<div style="font-family:Tahoma; font-size:13px"><font style="font-family:Tahoma" size="2"><span style="font-size:10pt">Regards,<br>
Patrik Eklöf</span></font><font size="2" color="black" face="Tahoma"><span dir="ltr" style="font-size:10pt"></span></font><font size="2" color="black" face="Tahoma"><span dir="ltr" style="font-size:10pt"><br>
</span></font><font style="font-family:Tahoma" size="2"><span style="font-size:10pt">Student at ICT, Master of Science in Engineering Education, IT Programme, KTH, Kista<br>
</span></font></div>
</div>
</div>
</body>
</html>