/* port addresses */ #define SCSISEQ (HOSTIOPORT0+0x00) /* SCSI sequence control */ #define SXFRCTL0 (HOSTIOPORT0+0x01) /* SCSI transfer control 0 */ #define SXFRCTL1 (HOSTIOPORT0+0x02) /* SCSI transfer control 1 */ #define SCSISIG (HOSTIOPORT0+0x03) /* SCSI signal in/out */ #define SCSIRATE (HOSTIOPORT0+0x04) /* SCSI rate control */ #define SELID (HOSTIOPORT0+0x05) /* selection/reselection ID */ #define SCSIID SELID /* SCSI ID */ #define SCSIDAT (HOSTIOPORT0+0x06) /* SCSI latched data */ #define SCSIBUS (HOSTIOPORT0+0x07) /* SCSI data bus */ #define STCNT0 (HOSTIOPORT0+0x08) /* SCSI transfer count 0 */ #define STCNT1 (HOSTIOPORT0+0x09) /* SCSI transfer count 1 */ #define STCNT2 (HOSTIOPORT0+0x0a) /* SCSI transfer count 2 */ #define SSTAT0 (HOSTIOPORT0+0x0b) /* SCSI interrupt status 0 */ #define SSTAT1 (HOSTIOPORT0+0x0c) /* SCSI interrupt status 1 */ #define SSTAT2 (HOSTIOPORT0+0x0d) /* SCSI interrupt status 2 */ #define SCSITEST (HOSTIOPORT0+0x0e) /* SCSI test control */ #define SSTAT3 SCSITEST /* SCSI interrupt status 3 */ #define SSTAT4 (HOSTIOPORT0+0x0f) /* SCSI status 4 */ #define SIMODE0 (HOSTIOPORT1+0x10) /* SCSI interrupt mode 0 */ #define SIMODE1 (HOSTIOPORT1+0x11) /* SCSI interrupt mode 1 */ #define DMACNTRL0 (HOSTIOPORT1+0x12) /* DMA control 0 */ #define DMACNTRL1 (HOSTIOPORT1+0x13) /* DMA control 1 */ #define DMASTAT (HOSTIOPORT1+0x14) /* DMA status */ #define FIFOSTAT (HOSTIOPORT1+0x15) /* FIFO status */ #define DATAPORT (HOSTIOPORT1+0x16) /* DATA port */ #define BRSTCNTRL (HOSTIOPORT1+0x18) /* burst control */ #define PORTA (HOSTIOPORT1+0x1a) /* PORT A */ #define PORTB (HOSTIOPORT1+0x1b) /* PORT B */ #define REV (HOSTIOPORT1+0x1c) /* revision */ #define STACK (HOSTIOPORT1+0x1d) /* stack */ #define TEST (HOSTIOPORT1+0x1e) /* test register */
#define IO_RANGE 0x20
/* used in aha152x_porttest */ #define O_PORTA 0x1a /* PORT A */ #define O_PORTB 0x1b /* PORT B */ #define O_DMACNTRL1 0x13 /* DMA control 1 */ #define O_STACK 0x1d /* stack */
/* used in tc1550_porttest */ #define O_TC_PORTA 0x0a /* PORT A */ #define O_TC_PORTB 0x0b /* PORT B */ #define O_TC_DMACNTRL1 0x03 /* DMA control 1 */ #define O_TC_STACK 0x0d /* stack */
/* for the pcmcia stub */ struct aha152x_setup { int io_port; int irq; int scsiid; int reconnect; int parity; int synchronous; int delay; int ext_trans; int tc1550; #ifdefined(AHA152X_DEBUG) int debug; #endif char *conf;
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.