pcmcia drivers should work under 2.6 now
authorFrank Mori Hess <fmhess@speakeasy.net>
Wed, 2 Jun 2004 23:30:15 +0000 (23:30 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Wed, 2 Jun 2004 23:30:15 +0000 (23:30 +0000)
configure.ac

index 7eece8baf4f1addf7a169678b4fad48d2e2bf213..d57491eac52b909f3fae6aab935242becadef1df 100644 (file)
@@ -60,17 +60,7 @@ CC=$LINUX_CC
 AC_SUBST(COMEDI_CFLAGS)
 
 AC_ARG_ENABLE([pcmcia],[  --disable-pcmcia     Disable support for PCMCIA devices],
-       [ENABLE_PCMCIA=$enableval],[ENABLE_PCMCIA="probe"])
-if test "$ENABLE_PCMCIA" = "probe" ; then
-       if test "x$(echo "$LINUX_KERNELRELEASE" | grep '^2.6')" != x ; then
-               AC_MSG_NOTICE([Disabling PCMCIA drivers because they haven't been ported to Linux-2.6])
-               ENABLE_PCMCIA=no
-       else
-               AC_MSG_NOTICE([moo])
-               ENABLE_PCMCIA=yes
-       fi
-
-fi
+       [ENABLE_PCMCIA=$enableval],[ENABLE_PCMCIA="yes"])
 if test "$ENABLE_PCMCIA" = "yes" ; then
        AS_LINUX_CONFIG_OPTION_MODULE(CONFIG_PCMCIA)
 else