Deleted Added
full compact
aic7xxx.seq (23925) aic7xxx.seq (23991)
1/*+M***********************************************************************
2 *Adaptec 274x/284x/294x device driver for Linux and FreeBSD.
3 *
4 *Copyright (c) 1994 John Aycock
5 * The University of Calgary Department of Computer Science.
6 * All rights reserved.
7 *
8 *FreeBSD, Twin, Wide, 2 command per target support, tagged queuing,

--- 172 unchanged lines hidden (view full) ---

181 * We don't have to "test_busy" because only transactions that
182 * have passed that test can be in the WAITING_SCB list.
183 */
184 mov SCBPTR, WAITING_SCBH;
185 call start_selection;
186 jmp poll_for_work;
187
188start_selection:
1/*+M***********************************************************************
2 *Adaptec 274x/284x/294x device driver for Linux and FreeBSD.
3 *
4 *Copyright (c) 1994 John Aycock
5 * The University of Calgary Department of Computer Science.
6 * All rights reserved.
7 *
8 *FreeBSD, Twin, Wide, 2 command per target support, tagged queuing,

--- 172 unchanged lines hidden (view full) ---

181 * We don't have to "test_busy" because only transactions that
182 * have passed that test can be in the WAITING_SCB list.
183 */
184 mov SCBPTR, WAITING_SCBH;
185 call start_selection;
186 jmp poll_for_work;
187
188start_selection:
189.if ( TWIN_CHANNEL )
189 and SINDEX,~SELBUSB,SBLKCTL;/* Clear the channel select bit */
190 and A,SELBUSB,SCB_TCL; /* Get new channel bit */
191 or SINDEX,A;
192 mov SBLKCTL,SINDEX; /* select channel */
190 and SINDEX,~SELBUSB,SBLKCTL;/* Clear the channel select bit */
191 and A,SELBUSB,SCB_TCL; /* Get new channel bit */
192 or SINDEX,A;
193 mov SBLKCTL,SINDEX; /* select channel */
194.endif
193initialize_scsiid:
194 and A, TID, SCB_TCL; /* Get target ID */
195 and SCSIID, OID; /* Clear old target */
196 or SCSIID, A;
197 mvi SCSISEQ, ENSELO|ENAUTOATNO|ENRSELI|ENAUTOATNP ret;
198/*
199 * Reselection has been initiated by a target. Make a note that we've been
200 * reselected, but haven't seen an IDENTIFY message from the target yet.

--- 943 unchanged lines hidden ---
195initialize_scsiid:
196 and A, TID, SCB_TCL; /* Get target ID */
197 and SCSIID, OID; /* Clear old target */
198 or SCSIID, A;
199 mvi SCSISEQ, ENSELO|ENAUTOATNO|ENRSELI|ENAUTOATNP ret;
200/*
201 * Reselection has been initiated by a target. Make a note that we've been
202 * reselected, but haven't seen an IDENTIFY message from the target yet.

--- 943 unchanged lines hidden ---