Messages in this thread | | | Date | Wed, 16 Apr 2008 14:36:58 -0400 | From | Jeff Garzik <> | Subject | Re: [PATCH] net: let the MII driver inform a MAC about changed wire speed |
| |
Wappler Marcel wrote: > This was tested on a ARM926 base SoC with an IP based ethernet MAC (10/100 MBit) together with a Realtek RTL8201 MII and a SMCSC > 8700 RMII with kernel 2.6.24. > > --- > An Ethernet MAC needs to know the medium speed (10/100/1000 Mbps) of an RMII PHY in order to correctly interpret data originating > from that PHY. The function mii_check_media() has been extended to allow retrieval of the medium speed by a MAC driver. A trivial > modification to existing MAC drivers will allow them to cover operation with both MII and RMII PHYs. > Signed-off-by: Marcel Wappler <marcel.wappler@bridgeco.net>
Please make sure to copy netdev list...
Queued for review.
Jeff
| |