From: Mike Anderson <andmike@us.ibm.com>
To: James Bottomley <James.Bottomley@steeleye.com>
Cc: Andrew Morton <akpm@digeo.com>,
"Martin J. Bligh" <mbligh@aracnet.com>,
SCSI Mailing List <linux-scsi@vger.kernel.org>
Subject: Re: feral driver in -mm
Date: Fri, 27 Jun 2003 14:06:21 -0700 [thread overview]
Message-ID: <20030627210621.GD3338@beaverton.ibm.com> (raw)
In-Reply-To: <1056746053.1825.174.camel@mulgrave>
James Bottomley [James.Bottomley@steeleye.com] wrote:
> On Fri, 2003-06-27 at 15:27, Andrew Morton wrote:
> > Has anyone actually used the linux-isp driver in -mm lately? I just tried
> > it and it didn't seem to be able to locate the HBA.
> >
> > James, if you have an update handy I'd like to grab a copy. Else I'll drop
> > it I think.
>
> My latest update in bitkeeper is at
>
> bk://linux-scsi.bkbits.net/scsi-isp-2.5
>
> If you'd prefer, I could email you a diff. Just let me check to see if
> Matt Jacob has a later version (he did also still say that he didn't
> consider this ready for prime time).
We did run into a issue here the other day that if you build the isp
driver into the kernel it will not load. The reason is the recent
changes to init_this_scsi_driver that checks for a release function.
I have been meaning to send this out but have not. The patch below works
around the problem, but was very quickly done a final one should come
from Matt / James.
-andmike
--
Michael Anderson
andmike@us.ibm.com
===== drivers/scsi/isp/isp_linux.c 1.3 vs edited =====
--- 1.3/drivers/scsi/isp/isp_linux.c Wed Jun 18 09:46:23 2003
+++ edited/drivers/scsi/isp/isp_linux.c Tue Jun 24 22:38:40 2003
@@ -145,7 +145,6 @@
return (rval);
}
-#ifdef MODULE
/* io_request_lock *not* held here */
int
isplinux_release(struct Scsi_Host *host)
@@ -185,7 +184,6 @@
isp_kfree(FCPARAM(isp)->isp_dump_data, amt);
FCPARAM(isp)->isp_dump_data = 0;
}
-#endif
#if defined(CONFIG_PROC_FS) && LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,0)
/*
* Undo any PROCFS stuff
===== drivers/scsi/isp/isp_linux.h 1.3 vs edited =====
--- 1.3/drivers/scsi/isp/isp_linux.h Wed Jun 18 09:46:23 2003
+++ edited/drivers/scsi/isp/isp_linux.h Tue Jun 24 22:37:08 2003
@@ -775,12 +775,8 @@
int isplinux_proc_info(char *, char **, off_t, int, int, int);
int isplinux_detect(Scsi_Host_Template *);
-#ifdef MODULE
int isplinux_release(struct Scsi_Host *);
#define ISPLINUX_RELEASE isplinux_release
-#else
-#define ISPLINUX_RELEASE NULL
-#endif
const char *isplinux_info(struct Scsi_Host *);
int isplinux_queuecommand(Scsi_Cmnd *, void (* done)(Scsi_Cmnd *));
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)
next prev parent reply other threads:[~2003-06-27 20:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20030627132727.024f2bf0.akpm@digeo.com>
2003-06-27 20:34 ` feral driver in -mm James Bottomley
2003-06-27 21:06 ` Mike Anderson [this message]
2003-06-27 21:23 ` Martin J. Bligh
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=20030627210621.GD3338@beaverton.ibm.com \
--to=andmike@us.ibm.com \
--cc=James.Bottomley@steeleye.com \
--cc=akpm@digeo.com \
--cc=linux-scsi@vger.kernel.org \
--cc=mbligh@aracnet.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.