Add driver for OCTEON MGMT ethernet device.
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | MIPS: Add named alloc functions to OCTEON boot monitor memory allocator.arch/ arch/ | +186 | 0 replies | |
| 2/3 | MIPS: Add some register definitions to OCTEON for MGMT ethernet driver.arch/ arch/ arch/ | +1620 | 0 replies | |
| 3/3 | netdev: New driver for OCTEON's MGMT ethernet devices.arch/ drivers/ drivers/ +4 more | +1972 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] Add driver for OCTEON MGMT ethernet device.
Queued for inclusion in 2.6.29 is support for the Cavium OCTEON processor. See:
http://marc.info/?l=linux-mips&m=122903840412896&w=2
http://marc.info/?l=linux-mips&m=122972878908450&w=2
This patch set adds support for the OCTEON SOC's on-board mgmt ethernet devices.
The first patch is not too interesting, it adds a missing function to the boot monitor memory allocator. This is needed by the third patch.
Second I add register definitions for the hardware blocks used by the driver. This is just a lot of boiler plate.
Third is the main driver patch.
I anticipate that some changes may have to be made to the driver, but I wanted to get some feedback before proceeding. So please let me know what you think should change with an eye to getting the driver merged.
I will reply with the three patches.
David Daney (3):
MIPS: Add named alloc functions to OCTEON boot monitor memory
allocator.
MIPS: Add some register definitions to OCTEON for MGMT ethernet
driver.
netdev: New driver for OCTEON's MGMT ethernet devices.
arch/mips/cavium-octeon/executive/cvmx-bootmem.c | 101 ++ arch/mips/include/asm/octeon/cvmx-agl-defs.h | 1194 ++++++++++++++++++++++ arch/mips/include/asm/octeon/cvmx-bootmem.h | 85 ++ arch/mips/include/asm/octeon/cvmx-mdio.h | 577 +++++++++++ arch/mips/include/asm/octeon/cvmx-mixx-defs.h | 248 +++++ arch/mips/include/asm/octeon/cvmx-smix-defs.h | 178 ++++ drivers/net/Kconfig | 8 + drivers/net/Makefile | 1 + drivers/net/octeon/Makefile | 11 + drivers/net/octeon/cvmx-mgmt-port.c | 818 +++++++++++++++ drivers/net/octeon/cvmx-mgmt-port.h | 168 +++ drivers/net/octeon/octeon-mgmt-port.c | 389 +++++++ 12 files changed, 3778 insertions(+), 0 deletions(-)
create mode 100644 arch/mips/include/asm/octeon/cvmx-agl-defs.h create mode 100644 arch/mips/include/asm/octeon/cvmx-mdio.h create mode 100644 arch/mips/include/asm/octeon/cvmx-mixx-defs.h create mode 100644 arch/mips/include/asm/octeon/cvmx-smix-defs.h create mode 100644 drivers/net/octeon/Makefile
create mode 100644 drivers/net/octeon/cvmx-mgmt-port.c create mode 100644 drivers/net/octeon/cvmx-mgmt-port.h create mode 100644 drivers/net/octeon/octeon-mgmt-port.c