2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 04:34:11 +08:00
linux-next/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
..
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
et1011c.c
fixed.c phy: error handling for platform_device_register_simple() 2009-04-11 01:52:29 -07:00
icplus.c
Kconfig NET: Add driver for Octeon MDIO buses. 2009-12-17 01:56:58 +00:00
lxt.c
Makefile NET: Add driver for Octeon MDIO buses. 2009-12-17 01:56:58 +00:00
marvell.c phy: add RTBI mode for m88e1111 2010-01-21 01:17:56 -08:00
mdio_bus.c NET: Support clause 45 MDIO commands at the MDIO bus level 2010-03-16 21:23:42 -07: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
national.c
phy_device.c libphy: add phy_find_first function 2010-02-04 10:23:02 -08:00
phy.c phylib: Move workqueue initialization to a proper place 2010-01-19 01:59:02 -08:00
qsemi.c
realtek.c
smsc.c phy: SMSC device Energy Detect power-down mode 2010-01-06 20:35:14 -08:00
ste10Xp.c
vitesse.c