1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-01 08:27:59 +00:00

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
This commit is contained in:
Bjoern A. Zeeb 2014-06-26 17:20:45 +00:00
parent 896d1f7723
commit 62820660cc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=267922
4 changed files with 8 additions and 2 deletions

View File

@ -90,6 +90,11 @@ OCTEON_BOARD_CAPK_0100ND opt_cvmx.h
#
BERI_LARGE_TLB opt_global.h
#
# Options that control the NetFPGA-10G Embedded CPU Ethernet Core.
#
NF10BMAC_64BIT opt_netfpga.h
#
# Options that control the Atheros SoC peripherals
#

View File

@ -40,6 +40,7 @@
__FBSDID("$FreeBSD$");
#include "opt_device_polling.h"
#include "opt_netfpga.h"
#include <sys/param.h>
#include <sys/systm.h>

View File

@ -23,6 +23,7 @@ device bpf
options DEVICE_POLLING
device netfpga10g_nf10bmac
options NF10BMAC_64BIT
#
# This kernel configuration uses an embedded memory root file system.

View File

@ -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>