Deleted Added
full compact
aic7xxx.seq (26997) aic7xxx.seq (28169)
1/*
2 * Adaptec 274x/284x/294x device driver firmware for Linux and FreeBSD.
3 *
4 * Copyright (c) 1994-1997 Justin Gibbs.
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

30 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 * SUCH DAMAGE.
37 *
1/*
2 * Adaptec 274x/284x/294x device driver firmware for Linux and FreeBSD.
3 *
4 * Copyright (c) 1994-1997 Justin Gibbs.
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

30 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 * SUCH DAMAGE.
37 *
38 * $Id: aic7xxx.seq,v 1.73 1997/04/24 16:52:18 gibbs Exp $
38 * $Id: aic7xxx.seq,v 1.74 1997/06/27 19:38:42 gibbs Exp $
39 */
40
41#include <dev/aic7xxx/aic7xxx.reg>
42#include <scsi/scsi_message.h>
43
44/*
45 * A few words on the waiting SCB list:
46 * After starting the selection hardware, we check for reconnecting targets

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

638 mov SAVED_SCBPTR, SCBPTR;
639 mov SAVED_LINKPTR, SCB_LINKED_NEXT;
640 mov SCB_TCL call index_untagged_scb;
641 mov DINDIR, SAVED_LINKPTR;
642 mov SCBPTR, SAVED_SCBPTR;
643
644complete:
645 /* Post the SCB and issue an interrupt */
39 */
40
41#include <dev/aic7xxx/aic7xxx.reg>
42#include <scsi/scsi_message.h>
43
44/*
45 * A few words on the waiting SCB list:
46 * After starting the selection hardware, we check for reconnecting targets

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

638 mov SAVED_SCBPTR, SCBPTR;
639 mov SAVED_LINKPTR, SCB_LINKED_NEXT;
640 mov SCB_TCL call index_untagged_scb;
641 mov DINDIR, SAVED_LINKPTR;
642 mov SCBPTR, SAVED_SCBPTR;
643
644complete:
645 /* Post the SCB and issue an interrupt */
646.if ( SCB_PAGING )
647 /*
648 * Spin loop until there is space
649 * in the QOUTFIFO.
650 */
651 mov A, FIFODEPTH;
652 cmp CMDOUTCNT, A je .;
653 inc CMDOUTCNT;
654.endif
646 mov QOUTFIFO,SCB_TAG;
647 mvi INTSTAT,CMDCMPLT;
648 test SCB_CONTROL, ABORT_SCB jz dma_next_scb;
649 mvi INTSTAT, ABORT_CMDCMPLT;
650
651dma_next_scb:
652 cmp SCB_LINKED_NEXT, SCB_LIST_NULL je add_to_free_list;
653.if !( SCB_PAGING )

--- 494 unchanged lines hidden ---
655 mov QOUTFIFO,SCB_TAG;
656 mvi INTSTAT,CMDCMPLT;
657 test SCB_CONTROL, ABORT_SCB jz dma_next_scb;
658 mvi INTSTAT, ABORT_CMDCMPLT;
659
660dma_next_scb:
661 cmp SCB_LINKED_NEXT, SCB_LIST_NULL je add_to_free_list;
662.if !( SCB_PAGING )

--- 494 unchanged lines hidden ---