mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Scott Simpson <simps05192@yahoo.com>
Cc: linux-kernel@vger.kernel.org, torvalds@osdl.org,
	james.bottomley@HansenPartnership.com
Subject: Re: Conflict when loading initio driver
Date: Sun, 30 Sep 2007 22:47:55 +0100	[thread overview]
Message-ID: <20070930224755.6a4cf1c6@the-village.bc.nu> (raw)
In-Reply-To: <786233.43251.qm@web56808.mail.re3.yahoo.com>

>    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:
> 
> 
> 
>    
> 
>    Sep 30 09:05:13 r2d2 kernel: ACPI: PCI Interrupt 0000:00:0a.0[A] -> GSI 17 (level, low) -> IRQ 16
> 
>    Sep 30 09:05:13 r2d2 kernel: initio: I/O port range 0x0 is busy.
> 
>    Sep 30 09:05:13 r2d2 kernel: 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 <alan@redhat.com>

diff -u --new-file --exclude-from /usr/src/exclude --recursive linux.vanilla-2.6.23rc8-mm1/drivers/scsi/initio.c linux-2.6.23rc8-mm1/drivers/scsi/initio.c
--- linux.vanilla-2.6.23rc8-mm1/drivers/scsi/initio.c	2007-09-26 16:46:54.000000000 +0100
+++ linux-2.6.23rc8-mm1/drivers/scsi/initio.c	2007-09-30 22:22:03.839113616 +0100
@@ -2867,6 +2867,7 @@
 	}
 	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);

  reply	other threads:[~2007-09-30 21:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-30 21:07 Scott Simpson
2007-09-30 21:47 ` Alan Cox [this message]
2007-10-06  3:32 Scott Simpson
2007-10-06 10:13 ` Alan Cox
2007-10-10 14:22   ` Scott Simpson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070930224755.6a4cf1c6@the-village.bc.nu \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=james.bottomley@HansenPartnership.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=simps05192@yahoo.com \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®