1176667Sjfv#$FreeBSD$ 2253374Sjfv 3253374Sjfv.include <bsd.own.mk> 4253374Sjfv 5181030Sjfv.PATH: ${.CURDIR}/../../dev/e1000 6176667SjfvKMOD = if_igb 7253374SjfvSRCS = device_if.h bus_if.h pci_if.h opt_inet.h opt_inet6.h 8176667SjfvSRCS += if_igb.c $(SHARED_SRCS) 9176667SjfvSHARED_SRCS = e1000_api.c e1000_phy.c e1000_nvm.c e1000_mac.c e1000_manage.c 10181030SjfvSHARED_SRCS += e1000_80003es2lan.c e1000_82542.c e1000_82541.c e1000_82543.c 11181030SjfvSHARED_SRCS += e1000_82540.c e1000_ich8lan.c e1000_82571.c e1000_osdep.c 12238262SjfvSHARED_SRCS += e1000_82575.c e1000_vf.c e1000_mbx.c e1000_i210.c 13176667Sjfv 14194865SjfvCFLAGS += -I${.CURDIR}/../../dev/e1000 -DSMP 15176667Sjfv 16176667Sjfv# DEVICE_POLLING gives you non-interrupt handling 17176667Sjfv# not advisable since MSIX gives better results 18176667Sjfv#CFLAGS += -DDEVICE_POLLING 19176667Sjfv 20253374Sjfv.if !defined(KERNBUILDDIR) 21253374Sjfv.if ${MK_INET_SUPPORT} != "no" 22253374Sjfvopt_inet.h: 23253374Sjfv @echo "#define INET 1" > ${.TARGET} 24253374Sjfv.endif 25253374Sjfv 26253374Sjfv.if ${MK_INET6_SUPPORT} != "no" 27253374Sjfvopt_inet6.h: 28253374Sjfv @echo "#define INET6 1" > ${.TARGET} 29253374Sjfv.endif 30253374Sjfv.endif 31253374Sjfv 32176667Sjfv.include <bsd.kmod.mk> 33