Skip to content

Commit c0c050c

Browse files
Michael Chandavem330
Michael Chan
authored andcommitted
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: Eddie Wai <[email protected]> Acked-by: Jeffrey Huang <[email protected]> Signed-off-by: Prashant Sreedharan <[email protected]> Signed-off-by: Michael Chan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 0a31ada commit c0c050c

12 files changed

+13034
-0
lines changed

drivers/net/ethernet/broadcom/Kconfig

+19
Original file line numberDiff line numberDiff line change
@@ -170,4 +170,23 @@ config SYSTEMPORT
170170
Broadcom BCM7xxx Set Top Box family chipset using an internal
171171
Ethernet switch.
172172

173+
config BNXT
174+
tristate "Broadcom NetXtreme-C/E support"
175+
depends on PCI
176+
select FW_LOADER
177+
select LIBCRC32C
178+
---help---
179+
This driver supports Broadcom NetXtreme-C/E 10/25/40/50 gigabit
180+
Ethernet cards. To compile this driver as a module, choose M here:
181+
the module will be called bnxt_en. This is recommended.
182+
183+
config BNXT_SRIOV
184+
bool "Broadcom NetXtreme-C/E SR-IOV support"
185+
depends on BNXT && PCI_IOV
186+
default y
187+
---help---
188+
This configuration parameter enables Single Root Input Output
189+
Virtualization support in the NetXtreme-C/E products. This
190+
allows for virtual function acceleration in virtual environments.
191+
173192
endif # NET_VENDOR_BROADCOM

drivers/net/ethernet/broadcom/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ obj-$(CONFIG_SB1250_MAC) += sb1250-mac.o
1212
obj-$(CONFIG_TIGON3) += tg3.o
1313
obj-$(CONFIG_BGMAC) += bgmac.o
1414
obj-$(CONFIG_SYSTEMPORT) += bcmsysport.o
15+
obj-$(CONFIG_BNXT) += bnxt/
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
obj-$(CONFIG_BNXT) += bnxt_en.o
2+
3+
bnxt_en-y := bnxt.o bnxt_sriov.o bnxt_ethtool.o

0 commit comments

Comments
 (0)