Date: Thu, 13 Apr 1995 13:24:26 -0400 (EDT) From: Peter Dufault <dufault@hda.com> To: agl@redline.ru (Anthony Graphics) Cc: freebsd-hackers@FreeBSD.org Subject: Re: config problems Message-ID: <199504131724.NAA08113@hda.com> In-Reply-To: <m0rzOTw-000FGmC@redline.ru> from "Anthony Graphics" at Apr 13, 95 04:58:00 pm
next in thread | previous in thread | raw e-mail | index | archive | help
Anthony Graphics writes:
>
> Hi guys!
> What options should be given in the /sys/conf/i386/SYSTEMNAME
> in order to compile in SCSI symbols in ioconf.c ?
> I said 'config GENERIC' and it removed scsi support from
> ioconf.c !
> Maybe I'm using outdated config? (dated Feb 9 1995)
> strings config
> reports there are some references to scsi_?init
> but how can I make these definitions to make thei
> r way into ioconf?
You shouldn't have to do anything. Remake config to be sure you
have the right one; it is in /usr/src/sbin/config.
I just tried configging GENERIC and got this:
> #include "scsi/scsiconf.h"
>
> struct scsi_ctlr_config scsi_cinit[] = {
> /* unit driver driver unit */
> { 0, 0, 0 }
> };
>
> struct scsi_device_config scsi_dinit[] = {
> /* name unit cunit target LUN flags */
> { 0, 0, 0, 0, 0, 0 }
> };
> extern void sdinit();
> extern void stinit();
> extern void cdinit();
> void (*scsi_tinit[])(void) = {
> sdinit,
> stinit,
> cdinit,
> 0,
> };
in ioconf.c
--
Peter Dufault Real Time Machine Control and Simulation
HD Associates, Inc. Voice: 508 433 6936
dufault@hda.com Fax: 508 433 5267
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199504131724.NAA08113>
