diff options
| author | Justin T. Gibbs <gibbs@FreeBSD.org> | 1997-04-05 22:03:47 +0000 |
|---|---|---|
| committer | Justin T. Gibbs <gibbs@FreeBSD.org> | 1997-04-05 22:03:47 +0000 |
| commit | 1961f6e884ecf066a3a7130ef3e468b7b806ae44 (patch) | |
| tree | c194f2399555ade60479d5da661d53dd92c05305 /sys/dev | |
| parent | 844b7c2d86004c04479f05d51fdb0fb0783db0ec (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/aic7xxx/aic7xxx.seq | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/aic7xxx/aic7xxx.seq b/sys/dev/aic7xxx/aic7xxx.seq index 184e36ebc8e1..d7806f94ff05 100644 --- a/sys/dev/aic7xxx/aic7xxx.seq +++ b/sys/dev/aic7xxx/aic7xxx.seq @@ -37,7 +37,7 @@ *OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF *SUCH DAMAGE. * - * $Id$ + * $Id: aic7xxx.seq,v 1.68 1997/04/04 19:35:30 gibbs Exp $ * *-M************************************************************************/ @@ -72,7 +72,8 @@ reset: mvi SCSISEQ, ENRSELI|ENAUTOATNP; call clear_target_state; poll_for_work: - test SSTAT0,SELDI|SELDO jnz selection; + test SSTAT0,SELDO jnz select; + test SSTAT0,SELDI jnz reselect; test SCSISEQ, ENSELO jnz poll_for_work; .if ( TWIN_CHANNEL ) /* @@ -82,7 +83,8 @@ poll_for_work: * either a selection or reselection occurs. */ xor SBLKCTL,SELBUSB; /* Toggle to the other bus */ - test SSTAT0,SELDI|SELDO jnz selection; + test SSTAT0,SELDO jnz select; + test SSTAT0,SELDI jnz reselect; test SCSISEQ, ENSELO jnz poll_for_work; xor SBLKCTL,SELBUSB; /* Toggle back */ .endif @@ -203,8 +205,6 @@ initialize_scsiid: * Reselection has been initiated by a target. Make a note that we've been * reselected, but haven't seen an IDENTIFY message from the target yet. */ -selection: - test SSTAT0, SELDI jz select; reselect: clr MSG_LEN; /* Don't have anything in the mesg buffer */ mvi CLRSINT0, CLRSELDI; |
