On Thu, 2005-03-10 at 18:27 -0500, Jeff Garzik wrote: > I haven't had time to review the phy abstraction layer, but my gut > feeling is that there are several common code patterns which could be > abstracted out, to save code. > > Typically there will be one or more phy-specific functions in each > 10/100 or GigE driver, falling back to a default 'genphy' driver when > things are completely MII/GMII-compatible.
Exactly. One thing for which i usually need PHY specific functions (pretty much all the time) is PHY init (thanks Broadcom) and suspend. Ben.