igb: Add MSI-X support
[dragonfly.git] / sys / dev / netif / igb / Makefile
1 KMOD=   if_igb
2 SRCS=   if_igb.c
3 SRCS+=  device_if.h bus_if.h pci_if.h
4 SRCS+=  opt_polling.h opt_igb.h
5
6 .ifndef BUILDING_WITH_KERNEL
7 opt_polling.h:
8         echo '#define DEVICE_POLLING 1' > ${.OBJDIR}/${.TARGET}
9 opt_igb.h:
10         echo '#define IGB_RSS_DEBUG 1' > ${.OBJDIR}/${.TARGET}
11         echo '#define IGB_MSIX_DEBUG 1' > ${.OBJDIR}/${.TARGET}
12 .endif
13
14 .include <bsd.kmod.mk>