diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2006-12-10 05:20:39 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-10 12:57:20 -0500 |
commit | ee2f344b33b507af23610c8fdfdde38d7c10fb33 (patch) | |
tree | 7908a16d267168a74178aad61e30a82590ca6aac /include/linux/ide.h | |
parent | 33859f7f9788da2ac9aa23be4dc8e948112809ca (diff) |
[PATCH] ide-cd: Handle strange interrupt on the Intel ESB2
The ESB2 appears to emit spurious DMA interrupts when configured for native
mode and handling ATAPI devices. Stratus were able to pin this bug down and
produce a patch. This is a rework which applies the fixup only to the ESB2
(for now). We can apply it to other chips later if the same problem is found.
This code has been tested and confirmed to fix the problem on the tested
systems.
Signed-off-by: Alan Cox <alan@redhat.com>
(Most of the hard work done by Stratus however)
Cc: Jens Axboe <axboe@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r-- | include/linux/ide.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index 9c2050293f17..64e070f62a87 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -796,6 +796,7 @@ typedef struct hwif_s { | |||
796 | unsigned sg_mapped : 1; /* sg_table and sg_nents are ready */ | 796 | unsigned sg_mapped : 1; /* sg_table and sg_nents are ready */ |
797 | unsigned no_io_32bit : 1; /* 1 = can not do 32-bit IO ops */ | 797 | unsigned no_io_32bit : 1; /* 1 = can not do 32-bit IO ops */ |
798 | unsigned err_stops_fifo : 1; /* 1=data FIFO is cleared by an error */ | 798 | unsigned err_stops_fifo : 1; /* 1=data FIFO is cleared by an error */ |
799 | unsigned atapi_irq_bogon : 1; /* Generates spurious DMA interrupts in PIO mode */ | ||
799 | 800 | ||
800 | struct device gendev; | 801 | struct device gendev; |
801 | struct completion gendev_rel_comp; /* To deal with device release() */ | 802 | struct completion gendev_rel_comp; /* To deal with device release() */ |