linux-2.6.21-rc2-git3/drivers/ata/pata_jmicron.c has an extra #endif. The 2.6.21-rc2-git2 version compiled fine. Here is a patch that removes the offending line. I do not have hardware to test this change. I can verify that the resulting driver compiles to a binary that successfully loads and unloads with insmod and rmmod. --- Signed-off-by: adam@xxxxxxxxxxxxx <Adam J. Richter> --- a/drivers/ata/pata_jmicron.c 2007-03-04 05:36:08.000000000 +0800 +++ b/drivers/ata/pata_jmicron.c 2007-03-04 07:04:45.000000000 +0800 @@ -243,9 +243,8 @@ static int __init jmicron_init(void) static void __exit jmicron_exit(void) { pci_unregister_driver(&jmicron_pci_driver); } -#endif module_init(jmicron_init); module_exit(jmicron_exit); - To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html