3 .PATH: ${.CURDIR}/../../dev/nxge
4 VPATH = ${.CURDIR}/../../dev/nxge/xgehal
9 # XGE_COMPONENT_HAL_CONFIG 0x1
10 # XGE_COMPONENT_HAL_FIFO 0x2
11 # XGE_COMPONENT_HAL_RING 0x4
12 # XGE_COMPONENT_HAL_CHANNEL 0x8
13 # XGE_COMPONENT_HAL_DEVICE 0x10
14 # XGE_COMPONENT_HAL_MM 0x20
15 # XGE_COMPONENT_HAL_QUEUE 0x40
16 # XGE_COMPONENT_HAL_STATS 0x100
17 # XGE_COMPONENT_OSDEP 0x10000000
18 # XGE_COMPONENT_LL 0x20000000
19 # XGE_COMPONENT_ALL 0xffffffff
21 CFLAGS_NXGE += -DXGE_DEBUG_MODULE_MASK=XGE_COMPONENT_LL
22 CFLAGS_NXGE += -DXGE_DEBUG_ERR_MASK=XGE_COMPONENT_LL
23 #CFLAGS_NXGE += -DXGE_DEBUG_TRACE_MASK=XGE_COMPONENT_LL
26 #CFLAGS_NXGE += -DXGE_OS_MEMORY_CHECK
29 #CFLAGS_NXGE += -DXGE_FEATURE_BUFFER_MODE_2
31 CFLAGS += $(CFLAGS_NXGE)
35 SRCS+= xgehal-device.c xgehal-mm.c xge-queue.c
36 SRCS+= xgehal-driver.c xgehal-ring.c xgehal-channel.c
37 SRCS+= xgehal-fifo.c xgehal-stats.c xgehal-config.c
39 SRCS+= device_if.h bus_if.h pci_if.h
41 .include <bsd.kmod.mk>