From mboxrd@z Thu Jan 1 00:00:00 1970 From: jmk@plan9.bell-labs.com Message-Id: <200006160349.XAA12159@cse.psu.edu> Subject: Re: [9fans] fs configuration with the ether i82557 Date: Thu, 15 Jun 2000 23:49:11 -0400 To: 9fans@cse.psu.edu MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: c003926a-eac8-11e9-9e20-41e7f4b1d025 >Heya, > >If you're planning on setting up a fileserver with the i82557 nic, >you'll need to edit the code in your /sys/src/fs//ether82557.c >file. Currently it only checks and sets for the 100 mbps setup, >and otherwise leaves it 0. This unfortunately makes the fileserver's >network capabilities nonexistent. > >Around line 1043 you'll see the conditional: > if(bmcr & 0x2000) > ether->mbps = 100; >Add: > else > ether->mbps = 10; > >and you'll be set. > >sam You will find many such inconsistencies in the fileserver code. Because the code was developed from a much earlier version of Plan 9 it is always a pain to add or update drivers and the lack of enthusiasm shows. Fortunately we don't need to fiddle with it often. After I return from Usenix and am laid-off from my work as Customer Service Rep. in the Plan 9 Fulfillment Centre I plan to do some work on the fileserver kernel and address some of the inconsistencies. --jim