]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - sys/modules/vxge/Makefile
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / sys / modules / vxge / Makefile
1 # $FreeBSD$
2
3 .PATH: ${.CURDIR}/../../dev/vxge
4 VPATH = ${.CURDIR}/../../dev/vxge/vxgehal
5
6 CFLAGS_VXGE = 
7
8 # Debugging/Tracing:
9 #VXGE_COMPONENT_HAL_DEVICE              0x00000001
10 #VXGE_COMPONENT_HAL_DEVICE_IRQ          0x00000002
11 #VXGE_COMPONENT_HAL_VPATH               0x00000004
12 #VXGE_COMPONENT_HAL_VPATH_IRQ           0x00000008
13 #VXGE_COMPONENT_HAL_CONFIG              0x00000010
14 #VXGE_COMPONENT_HAL_MM                  0x00000020
15 #VXGE_COMPONENT_HAL_POOL                0x00000040
16 #VXGE_COMPONENT_HAL_QUEUE               0x00000080
17 #VXGE_COMPONENT_HAL_CHANNEL             0x00000200
18 #VXGE_COMPONENT_HAL_FIFO                0x00000400
19 #VXGE_COMPONENT_HAL_RING                0x00000800
20 #VXGE_COMPONENT_HAL_LRO                 0x00100000
21 #VXGE_COMPONENT_HAL_STATS               0x00800000
22 #VXGE_COMPONENT_HAL_MRPCIM              0x01000000
23 #VXGE_COMPONENT_HAL_MRPCIM_IRQ          0x02000000
24 #VXGE_COMPONENT_HAL_SRPCIM              0x04000000
25 #VXGE_COMPONENT_HAL_SRPCIM_IRQ          0x08000000
26 #VXGE_COMPONENT_HAL_DRIVER              0x10000000
27 #VXGE_COMPONENT_OSDEP                   0x20000000
28 #VXGE_COMPONENT_LL                      0x40000000
29 #VXGE_COMPONENT_ULD                     0x80000000
30 #VXGE_COMPONENT_ALL                     0xffffffff
31
32 #CFLAGS_VXGE += -DVXGE_DEBUG_MODULE_MASK=VXGE_COMPONENT_ALL
33 #CFLAGS_VXGE += -DVXGE_DEBUG_ERR_MASK=VXGE_COMPONENT_ALL
34 #CFLAGS_VXGE += -DVXGE_DEBUG_TRACE_MASK=VXGE_COMPONENT_ALL
35 #CFLAGS_VXGE += -DVXGE_OS_MEMORY_CHECK
36
37 CFLAGS_VXGE += -DVXGE_HAL_RX_MULTI_POST
38 CFLAGS_VXGE += -DVXGE_HAL_TX_MULTI_POST
39
40 CFLAGS += $(CFLAGS_VXGE)
41
42 KMOD =  vxge
43 SRCS =  vxge.c
44 SRCS += vxgehal-driver.c
45 SRCS += vxgehal-swapper.c
46 SRCS += vxgehal-config.c
47 SRCS += vxgehal-device.c
48 SRCS += vxge-queue.c
49 SRCS += vxgehal-mm.c
50 SRCS += vxgehal-blockpool.c
51 SRCS += vxgehal-channel.c
52 SRCS += vxgehal-fifo.c
53 SRCS += vxgehal-ring.c
54 SRCS += vxgehal-virtualpath.c
55 SRCS += vxgehal-doorbells.c
56 SRCS += vxgehal-mgmt.c
57 SRCS += vxgehal-mgmtaux.c
58 SRCS += vxgehal-mrpcim.c
59 SRCS += vxgehal-srpcim.c
60 SRCS += vxgehal-ifmsg.c
61
62 SRCS+=  bus_if.h device_if.h pci_if.h
63
64 .include <bsd.kmod.mk>