Subject: Re: Kernel configuring
To: None <netbsd-help@NetBSD.ORG>
From: Sean Witham <Sean.Witham@asa.co.uk>
List: netbsd-help
Date: 04/24/1997 22:00:55
Below is a chat I have had with David at the end he concludes that
he is not sure if the lines :
>               ahc0    at pci0 dev 5 function ?
>               ahc1    at pci0 dev 3 function ?

Will wire down the two ADAPTEC scsi controllers acording to the cards
or the PCI slots that they are in. More details are below.

--Sean 

> > 
> > I have a question and would also like to check what I have done so far
> > is o.k. :
> > 
> > I have two scsi controller (an adaptec 2940 and an adaptec 2940uw) in
> > a Pentium based PC and wish to "wire down" (if that is the correct
> > phrase) the two hard drives (one on each of the cards). Both
> > disks use the SCSI ID 0.
> > 
> > To do this I presume the followign would be correct :
> > 
> > sd0     at scsibus0 target 0 lun ?      # Wire down Root disk
> > sd1     at scsibus1 target 0 lun ?      # Wire down First data disk
> > 
> > now how do I make sure the scsibus? is wired down ? I want scsibus0 to
> > be wired to the 2940 and the scsibus1 to the 2940uw. I can see that
> > the following lines needs to be copied and the wild cards replaced
> > 
> > ahc*    at pci? dev ? function ?        # Adaptec [23]94x, ...
> > scsibus* at ahc?
> > 
> 
> 	If you can boot a generic kernel & check what is reported at
> 	bootup you should be able to determine what 'dev' values to
> 	wire the controllers to.
> 
> 	ie:
> 		ahc0	at pci0 dev 5 function ?
> 		ahc1	at pci0 dev 3 function ?
> 
> 	(or whatever)
> 
> 	Caveats include that I dont know if that will wire to a
> 	specific pci slot or card...
> 
>