Got two compilation errors of the 3c509 driver (i386). Here's a patch to make it work: ------------------------------( snip )------------------------------ --- 3c509.c.orig Tue Feb 11 23:12:22 2003 +++ 3c509.c Tue Feb 11 23:47:08 2003 @@ -321,7 +321,7 @@ #ifdef CONFIG_PM /* register power management */ - lp->pmdev = pm_register(PM_ISA_DEV, card_idx, el3_pm_callback); + lp->pmdev = pm_register(PM_ISA_DEV, PM_SYS_UNKNOWN, el3_pm_callback); if (lp->pmdev) { struct pm_dev *p; p = lp->pmdev; @@ -1080,12 +1080,14 @@ free_irq(dev->irq, dev); /* Switching back to window 0 disables the IRQ. */ EL3WINDOW(0); +#ifdef CONFIG_EISA if (!lp->edev) { /* But we explicitly zero the IRQ line select anyway. Don't do * it on EISA cards, it prevents the module from getting an * IRQ after unload+reload... */ outw(0x0f00, ioaddr + WN0_IRQ); } +#endif return 0; } ------------------------------( snip )------------------------------ Cheers, Rodrigo Ventura PS: please email me for feedback, since I'm not subscribed to this mailing list. Thanks. -- *** Rodrigo Martins de Matos Ventura <yoda@isr.ist.utl.pt> *** Web page: http://www.isr.ist.utl.pt/~yoda *** Teaching Assistant and PhD Student at ISR: *** Instituto de Sistemas e Robotica, Polo de Lisboa *** Instituto Superior Tecnico, Lisboa, PORTUGAL *** PGP fingerprint = 0119 AD13 9EEE 264A 3F10 31D3 89B3 C6C4 60C6 4585 - : 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