mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-23 11:18:54 +00:00
6c5c0a5ac1
the ISA and CBUS (called isa on pc98) attachments. Eliminate all PC98 ifdefs in the process (the driver in pc98/pc98/mse.c was a copy of the one in i386/isa/mse.c with PC98 ifdefs). Create a module for this driver. I've tested this my PC-9821RaS40 with moused. I've not tested this on i386 because I have no InPort cards, or similar such things. NEC standardized on bus mice very early, long before ps/2 mice ports apeared, so all PC-98 machines supported by FreeBSD/pc98 have bus mice, I believe. Reviewed by: nyan-san
15 lines
198 B
Makefile
15 lines
198 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../dev/mse
|
|
|
|
KMOD= mse
|
|
SRCS= mse.c device_if.h bus_if.h isa_if.h
|
|
|
|
.if (${MACHINE} == "pc98")
|
|
SRCS+= mse_cbus.c
|
|
.else
|
|
SRCS+= mse_isa.c
|
|
.endif
|
|
|
|
.include <bsd.kmod.mk>
|