Specify the controller bus in the scsi_link structure to allow hardwired

buses on multi-bus controllers.  Currently only affects the 274xT controllers.

Reviewed by: Peter Dufault(dufault@hda.com), Rod Grimes(rgrimes@FreeBSD.org)
This commit is contained in:
Justin T. Gibbs 1995-07-17 23:35:16 +00:00
parent 4fbaf9a7c0
commit eb62827d8a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=9570

View File

@ -24,7 +24,7 @@
*
* commenced: Sun Sep 27 18:14:01 PDT 1992
*
* $Id: aic7xxx.c,v 1.30 1995/07/04 21:14:44 gibbs Exp $
* $Id: aic7xxx.c,v 1.31 1995/07/08 22:09:11 ats Exp $
*/
/*
* TODO:
@ -877,7 +877,8 @@ ahc_attach(unit)
/* Configure the second scsi bus */
ahc->sc_link_b = ahc->sc_link;
ahc->sc_link_b.adapter_targ = ahc->our_id_b;
ahc->sc_link_b.fordriver = (void *)0x0008;
ahc->sc_link_b.adapter_bus = 1;
ahc->sc_link_b.fordriver = (void *)SELBUSB;
printf("ahc%d: Probing Channel B\n", unit);
scsi_attachdevs(&(ahc->sc_link_b));
}