the trivial patch below removes two #if's for kernel 2.0. I've tested the compilation with 2.5.56. Please apply Adrian --- linux-2.5.56/drivers/net/aironet4500_core.c.old 2003-01-11 20:38:05.000000000 +0100 +++ linux-2.5.56/drivers/net/aironet4500_core.c 2003-01-11 20:39:24.000000000 +0100 @@ -2561,8 +2561,6 @@ int awc_simple_bridge; // int debug =0; -#if LINUX_VERSION_CODE >= 0x20100 - MODULE_PARM(awc_debug,"i"); MODULE_PARM(tx_rate,"i"); MODULE_PARM(channel,"i"); @@ -2581,7 +2579,7 @@ MODULE_PARM_DESC(master,"Aironet is Adhoc master (creates network sync) (0-1)"); MODULE_PARM_DESC(slave,"Aironet is Adhoc slave (0-1)"); MODULE_PARM_DESC(max_mtu,"Aironet MTU limit (256-2312)"); -#endif + MODULE_LICENSE("GPL"); --- linux-2.5.56/drivers/net/pcmcia/aironet4500_cs.c.old 2003-01-11 20:39:11.000000000 +0100 +++ linux-2.5.56/drivers/net/pcmcia/aironet4500_cs.c 2003-01-11 20:39:38.000000000 +0100 @@ -50,10 +50,8 @@ static u_int irq_mask = 0x5eF8; static int awc_ports[] = {0x140,0x100,0xc0, 0x80 }; -#if LINUX_VERSION_CODE > 0x20100 -MODULE_PARM(irq_mask, "i"); -#endif +MODULE_PARM(irq_mask, "i"); #define RUN_AT(x) (jiffies+(x)) - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html