From owner-freebsd-hackers Mon Oct 23 12:01:47 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA18231 for hackers-outgoing; Mon, 23 Oct 1995 12:01:47 -0700 Received: from brasil.moneng.mei.com (brasil.moneng.mei.com [151.186.20.4]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id MAA18225 for ; Mon, 23 Oct 1995 12:01:43 -0700 Received: (from jgreco@localhost) by brasil.moneng.mei.com (8.7.Beta.1/8.7.Beta.1) id OAA01971; Mon, 23 Oct 1995 14:01:00 -0500 From: Joe Greco Message-Id: <199510231901.OAA01971@brasil.moneng.mei.com> Subject: Re: NCR810/Barracuda Question To: se@zpr.uni-koeln.de (Stefan Esser) Date: Mon, 23 Oct 1995 14:00:58 -0500 (CDT) Cc: hackers@freebsd.org In-Reply-To: <199510231833.AA12365@Sysiphos> from "Stefan Esser" at Oct 23, 95 07:33:44 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-hackers@freebsd.org Precedence: bulk > } I would very much like to be able to install a new set of drivers without > } upgrading the OS. The machine in question is a production news server and > } taking it down is bad enough... doing an upgrade at the same time would be > } rather painful. Is there any way I could just upgrade the driver? (which > } files do I need?) > > The driver is completely cointained in "/sys/pci/ncr.c". > (There is a "ncrreg.h" file in the same directory, but > that has not changed since March '95 ...) > > Just get a new "ncr.c" and rebuild your kernel. Let me > know, if you encounter any problems. That doesn't quite work: daily-planet# make cc -c -O -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -nostdinc -I. -I../.. -I../../sys -I/usr/include -DDAILY_PLANET -DI586_CPU -DOPEN_MAX=256 -DCHILD_MAX=256 -DUCONSOLE -DBOUNCE_BUFFERS -DSCSI_DELAY=15 -DCOMPAT_43 -DPROCFS -DCD9660 -DMSDOSFS -DNFS -DFFS -DINET -DMATH_EMULATE -DKERNEL -Di386 -DLOAD_ADDRESS=0xF0100000 ../../pci/ncr.c ../../pci/ncr.c: In function `ncr_attach': ../../pci/ncr.c:3447: warning: implicit declaration of function `scsi_alloc_bus' ../../pci/ncr.c:3447: warning: assignment makes pointer from integer without a cast ../../pci/ncr.c:3453: structure has no member named `maxtarg' ../../pci/ncr.c:3457: structure has no member named `maxtarg' ../../pci/ncr.c:3471: warning: passing arg 1 of `scsi_attachdevs' from incompatible pointer type *** Error code 1 Stop. Ah well. :-/ I suppose we can wait for 2.1 to come out :-) ... Joe ------------------------------------------------------------------------------- Joe Greco - Systems Administrator jgreco@ns.sol.net Solaria Public Access UNIX - Milwaukee, WI 414/342-4847