summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/ix/Makefile (renamed from sys/modules/ixgbe/Makefile)4
-rw-r--r--sys/modules/ixv/Makefile15
2 files changed, 17 insertions, 2 deletions
diff --git a/sys/modules/ixgbe/Makefile b/sys/modules/ix/Makefile
index 923e217..5a5485d 100644
--- a/sys/modules/ixgbe/Makefile
+++ b/sys/modules/ix/Makefile
@@ -2,10 +2,10 @@
.PATH: ${.CURDIR}/../../dev/ixgbe
-KMOD = if_ixgbe
+KMOD = if_ix
SRCS = device_if.h bus_if.h pci_if.h
SRCS += opt_inet.h opt_inet6.h opt_rss.h
-SRCS += ixgbe.c ixv.c
+SRCS += if_ix.c ix_txrx.c
# Shared source
SRCS += ixgbe_common.c ixgbe_api.c ixgbe_phy.c ixgbe_mbx.c ixgbe_vf.c
SRCS += ixgbe_dcb.c ixgbe_dcb_82598.c ixgbe_dcb_82599.c
diff --git a/sys/modules/ixv/Makefile b/sys/modules/ixv/Makefile
new file mode 100644
index 0000000..20ecaf1
--- /dev/null
+++ b/sys/modules/ixv/Makefile
@@ -0,0 +1,15 @@
+#$FreeBSD$
+
+.PATH: ${.CURDIR}/../../dev/ixgbe
+
+KMOD = if_ixv
+SRCS = device_if.h bus_if.h pci_if.h
+SRCS += opt_inet.h opt_inet6.h opt_rss.h
+SRCS += if_ixv.c ix_txrx.c
+# Shared source
+SRCS += ixgbe_common.c ixgbe_api.c ixgbe_phy.c ixgbe_mbx.c ixgbe_vf.c
+SRCS += ixgbe_dcb.c ixgbe_dcb_82598.c ixgbe_dcb_82599.c
+SRCS += ixgbe_82599.c ixgbe_82598.c ixgbe_x540.c
+CFLAGS+= -I${.CURDIR}/../../dev/ixgbe -DSMP
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud