Thread (16 messages) 16 messages, 5 authors, 2005-01-17

[RFC] Patch to Abstract Ethernet PHY support (using driver model)

From: Andy Fleming <hidden>
Date: 2004-12-24 00:33:51
Also in: linuxppc-dev

Adds a Phy Abstraction Layer which allows ethernet controllers to 
manage their PHYs without knowing the details of how the particular PHY 
device operates.  This code steals heavily from BenH's  sungem driver, 
and got some stuff out of Jason McMullan's patch.

Primary features of the code:
* Allows drivers to only use what they want (to a degree).  If you want 
to handle it all yourself, but use some of the data structures and 
functions, that's ok.  If you want to handle your own interrupts, 
that's fine.  However, it also allows you to minimize PHY management 
code.  See the gianfar driver patches (included for reference).
* Integrates with current ethtool/mii defined fields.
* Uses the driver model to manage binding PHY drivers to PHY devices, 
and MDIO bus drivers to MDIO bus devices.
* Doesn't affect drivers which don't use it.

Here's the patch:

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help