Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c0c050c5 authored by Michael Chan's avatar Michael Chan Committed by David S. Miller
Browse files

bnxt_en: New Broadcom ethernet driver.



Broadcom ethernet driver for the new family of NetXtreme-C/E
ethernet devices.

v5:
  - Removed empty blank lines at end of files (noted by David Miller).
  - Moved busy poll helper functions to bnxt.h to at least make the
    .c file look less cluttered with #ifdef (noted by Stephen Hemminger).

v4:
  - Broke up 2 long message strings with "\n" (suggested by John Linville)
  - Constify an array of strings (suggested by Stephen Hemminger)
  - Improve bnxt_vf_pciid() (suggested by Stephen Hemminger)
  - Use PCI_VDEVICE() to populate pci_device_id table for more compact
    source.

v3:
  - Fixed 2 more sparse warnings.
  - Removed some unused structures in .h files.

v2:
  - Fixed all kbuild test robot reported warnings.
  - Fixed many of the checkpatch.pl errors and warnings.
  - Fixed the Kconfig description (noted by Dmitry Kravkov).

Acked-by: default avatarEddie Wai <eddie.wai@broadcom.com>
Acked-by: default avatarJeffrey Huang <huangjw@broadcom.com>
Signed-off-by: default avatarPrashant Sreedharan <prashant@broadcom.com>
Signed-off-by: default avatarMichael Chan <mchan@broadcom.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0a31adae
Loading
Loading
Loading
Loading
+19 −0
Original line number Original line Diff line number Diff line
@@ -170,4 +170,23 @@ config SYSTEMPORT
	  Broadcom BCM7xxx Set Top Box family chipset using an internal
	  Broadcom BCM7xxx Set Top Box family chipset using an internal
	  Ethernet switch.
	  Ethernet switch.


config BNXT
	tristate "Broadcom NetXtreme-C/E support"
	depends on PCI
	select FW_LOADER
	select LIBCRC32C
	---help---
	  This driver supports Broadcom NetXtreme-C/E 10/25/40/50 gigabit
	  Ethernet cards.  To compile this driver as a module, choose M here:
	  the module will be called bnxt_en.  This is recommended.

config BNXT_SRIOV
	bool "Broadcom NetXtreme-C/E SR-IOV support"
	depends on BNXT && PCI_IOV
	default y
	---help---
	  This configuration parameter enables Single Root Input Output
	  Virtualization support in the NetXtreme-C/E products. This
	  allows for virtual function acceleration in virtual environments.

endif # NET_VENDOR_BROADCOM
endif # NET_VENDOR_BROADCOM
+1 −0
Original line number Original line Diff line number Diff line
@@ -12,3 +12,4 @@ obj-$(CONFIG_SB1250_MAC) += sb1250-mac.o
obj-$(CONFIG_TIGON3) += tg3.o
obj-$(CONFIG_TIGON3) += tg3.o
obj-$(CONFIG_BGMAC) += bgmac.o
obj-$(CONFIG_BGMAC) += bgmac.o
obj-$(CONFIG_SYSTEMPORT) += bcmsysport.o
obj-$(CONFIG_SYSTEMPORT) += bcmsysport.o
obj-$(CONFIG_BNXT) += bnxt/
+3 −0
Original line number Original line Diff line number Diff line
obj-$(CONFIG_BNXT) += bnxt_en.o

bnxt_en-y := bnxt.o bnxt_sriov.o bnxt_ethtool.o
+5746 −0

File added.

Preview size limit exceeded, changes collapsed.

+1081 −0

File added.

Preview size limit exceeded, changes collapsed.

Loading