summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authorjfv <jfv@FreeBSD.org>2008-07-30 22:05:06 +0000
committerjfv <jfv@FreeBSD.org>2008-07-30 22:05:06 +0000
commit4852a4f3d512d7bb3320bf2714dfe7ac5cadcfb4 (patch)
treef5d0ba5b3dbecef3d1793af2438d96872be53b01 /sys/modules
parent963b94c6e56c0bbe786a4ab631851a7399a29a4d (diff)
downloadFreeBSD-src-4852a4f3d512d7bb3320bf2714dfe7ac5cadcfb4.zip
FreeBSD-src-4852a4f3d512d7bb3320bf2714dfe7ac5cadcfb4.tar.gz
Change to build module with new directory tree
MFC after:ASAP
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/em/Makefile14
1 files changed, 4 insertions, 10 deletions
diff --git a/sys/modules/em/Makefile b/sys/modules/em/Makefile
index 8a2dbdd..71f8ed0 100644
--- a/sys/modules/em/Makefile
+++ b/sys/modules/em/Makefile
@@ -1,22 +1,16 @@
# $FreeBSD$
-.PATH: ${.CURDIR}/../../dev/em
+.PATH: ${.CURDIR}/../../dev/e1000
KMOD = if_em
SRCS = device_if.h bus_if.h pci_if.h
SRCS += if_em.c $(SHARED_SRCS)
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
+SHARED_SRCS += e1000_82575.c
-CFLAGS+= -DNO_82575_SUPPORT -I${.CURDIR}/../../dev/em
+CFLAGS+= -I${.CURDIR}/../../dev/e1000
-# 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
+# DEVICE_POLLING gives you Legacy interrupt handling
#CFLAGS += -DDEVICE_POLLING
clean:
OpenPOWER on IntegriCloud