[PATCH] ide: remove a ton of pointless #undef REALLY_SLOW_IO

From: Alan
Date: Tue Feb 20 2007 - 11:50:35 EST


Signed-off-by: Alan Cox <alan@xxxxxxxxxx>

diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.20-mm2/drivers/ide/cris/ide-cris.c linux-2.6.20-mm2/drivers/ide/cris/ide-cris.c
--- linux.vanilla-2.6.20-mm2/drivers/ide/cris/ide-cris.c 2007-02-20 13:38:01.000000000 +0000
+++ linux-2.6.20-mm2/drivers/ide/cris/ide-cris.c 2007-02-20 13:59:16.000000000 +0000
@@ -17,8 +17,6 @@
* device can't do DMA handshaking for some stupid reason. We don't need to do that.
*/

-#undef REALLY_SLOW_IO /* most systems can safely undef this */
-
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/timer.h>
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.20-mm2/drivers/ide/ide.c linux-2.6.20-mm2/drivers/ide/ide.c
--- linux.vanilla-2.6.20-mm2/drivers/ide/ide.c 2007-02-20 13:38:01.000000000 +0000
+++ linux-2.6.20-mm2/drivers/ide/ide.c 2007-02-20 13:59:16.000000000 +0000
@@ -126,8 +126,6 @@
#define REVISION "Revision: 7.00alpha2"
#define VERSION "Id: ide.c 7.00a2 20020906"

-#undef REALLY_SLOW_IO /* most systems can safely undef this */
-
#define _IDE_C /* Tell ide.h it's really us */

#include <linux/module.h>
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.20-mm2/drivers/ide/ide-disk.c linux-2.6.20-mm2/drivers/ide/ide-disk.c
--- linux.vanilla-2.6.20-mm2/drivers/ide/ide-disk.c 2007-02-20 13:38:01.000000000 +0000
+++ linux-2.6.20-mm2/drivers/ide/ide-disk.c 2007-02-20 13:59:16.000000000 +0000
@@ -43,8 +43,6 @@

#define IDEDISK_VERSION "1.18"

-#undef REALLY_SLOW_IO /* most systems can safely undef this */
-
//#define DEBUG

#include <linux/module.h>
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.20-mm2/drivers/ide/ide-probe.c linux-2.6.20-mm2/drivers/ide/ide-probe.c
--- linux.vanilla-2.6.20-mm2/drivers/ide/ide-probe.c 2007-02-20 13:38:01.000000000 +0000
+++ linux-2.6.20-mm2/drivers/ide/ide-probe.c 2007-02-20 13:59:44.000000000 +0000
@@ -31,8 +31,6 @@
* valid after probe time even with noprobe
*/

-#undef REALLY_SLOW_IO /* most systems can safely undef this */
-
#include <linux/module.h>
#include <linux/types.h>
#include <linux/string.h>
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.20-mm2/drivers/ide/legacy/ali14xx.c linux-2.6.20-mm2/drivers/ide/legacy/ali14xx.c
--- linux.vanilla-2.6.20-mm2/drivers/ide/legacy/ali14xx.c 2007-02-20 13:38:01.000000000 +0000
+++ linux-2.6.20-mm2/drivers/ide/legacy/ali14xx.c 2007-02-20 13:59:44.000000000 +0000
@@ -37,8 +37,6 @@
* mode 4 for a while now with no trouble.) -Derek
*/

-#undef REALLY_SLOW_IO /* most systems can safely undef this */
-
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.20-mm2/drivers/ide/legacy/dtc2278.c linux-2.6.20-mm2/drivers/ide/legacy/dtc2278.c
--- linux.vanilla-2.6.20-mm2/drivers/ide/legacy/dtc2278.c 2007-02-20 13:38:01.000000000 +0000
+++ linux-2.6.20-mm2/drivers/ide/legacy/dtc2278.c 2007-02-20 13:59:44.000000000 +0000
@@ -4,8 +4,6 @@
* Copyright (C) 1996 Linus Torvalds & author (see below)
*/

-#undef REALLY_SLOW_IO /* most systems can safely undef this */
-
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.20-mm2/drivers/ide/legacy/ht6560b.c linux-2.6.20-mm2/drivers/ide/legacy/ht6560b.c
--- linux.vanilla-2.6.20-mm2/drivers/ide/legacy/ht6560b.c 2007-02-20 13:38:01.000000000 +0000
+++ linux-2.6.20-mm2/drivers/ide/legacy/ht6560b.c 2007-02-20 13:59:44.000000000 +0000
@@ -36,8 +36,6 @@

