<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
I remember Gergios telling me that this card worked in an older version of bf.
<div><br>
<span style="font-size:100%">Regards,<br>
Patrik Eklöf<br>
Student at ICT, Master of Science in Engineering Education, IT Programme, KTH, Kista<br>
Sent from my Samsung Galaxy Tab 10.1</span></div>
<br>
Georgios Varisteas &lt;yorgos@kth.se&gt; wrote:<br>
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style><font size="2"><span style="font-size:10pt;">
<div class="PlainText">Hi Mothy,<br>
<br>
Am I mistaken that Lance is mostly an optimized/evolved version of NE2000, the basic specification behind the RTL NIC? I think it is sometimes referred to as NE2100. I am not saying that the cards are identical, rather their differences are minimal for basic
 functionality.<br>
<br>
regards,<br>
Georgios<br>
<br>
<br>
<br>
________________________________________<br>
From: Timothy Roscoe [troscoe@inf.ethz.ch]<br>
Sent: Friday, July 06, 2012 10:21<br>
To: Patrik Eklöf<br>
Cc: barrelfish-users@lists.inf.ethz.ch<br>
Subject: Re: [Barrelfish-users] Undefined address space 'pageX'<br>
<br>
Hi Patrik,<br>
<br>
You should not need to modify rtl8029as.dev at all - its functionality<br>
hasn't changed since it was written originally (it's not a complex<br>
card), and reverting it will most likely break the existing driver.<br>
<br>
The file has changed because Mackerel acquired new constructs which<br>
made it much simpler to express things like arrays of registers, and<br>
non-standard address spaces, both of which the RTL uses.<br>
<br>
The best source of material for understanding the .dev file is the<br>
Mackerel manual (available on the web site and in the source code as a<br>
technical note), but as I said, you shouldn't need to modify this<br>
file, only the driver.<br>
<br>
Do you have a citation for the AM79C973 ever working?&nbsp; I don't think we<br>
have one here, and if I remember correctly the AM79C973 is compatible<br>
with the LANCE, rather than the RTL8029, and we don't have a LANCE<br>
driver...<br>
<br>
&nbsp;-- Mothy<br>
<br>
At Thu, 5 Jul 2012 16:44:55 &#43;0000, Patrik Eklöf &lt;peklof@kth.se&gt; wrote:<br>
&gt; Hi all,<br>
&gt;<br>
&gt; I'm told the 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 &quot;hack&quot; BF to work with it again by changing the rtl8029as.dev file.<br>
&gt; (Scream at me if I'm doing this the wrong way :p)<br>
&gt;<br>
&gt; Anyway, I have a diff from a bf version from 2010 which I'm trying to patch in.<br>
&gt; Now, I am not so versed in Mackarel, so I'm trying to understand how this works.<br>
&gt;<br>
&gt; I have these lines here in the diff file:<br>
&gt;<br>
&gt; -&nbsp; regarray par rw page1( 0x1 )[6] &quot;Physical Address&quot; type(uint8);<br>
&gt; &#43;&nbsp; register par0 rw also io ( base, 0x1 ) &quot;Physical Address Field 0&quot; type(uint8);<br>
&gt; &#43;&nbsp; register par1 rw also io ( base, 0x2 ) &quot;Physical Address Field 1&quot; type(uint8);<br>
&gt; &#43;&nbsp; register par2 rw also io ( base, 0x3 ) &quot;Physical Address Field 2&quot; type(uint8);<br>
&gt; &#43;&nbsp; register par3 rw also io ( base, 0x4 ) &quot;Physical Address Field 3&quot; type(uint8);<br>
&gt; &#43;&nbsp; register par4 rw also io ( base, 0x5 ) &quot;Physical Address Field 4&quot; type(uint8);<br>
&gt; &#43;&nbsp; register par5 rw also io ( base, 0x6 ) &quot;Physical Address Field 5&quot; type(uint8);<br>
&gt;<br>
&gt; 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>
&gt; But when I compile this, I get<br>
&gt;<br>
&gt; ../source/devices/rtl8029as.dev:276:12: Undefined address space 'page1'<br>
&gt;<br>
&gt; I can see a line<br>
&gt;<br>
&gt; -&nbsp; space page1(addr) bytewise &quot;NE2000 compatible page 1&quot;;<br>
&gt;<br>
&gt; 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>
&gt;<br>
&gt; Thanks.<br>
&gt;<br>
&gt; Regards,<br>
&gt; Patrik Eklöf<br>
&gt; Student at ICT, Master of Science in Engineering Education, IT Programme, KTH, Kista<br>
&gt;<br>
<br>
_______________________________________________<br>
Barrelfish-users mailing list<br>
Barrelfish-users@lists.inf.ethz.ch<br>
<a href="https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users" target="_BLANK">https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users</a><br>
</div>
</span></font>
</body>
</html>