linux/drivers/net/phy
Jason Gunthorpe abf35df215 NET: Support clause 45 MDIO commands at the MDIO bus level
IEEE 802.3ae clause 45 specifies a somewhat modified MDIO protocol
for use by 10GIGE phys. The main change is a 21 bit address split into
a 5 bit device ID and a 16 bit register offset. The definition is designed
so that normal and extended devices can run on the same MDIO bus.

Extend mdio-bitbang to do the new protocol. At the MDIO bus level the
protocol is requested by or'ing MII_ADDR_C45 into the register offset.

Make phy_read/phy_write/etc pass a full 32 bit register offset.

This does not attempt to make the phy layer support C45 style PHYs, just
to provide the MDIO bus support.

Tested against a Broadcom 10GE phy with ID 0x206034, and several
Broadcom 10/100/1000 Phys in normal mode.

Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-03-16 21:23:42 -07:00
..
Kconfig NET: Add driver for Octeon MDIO buses. 2009-12-17 01:56:58 +00:00
Makefile NET: Add driver for Octeon MDIO buses. 2009-12-17 01:56:58 +00:00
bcm63xx.c MIPS: BCM63XX: Add integrated ethernet PHY support for phylib. 2009-07-07 19:23:51 -07:00
broadcom.c tg3: Push phylib definitions to phylib 2010-02-17 17:27:40 -08:00
cicada.c
davicom.c dm9161: add configuration for MII/RMII 2008-03-05 06:26:56 -05:00
et1011c.c phy: Add LSI ET1011C PHY driver 2008-12-09 22:21:25 -08:00
fixed.c phy: error handling for platform_device_register_simple() 2009-04-11 01:52:29 -07:00
icplus.c
lxt.c
marvell.c phy: add RTBI mode for m88e1111 2010-01-21 01:17:56 -08:00
mdio-bitbang.c NET: Support clause 45 MDIO commands at the MDIO bus level 2010-03-16 21:23:42 -07:00
mdio-gpio.c net: fix mdio section mismatch warning 2009-11-17 04:04:40 -08:00
mdio-octeon.c NET: Add driver for Octeon MDIO buses. 2009-12-17 01:56:58 +00:00
mdio_bus.c NET: Support clause 45 MDIO commands at the MDIO bus level 2010-03-16 21:23:42 -07:00
national.c phy: Add file missed in previous commit. 2008-11-28 16:40:26 -08:00
phy.c phylib: Move workqueue initialization to a proper place 2010-01-19 01:59:02 -08:00
phy_device.c libphy: add phy_find_first function 2010-02-04 10:23:02 -08:00
qsemi.c
realtek.c phylib: Add Realtek 821x eth PHY support 2008-02-03 04:28:42 -08:00
smsc.c phy: SMSC device Energy Detect power-down mode 2010-01-06 20:35:14 -08:00
ste10Xp.c phy: add the ST ste10Xp PHYs 2008-11-28 16:42:41 -08:00
vitesse.c phylib: Add Vitesse VSC8221 SGMII PHY 2008-11-25 01:00:47 -08:00