From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <283e5874d3775af976d01e9bee39b8b9@plan9.bell-labs.com> Date: Fri, 25 Nov 2005 12:35:39 -0500 From: jmk@plan9.bell-labs.com To: 9fans@cse.psu.edu Subject: Re: [9fans] ethernet detection problems In-Reply-To: <32d987d50511242200i31ed277fid4f46aa7de5249eb@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: b1a1e192-ead0-11e9-9d60-3106f5b1d025 On Fri Nov 25 01:01:48 EST 2005, benavento@gmail.com wrote: > > > % diff -c /n/dump/2005/1106/sys/src/9/pc/ether83815.c > > /sys/src/9/pc/ether83815.c > > > /n/dump/2005/1106/sys/src/9/pc/ether83815.c:81,86 - > > > /sys/src/9/pc/ether83815.c:81,87 > > > > > > enum { /* Variants */ > > > Nat83815 = (0x0020<<16)|0x100B, > > > + Sis900 = (0x0630<<16)|0x1039, /* untested */ > > > }; > > > > > hmm, this didn't work for me either that's why I'm still using > Andrey's driver. Now seing the code closely I think I know > where the problem is, I haven't tested it yet, but I think this will work. > > Sis900 = (0x0900<<16)|0x1039, > > -- > Federico G. Benavento If you look in /lib/pci, (0x0900<<16)|0x1039 would seem to be the logical choice. --jim