diff options
author | imp <imp@FreeBSD.org> | 2004-12-12 20:05:50 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2004-12-12 20:05:50 +0000 |
commit | a9476981be7bfdb101b71b1bdc66d3918dcd0626 (patch) | |
tree | bd14856027d7af51b26f18ce2b15ebf953635bd1 /sys/modules/mse | |
parent | 8944146336baa793540971bfe7b1262ccd13f2cd (diff) | |
download | FreeBSD-src-a9476981be7bfdb101b71b1bdc66d3918dcd0626.zip FreeBSD-src-a9476981be7bfdb101b71b1bdc66d3918dcd0626.tar.gz |
Separate mse driver into a core driver and a bus attachments. Separate out
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
Diffstat (limited to 'sys/modules/mse')
-rw-r--r-- | sys/modules/mse/Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sys/modules/mse/Makefile b/sys/modules/mse/Makefile new file mode 100644 index 0000000..4cc68c1 --- /dev/null +++ b/sys/modules/mse/Makefile @@ -0,0 +1,14 @@ +# $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> |