diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2007-12-13 19:14:05 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2007-12-18 17:04:11 -0500 |
commit | 99f1f534922a2f2251ba05b14657a1c62882a80e (patch) | |
tree | 3dc6ac3dbd9417e94ad880b7aab245986b3e7d8f /drivers/scsi/initio.c | |
parent | cedefa13db502432905c29819c195f46805b13eb (diff) |
[SCSI] initio: fix conflict when loading driver
> 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 range 0x0 is 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.
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/initio.c')
-rw-r--r-- | drivers/scsi/initio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/initio.c b/drivers/scsi/initio.c index 4c4465d39a1d..769a7a805859 100644 --- a/drivers/scsi/initio.c +++ b/drivers/scsi/initio.c | |||
@@ -2867,6 +2867,7 @@ static int initio_probe_one(struct pci_dev *pdev, | |||
2867 | } | 2867 | } |
2868 | host = (struct initio_host *)shost->hostdata; | 2868 | host = (struct initio_host *)shost->hostdata; |
2869 | memset(host, 0, sizeof(struct initio_host)); | 2869 | memset(host, 0, sizeof(struct initio_host)); |
2870 | host->addr = pci_resource_start(pdev, 0); | ||
2870 | 2871 | ||
2871 | if (!request_region(host->addr, 256, "i91u")) { | 2872 | if (!request_region(host->addr, 256, "i91u")) { |
2872 | printk(KERN_WARNING "initio: I/O port range 0x%x is busy.\n", host->addr); | 2873 | printk(KERN_WARNING "initio: I/O port range 0x%x is busy.\n", host->addr); |