From 70daffddffbf3afb1d9d76e97edd50f02a48d9f1 Mon Sep 17 00:00:00 2001 From: marius Date: Wed, 17 May 2006 21:25:23 +0000 Subject: - 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. --- sys/modules/le/Makefile | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'sys/modules/le') 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 -- cgit v1.1