initio: fix conflict when loading driver
PATCH 5/23 initio: fix conflict when loading driver
From: Alan Cox <[email protected]>
Quoted 7 lines
I have a scanner connected to a Initio INI-950 SCSI card and I recently upgraded from SuSE 10.2 to 10.3. The new kernel doesn't see any of my devices. I get the following in
/var/log/messages:ACPI: PCI Interrupt 0000:00:0a.0[A] -> GSI 17 (level, low) -> IRQ 16
initio: I/O port range0x0is busy.
ACPI: PCI interrupt for device 0000:00:0a.0 disabled
Humm not a collision - thats a bug in the driver updating. Looks like the changes I made and combined with Christoph's lost a line somewhere when I was merging it all. Try the following
Signed-off-by Alan Cox <[email protected]>
Cc Scott Simpson <[email protected]>
Cc James Bottomley <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/scsi/initio.c | 1 + 1 file changed, 1 insertion(+)
drivers/scsi/initio.c renamed from drivers/scsi/initio.c~initio-fix-conflict-when-loading-driver +1 -0
@@ -2867,6 +2867,7 @@ static int initio_probe_one(struct pci_d } host = (struct initio_host *)shost->hostdata;memset (host,0 ,sizeof (struct initio_host )); + host->addr =pci_resource_start (pdev,0 );if (!request_region (host->addr,256 ,"i91u" )) {printk (KERN_WARNING "initio: I/O port range 0x%x is busy.\n" , host->addr);
_