summaryrefslogtreecommitdiff
path: root/linux/dev/drivers
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2006-02-02 23:17:31 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:26:31 +0200
commit7eb6faf005a5718c40b342cdf8081e184a208d5a (patch)
treee149a7e13b24451a1b2d8ed2300a510bdb269006 /linux/dev/drivers
parent4631e2fcdc30454a0e6a83a21a218bc0e2d9e5ed (diff)
2006-02-02 Sergio Lopez <koro@sinrega.org>
* linux/src/drivers/scsi/eata_pio.c (eata_pio_detect): Fix a off-by-one error when probing. * linux/src/drivers/scsi/eata_dma.c (eata_detect): Likewise. * linux/dev/drivers/scsi/eata_dma.c (eata_detect): Likewise.
Diffstat (limited to 'linux/dev/drivers')
-rw-r--r--linux/dev/drivers/scsi/eata_dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/dev/drivers/scsi/eata_dma.c b/linux/dev/drivers/scsi/eata_dma.c
index b561208..e902ea1 100644
--- a/linux/dev/drivers/scsi/eata_dma.c
+++ b/linux/dev/drivers/scsi/eata_dma.c
@@ -1536,7 +1536,7 @@ int eata_detect(Scsi_Host_Template * tpnt)
find_ISA(&gc, tpnt);
- for (i = 0; i <= MAXIRQ; i++) { /* Now that we know what we have, we */
+ for (i = 0; i < MAXIRQ; i++) { /* Now that we know what we have, we */
if (reg_IRQ[i] >= 1){ /* exchange the interrupt handler which */
free_irq(i, NULL); /* we used for probing with the real one */
request_irq(i, (void *)(eata_int_handler), SA_INTERRUPT|SA_SHIRQ,