Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Oct 1995 14:00:58 -0500 (CDT)
From:      Joe Greco <jgreco@brasil.moneng.mei.com>
To:        se@zpr.uni-koeln.de (Stefan Esser)
Cc:        hackers@freebsd.org
Subject:   Re: NCR810/Barracuda Question
Message-ID:  <199510231901.OAA01971@brasil.moneng.mei.com>
In-Reply-To: <199510231833.AA12365@Sysiphos> from "Stefan Esser" at Oct 23, 95 07:33:44 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> } 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510231901.OAA01971>