Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: David Daney <ddaney@caviumnetworks.com>
To: linux-mips <linux-mips@linux-mips.org>, netdev@vger.kernel.org
Subject: [PATCH 0/3] Add driver for OCTEON MGMT ethernet device.
Date: Fri, 19 Dec 2008 15:41:34 -0800	[thread overview]
Message-ID: <494C312E.9000901@caviumnetworks.com> (raw)

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

             reply	other threads:[~2008-12-19 23:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-19 23:41 David Daney [this message]
2008-12-19 23:43 ` [PATCH 1/3] MIPS: Add named alloc functions to OCTEON boot monitor memory allocator David Daney
2008-12-19 23:43 ` [PATCH 2/3] MIPS: Add some register definitions to OCTEON for MGMT ethernet driver David Daney
2008-12-19 23:43 ` [PATCH 3/3] netdev: New driver for OCTEON's MGMT ethernet devices David Daney
2008-12-26  0:52   ` David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=494C312E.9000901@caviumnetworks.com \
    --to=ddaney@caviumnetworks.com \
    --cc=linux-mips@linux-mips.org \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox