blob: c344afc49156e4c4e83ace9c0c91f3475fcbce6c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# $FreeBSD$
CXGB = ${.CURDIR}/../../dev/cxgb
.PATH: ${CXGB} ${CXGB}/common
KMOD= if_cxgb
SRCS= cxgb_mc5.c cxgb_vsc8211.c cxgb_ael1002.c cxgb_mv88e1xxx.c
SRCS+= cxgb_xgmac.c cxgb_t3_hw.c cxgb_main.c cxgb_sge.c cxgb_lro.c
SRCS+= device_if.h bus_if.h pci_if.h
t3fw-3.2.bin: ${CXGB}/t3fw-3.2.bin.gz.uu
uudecode -p < ${CXGB}/t3fw-3.2.bin.gz.uu \
| gzip -dc > ${.TARGET}
FIRMWS= t3fw-3.2.bin:t3fw32
CLEANFILES+= t3fw-3.2.bin
CFLAGS+= -DCONFIG_CHELSIO_T3_CORE -g -DDEFAULT_JUMBO
CFLAGS+= -DCHELSIO_FW_MAJOR=3 -DCHELSIO_FW_MINOR=2
.include <bsd.kmod.mk>
|