Subject: Re: Sharing MII and I2C code in ethernet drivers
To: Ty Sarna <tsarna@endicor.com>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: tech-kern
Date: 09/21/1997 21:35:13
On Sun, 21 Sep 1997 21:43:44 -0500 (CDT) 
 Ty Sarna <tsarna@endicor.com> wrote:

 > Not to mention the code to implement this stuff as a bus, which, it
 > seems to me, could even mean the binary would would grow rather than
 > shrink. 

You'll need _some_ kind of machinery to find the PHYs on the MII anyhow.
If you use an existing machine, you're talking less code than if you
reimplemented.

Also consider that several cards have the same PHYs (i.e. some Tulip
cards have the same PHYs as Intel cards) ... sharing that code is a
savings.

Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                            Home: +1 408 866 1912
NAS: M/S 258-6                                       Work: +1 415 604 0935
Moffett Field, CA 94035                             Pager: +1 415 428 6939