bnx: Implement multiple RX/TX rings and MSI-X support for 5718/57785
[dragonfly.git] / sys / dev / netif / bnx / Makefile
1 KMOD=   if_bnx
2 SRCS=   if_bnx.c
3 SRCS+=  miibus_if.h device_if.h bus_if.h pci_if.h
4 SRCS+=  opt_ifpoll.h opt_bnx.h
5
6 .ifndef BUILDING_WITH_KERNEL
7
8 opt_ifpoll.h:
9         echo '#define IFPOLL_ENABLE 1' > ${.OBJDIR}/${.TARGET}
10
11 opt_bnx.h:
12         touch ${.OBJDIR}/${.TARGET}
13
14 .endif
15
16 .include <bsd.kmod.mk>