Subject: pcmcia aic driver in -current
To: None <john_kohl@alum.mit.edu>
From: David Brownlee <abs@anim.dreamworks.com>
List: current-users
Date: 07/06/1997 14:58:21
	The pcmcia diffs don't set max_target in aic_isa_attach() -
	resulting in only scsi ID 0 being accessible.
	After setting max_target the only different between
	aic_isa_attach() and aicattach() from aic6360.c is the
	latters setting on channel, which seemed a good idea as well :)

	aicattach() could probably go away altogether...

	PS: Another voice of thanks to cgd here for his diagnosis of
	    the elink.c problem :)

		David

- Thought for the day... "I miss my dog"


*** aic_isa.c.pre	Sun Jul  6 14:05:21 1997
--- aic_isa.c	Sun Jul  6 12:57:24 1997
***************
*** 159,169 ****
--- 159,171 ----
  	/*
  	 * Fill in the prototype scsi_link
  	 */
+ 	sc->sc_link.channel = SCSI_CHANNEL_ONLY_ONE;
  	sc->sc_link.adapter_softc = sc;
  	sc->sc_link.adapter_target = sc->sc_initiator;
  	sc->sc_link.adapter = &aic_switch;
  	sc->sc_link.device = &aic_dev;
  	sc->sc_link.openings = 2;
+ 	sc->sc_link.max_target = 7;
  
  	printf("\n");