netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] netdev: Octeon MGMT new driver + octeon_ethernet updates (v2).
@ 2009-10-14 19:02 David Daney
  2009-10-14 19:04 ` [PATCH 1/6] MIPS: Octeon: Add platform device for MDIO buses David Daney
                   ` (5 more replies)
  0 siblings, 6 replies; 14+ messages in thread
From: David Daney @ 2009-10-14 19:02 UTC (permalink / raw)
  To: Ralf Baechle, linux-mips, netdev

This is the second version of this patch set.  The only difference
from the first version is that some unrelated changes have been
factored out of 6/6.

The main thrust of this patch set is to add a driver for the Cavium
Networks Octeon processor's MII (Management port) Ethernet devices.
Since it shares an mdio bus with the existing octeon-ethernet driver,
there is also some rearrangement of that code.

The Octeon SOC has an mdio bus that is shared by the PHYs of all the
Ethernet ports on the chip.  Patches 1/6 and 2/6 add a stand-alone
driver for the shared mdio bus

3/6 adds platform devices for the octeon_mgmt devices.

4/6 has the register definitions needed by the driver.

5/6 the octeon_mgmt driver proper

6/6 converts octeon_ethernet to use the PHYs on the shared mdio bus.


davem acked the non-mips parts (Thank You davem) and since the Octeon
is a mips based device, we will be merging these patches via Ralf's
tree.

I will reply with the 6 patches.

David Daney (6):
   MIPS: Octeon: Add platform device for MDIO buses.
   net: Add driver for Octeon MDIO buses.
   MIPS: Octeon: Add platform devices MGMT Ethernet ports.
   MIPS: Octeon: Add register definitions for MGMT Ethernet driver.
   netdev: Add Ethernet driver for Octeon MGMT devices.
   Staging: octeon-ethernet: Convert to use PHY Abstraction Layer.

  arch/mips/cavium-octeon/octeon-platform.c     |   88 ++
  arch/mips/include/asm/octeon/cvmx-agl-defs.h  | 1194 
+++++++++++++++++++++++++
  arch/mips/include/asm/octeon/cvmx-mixx-defs.h |  248 +++++
  arch/mips/include/asm/octeon/cvmx-smix-defs.h |  178 ++++
  drivers/net/Kconfig                           |    2 +
  drivers/net/Makefile                          |    2 +
  drivers/net/octeon/Kconfig                    |   10 +
  drivers/net/octeon/Makefile                   |    2 +
  drivers/net/octeon/octeon_mgmt.c              | 1175 
++++++++++++++++++++++++
  drivers/net/phy/Kconfig                       |   11 +
  drivers/net/phy/Makefile                      |    1 +
  drivers/net/phy/mdio-octeon.c                 |  180 ++++
  drivers/staging/octeon/Kconfig                |    3 +-
  drivers/staging/octeon/ethernet-mdio.c        |  204 ++---
  drivers/staging/octeon/ethernet-mdio.h        |    2 +-
  drivers/staging/octeon/ethernet-proc.c        |  112 ---
  drivers/staging/octeon/ethernet-rgmii.c       |   52 +-
  drivers/staging/octeon/ethernet-sgmii.c       |    2 +-
  drivers/staging/octeon/ethernet-xaui.c        |    2 +-
  drivers/staging/octeon/ethernet.c             |   23 +-
  drivers/staging/octeon/octeon-ethernet.h      |    6 +-
  21 files changed, 3216 insertions(+), 281 deletions(-)
  create mode 100644 arch/mips/include/asm/octeon/cvmx-agl-defs.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/Kconfig
  create mode 100644 drivers/net/octeon/Makefile
  create mode 100644 drivers/net/octeon/octeon_mgmt.c
  create mode 100644 drivers/net/phy/mdio-octeon.c


^ permalink raw reply	[flat|nested] 14+ messages in thread
* [PATCH 0/6] netdev: Octeon MGMT new driver + octeon_ethernet updates.
@ 2009-10-07 23:07 David Daney
  2009-10-07 23:10 ` [PATCH 5/6] netdev: Add Ethernet driver for Octeon MGMT devices David Daney
  0 siblings, 1 reply; 14+ messages in thread
From: David Daney @ 2009-10-07 23:07 UTC (permalink / raw)
  To: Ralf Baechle, linux-mips, netdev

The main thrust of this patch set is to add a driver for the Cavium
Networks Octeon processor's MII (Management port) Ethernet devices.
Since it shares an mdio bus with the existing octeon-ethernet driver,
there is also some rearrangement of that code.

The Octeon SOC has an mdio bus that is shared by the PHYs of all the
Ethernet ports on the chip.  Patches 1/6 and 2/6 add a stand-alone
driver for the shared mdio bus

3/6 adds platform devices for the octeon_mgmt devices.

4/6 has the register definitions needed by the driver.

5/6 the octeon_mgmt driver proper

6/6 converts octeon_ethernet to use the PHYs on the shared mdio bus.


Since the Octeon is a mips based device, we may want to merge some or
all of these patches via Ralf's tree.

I will reply with the 6 patches.

David Daney (6):
   MIPS: Octeon: Add platform device for MDIO buses.
   net: Add driver for Octeon MDIO buses.
   MIPS: Octeon: Add platform devices MGMT Ethernet ports.
   MIPS: Octeon: Add register definitions for MGMT Ethernet driver.
   netdev: Add Ethernet driver for Octeon MGMT devices.
   Staging: octeon-ethernet: Convert to use PHY Abstraction Layer.

  arch/mips/cavium-octeon/octeon-platform.c     |   88 ++
  arch/mips/include/asm/octeon/cvmx-agl-defs.h  | 1194 
+++++++++++++++++++++++++
  arch/mips/include/asm/octeon/cvmx-mixx-defs.h |  248 +++++
  arch/mips/include/asm/octeon/cvmx-smix-defs.h |  178 ++++
  drivers/net/Kconfig                           |    2 +
  drivers/net/Makefile                          |    2 +
  drivers/net/octeon/Kconfig                    |   10 +
  drivers/net/octeon/Makefile                   |    2 +
  drivers/net/octeon/octeon_mgmt.c              | 1175 
++++++++++++++++++++++++
  drivers/net/phy/Kconfig                       |   11 +
  drivers/net/phy/Makefile                      |    1 +
  drivers/net/phy/mdio-octeon.c                 |  180 ++++
  drivers/staging/octeon/Kconfig                |    3 +-
  drivers/staging/octeon/ethernet-mdio.c        |  202 ++---
  drivers/staging/octeon/ethernet-mdio.h        |    2 +-
  drivers/staging/octeon/ethernet-proc.c        |  112 ---
  drivers/staging/octeon/ethernet-rgmii.c       |   54 +-
  drivers/staging/octeon/ethernet-sgmii.c       |    2 +-
  drivers/staging/octeon/ethernet-xaui.c        |    2 +-
  drivers/staging/octeon/ethernet.c             |   68 +-
  drivers/staging/octeon/octeon-ethernet.h      |   15 +-
  21 files changed, 3255 insertions(+), 296 deletions(-)
  create mode 100644 arch/mips/include/asm/octeon/cvmx-agl-defs.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/Kconfig
  create mode 100644 drivers/net/octeon/Makefile
  create mode 100644 drivers/net/octeon/octeon_mgmt.c
  create mode 100644 drivers/net/phy/mdio-octeon.c

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2009-10-14 19:23 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-14 19:02 [PATCH 0/6] netdev: Octeon MGMT new driver + octeon_ethernet updates (v2) David Daney
2009-10-14 19:04 ` [PATCH 1/6] MIPS: Octeon: Add platform device for MDIO buses David Daney
2009-10-14 19:22   ` Ralf Baechle
2009-10-14 19:04 ` [PATCH 2/6] net: Add driver for Octeon " David Daney
2009-10-14 19:22   ` Ralf Baechle
2009-10-14 19:04 ` [PATCH 3/6] MIPS: Octeon: Add platform devices MGMT Ethernet ports David Daney
2009-10-14 19:22   ` Ralf Baechle
2009-10-14 19:04 ` [PATCH 4/6] MIPS: Octeon: Add register definitions for MGMT Ethernet driver David Daney
2009-10-14 19:22   ` Ralf Baechle
2009-10-14 19:04 ` [PATCH 5/6] netdev: Add Ethernet driver for Octeon MGMT devices David Daney
2009-10-14 19:23   ` Ralf Baechle
2009-10-14 19:04 ` [PATCH 6/6] Staging: octeon-ethernet: Convert to use PHY Abstraction Layer David Daney
2009-10-14 19:23   ` Ralf Baechle
  -- strict thread matches above, loose matches on Subject: below --
2009-10-07 23:07 [PATCH 0/6] netdev: Octeon MGMT new driver + octeon_ethernet updates David Daney
2009-10-07 23:10 ` [PATCH 5/6] netdev: Add Ethernet driver for Octeon MGMT devices David Daney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).