#define AHA152X_MAXQUEUE 7
#define AHA152X_REVID "Adaptec 152x SCSI driver; $Revision: 2.7 $"
#define SCSISEQ (HOSTIOPORT0+0x00)
#define SXFRCTL0 (HOSTIOPORT0+0x01)
#define SXFRCTL1 (HOSTIOPORT0+0x02)
#define SCSISIG (HOSTIOPORT0+0x03)
#define SCSIRATE (HOSTIOPORT0+0x04)
#define SELID (HOSTIOPORT0+0x05)
#define SCSIDAT (HOSTIOPORT0+0x06)
#define SCSIBUS (HOSTIOPORT0+0x07)
#define STCNT0 (HOSTIOPORT0+0x08)
#define STCNT1 (HOSTIOPORT0+0x09)
#define STCNT2 (HOSTIOPORT0+0x0a)
#define SSTAT0 (HOSTIOPORT0+0x0b)
#define SSTAT1 (HOSTIOPORT0+0x0c)
#define SSTAT2 (HOSTIOPORT0+0x0d)
#define SCSITEST (HOSTIOPORT0+0x0e)
#define SSTAT4 (HOSTIOPORT0+0x0f)
#define SIMODE0 (HOSTIOPORT1+0x10)
#define SIMODE1 (HOSTIOPORT1+0x11)
#define DMACNTRL0 (HOSTIOPORT1+0x12)
#define DMACNTRL1 (HOSTIOPORT1+0x13)
#define DMASTAT (HOSTIOPORT1+0x14)
#define FIFOSTAT (HOSTIOPORT1+0x15)
#define DATAPORT (HOSTIOPORT1+0x16)
#define BRSTCNTRL (HOSTIOPORT1+0x18)
#define PORTA (HOSTIOPORT1+0x1a)
#define PORTB (HOSTIOPORT1+0x1b)
#define REV (HOSTIOPORT1+0x1c)
#define STACK (HOSTIOPORT1+0x1d)
#define TEST (HOSTIOPORT1+0x1e)
#define O_TC_DMACNTRL1 0x03