Deleted Added
full compact
aic7xxx.seq (19218) aic7xxx.seq (19231)
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,

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

34 *OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
35 *HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
36 *LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
37 *OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
38 *SUCH DAMAGE.
39 *
40 *-M************************************************************************/
41
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,

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

34 *OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
35 *HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
36 *LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
37 *OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
38 *SUCH DAMAGE.
39 *
40 *-M************************************************************************/
41
42VERSION AIC7XXX_SEQ_VER "$Id: aic7xxx.seq,v 1.44 1996/10/25 06:34:56 gibbs Exp $"
42VERSION AIC7XXX_SEQ_VER "$Id: aic7xxx.seq,v 1.45 1996/10/28 06:01:07 gibbs Exp $"
43
44#if defined(__NetBSD__)
45#include "../../../../dev/ic/aic7xxxreg.h"
46#include "../../../../scsi/scsi_message.h"
47#elif defined(__FreeBSD__)
48#include "../../dev/aic7xxx/aic7xxx_reg.h"
49#include "../../scsi/scsi_message.h"
50#endif

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

349 */
350 jmp data_phase_init
351
352/*
353 * If we re-enter the data phase after going through another phase, the
354 * STCNT may have been cleared, so restore it from the residual field.
355 */
356data_phase_reinit:
43
44#if defined(__NetBSD__)
45#include "../../../../dev/ic/aic7xxxreg.h"
46#include "../../../../scsi/scsi_message.h"
47#elif defined(__FreeBSD__)
48#include "../../dev/aic7xxx/aic7xxx_reg.h"
49#include "../../scsi/scsi_message.h"
50#endif

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

349 */
350 jmp data_phase_init
351
352/*
353 * If we re-enter the data phase after going through another phase, the
354 * STCNT may have been cleared, so restore it from the residual field.
355 */
356data_phase_reinit:
357 mov DINDEX, STCNT0
358 mov SCB_RESID_DCNT0 call bcopy_3
357 mvi DINDEX, STCNT0
358 mvi SCB_RESID_DCNT0 call bcopy_3
359 jmp data_phase_loop
360
361p_datain:
362 mvi DMAPARAMS,0x79 /*
363 * WIDEODD|SCSIEN|SDMAEN|HDMAEN|
364 * !DIRECTION|FIFORESET
365 */
366data_phase_init:

--- 819 unchanged lines hidden ---
359 jmp data_phase_loop
360
361p_datain:
362 mvi DMAPARAMS,0x79 /*
363 * WIDEODD|SCSIEN|SDMAEN|HDMAEN|
364 * !DIRECTION|FIFORESET
365 */
366data_phase_init:

--- 819 unchanged lines hidden ---