/*
* Register map for the Sun3 SCSI Interface (si)
* The first part of this register map is an NCR5380
* SCSI Bus Interface Controller (SBIC). The rest is a
* DMA controller and custom logic in one of two flavors,
* one for the OBIO interface (3/50,3/60) and one for the
* VME interface (3/160,3/260,etc.), where some registers
* are implemented only on one or the other, some on both.
*/
/*
* Some of these registers apply to only one interface and some
* apply to both. The registers which apply to the Sun3/50 onboard
* version only are udc_rdata and udc_raddr. The registers which
* apply to the Sun3 vme version only are dma_addr, dma_count, bpr,
* iv_am, and bcrh. Thus, the sbc registers, fifo_data, bcr, and csr
* apply to both interfaces.
* One other feature of the vme interface: a write to the DMA count
* register also causes a write to the fifo byte count register and
* vis versa.
*/
/* These three registers are on both OBIO and VME versions. */
u_short fifo_data; /* fifo data register */
/* holds extra byte on odd */
/* byte DMA read */
u_short fifo_count; /* fifo byte count */
u_short si_csr; /* control/status register */
/* The rest of these are on the VME interface only: */
u_short si_bprh; /* byte pack, high (VME only) */
u_short si_bprl; /* byte pack, low (VME only) */
u_short si_iv_am; /* bits 0-7: intr vector */
/* bits 8-13: addr modifier (VME only) */
/* bits 14-15: unused */
u_short fifo_cnt_hi; /* high part of fifo_count (VME only) */