diff --git a/sys/modules/em/Makefile b/sys/modules/em/Makefile index 8a2dbdd4587f..71f8ed0c77c8 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: