]> bbs.cooldavid.org Git - net-next-2.6.git/commit
NET: Add driver for Octeon MDIO buses.
authorDavid Daney <ddaney@caviumnetworks.com>
Wed, 14 Oct 2009 19:04:38 +0000 (12:04 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 17 Dec 2009 01:56:58 +0000 (01:56 +0000)
commit25d967b72a92d72b6e0263a0337dfc940bd6c044
tree97900b2e687d8d868bd61ba7bc9d3acd3ce8b11a
parent0f7e64a3941fef0a5735da5184f3ccc0d234b580
NET: Add driver for Octeon MDIO buses.

The Octeon SOC has two types of Ethernet ports, each type with its own
driver.  However, the PHYs for all the ports are controlled by a
common MDIO bus.  Because the mdio driver is not associated with a
particular driver, but is instead a system level resource, we create s
stand-alone driver for it.

As for the driver, we put the register definitions in
arch/mips/include/asm/octeon where most of the other Octeon register
definitions live.  This is a platform driver with the platform device
for "mdio-octeon" being registered in the platform startup code.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/octeon/cvmx-smix-defs.h [new file with mode: 0644]
drivers/net/phy/Kconfig
drivers/net/phy/Makefile
drivers/net/phy/mdio-octeon.c [new file with mode: 0644]