[PATCH v3 net-next 0/6] drivers: net: xgene-v2: Add RGMII based 1G driver
Iyappan Subramanian
isubramanian at apm.com
Fri Mar 3 17:09:26 PST 2017
This patch set adds support for RGMII based 1GbE hardware which uses a linked
list of DMA descriptor architecture (v2) for APM X-Gene SoCs.
Signed-off-by: Iyappan Subramanian <isubramanian at apm.com>
---
v3: Address review comments from v2
- fix kbuild warnings (this 'if' clause does not guard)
v2: Address review comments from v1
- moved create_desc_ring and delete_desc_ring to open() and close()
respectively
- changed to use dma_zalloc APIs
- fixed tx_timeout()
- removed tx completion polling upper bound
- added error checking on rx packets
- added netif_stop_queue() and netif_wake_queue()
v1:
- Initial version
---
Iyappan Subramanian (6):
drivers: net: xgene-v2: Add DMA descriptor
drivers: net: xgene-v2: Add mac configuration
drivers: net: xgene-v2: Add ethernet hardware configuration
drivers: net: xgene-v2: Add base driver
drivers: net: xgene-v2: Add transmit and receive
MAINTAINERS: Add entry for APM X-Gene SoC Ethernet (v2) driver
MAINTAINERS | 6 +
drivers/net/ethernet/apm/Kconfig | 1 +
drivers/net/ethernet/apm/Makefile | 1 +
drivers/net/ethernet/apm/xgene-v2/Kconfig | 11 +
drivers/net/ethernet/apm/xgene-v2/Makefile | 6 +
drivers/net/ethernet/apm/xgene-v2/enet.c | 71 +++
drivers/net/ethernet/apm/xgene-v2/enet.h | 43 ++
drivers/net/ethernet/apm/xgene-v2/mac.c | 116 +++++
drivers/net/ethernet/apm/xgene-v2/mac.h | 110 +++++
drivers/net/ethernet/apm/xgene-v2/main.c | 756 +++++++++++++++++++++++++++++
drivers/net/ethernet/apm/xgene-v2/main.h | 75 +++
drivers/net/ethernet/apm/xgene-v2/ring.c | 81 ++++
drivers/net/ethernet/apm/xgene-v2/ring.h | 119 +++++
13 files changed, 1396 insertions(+)
create mode 100644 drivers/net/ethernet/apm/xgene-v2/Kconfig
create mode 100644 drivers/net/ethernet/apm/xgene-v2/Makefile
create mode 100644 drivers/net/ethernet/apm/xgene-v2/enet.c
create mode 100644 drivers/net/ethernet/apm/xgene-v2/enet.h
create mode 100644 drivers/net/ethernet/apm/xgene-v2/mac.c
create mode 100644 drivers/net/ethernet/apm/xgene-v2/mac.h
create mode 100644 drivers/net/ethernet/apm/xgene-v2/main.c
create mode 100644 drivers/net/ethernet/apm/xgene-v2/main.h
create mode 100644 drivers/net/ethernet/apm/xgene-v2/ring.c
create mode 100644 drivers/net/ethernet/apm/xgene-v2/ring.h
--
1.9.1
More information about the linux-arm-kernel
mailing list