Subject: Re: Kernel config question
To: None <davidson@zk3.dec.com, mhitch@lightning.oscs.montana.edu,>
From: D. Sean Davidson <davidson@sean.zk3.dec.com>
List: port-pmax
Date: 06/30/1997 17:10:56
>> 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

This mostly worked.  I also needed to add a

asc1	at	tc?

Do you think this would be worth adding to the conf-glue.c,
tc.options and scsi.pmax files so anyone else that has an
extra tc scsi option wouldn't have to figure this out each
time?


Sean