PERFORCE change 119316 for review

Kip Macy kmacy at FreeBSD.org
Sun May 6 02:13:33 UTC 2007


http://perforce.freebsd.org/chv.cgi?CH=119316

Change 119316 by kmacy at kmacy_vt-x:opentoe_init on 2007/05/06 02:13:04

	move NIC driver into a subdirectory
	add t3_tom makefile

Affected files ...

.. //depot/projects/opentoe/sys/modules/cxgb/Makefile#7 edit
.. //depot/projects/opentoe/sys/modules/cxgb/cxgb/Makefile#1 add
.. //depot/projects/opentoe/sys/modules/cxgb/t3_tom/Makefile#1 add

Differences ...

==== //depot/projects/opentoe/sys/modules/cxgb/Makefile#7 (text+ko) ====

@@ -1,26 +1,7 @@
 # $FreeBSD: src/sys/modules/cxgb/Makefile,v 1.5 2007/04/08 15:18:03 kmacy Exp $
 
-CXGB = ${.CURDIR}/../../dev/cxgb
-.PATH: ${CXGB} ${CXGB}/common ${CXGB}/sys
+SUBDIR=  cxgb
+SUBDIR+= t3_tom
 
-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+=	uipc_mvec.c cxgb_offload.c cxgb_l2t.c
-SRCS+=	device_if.h bus_if.h pci_if.h opt_zero.h
-
-
-CFLAGS+= -DCONFIG_CHELSIO_T3_CORE -g -DDEFAULT_JUMBO -DCONFIG_DEFINED
+.include <bsd.subdir.mk>
 
-.if ${MACHINE_ARCH} != "ia64"
-# ld is broken on ia64
-t3fw-4.0.0.bin: ${CXGB}/t3fw-4.0.0.bin.gz.uu
-	uudecode -p < ${CXGB}/t3fw-4.0.0.bin.gz.uu \
-	| gzip -dc > ${.TARGET}
-
-FIRMWS= t3fw-4.0.0.bin:t3fw400
-CLEANFILES+= t3fw-4.0.0.bin
-.endif
-
-
-.include <bsd.kmod.mk>


More information about the p4-projects mailing list