Marcelo Tosatti <[EMAIL PROTECTED]> said:
[...]
> Thats because 2.2.18pre3 has a 2.4 "compatibility layer".
>
> The attached patch fixes the problem.
>
> diff -Nur pcmcia-cs-3.1.20.orig/include/pcmcia/k_compat.h pcmcia-cs-3.1.20/incl
> ude/pcmcia/k_compat.h
> --- pcmcia-cs-3.1.20.orig/include/pcmcia/k_compat.h Tue Sep 5 15:57:21 200
> 0
> +++ pcmcia-cs-3.1.20/include/pcmcia/k_compat.h Tue Sep 5 16:07:30 2000
> @@ -55,7 +55,7 @@
> #define DEV_ID dev_id
> #define IRQ_MAP(irq, dev) do { } while (0)
>
> -#if (LINUX_VERSION_CODE < VERSION(2,3,1))
> +#if (LINUX_VERSION_CODE < VERSION(2,3,1)) && (LINUX_VERSION_CODE < VERSION(2,2
> ,18))
I.e., LINUX_VERSION_CODE < VERSION(2, 2, 18)? Weird way of saying that...
--
Horst von Brand [EMAIL PROTECTED]
Casilla 9G, Vin~a del Mar, Chile +56 32 672616
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/