Re: advancsys scsi driver broken in 2.1.96-pre 1

Doug Ledford (dledford@dialnet.net)
Mon, 13 Apr 1998 06:47:17 -0500


This is a multi-part message in MIME format.
--------------1198031C6FA9C21056157903
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Joseph Skinner wrote:
>
> Hi all
>
> I just tried to compile the latest kernel and found that the advancsys
> driver seem to be broken. I get the following errors from tje compile.

[ snip ]

> anyone know of a patch to fix this.

Sorry about that, amongst the roughly 30 or so drivers I updated, I expected
I might have missed something like that somewhere. The attached diff should
fix the compile errors, although I didn't even look at the warnings as they
aren't really consequential (not to me at least).

-- 

Doug Ledford <dledford@dialnet.net> Opinions expressed are my own, but they should be everybody's. --------------1198031C6FA9C21056157903 Content-Type: text/plain; charset=us-ascii; name="advansys.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="advansys.diff"

--- linux/drivers/scsi/advansys.c.orig Mon Apr 13 06:37:12 1998 +++ linux/drivers/scsi/advansys.c Mon Apr 13 06:40:36 1998 @@ -3844,8 +3844,11 @@ #endif /* version >= v1.3.0 */ #if LINUX_VERSION_CODE < ASC_LINUX_VERSION(1,3,70) STATIC void advansys_interrupt(int, struct pt_regs *); -#else /* version >= v1.3.70 */ +#elif LINUX_VERSION_CODE < ASC_LINUX_VERSION(2,1,95) STATIC void advansys_interrupt(int, void *, struct pt_regs *); +#else /* version >= 2.1.95 */ +STATIC void advansys_interrupt(int, void *, struct pt_regs *); +STATIC void do_advansys_interrupt(int, void *, struct pt_regs *); #endif /* version >= v1.3.70 */ #if LINUX_VERSION_CODE >= ASC_LINUX_VERSION(1,3,89) STATIC void advansys_select_queue_depths(struct Scsi_Host *,

--------------1198031C6FA9C21056157903--

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu