1# $FreeBSD$ 2 3CXGB = ${.CURDIR}/../../dev/cxgb 4.PATH: ${CXGB} ${CXGB}/common ${CXGB}/sys 5 6KMOD= if_cxgb 7SRCS= cxgb_mc5.c cxgb_vsc8211.c cxgb_ael1002.c cxgb_mv88e1xxx.c 8SRCS+= cxgb_xgmac.c cxgb_vsc7323.c cxgb_t3_hw.c cxgb_main.c 9SRCS+= cxgb_sge.c cxgb_lro.c cxgb_offload.c cxgb_l2t.c 10SRCS+= device_if.h bus_if.h pci_if.h opt_zero.h 11SRCS+= uipc_mvec.c 12 13CFLAGS+= -DCONFIG_CHELSIO_T3_CORE -g -DCONFIG_DEFINED -DDEFAULT_JUMBO -I${CXGB} 14#CFLAGS+= -DDEBUG -DDEBUG_PRINT 15#CFLAGS+= -DINVARIANT_SUPPORT -DINVARIANTS -DWITNESS 16 17 18.if ${MACHINE_ARCH} != "ia64" 19# ld is broken on ia64 20t3fw-4.7.0.bin: ${CXGB}/t3fw-4.7.0.bin.gz.uu 21 uudecode -p < ${CXGB}/t3fw-4.7.0.bin.gz.uu \ 22 | gzip -dc > ${.TARGET} 23 24FIRMWS= t3fw-4.7.0.bin:t3fw470 25CLEANFILES+= t3fw-4.7.0.bin 26 27t3b_protocol_sram-1.1.0.bin: ${CXGB}/t3b_protocol_sram-1.1.0.bin.gz.uu 28 uudecode -p < ${CXGB}/t3b_protocol_sram-1.1.0.bin.gz.uu \ 29 | gzip -dc > ${.TARGET} 30 31FIRMWS+= t3b_protocol_sram-1.1.0.bin:t3bps110 32CLEANFILES+= t3b_protocol_sram-1.1.0.bin 33 34t3b_tp_eeprom-1.1.0.bin: ${CXGB}/t3b_tp_eeprom-1.1.0.bin.gz.uu 35 uudecode -p < ${CXGB}/t3b_tp_eeprom-1.1.0.bin.gz.uu \ 36 | gzip -dc > ${.TARGET} 37 38FIRMWS+= t3b_tp_eeprom-1.1.0.bin:t3btpe110 39CLEANFILES+= t3b_tp_eeprom-1.1.0.bin 40 41 42.endif 43 44 45.include <bsd.kmod.mk> 46