aboutsummaryrefslogtreecommitdiff
path: root/sys/modules
diff options
context:
space:
mode:
authorSumit Saxena <sumit.saxena@broadcom.com>2022-11-04 22:40:29 +0000
committerWarner Losh <imp@FreeBSD.org>2022-11-04 22:40:29 +0000
commit58d84ef87094691bf1ad9608964ec85f120cd34a (patch)
tree85245208b67475189c5b78c6a6dd022b1c268fae /sys/modules
parent2ed061f08d9e2fe35bb8ff925cc19768d2430e77 (diff)
downloadsrc-58d84ef87094691bf1ad9608964ec85f120cd34a.tar.gz
src-58d84ef87094691bf1ad9608964ec85f120cd34a.zip
if_bnxt: Added support for mgmt interface for passthrough hwrms
Added support for application management interface. There are two types of commands supported: 1. Firmware IOCTLs: These ioctls are meant for firmware consumption. Driver acts as a transport for these. 2. Driver only IOCTLs: These ioctls are meant for driver consumption. Driver will serve these ioctls without sending them down to firmware. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D36448
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/bnxt/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/modules/bnxt/Makefile b/sys/modules/bnxt/Makefile
index 861a0b4c4d4a..f27e9934034e 100644
--- a/sys/modules/bnxt/Makefile
+++ b/sys/modules/bnxt/Makefile
@@ -6,8 +6,9 @@ KMOD = if_bnxt
SRCS = device_if.h bus_if.h pci_if.h pci_iov_if.h ifdi_if.h
SRCS += opt_inet.h opt_inet6.h opt_rss.h
SRCS += bnxt_txrx.c if_bnxt.c
-SRCS += bnxt_hwrm.c bnxt_hwrm.h
-SRCS += bnxt_sysctl.c bnxt_sysctl.h
+SRCS += bnxt_hwrm.c
+SRCS += bnxt_sysctl.c
+SRCS += bnxt_mgmt.c
CFLAGS+= -DIFLIB