lkml.org 
[lkml]   [1998]   [Apr]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: advancsys scsi driver broken in 2.1.96-pre 1
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.--- 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 *,
\
 
 \ /
  Last update: 2005-03-22 13:42    [W:1.826 / U:0.332 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site