feral driver in -mm
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 5 lines · Andrew Morton
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
Quoted 7 lines · James Bottomley [[email protected]] wrote:
Quoted 5 lines · Andrew Morton
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.
Quoted 7 lines
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
[email protected]
===== drivers/scsi/isp/isp_linux.c 1.3 vs edited =====
drivers/scsi/isp/isp_linux.c +0 -2
@@ -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 =====
drivers/scsi/isp/isp_linux.h +0 -4
@@ -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 )
Works for me on 73-mm1 with that patch in (didn't try it without)
M.
--Mike Anderson <[email protected]> wrote (on Friday, June 27, 2003 14:06:21 -0700):
Quoted 67 lines
Quoted 7 lines · James Bottomley [[email protected]] wrote:
Quoted 5 lines · Andrew Morton
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.
Quoted 7 lines
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_driverthat 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
[email protected]=====
drivers/scsi/isp/isp_linux.c1.3 vs edited =====drivers/scsi/isp/isp_linux.c +0
-2@@ -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.h1.3 vs edited =====drivers/scsi/isp/isp_linux.h +0
-4@@ -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 )