PATCH: remove old style probe from other legacy ide

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


diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.65/drivers/ide/legacy/pdc4030.c linux-2.5.65-ac2/drivers/ide/legacy/pdc4030.c
--- linux-2.5.65/drivers/ide/legacy/pdc4030.c 2003-03-03 19:20:09.000000000 +0000
+++ linux-2.5.65-ac2/drivers/ide/legacy/pdc4030.c 2003-03-20 18:23:19.000000000 +0000
@@ -256,12 +256,11 @@
                 if (!ident.current_tm[i+2].cyl)
                         hwif2->drives[i].noprobe = 1;
         }
-#ifndef HWIF_PROBE_CLASSIC_METHOD
+
         probe_hwif_init(&ide_hwifs[hwif->index]);
         probe_hwif_init(&ide_hwifs[hwif2->index]);
-#endif /* HWIF_PROBE_CLASSIC_METHOD */
 
- return 1;
+ return 1;
 }
 
 /*
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.65/drivers/ide/legacy/qd65xx.c linux-2.5.65-ac2/drivers/ide/legacy/qd65xx.c
--- linux-2.5.65/drivers/ide/legacy/qd65xx.c 2003-03-03 19:20:09.000000000 +0000
+++ linux-2.5.65-ac2/drivers/ide/legacy/qd65xx.c 2003-03-20 18:23:19.000000000 +0000
@@ -359,9 +359,7 @@
         hwif->drives[0].io_32bit =
         hwif->drives[1].io_32bit = 1;
         hwif->tuneproc = tuneproc;
-#ifndef HWIF_PROBE_CLASSIC_METHOD
         probe_hwif_init(hwif);
-#endif /* HWIF_PROBE_CLASSIC_METHOD */
 }
 
 /*
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.65/drivers/ide/legacy/umc8672.c linux-2.5.65-ac2/drivers/ide/legacy/umc8672.c
--- linux-2.5.65/drivers/ide/legacy/umc8672.c 2003-03-03 19:20:09.000000000 +0000
+++ linux-2.5.65-ac2/drivers/ide/legacy/umc8672.c 2003-03-20 18:23:19.000000000 +0000
@@ -162,10 +162,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 */
 
         return 0;
 }
-
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:36 EST