User: Password:
Subscribe / Log in / New account

Adding new TI Common Platform ethernet SWitch driver

From:  Mugunthan V N <>
To:  <>
Subject:  [PATCH v2 0/2] Adding new TI Common Platform ethernet SWitch driver
Date:  Tue, 21 Feb 2012 00:07:01 +0530
Message-ID:  <>
Cc:  <>, <>
Archive-link:  Article

The following series contains driver implementation for TI Common Platform
ethernet SWitch (CPSW) driver.

CPSW is found in following SoC.
* AM335X -
* DM814X -

The three port switch gigabit ethernet subsystem provides ethernet packet
communication and can be configured as an ethernet switch.  It
supports 10/100/1000 Mbps. It provides the gigabit media independent
interface (G/MII), reduced gigabit media independent interface (RGMII),
reduced media independent interface (RMII), the management data input
output (MDIO) for physical layer device (PHY) management.

Changes from first posting:

* Made ale control table as const.

* Removed hw_stats sys fs entry and will be adding this as ethtool interface
  in ethtool feature implementation patch.

* If skb_padto() fails, we stop queue forever, corrected the sequence by
  incrementing tx_dropped and return.

Mugunthan V N (2):
  netdev: driver: ethernet: add cpsw address lookup engine support
  netdev: driver: ethernet: Add TI CPSW driver

 drivers/net/ethernet/ti/Kconfig    |   11 +
 drivers/net/ethernet/ti/Makefile   |    2 +
 drivers/net/ethernet/ti/cpsw.c     | 1029 ++++++++++++++++++++++++++++++++++++
 drivers/net/ethernet/ti/cpsw_ale.c |  505 ++++++++++++++++++
 drivers/net/ethernet/ti/cpsw_ale.h |   99 ++++
 include/linux/platform_data/cpsw.h |   55 ++
 6 files changed, 1701 insertions(+), 0 deletions(-)
 create mode 100644 drivers/net/ethernet/ti/cpsw.c
 create mode 100644 drivers/net/ethernet/ti/cpsw_ale.c
 create mode 100644 drivers/net/ethernet/ti/cpsw_ale.h
 create mode 100644 include/linux/platform_data/cpsw.h

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds