PATCH: add a 'NO_IRQ' definition to IDE

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 18 Feb 2003 18:15:08 +0000 (GMT)


(second hunk just makes 2.4/2.5 header match format)

diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.61/include/linux/ide.h linux-2.5.61-ac2/include/linux/ide.h
--- linux-2.5.61/include/linux/ide.h 2003-02-10 18:38:20.000000000 +0000
+++ linux-2.5.61-ac2/include/linux/ide.h 2003-02-18 18:02:56.000000000 +0000
@@ -71,6 +71,13 @@
#endif

/*
+ * Used to indicate "no IRQ", should be a value that cannot be an IRQ
+ * number.
+ */
+
+#define IDE_NO_IRQ (-1)
+
+/*
* IDE_DRIVE_CMD is used to implement many features of the hdparm utility
*/
#define IDE_DRIVE_CMD 99 /* (magic) undef to reduce kernel size*/
@@ -106,6 +113,7 @@
/*
* state flags
*/
+
#define DMA_PIO_RETRY 1 /* retrying in PIO */

/*
-
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/