NetBSD/sys/arch/mac68k/dev/ncr_sbcreg.h
scottr ed73ac3b48 New SCSI driver for Macintosh II family machines, implemented using
the MI 5380 driver.  It has been verified to work on the IIx, IIsi,
and IIci only, but should work with any Macintosh 5380-based SCSI
controller.

  -  This driver is _not_ intended to be a general purpose replacement
     for the `ncrscsi' driver.  It is an alternative for those having
     problems with that driver.
  -  Disconnect/reselect doesn't (yet) work, so don't expect SCSI tape
     or magneto-optical disk drives to function properly.
1996-02-10 23:28:41 +00:00

28 lines
683 B
C

/* $NetBSD: ncr_sbcreg.h,v 1.1 1996/02/10 23:28:43 scottr Exp $ */
/*
* Register map for the Mac II SCSI Interface (sbc)
* This register map is for the SYM/NCR5380 SCSI Bus Interface
* Controller (SBIC), with the wonderful 16 bytes/register layout
* that Macs have.
*/
/*
* Am5380 Register map (with padding)
*/
typedef union {
volatile u_char sci_reg;
volatile u_char pad[16];
} ncr5380_padded_reg_t;
struct sbc_regs {
ncr5380_padded_reg_t sci_pr0;
ncr5380_padded_reg_t sci_pr1;
ncr5380_padded_reg_t sci_pr2;
ncr5380_padded_reg_t sci_pr3;
ncr5380_padded_reg_t sci_pr4;
ncr5380_padded_reg_t sci_pr5;
ncr5380_padded_reg_t sci_pr6;
ncr5380_padded_reg_t sci_pr7;
};