Re: 2.2.18-3 seems to break pcmcia-cs-3.1.20

From: Horst von Brand (vonbrand@sleipnir.valparaiso.cl)
Date: Tue Sep 05 2000 - 22:35:14 EST


Marcelo Tosatti <marcelo@conectiva.com.br> 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                             vonbrand@sleipnir.valparaiso.cl
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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Sep 07 2000 - 21:00:24 EST