From 40c49f280ef6ed25741f46a9e63da9fe8c3f70e8 Mon Sep 17 00:00:00 2001 From: marius Date: Tue, 31 Jan 2006 22:34:13 +0000 Subject: Hook up le(4) to the build. For now it's only added to the sparc64 GENERIC in order to support the on-board LANCE in Ultra 1 and to the MI NOTES as it should work just fine with the AMD PCnet family of chips on all archs but is not yet meant to replace lnc(4). If a kernel includes all of le(4), lnc(4) and pcn(4) precedence is given to lnc(4)/pcn(4) for now. --- sys/modules/le/Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 sys/modules/le/Makefile (limited to 'sys/modules/le') diff --git a/sys/modules/le/Makefile b/sys/modules/le/Makefile new file mode 100644 index 0000000..23bb93b --- /dev/null +++ b/sys/modules/le/Makefile @@ -0,0 +1,14 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../dev/le + +KMOD= if_le +SRCS= am7990.c am79900.c ${if_le_ledma} if_le_pci.c lance.c +SRCS+= bus_if.h device_if.h ${ofw_bus_if} pci_if.h + +.if ${MACHINE_ARCH} == "sparc64" +if_le_ledma= if_le_ledma.c +ofw_bus_if= ofw_bus_if.h +.endif + +.include -- cgit v1.1