From 758cc3dcd5575a076c2b23025c977ecbe2882ef1 Mon Sep 17 00:00:00 2001 From: Jack F Vogel Date: Tue, 17 Mar 2015 18:32:28 +0000 Subject: Update to the Intel ixgbe driver: - Split the driver into independent pf and vf loadables. This is in preparation for SRIOV support which will be following shortly. This also allows us to keep a seperate revision control over the two parts, making for easier sustaining. - Make the TX/RX code a shared/seperated file, in the old code base the ixv code would miss fixes that went into ixgbe, this model will eliminate that problem. - The driver loadables will now match the device names, something that has been requested for some time. - Rather than a modules/ixgbe there is now modules/ix and modules/ixv - It will also be possible to make your static kernel with only one or the other for streamlined installs, or both. Enjoy! Submitted by: jfv and erj --- sys/modules/ix/Makefile | 15 +++++++++++++++ sys/modules/ixgbe/Makefile | 15 --------------- sys/modules/ixv/Makefile | 15 +++++++++++++++ 3 files changed, 30 insertions(+), 15 deletions(-) create mode 100644 sys/modules/ix/Makefile delete mode 100644 sys/modules/ixgbe/Makefile create mode 100644 sys/modules/ixv/Makefile (limited to 'sys/modules') diff --git a/sys/modules/ix/Makefile b/sys/modules/ix/Makefile new file mode 100644 index 000000000000..5a5485d4036c --- /dev/null +++ b/sys/modules/ix/Makefile @@ -0,0 +1,15 @@ +#$FreeBSD$ + +.PATH: ${.CURDIR}/../../dev/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 += 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 +SRCS += ixgbe_82599.c ixgbe_82598.c ixgbe_x540.c +CFLAGS+= -I${.CURDIR}/../../dev/ixgbe -DSMP + +.include diff --git a/sys/modules/ixgbe/Makefile b/sys/modules/ixgbe/Makefile deleted file mode 100644 index 923e2174d02c..000000000000 --- a/sys/modules/ixgbe/Makefile +++ /dev/null @@ -1,15 +0,0 @@ -#$FreeBSD$ - -.PATH: ${.CURDIR}/../../dev/ixgbe - -KMOD = if_ixgbe -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 -# 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 diff --git a/sys/modules/ixv/Makefile b/sys/modules/ixv/Makefile new file mode 100644 index 000000000000..20ecaf14f79e --- /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 -- cgit v1.3