Skip to contentSkip to conversation

Staging: Netlogic XLR/XLS GMAC driver

PATCH New [email protected] 1 participant 1 message Mar 6, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: Netlogic XLR/XLS GMAC driver

From: Ganesan Ramalingam <[email protected]>

Add support for the Network Accelerator Engine on Netlogic XLR/XLS MIPS SoCs. The XLR/XLS NAE blocks can be configured as one 10G interface or four 1G interfaces. This driver supports blocks with 1G ports.

---
This patch has to be merged via staging tree.

This driver has been submitted to netdev tree and reviewed. The plan is to make the changes as per the comments received so far and submit it again for review. There may be more changes and development when this driver reviewed again, this process might take time of 2 months or even more. Also this driver is useful to people with XLR/XLS board right now, so I would like to introduce this driver to staging, once it reaches the standard will be moved to netdev tree.

xlr_net.* - adding the driver support
platform_net.* - adding the XLR/XLS platform support, this will be moved to platform when this driver moving to netdev tree.

V1:
Changes from previous submission is added mailing address list in TODO for sending patch.

 drivers/staging/Kconfig                 |    2 +
 drivers/staging/Makefile                |    1 +
 drivers/staging/netlogic/Kconfig        |    7 +
 drivers/staging/netlogic/Makefile       |    1 +
 drivers/staging/netlogic/TODO           |   12 +
 drivers/staging/netlogic/platform_net.c |  223 ++++++
 drivers/staging/netlogic/platform_net.h |   46 ++
 drivers/staging/netlogic/xlr_net.c      | 1116 +++++++++++++++++++++++++++++++
 drivers/staging/netlogic/xlr_net.h      | 1099 ++++++++++++++++++++++++++++++
 9 files changed, 2507 insertions(+), 0 deletions(-)
 create mode 100644 drivers/staging/netlogic/Kconfig
 create mode 100644 drivers/staging/netlogic/Makefile
 create mode 100644 drivers/staging/netlogic/TODO
 create mode 100644 drivers/staging/netlogic/platform_net.c
 create mode 100644 drivers/staging/netlogic/platform_net.h
 create mode 100644 drivers/staging/netlogic/xlr_net.c
 create mode 100644 drivers/staging/netlogic/xlr_net.h
drivers/staging/Kconfig +2 -0
index 093f10c..daeeec1 100644
@@ -140,4 +140,6 @@ source "drivers/staging/zcache/Kconfig"
 
 source "drivers/staging/goldfish/Kconfig"
 
+source "drivers/staging/netlogic/Kconfig"
+
 endif # STAGING
drivers/staging/Makefile +1 -0
index fa41b04..d3040d7 100644
@@ -23,6 +23,7 @@ obj-$(CONFIG_RTS5139)		+= rts5139/
 obj-$(CONFIG_TRANZPORT)		+= frontier/
 obj-$(CONFIG_IDE_PHISON)	+= phison/
 obj-$(CONFIG_LINE6_USB)		+= line6/
+obj-$(CONFIG_NETLOGIC_XLR_NET)	+= netlogic/
 obj-$(CONFIG_USB_SERIAL_QUATECH2)	+= serqt_usb2/
 obj-$(CONFIG_OCTEON_ETHERNET)	+= octeon/
 obj-$(CONFIG_VT6655)		+= vt6655/
drivers/staging/netlogic/Kconfig new file +7 -0
new file mode 100644
index 0000000..d660de5
@@ -0,0 +1,7 @@
+config NETLOGIC_XLR_NET
+	tristate "Netlogic XLR/XLS network device"
+	depends on CPU_XLR
+	select PHYLIB
+	---help---
+	This driver support Netlogic XLR/XLS on chip gigabit
+	Ethernet.
drivers/staging/netlogic/Makefile new file +1 -0
new file mode 100644
index 0000000..f7355e3
@@ -0,0 +1 @@
+obj-$(CONFIG_NETLOGIC_XLR_NET) += xlr_net.o platform_net.o
drivers/staging/netlogic/TODO new file +12 -0
new file mode 100644
index 0000000..08e6d52
@@ -0,0 +1,12 @@
+* Implementing 64bit stat counter in software
+* All memory allocation should be changed to DMA allocations
+* All the netdev should be linked to single pdev as parent
+* Changing comments in to linux standred format
+
+Please send patches
+To:
+Ganesan Ramalingam <[email protected]>
+Greg Kroah-Hartman <[email protected]>
+Cc:
+Jayachandran Chandrashekaran Nair <[email protected]>
+
drivers/staging/netlogic/platform_net.c new file +223 -0

223 lines not on this page · raw message

drivers/staging/netlogic/platform_net.h new file +46 -0

46 lines not on this page · raw message

drivers/staging/netlogic/xlr_net.c new file +1116 -0

1,116 lines not on this page · raw message

drivers/staging/netlogic/xlr_net.h new file +1099 -0

1,099 lines not on this page · raw message

Signature · 1 line
1.7.6