• David Daney's avatar
    NET: Add driver for Octeon MDIO buses. · 25d967b7
    David Daney authored
    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: default avatarDavid Daney <ddaney@caviumnetworks.com>
    Acked-by: default avatarDavid S. Miller <davem@davemloft.net>
    Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
    25d967b7
cvmx-smix-defs.h 5.05 KB