Commit de26e781 authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] add a 'NO_IRQ' definition to IDE

(second hunk just makes 2.4/2.5 header match format)
parent 72037372
......@@ -70,6 +70,13 @@ void cmd640_dump_regs (void);
#define DISABLE_IRQ_NOSYNC 0
#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
*/
......@@ -106,6 +113,7 @@ typedef unsigned char byte; /* used everywhere */
/*
* state flags
*/
#define DMA_PIO_RETRY 1 /* retrying in PIO */
/*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment