Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 5 Mar 2001 21:11:00 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 5 Mar 2001 21:10:51 -0500 Received: from hs-gk.cyberbills.com ([216.35.157.254]:28427 "EHLO hs-mail.cyberbills.com") by vger.kernel.org with ESMTP id ; Mon, 5 Mar 2001 21:10:32 -0500 Date: Mon, 5 Mar 2001 18:10:25 -0800 (PST) From: "Sergey Kubushin" To: Alan Cox cc: linux-kernel@vger.kernel.org Subject: Re: Linux 2.4.2ac12 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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 #ifdef __linux__ -#include +#include #else #include #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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/