PATCH: remove legacy probe code

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Fri Mar 21 2003 - 14:27:37 EST


diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.65/drivers/ide/legacy/ali14xx.c linux-2.5.65-ac2/drivers/ide/legacy/ali14xx.c
--- linux-2.5.65/drivers/ide/legacy/ali14xx.c 2003-03-03 19:20:09.000000000 +0000
+++ linux-2.5.65-ac2/drivers/ide/legacy/ali14xx.c 2003-03-20 18:23:19.000000000 +0000
@@ -229,10 +229,8 @@
                 return 1;
         }
 
-#ifndef HWIF_PROBE_CLASSIC_METHOD
         probe_hwif_init(&ide_hwifs[0]);
         probe_hwif_init(&ide_hwifs[1]);
-#endif /* HWIF_PROBE_CLASSIC_METHOD */
 
         return 0;
 }
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.65/drivers/ide/legacy/dtc2278.c linux-2.5.65-ac2/drivers/ide/legacy/dtc2278.c
--- linux-2.5.65/drivers/ide/legacy/dtc2278.c 2003-03-03 19:20:09.000000000 +0000
+++ linux-2.5.65-ac2/drivers/ide/legacy/dtc2278.c 2003-03-20 18:23:19.000000000 +0000
@@ -138,11 +138,8 @@
         ide_hwifs[1].mate = &ide_hwifs[0];
         ide_hwifs[1].channel = 1;
 
-#ifndef HWIF_PROBE_CLASSIC_METHOD
         probe_hwif_init(&ide_hwifs[0]);
         probe_hwif_init(&ide_hwifs[1]);
-#endif /* HWIF_PROBE_CLASSIC_METHOD */
-
 }
 
 void __init dtc2278_release (void)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Mar 23 2003 - 22:00:39 EST