[PATCH 0/3] Add driver for OCTEON MGMT ethernet device.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux