aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/fdc
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2004-07-07 22:35:27 +0000
committerWarner Losh <imp@FreeBSD.org>2004-07-07 22:35:27 +0000
commit6d6fa4fdc91da5ab90eb43c8cd016b52a9435644 (patch)
tree2f085542ee70d0dfcf96a610d0590fce001f2a6f /sys/modules/fdc
parent8ade021a7cb86275ad6ac19810cc80c201296bc3 (diff)
downloadsrc-6d6fa4fdc91da5ab90eb43c8cd016b52a9435644.tar.gz
src-6d6fa4fdc91da5ab90eb43c8cd016b52a9435644.zip
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.
Notes
Notes: svn path=/head/; revision=131767
Diffstat (limited to 'sys/modules/fdc')
-rw-r--r--sys/modules/fdc/Makefile16
1 files changed, 2 insertions, 14 deletions
diff --git a/sys/modules/fdc/Makefile b/sys/modules/fdc/Makefile
index 263514873144..959a93ce3e7b 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>