From 497620bac5a53c422f1848241d5df96e19c8f71e Mon Sep 17 00:00:00 2001 From: nyan Date: Wed, 4 Jul 2001 13:00:21 +0000 Subject: - Don't overwrite inb, inw and outw. - Move the lance_probe function to if_lnc.c. - Support C-NET(98)S again. Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata) and nyan No response from: Paul Richards --- sys/modules/lnc/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'sys/modules') diff --git a/sys/modules/lnc/Makefile b/sys/modules/lnc/Makefile index a9b823b..fdc56c4 100644 --- a/sys/modules/lnc/Makefile +++ b/sys/modules/lnc/Makefile @@ -3,10 +3,18 @@ .PATH: ${.CURDIR}/../../dev/lnc KMOD= if_lnc -SRCS= if_lnc.c if_lnc_pci.c if_lnc_isa.c if_lnc_pc98.c +SRCS= if_lnc.c if_lnc_pci.c +.if ${MACHINE} == "pc98" +SRCS+= if_lnc_cbus.c +.else +SRCS+= if_lnc_isa.c +.endif SRCS+= opt_inet.h device_if.h bus_if.h isa_if.h pci_if.h #SRCS+= miibus_if.h CFLAGS+= -g -I${.CURDIR}/../../dev/lnc +.if ${MACHINE} == "pc98" +CFLAGS+= -DPC98 +.endif .include -- cgit v1.1