diff options
author | marius <marius@FreeBSD.org> | 2006-01-31 22:34:13 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2006-01-31 22:34:13 +0000 |
commit | 40c49f280ef6ed25741f46a9e63da9fe8c3f70e8 (patch) | |
tree | 9b47e4fc8a416c740922ca6ca6e2a26d88e36f0a /sys/modules/le | |
parent | a75160be2b024a1617cb7ab02510ba2328304fe8 (diff) | |
download | FreeBSD-src-40c49f280ef6ed25741f46a9e63da9fe8c3f70e8.zip FreeBSD-src-40c49f280ef6ed25741f46a9e63da9fe8c3f70e8.tar.gz |
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.
Diffstat (limited to 'sys/modules/le')
-rw-r--r-- | sys/modules/le/Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
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 <bsd.kmod.mk> |