On Tue, 6 Mar 2001, Alan Cox wrote:

> > On Mon, 5 Mar 2001, Alexander Viro wrote:
> >
> > New Adaptec driver does not build. It won't. People, can anyone
> enlighten me
> > why do we use a user space library for a kernel driver at all?
>
> aicasm is an assembler for the aic7xxx risc instruction code, not part
> of
> the driver

May be. But it's not a reason to use the _OBSOLETE_ library. At least the
current one should be used...

Here comes the patch to use current libdb-3...

=== Cut ===
diff -urN linux-2.4.2ac12.orig/drivers/scsi/aic7xxx/aicasm/Makefile 
linux-2.4.2ac12/drivers/scsi/aic7xxx/aicasm/Makefile
--- linux-2.4.2ac12.orig/drivers/scsi/aic7xxx/aicasm/Makefile   Mon Mar  5 18:05:06 
2001
+++ linux-2.4.2ac12/drivers/scsi/aic7xxx/aicasm/Makefile        Mon Mar  5 18:06:46 
+2001
@@ -8,7 +8,7 @@
 SRCS=  ${GENSRCS} ${CSRCS}
 CLEANFILES= ${GENSRCS} ${GENHDRS} y.output
 # Override default kernel CFLAGS.  This is a userland app.
-AICASM_CFLAGS:= -I/usr/include -ldb1
+AICASM_CFLAGS:= -I/usr/include -ldb
 YFLAGS= -d

 NOMAN= noman
diff -urN linux-2.4.2ac12.orig/drivers/scsi/aic7xxx/aicasm/aicasm_symbol.c 
linux-2.4.2ac12/drivers/scsi/aic7xxx/aicasm/aicasm_symbol.c
--- linux-2.4.2ac12.orig/drivers/scsi/aic7xxx/aicasm/aicasm_symbol.c    Mon Mar  5 
18:05:06 2001
+++ linux-2.4.2ac12/drivers/scsi/aic7xxx/aicasm/aicasm_symbol.c Mon Mar  5 18:06:32 
+2001
@@ -36,7 +36,7 @@
 #include <sys/types.h>

 #ifdef __linux__
-#include <db1/db.h>
+#include <db/db_185.h>
 #else
 #include <db.h>
 #endif
=== Cut ===

---
Sergey Kubushin                         Sr. Unix Administrator
CyberBills, Inc.                        Phone:  702-567-8857
874 American Pacific Dr,                Fax:    702-567-8808
Henderson, NV, 89014

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to