summaryrefslogtreecommitdiffstats
path: root/sys/modules/le
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2006-05-17 21:25:23 +0000
committermarius <marius@FreeBSD.org>2006-05-17 21:25:23 +0000
commit70daffddffbf3afb1d9d76e97edd50f02a48d9f1 (patch)
tree73f841ed14420299e243c3f3444f7858e2ef0d3e /sys/modules/le
parent1a141a2cee3a9bd330dbdc7765a8143c3ba88ddd (diff)
downloadFreeBSD-src-70daffddffbf3afb1d9d76e97edd50f02a48d9f1.zip
FreeBSD-src-70daffddffbf3afb1d9d76e97edd50f02a48d9f1.tar.gz
- Add C-bus and ISA front-ends for le(4) so it can actually replace
lnc(4) on PC98 and i386. The ISA front-end supports the same non-PNP network cards as lnc(4) did and additionally a couple of PNP ones. Like lnc(4), the C-bus front-end of le(4) only supports C-NET(98)S and is untested due to lack of such hardware, but given that's it's based on the respective lnc(4) and not too different from the ISA front-end it should be highly likely to work. - Remove the descriptions of le(4), which where converted from lnc(4), from sys/i386/conf/NOTES and sys/pc98/conf/NOTES as there's a common one in sys/conf/NOTES.
Diffstat (limited to 'sys/modules/le')
-rw-r--r--sys/modules/le/Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/sys/modules/le/Makefile b/sys/modules/le/Makefile
index 23bb93b..0d484ec 100644
--- a/sys/modules/le/Makefile
+++ b/sys/modules/le/Makefile
@@ -3,8 +3,18 @@
.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
+SRCS= am7990.c am79900.c ${if_le_cbus} ${if_le_isa} ${if_le_ledma}
+SRCS+= if_le_pci.c lance.c
+SRCS+= bus_if.h device_if.h ${isa_if} ${ofw_bus_if} pci_if.h
+
+.if ${MACHINE_ARCH} == "i386"
+.if ${MACHINE} == "pc98"
+if_le_cbus= if_le_cbus.c
+.else
+if_le_isa= if_le_isa.c
+.endif
+isa_if= isa_if.h
+.endif
.if ${MACHINE_ARCH} == "sparc64"
if_le_ledma= if_le_ledma.c
OpenPOWER on IntegriCloud