net: Support for Broadcom Tigon 3 NICs
cover net: Support for Broadcom Tigon 3 NICs
I should probably explain the people involved here. Joshua did most of the porting work. I (Chris) picked it up to finish things off and to do some more testing. I'll also be the one trying to get this accepted upstream.
Because my employer paid for us to do the work I've signed with my work email address. But because I'm already subscribed I'll send the patches using my gmail account.
Joshua Scott (1):
net: Add support for Tigon3 based Ethernet NICs
drivers/net/Makefile | 1 + drivers/net/tg3.c | 6119 ++++++++++++++++++++++++++++++++++++++++++++++++++ drivers/net/tg3.h | 3217 ++++++++++++++++++++++++++ include/netdev.h | 4 + 4 files changed, 9341 insertions(+) create mode 100644 drivers/net/tg3.c create mode 100644 drivers/net/tg3.h
Signature · 1 line
2.2.0.rc0
RFC PATCH 1/1 net: Add support for Tigon3 based Ethernet NICs
From: Joshua Scott <[email protected]>
This patch contains a port of the Linux Tigon3 driver to U-Boot. Many non-bootloader type things (TSO, firmware, jumbo-frames, etc) have been removed to keep the driver small and simple.
---
This code is functional. It's been tested using a P2041RDB with the PCI-e NIC installed.
We've been a bit inconsistent with the porting. Some code we've removed. Other code we've #if 0'd out. What is preferred? How well should this compare to the equivalent Linux driver?
Also because of u-boot/linux differences (and because because the original linux source is not clean) this isn't checkpatch.pl clean. We could put effort into cleaning this up but that would make the driver even less comparable to it's linux peer.
drivers/net/Makefile | 1 + drivers/net/tg3.c | 6119 ++++++++++++++++++++++++++++++++++++++++++++++++++ drivers/net/tg3.h | 3217 ++++++++++++++++++++++++++ include/netdev.h | 4 + 4 files changed, 9341 insertions(+) create mode 100644 drivers/net/tg3.c create mode 100644 drivers/net/tg3.h
drivers/net/Makefile +1 -0
@@ -59,6 +59,7 @@ obj-$(CONFIG_DRIVER_TI_CPSW) += cpsw.o obj-$(CONFIG_FMAN_ENET) += fsl_mdio.o obj-$(CONFIG_TSI108_ETH) += tsi108_eth.o obj-$(CONFIG_ULI526X) += uli526x.o +obj-$(CONFIG_TIGON3) += tg3.o obj-$(CONFIG_VSC7385_ENET) += vsc7385.o obj-$(CONFIG_XILINX_AXIEMAC) += xilinx_axi_emac.o obj-$(CONFIG_XILINX_EMACLITE) += xilinx_emaclite.o
drivers/net/tg3.c new file +6119 -0
2,993 lines not on this page · raw message
drivers/net/tg3.h new file +3217 -0
3,217 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.2.0.rc0
Part of the diff is not shown here. View the raw message.