From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Sun, 6 Nov 2005 09:42:57 -0500 From: Russ Cox To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] ethernet detection problems In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: Topicbox-Message-UUID: a6ff6020-ead0-11e9-9d60-3106f5b1d025 For the SIS900, try applying the following changes to /sys/src/9/pc/ether83815.c and then recompile the kernel, copy it to 9fat, and boot it. % diff -c /n/dump/2005/1106/sys/src/9/pc/ether83815.c /sys/src/9/pc/ether83= 815.c /n/dump/2005/1106/sys/src/9/pc/ether83815.c:81,86 - /sys/src/9/pc/ether83815.c:81,87 enum {=09=09=09=09/* Variants */ =09Nat83815=09=3D (0x0020<<16)|0x100B, + =09Sis900 =3D (0x0630<<16)|0x1039,=09/* untested */ }; typedef struct Ctlr Ctlr; /n/dump/2005/1106/sys/src/9/pc/ether83815.c:841,846 - /sys/src/9/pc/ether83815.c:842,848 =09=09=09continue; =09=09case Nat83815: + =09=09case Sis900: =09=09=09break; =09=09} % Similarly, the following patch may make your WPC-11 start working (if not, please send us the "net" lines that get printed by the "pci" command). % diff -c /n/dump/2005/1106/sys/src/9/pc/etherwavelan.c /sys/src/9/pc/etherwavelan.c /n/dump/2005/1106/sys/src/9/pc/etherwavelan.c:87,92 - /sys/src/9/pc/etherwavelan.c:87,93 =09int did; } wavelanpci[] =3D { =090x1260, 0x3873,=09/* Intersil Prism2.5 */ + =090x1737,=090x0019,=09/* Linksys WPC-11 untested */ }; static Ctlr *ctlrhead, *ctlrtail; % Russ