]> git.baikalelectronics.ru Git - kernel.git/commit
mdio: Add register definitions for MDIO (clause 45)
authorBen Hutchings <bhutchings@solarflare.com>
Wed, 29 Apr 2009 08:04:14 +0000 (08:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Apr 2009 00:32:28 +0000 (17:32 -0700)
commit39537dd9d3c30504f9f46b168995fa3b6d7db923
tree78c60cef1989a89ed167f8fc9bf9c36fcb70fe5c
parentad10d058fbecb148296e320611440cc25341bcde
mdio: Add register definitions for MDIO (clause 45)

IEEE 802.3 clause 45 specifies the MDIO interface and registers for
use in 10G and other PHYs, similar to the MII management interface.

PHYs may have up to 32 MMDs corresponding to different sub-layers and
functions, each with up to 65536 registers.  These are addressed by
PRTAD (similar to the MII PHY address) and DEVAD.  Define a mapping
for specifying PRTAD and DEVAD through the existing MII ioctls.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/mdio.h [new file with mode: 0644]