diff options
author | imp <imp@FreeBSD.org> | 2004-07-07 22:35:27 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2004-07-07 22:35:27 +0000 |
commit | 78dfca395175fd86f8c8faaf75b1e5b0337884c0 (patch) | |
tree | 2f085542ee70d0dfcf96a610d0590fce001f2a6f /sys/modules | |
parent | f84c290dac19b5128b113c287907f5dd7b520538 (diff) | |
download | FreeBSD-src-78dfca395175fd86f8c8faaf75b1e5b0337884c0.zip FreeBSD-src-78dfca395175fd86f8c8faaf75b1e5b0337884c0.tar.gz |
Break out the isa and pccard front ends from fdc. This is the first
step in making this driver more attachment neutral. Others plan on
adding acpi front ends.
Still need to cleanup the MI part of the driver because it isn't as
bus independent as it could be.
Diffstat (limited to 'sys/modules')
-rw-r--r-- | sys/modules/fdc/Makefile | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/sys/modules/fdc/Makefile b/sys/modules/fdc/Makefile index 2635148..959a93c 100644 --- a/sys/modules/fdc/Makefile +++ b/sys/modules/fdc/Makefile @@ -5,21 +5,15 @@ .else .PATH: ${.CURDIR}/../../dev/fdc .endif - KMOD= fdc .if ${MACHINE} == "pc98" SRCS= fd.c .else -SRCS= fdc.c +SRCS= fdc.c fdc_isa.c fdc_pccard.c .endif -SRCS+= opt_fdc.h card.h \ - bus_if.h card_if.h device_if.h isa_if.h pccarddevs.h +SRCS+= opt_fdc.h bus_if.h card_if.h device_if.h isa_if.h pccarddevs.h FDC_DEBUG?= 0 # 0/1 -FDC_PCCARD?= 1 # 0/1 whether pccard support (i. e. Y-E DATA PCMCIA -# # fdc) is desired - -CLEANFILES= card.h opt_fdc.h: touch ${.TARGET} @@ -27,10 +21,4 @@ opt_fdc.h: echo "#define FDC_DEBUG 1" >> ${.TARGET} .endif -card.h: - touch ${.TARGET} -.if ${FDC_PCCARD} > 0 - echo "#define NCARD 1" >> ${.TARGET} -.endif - .include <bsd.kmod.mk> |