Commit 10cfc92c authored by James Bottomley's avatar James Bottomley Committed by James Bottomley

Minor fixes to scsi/sim710.c

Add include of linux/interrupts from Rolf Eike Beer <eike-kernel@sf-tec.de>

Improve the interrupt probing so it works for CPQ4411
parent e6473d16
......@@ -34,6 +34,7 @@
#include <linux/init.h>
#include <linux/mca.h>
#include <linux/eisa.h>
#include <linux/interrupt.h>
#include "scsi.h"
#include "hosts.h"
......@@ -301,7 +302,7 @@ sim710_eisa_probe(struct device *dev)
#endif
} else {
eisa_irqs = eisa_cpq_irqs;
irq_index = inb(io_addr + 0xc88);
irq_index = inb(io_addr + 0xc88) & 0x07;
}
if(irq_index >= strlen(eisa_irqs)) {
......
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