From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mugunthan V N Subject: [PATCH v2 0/2] Adding new TI Common Platform ethernet SWitch driver Date: Tue, 21 Feb 2012 00:07:01 +0530 Message-ID: <1329763023-29580-1-git-send-email-mugunthanvnm@ti.com> Mime-Version: 1.0 Content-Type: text/plain Cc: , To: Return-path: Received: from arroyo.ext.ti.com ([192.94.94.40]:42287 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752327Ab2BTShr (ORCPT ); Mon, 20 Feb 2012 13:37:47 -0500 Sender: netdev-owner@vger.kernel.org List-ID: The following series contains driver implementation for TI Common Platform ethernet SWitch (CPSW) driver. CPSW is found in following SoC. * AM335X - http://www.ti.com/litv/pdf/spruh73c * DM814X - http://www.ti.com/litv/pdf/sprugz8 CPSW: 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