aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/em/Makefile
diff options
context:
space:
mode:
authorJack F Vogel <jfv@FreeBSD.org>2008-04-25 21:19:41 +0000
committerJack F Vogel <jfv@FreeBSD.org>2008-04-25 21:19:41 +0000
commit20e8415eb492739b6a270ea49d808a6255149788 (patch)
treeba89bf27aac0358813a723b89ba73f0917631cec /sys/modules/em/Makefile
parentd74e3f17f5115b842e7daef42f105688afd13cf2 (diff)
downloadsrc-20e8415eb492739b6a270ea49d808a6255149788.tar.gz
src-20e8415eb492739b6a270ea49d808a6255149788.zip
This delta has a few important items:
PR 122839 is fixed in both em and in igb Second, the issue on building modules since the static kernel build changes is now resolved. I was not able to get the fancier directory hierarchy working, but this works, both em and igb build as modules now. Third, there is now support in em for two new NICs, Hartwell (or 82574) is a low cost PCIE dual port adapter that has MSIX, for this release it uses 3 vectors only, RX, TX, and LINK. In the next release I will add a second TX and RX queue. Also, there is support here for ICH10, the followon to ICH9. Both of these are early releases, general availability will follow soon. Fourth: On Hartwell and ICH10 we now have IEEE 1588 PTP support, I have implemented this in a provisional way so that early adopters may try and comment on the functionality. The IOCTL structure may change. This feature is off by default, you need to edit the Makefile and add the EM_TIMESYNC define to get the code. Enjoy all!!
Notes
Notes: svn path=/head/; revision=178523
Diffstat (limited to 'sys/modules/em/Makefile')
-rw-r--r--sys/modules/em/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/sys/modules/em/Makefile b/sys/modules/em/Makefile
index 6fe050bff709..8a2dbdd4587f 100644
--- a/sys/modules/em/Makefile
+++ b/sys/modules/em/Makefile
@@ -7,9 +7,16 @@ SHARED_SRCS = e1000_api.c e1000_phy.c e1000_nvm.c e1000_mac.c e1000_manage.c
SHARED_SRCS += e1000_80003es2lan.c e1000_82542.c e1000_82541.c e1000_82543.c
SHARED_SRCS += e1000_82540.c e1000_ich8lan.c e1000_82571.c e1000_osdep.c
-CFLAGS+= -I${.CURDIR}/../../dev/em
+CFLAGS+= -DNO_82575_SUPPORT -I${.CURDIR}/../../dev/em
-# DEVICE_POLLING gives you Legacy interrupt handling
+# Uncomment this to disable Fast interrupt handling.
+# and enable legacy interrupt handling
+#CFLAGS += -DEM_LEGACY_IRQ
+
+# This option enables IEEE 1588 Precision Time Protocol
+#CFLAGS += -DEM_TIMESYNC
+
+# DEVICE_POLLING for a non-interrupt-driven method
#CFLAGS += -DDEVICE_POLLING
clean: