summaryrefslogtreecommitdiff
path: root/i386
diff options
context:
space:
mode:
Diffstat (limited to 'i386')
-rw-r--r--i386/README-Drivers3
-rw-r--r--i386/linux/configure.ac19
2 files changed, 22 insertions, 0 deletions
diff --git a/i386/README-Drivers b/i386/README-Drivers
index fa5fdfb..d785b4a 100644
--- a/i386/README-Drivers
+++ b/i386/README-Drivers
@@ -372,6 +372,9 @@ All source files are relative to [GNU Mach]/linux/pcmcia-cs.
Intel 82365 PC Card controller
--disable-i82365 modules/i82365.c
+Disable scan for ISA interrupts at startup
+ --disable-pcmcia-isa modules/i82365.c
+
*** pcmcia device drivers
These all show up as `eth%d'.
diff --git a/i386/linux/configure.ac b/i386/linux/configure.ac
index 9ce468c..6af8eb7 100644
--- a/i386/linux/configure.ac
+++ b/i386/linux/configure.ac
@@ -365,6 +365,25 @@ linux_DRIVER([i82365],
[Intel 82365 PC Card controller],
[I82365], [i82365], [pcmcia])
+AC_DEFUN([AC_PCMCIA_OPTION], [
+ AC_ARG_ENABLE([pcmcia-$1],
+ AS_HELP_STRING([--disable-pcmcia-$1], [$4]))
+ [enable_pcmcia_$1=${enable_pcmcia_$1-$enable_default_device_drivers}
+ if test x"$enable_pcmcia_$1" = xyes; then]
+ AC_DEFINE([CONFIG_$2], [1], [$4])
+ [device_drivers="$device_drivers $3"
+ if test "${driver_class_pcmcia_selected+set}" != set; then
+ driver_class_pcmcia_selected=yes]
+ AC_DEFINE_UNQUOTED([$driver_class_pcmcia_option], [1])
+ [device_drivers="$device_drivers $driver_class_pcmcia_files"
+ fi
+ fi
+]])
+
+AC_PCMCIA_OPTION([isa], [ISA], [],
+ [disable isa-bus-support (pcmcia core)])
+
+
dnl PCMCIA device drivers.
linux_DRIVER([3c574_cs],