#define HT6560B_VERSION "v0.07"

-#undef REALLY_SLOW_IO /* most systems can safely undef this */
-
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.20-mm2/drivers/ide/legacy/qd65xx.c linux-2.6.20-mm2/drivers/ide/legacy/qd65xx.c
--- linux.vanilla-2.6.20-mm2/drivers/ide/legacy/qd65xx.c 2007-02-20 13:38:01.000000000 +0000
+++ linux-2.6.20-mm2/drivers/ide/legacy/qd65xx.c 2007-02-20 13:59:44.000000000 +0000
@@ -25,8 +25,6 @@
* Samuel Thibault <samuel.thibault@xxxxxxxx>
*/

-#undef REALLY_SLOW_IO /* most systems can safely undef this */
-
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.20-mm2/drivers/ide/mips/au1xxx-ide.c linux-2.6.20-mm2/drivers/ide/mips/au1xxx-ide.c
--- linux.vanilla-2.6.20-mm2/drivers/ide/mips/au1xxx-ide.c 2007-02-20 13:38:01.000000000 +0000
+++ linux-2.6.20-mm2/drivers/ide/mips/au1xxx-ide.c 2007-02-20 13:59:44.000000000 +0000
@@ -29,8 +29,6 @@
* Note: for more information, please refer "AMD Alchemy Au1200/Au1550 IDE
* Interface and Linux Device Driver" Application Note.
*/
-#undef REALLY_SLOW_IO /* most systems can safely undef this */
-
#include <linux/types.h>
#include <linux/module.h>
#include <linux/kernel.h>
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.20-mm2/drivers/ide/pci/cmd640.c linux-2.6.20-mm2/drivers/ide/pci/cmd640.c
--- linux.vanilla-2.6.20-mm2/drivers/ide/pci/cmd640.c 2007-01-31 14:04:37.000000000 +0000
+++ linux-2.6.20-mm2/drivers/ide/pci/cmd640.c 2007-02-20 13:59:44.000000000 +0000
@@ -98,7 +98,6 @@
* (patch courtesy of Zoltan Hidvegi)
*/

-#undef REALLY_SLOW_IO /* most systems can safely undef this */
#define CMD640_PREFETCH_MASKS 1

//#define CMD640_DUMP_REGS
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.20-mm2/drivers/ide/pci/generic.c linux-2.6.20-mm2/drivers/ide/pci/generic.c
--- linux.vanilla-2.6.20-mm2/drivers/ide/pci/generic.c 2007-02-20 12:32:29.000000000 +0000
+++ linux-2.6.20-mm2/drivers/ide/pci/generic.c 2007-02-20 13:59:44.000000000 +0000
@@ -21,8 +21,6 @@
* are deemed to be part of the source code.
*/

-#undef REALLY_SLOW_IO /* most systems can safely undef this */
-
#include <linux/types.h>
#include <linux/module.h>
#include <linux/kernel.h>
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.20-mm2/drivers/ide/pci/opti621.c linux-2.6.20-mm2/drivers/ide/pci/opti621.c
--- linux.vanilla-2.6.20-mm2/drivers/ide/pci/opti621.c 2007-02-20 13:38:01.000000000 +0000
+++ linux-2.6.20-mm2/drivers/ide/pci/opti621.c 2007-02-20 13:59:44.000000000 +0000
@@ -87,7 +87,6 @@
* 0.5 doesn't work.
*/

-#undef REALLY_SLOW_IO /* most systems can safely undef this */
#define OPTI621_DEBUG /* define for debug messages */

#include <linux/types.h>
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.20-mm2/drivers/ide/pci/rz1000.c linux-2.6.20-mm2/drivers/ide/pci/rz1000.c
--- linux.vanilla-2.6.20-mm2/drivers/ide/pci/rz1000.c 2007-02-20 12:32:29.000000000 +0000
+++ linux-2.6.20-mm2/drivers/ide/pci/rz1000.c 2007-02-20 13:59:44.000000000 +0000
@@ -15,8 +15,6 @@
* Dunno if this fixes both ports, or only the primary port (?).
*/

-#undef REALLY_SLOW_IO /* most systems can safely undef this */
-
#include <linux/types.h>
#include <linux/module.h>
#include <linux/kernel.h>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/