From 7eb6faf005a5718c40b342cdf8081e184a208d5a Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Thu, 2 Feb 2006 23:17:31 +0000 Subject: 2006-02-02 Sergio Lopez * 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. --- linux/dev/drivers/scsi/eata_dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux/dev') 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, -- cgit v1.2.3