From: Kurt Garloff <garloff@suse.de>
To: Marion Steiner <msteiner@rbg.informatik.tu-darmstadt.de>,
linux-kernel@vger.kernel.org,
Linux SCSI list <linux-scsi@vger.kernel.org>
Subject: Re: SCSI-Problem with AM53C974
Date: Mon, 18 Mar 2002 12:43:12 +0100 [thread overview]
Message-ID: <20020318124311.D19273@gum01m.etpnet.phys.tue.nl> (raw)
In-Reply-To: <200203171439.g2HEdwX00738@orion.steiner.local> <20020318123038.B19273@gum01m.etpnet.phys.tue.nl>
[-- Attachment #1.1: Type: text/plain, Size: 393 bytes --]
Hi,
On Mon, Mar 18, 2002 at 12:30:38PM +0100, Kurt Garloff wrote:
> Can you try the attached patch please? Patch is against 2.4.18.
Grmpff! Second try.
Regards,
--
Kurt Garloff <garloff@suse.de> Eindhoven, NL
GPG key: See mail header, key servers Linux kernel development
SuSE Linux AG, Nuernberg, DE SCSI, Security
[-- Attachment #1.2: AM53C974-ioport-register.diff --]
[-- Type: text/plain, Size: 882 bytes --]
--- linux-2.4.18.ipt_fixes2.ix86/drivers/scsi/AM53C974.c.orig Sun Sep 30 21:26:07 2001
+++ linux-2.4.18.ipt_fixes2.ix86/drivers/scsi/AM53C974.c Mon Mar 18 11:59:31 2002
@@ -732,6 +732,12 @@
hostdata->disconnecting = 0;
hostdata->dma_busy = 0;
+ if (request_region (instance->io_port, 128, "AM53C974")) {
+ printk ("AM53C974 (scsi%d): Could not get IO region %04lx. Detaching ...\n",
+ instance->host_no, instance->io_port);
+ scsi_unregister(instance);
+ return 0;
+ }
/* Set up an interrupt handler if we aren't already sharing an IRQ with another board */
for (search = first_host;
search && (((the_template != NULL) && (search->hostt != the_template)) ||
@@ -2441,6 +2447,7 @@
static int AM53C974_release(struct Scsi_Host *shp)
{
free_irq(shp->irq, shp);
+ release_region(shp->io_port, 128);
scsi_unregister(shp);
return 0;
}
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
next prev parent reply other threads:[~2002-03-18 11:43 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-17 14:39 Marion Steiner
2002-03-17 22:58 ` Matthias Andree
2002-03-18 0:05 ` Kurt Garloff
2002-03-18 11:44 ` Marion Steiner
2002-03-18 11:30 ` Kurt Garloff
2002-03-18 11:43 ` Kurt Garloff [this message]
2002-03-18 14:51 ` Marion Steiner
2002-03-20 14:01 ` Marion Steiner
2002-03-20 17:03 ` Kurt Garloff
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=20020318124311.D19273@gum01m.etpnet.phys.tue.nl \
--to=garloff@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=msteiner@rbg.informatik.tu-darmstadt.de \
/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®