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 opt_sched.h 11SRCS+= uipc_mvec.c cxgb_support.c 12#SRCS+= cxgb_multiq.c 13 14CFLAGS+= -DCONFIG_CHELSIO_T3_CORE -g -DCONFIG_DEFINED -DDEFAULT_JUMBO -I${CXGB} -DSMP 15#CFLAGS+= -DDISABLE_MBUF_IOVEC 16#CFLAGS+= -DIFNET_MULTIQUEUE 17#CFLAGS+= -DINVARIANT_SUPPORT -DINVARIANTS 18#CFLAGS+= -DWITNESS 19#CFLAGS+= -DDEBUG -DDEBUG_PRINT 20 21 22.if ${MACHINE_ARCH} != "ia64" 23# ld is broken on ia64 24t3fw-4.7.0.bin: ${CXGB}/t3fw-4.7.0.bin.gz.uu 25 uudecode -p < ${CXGB}/t3fw-4.7.0.bin.gz.uu \ 26 | gzip -dc > ${.TARGET} 27 28FIRMWS= t3fw-4.7.0.bin:t3fw470 29CLEANFILES+= t3fw-4.7.0.bin 30 31t3b_protocol_sram-1.1.0.bin: ${CXGB}/t3b_protocol_sram-1.1.0.bin.gz.uu 32 uudecode -p < ${CXGB}/t3b_protocol_sram-1.1.0.bin.gz.uu \ 33 | gzip -dc > ${.TARGET} 34 35FIRMWS+= t3b_protocol_sram-1.1.0.bin:t3bps110 36CLEANFILES+= t3b_protocol_sram-1.1.0.bin 37 38t3b_tp_eeprom-1.1.0.bin: ${CXGB}/t3b_tp_eeprom-1.1.0.bin.gz.uu 39 uudecode -p < ${CXGB}/t3b_tp_eeprom-1.1.0.bin.gz.uu \ 40 | gzip -dc > ${.TARGET} 41 42FIRMWS+= t3b_tp_eeprom-1.1.0.bin:t3btpe110 43CLEANFILES+= t3b_tp_eeprom-1.1.0.bin 44 45 46.endif 47 48 49.include <bsd.kmod.mk> 50