summaryrefslogtreecommitdiffstats
path: root/sys/modules/netfpga10g
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2014-06-26 17:20:45 +0000
committerbz <bz@FreeBSD.org>2014-06-26 17:20:45 +0000
commitc9677487d2c571f946234fb1b3168bb8387b4582 (patch)
tree87eff14a798c1ef9bf51872dd450b8057e60354c /sys/modules/netfpga10g
parent816d8c3faa7ed8d25d4ea2d32649eb7bbf47bb3f (diff)
downloadFreeBSD-src-c9677487d2c571f946234fb1b3168bb8387b4582.zip
FreeBSD-src-c9677487d2c571f946234fb1b3168bb8387b4582.tar.gz
Introduce opt_netfpga.h and allow setting NF10BMAC_64BIT from mips kernel
configs. Switch the BERI_NETFPGA_MDROOT to 64bit by default. Give we have working interrupts also cleanup the extra polling CFLAGS from the module Makefile. MFC after: 2 weeks
Diffstat (limited to 'sys/modules/netfpga10g')
-rw-r--r--sys/modules/netfpga10g/nf10bmac/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/modules/netfpga10g/nf10bmac/Makefile b/sys/modules/netfpga10g/nf10bmac/Makefile
index 06636d9..adc4471 100644
--- a/sys/modules/netfpga10g/nf10bmac/Makefile
+++ b/sys/modules/netfpga10g/nf10bmac/Makefile
@@ -6,11 +6,10 @@ KMOD= if_nf10bmac
SRCS= if_nf10bmac.c
SRCS+= device_if.h bus_if.h pci_if.h
SRCS+= opt_device_polling.h
+SRCS+= opt_netfpga.h
.if ${MACHINE_CPUARCH} == "mips"
SRCS+= if_nf10bmac_fdt.c ofw_bus_if.h
.endif
-CFLAGS+= -DDEVICE_POLLING
-
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud