2007-03-14 02:47:38 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
CXGB = ${.CURDIR}/../../dev/cxgb
|
2007-04-08 15:18:03 +00:00
|
|
|
.PATH: ${CXGB} ${CXGB}/common ${CXGB}/sys
|
2007-03-14 02:47:38 +00:00
|
|
|
|
|
|
|
KMOD= if_cxgb
|
|
|
|
SRCS= cxgb_mc5.c cxgb_vsc8211.c cxgb_ael1002.c cxgb_mv88e1xxx.c
|
2007-06-13 05:36:00 +00:00
|
|
|
SRCS+= cxgb_xgmac.c cxgb_vsc7323.c cxgb_t3_hw.c cxgb_main.c
|
|
|
|
SRCS+= cxgb_sge.c cxgb_lro.c cxgb_offload.c cxgb_l2t.c
|
2007-05-25 09:48:20 +00:00
|
|
|
SRCS+= device_if.h bus_if.h pci_if.h opt_zero.h
|
2007-04-08 15:18:03 +00:00
|
|
|
SRCS+= uipc_mvec.c
|
2007-03-14 02:47:38 +00:00
|
|
|
|
2007-06-13 05:36:00 +00:00
|
|
|
CFLAGS+= -DCONFIG_CHELSIO_T3_CORE -g -DCONFIG_DEFINED -DDEFAULT_JUMBO -I${CXGB}
|
2007-09-09 01:28:03 +00:00
|
|
|
#CFLAGS+= -DDEBUG -DDEBUG_PRINT
|
|
|
|
#CFLAGS+= -DINVARIANT_SUPPORT -DINVARIANTS -DWITNESS
|
|
|
|
|
2007-03-14 18:20:36 +00:00
|
|
|
|
|
|
|
.if ${MACHINE_ARCH} != "ia64"
|
|
|
|
# ld is broken on ia64
|
2007-09-09 01:28:03 +00:00
|
|
|
t3fw-4.7.0.bin: ${CXGB}/t3fw-4.7.0.bin.gz.uu
|
|
|
|
uudecode -p < ${CXGB}/t3fw-4.7.0.bin.gz.uu \
|
2007-03-14 02:47:38 +00:00
|
|
|
| gzip -dc > ${.TARGET}
|
|
|
|
|
2007-09-09 01:28:03 +00:00
|
|
|
FIRMWS= t3fw-4.7.0.bin:t3fw470
|
|
|
|
CLEANFILES+= t3fw-4.7.0.bin
|
2007-07-17 06:50:35 +00:00
|
|
|
|
|
|
|
t3b_protocol_sram-1.1.0.bin: ${CXGB}/t3b_protocol_sram-1.1.0.bin.gz.uu
|
|
|
|
uudecode -p < ${CXGB}/t3b_protocol_sram-1.1.0.bin.gz.uu \
|
|
|
|
| gzip -dc > ${.TARGET}
|
|
|
|
|
|
|
|
FIRMWS+= t3b_protocol_sram-1.1.0.bin:t3bps110
|
|
|
|
CLEANFILES+= t3b_protocol_sram-1.1.0.bin
|
|
|
|
|
|
|
|
t3b_tp_eeprom-1.1.0.bin: ${CXGB}/t3b_tp_eeprom-1.1.0.bin.gz.uu
|
|
|
|
uudecode -p < ${CXGB}/t3b_tp_eeprom-1.1.0.bin.gz.uu \
|
|
|
|
| gzip -dc > ${.TARGET}
|
|
|
|
|
|
|
|
FIRMWS+= t3b_tp_eeprom-1.1.0.bin:t3btpe110
|
|
|
|
CLEANFILES+= t3b_tp_eeprom-1.1.0.bin
|
|
|
|
|
|
|
|
|
2007-03-14 18:20:36 +00:00
|
|
|
.endif
|
2007-03-14 02:47:38 +00:00
|
|
|
|
|
|
|
|
|
|
|
.include <bsd.kmod.mk>
|