* Re: feral driver in -mm
[not found] <20030627132727.024f2bf0.akpm@digeo.com>
@ 2003-06-27 20:34 ` James Bottomley
2003-06-27 21:06 ` Mike Anderson
0 siblings, 1 reply; 3+ messages in thread
From: James Bottomley @ 2003-06-27 20:34 UTC (permalink / raw)
To: Andrew Morton; +Cc: Martin J. Bligh, SCSI Mailing List
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).
James
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: feral driver in -mm
2003-06-27 20:34 ` feral driver in -mm James Bottomley
@ 2003-06-27 21:06 ` Mike Anderson
2003-06-27 21:23 ` Martin J. Bligh
0 siblings, 1 reply; 3+ messages in thread
From: Mike Anderson @ 2003-06-27 21:06 UTC (permalink / raw)
To: James Bottomley; +Cc: Andrew Morton, Martin J. Bligh, SCSI Mailing List
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)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: feral driver in -mm
2003-06-27 21:06 ` Mike Anderson
@ 2003-06-27 21:23 ` Martin J. Bligh
0 siblings, 0 replies; 3+ messages in thread
From: Martin J. Bligh @ 2003-06-27 21:23 UTC (permalink / raw)
To: Mike Anderson, James Bottomley; +Cc: Andrew Morton, SCSI Mailing List
Works for me on 73-mm1 with that patch in (didn't try it without)
M.
--Mike Anderson <andmike@us.ibm.com> wrote (on Friday, June 27, 2003 14:06:21 -0700):
>
> 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)
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-06-27 21:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[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
2003-06-27 21:23 ` Martin J. Bligh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox