summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
Diffstat (limited to 'linux')
-rw-r--r--linux/dev/drivers/scsi/eata_dma.c2
-rw-r--r--linux/src/drivers/scsi/eata_dma.c2
-rw-r--r--linux/src/drivers/scsi/eata_pio.c2
3 files changed, 3 insertions, 3 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,
diff --git a/linux/src/drivers/scsi/eata_dma.c b/linux/src/drivers/scsi/eata_dma.c
index 2b7da3d..c019813 100644
--- a/linux/src/drivers/scsi/eata_dma.c
+++ b/linux/src/drivers/scsi/eata_dma.c
@@ -1532,7 +1532,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,
diff --git a/linux/src/drivers/scsi/eata_pio.c b/linux/src/drivers/scsi/eata_pio.c
index 90dc81f..469b720 100644
--- a/linux/src/drivers/scsi/eata_pio.c
+++ b/linux/src/drivers/scsi/eata_pio.c
@@ -981,7 +981,7 @@ int eata_pio_detect(Scsi_Host_Template * tpnt)
find_pio_ISA(&gc, tpnt);
- for (i = 0; i <= MAXIRQ; i++)
+ for (i = 0; i < MAXIRQ; i++)
if (reg_IRQ[i])
request_irq(i, eata_pio_int_handler, SA_INTERRUPT, "EATA-PIO", NULL);