Lines Matching +full:mod +full:- +full:12 +full:b
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
4 * of PCI-SCSI IO processors.
6 * Copyright (C) 1999-2001 Gerard Roudier <groudier@free.fr>
9 * Copyright (C) 1998-2000 Gerard Roudier
12 * a port of the FreeBSD ncr driver to Linux-1.2.13.
16 * Stefan Esser <se@mi.Uni-Koeln.de>
24 *-----------------------------------------------------------------------------
31 #define SYM_DRIVER_NAME "sym-" SYM_VERSION
40 u_char burst_max; /* log-base-2 of max burst */
48 #define FE_ULTRA2 (1<<3) /* Ultra 2 - 40 Mtrans/sec */
57 #define FE_PFEN (1<<12) /* Prefetch enable */
62 #define FE_64BIT (1<<17) /* 64-bit PCI BUS interface */
66 #define FE_ULTRA3 (1<<21) /* Ultra 3 - 80 Mtrans/sec DT */
85 /*00*/ u8 nc_scntl0; /* full arb., ena parity, par->ATN */
101 /* bits 0-2, 7 rsvd for C1010 */
108 /* bits 6-7 rsvd for C1010 */
110 /*06*/ u8 nc_sdid; /* ### Destination-ID */
112 /*07*/ u8 nc_gpreg; /* ??? IO-Pins */
117 #define CREQ 0x80 /* r/w: SCSI-REQ */
118 #define CACK 0x40 /* r/w: SCSI-ACK */
119 #define CBSY 0x20 /* r/w: SCSI-BSY */
120 #define CSEL 0x10 /* r/w: SCSI-SEL */
121 #define CATN 0x08 /* r/w: SCSI-ATN */
122 #define CMSG 0x04 /* r/w: SCSI-MSG */
123 #define CC_D 0x02 /* r/w: SCSI-C_D */
124 #define CI_O 0x01 /* r/w: SCSI-I_O */
128 /*0b*/ u8 nc_sbcl;
159 /*10*/ u8 nc_dsa; /* --> Base page */
161 /*12*/ u8 nc_dsa2;
164 /*14*/ u8 nc_istat; /* --> Main Command and status */
166 #define SRST 0x40 /* mod: reset chip */
171 #define SIP 0x02 /* sta: scsi-interrupt */
187 /* bits 0-2,7 rsvd for C1010 */
189 /*1b*/ u8 nc_ctest3;
192 #define FM 0x02 /* mod: fetch pin mode */
193 #define WRIE 0x01 /* mod: write and invalidate enable */
194 /* bits 4-7 rsvd for C1010 */
200 #define BDIS 0x80 /* mod: burst disable */
201 #define MPEE 0x08 /* mod: master parity error enable */
204 #define DFS 0x20 /* mod: dma fifo size */
205 /* bits 0-1, 3-7 rsvd for C1010 */
211 /*2c*/ u32 nc_dsp; /* --> Script Pointer */
212 /*30*/ u32 nc_dsps; /* --> Script pointer save/opcode#2 */
220 #define BL_2 0x80 /* mod: burst length shift value +2 */
221 #define BL_1 0x40 /* mod: burst length shift value +1 */
222 #define ERL 0x08 /* mod: enable read line */
223 #define ERMP 0x04 /* mod: enable read multiple */
224 #define BOF 0x02 /* mod: burst op code fetch */
229 /*3b*/ u8 nc_dcntl; /* --> Script execution control */
230 #define CLSE 0x80 /* mod: cache line size enable */
231 #define PFF 0x40 /* cmd: pre-fetch flush */
232 #define PFEN 0x20 /* mod: pre-fetch enable */
233 #define SSM 0x10 /* mod: single step mode */
234 #define IRQM 0x08 /* mod: irq mode (1 = totem pole !) */
236 #define IRQD 0x02 /* mod: irq disable */
238 /* bits 0-1 rsvd for C1010 */
242 /*40*/ u16 nc_sien; /* -->: interrupt enable */
243 /*42*/ u16 nc_sist; /* <--: interrupt status */
263 /*4a*/ u16 nc_respid; /* sta: Reselect-IDs */
289 /* bits 0-5 rsvd for C1010 */
304 #define XTIMOD 0x04 /* 64-bit Table Ind. Indexing Mode */
305 #define EXTIBMV 0x02 /* Enable 64-bit Table Ind. BMOV */
306 #define EXDBMV 0x01 /* Enable 64-bit Direct BMOV */
311 /*5c*/ u8 nc_scr0; /* Working register B */
316 /*60*/ u8 nc_scrx[64]; /* Working register C-R */
327 /* Also enable AIP generation on C10-33*/
334 #define DISAIP 0x08 /* Disable AIP generation C10-66 only */
364 /*-----------------------------------------------------------
368 *-----------------------------------------------------------
374 /*-----------------------------------------------------------
378 *-----------------------------------------------------------
393 /*-----------------------------------------------------------
397 *-----------------------------------------------------------
408 *-----------------------------------------------------------
438 /*-----------------------------------------------------------
442 *-----------------------------------------------------------
450 *-----------------------------------------------------------
475 /*-----------------------------------------------------------
479 *-----------------------------------------------------------
487 *-----------------------------------------------------------
497 /*-----------------------------------------------------------
501 *-----------------------------------------------------------
507 *-----------------------------------------------------------
519 /*-----------------------------------------------------------
523 *-----------------------------------------------------------
535 *-----------------------------------------------------------
543 /*-----------------------------------------------------------
547 *-----------------------------------------------------------
558 *-----------------------------------------------------------
566 *-----------------------------------------------------------
592 /*-----------------------------------------------------------
606 *-----------------------------------------------------------
621 /*-----------------------------------------------------------
628 *-----------------------------------------------------------
636 *-----------------------------------------------------------
660 /*-----------------------------------------------------------
664 *-----------------------------------------------------------
693 *-----------------------------------------------------------
717 /*-----------------------------------------------------------
721 *-----------------------------------------------------------