Subject: Re: Kernel config question
To: Sean Davidson <davidson@zk3.dec.com>
From: Michael L. Hitch <mhitch@lightning.oscs.montana.edu>
List: port-pmax
Date: 06/27/1997 08:41:27
On Jun 28,  7:09am, Sean Davidson wrote:
> Is there anyway to configure a kernel to have both onboard scsi and
> an additional turbochannel PMAZ-A scsi card?

  Yes - I've done it.

  You need to add some entries to the scsi_dinit[] table in conf-glue.c, and
then add the appropriate entries to you config file.  You will also need to
create the associated devices in /dev.

*** /c/work/src/sys/arch/pmax/pmax/conf-glue.c	Mon May 26 13:34:50 1997
--- pmax/pmax/conf-glue.c	Mon Jun 23 18:53:54 1997
***************
*** 94,104 ****
--- 94,113 ----
  { &rzdriver,	&ascdriver,	2,	0,	2,	0,	1,	0x0 },
  { &rzdriver,	&ascdriver,	3,	0,	3,	0,	1,	0x0 },
  { &rzdriver,	&ascdriver,	4,	0,	4,	0,	1,	0x0 },
+ 
+ { &rzdriver,	&ascdriver,	8,	1,	0,	0,	1,	0x0 },
+ { &rzdriver,	&ascdriver,	9,	1,	1,	0,	1,	0x0 },
+ { &rzdriver,	&ascdriver,	10,	1,	2,	0,	1,	0x0 },
+ { &rzdriver,	&ascdriver,	11,	1,	3,	0,	1,	0x0 },
+ { &rzdriver,	&ascdriver,	12,	1,	4,	0,	1,	0x0 },
  # endif /* NRZ */
  
  # if NTZ > 0
  { &tzdriver,	&ascdriver,	0,	0,	5,	0,	0,	0x0 },
  { &tzdriver,	&ascdriver,	1,	0,	6,	0,	0,	0x0 },
+ 
+ { &tzdriver,	&ascdriver,	2,	1,	5,	0,	0,	0x0 },
+ { &tzdriver,	&ascdriver,	3,	1,	6,	0,	0,	0x0 },
  # endif /* NTZ */
  #endif /* NASC */
  

rz8	at	oldscsibus?	target ? drive ?
rz9	at	oldscsibus?	target ? drive ?
rz10	at	oldscsibus?	target ? drive ?
rz11	at	oldscsibus?	target ? drive ?
rz12	at	oldscsibus?	target ? drive ?
rz13	at	oldscsibus?	target ? drive ?
tz2	at	oldscsibus?	target?  drive ?

Michael

-- 
Michael L. Hitch			mhitch@montana.edu
Computer Consultant
Information Technology Center
Montana State University	Bozeman, MT	USA