]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/ide/ide-generic.c
ide-generic: minor fix for mips
[linux-2.6-omap-h63xx.git] / drivers / ide / ide-generic.c
index 31d98fec775f32e1732d13970a304fa7012a7e95..567fd843c7ff43e24ffb231afd9dcbcbaeeb72b6 100644 (file)
@@ -87,6 +87,10 @@ static int __init ide_generic_init(void)
        unsigned long io_addr;
        int i, rc;
 
+#ifdef CONFIG_MIPS
+       if (!ide_probe_legacy())
+               return -ENODEV;
+#endif
        printk(KERN_INFO DRV_NAME ": please use \"probe_mask=0x3f\" module "
                         "parameter for probing all legacy ISA IDE ports\n");