lkml.org 
[lkml]   [2003]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectPATCH: remove old style probe from other legacy ide
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/
\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.328 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site