Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs
initio.h File Reference
#include <linux/types.h>

Go to the source code of this file.

Data Structures

struct  i91u_config
 
struct  sg_entry
 
struct  scsi_ctrl_blk
 
struct  target_control
 
struct  initio_host
 
struct  _NVRAM_SCSI
 
struct  _NVRAM
 

Macros

#define TOTAL_SG_ENTRY   32
 
#define MAX_SUPPORTED_ADAPTERS   8
 
#define MAX_OFFSET   15
 
#define MAX_TARGETS   16
 
#define TUL_PVID   0x00 /* Vendor ID */
 
#define TUL_PDID   0x02 /* Device ID */
 
#define TUL_PCMD   0x04 /* Command */
 
#define TUL_PSTUS   0x06 /* Status */
 
#define TUL_PRID   0x08 /* Revision number */
 
#define TUL_PPI   0x09 /* Programming interface */
 
#define TUL_PSC   0x0A /* Sub Class */
 
#define TUL_PBC   0x0B /* Base Class */
 
#define TUL_PCLS   0x0C /* Cache line size */
 
#define TUL_PLTR   0x0D /* Latency timer */
 
#define TUL_PHDT   0x0E /* Header type */
 
#define TUL_PBIST   0x0F /* BIST */
 
#define TUL_PBAD   0x10 /* Base address */
 
#define TUL_PBAD1   0x14 /* Base address */
 
#define TUL_PBAD2   0x18 /* Base address */
 
#define TUL_PBAD3   0x1C /* Base address */
 
#define TUL_PBAD4   0x20 /* Base address */
 
#define TUL_PBAD5   0x24 /* Base address */
 
#define TUL_PRSVD   0x28 /* Reserved */
 
#define TUL_PRSVD1   0x2C /* Reserved */
 
#define TUL_PRAD   0x30 /* Expansion ROM base address */
 
#define TUL_PRSVD2   0x34 /* Reserved */
 
#define TUL_PRSVD3   0x38 /* Reserved */
 
#define TUL_PINTL   0x3C /* Interrupt line */
 
#define TUL_PINTP   0x3D /* Interrupt pin */
 
#define TUL_PIGNT   0x3E /* MIN_GNT */
 
#define TUL_PMGNT   0x3F /* MAX_GNT */
 
#define TUL_HACFG0   0x40 /* H/A Configuration Register 0 */
 
#define TUL_HACFG1   0x41 /* H/A Configuration Register 1 */
 
#define TUL_HACFG2   0x42 /* H/A Configuration Register 2 */
 
#define TUL_SDCFG0   0x44 /* SCSI Device Configuration 0 */
 
#define TUL_SDCFG1   0x45 /* SCSI Device Configuration 1 */
 
#define TUL_SDCFG2   0x46 /* SCSI Device Configuration 2 */
 
#define TUL_SDCFG3   0x47 /* SCSI Device Configuration 3 */
 
#define TUL_GINTS   0x50 /* Global Interrupt Status Register */
 
#define TUL_GIMSK   0x52 /* Global Interrupt MASK Register */
 
#define TUL_GCTRL   0x54 /* Global Control Register */
 
#define TUL_GCTRL_EEPROM_BIT   0x04
 
#define TUL_GCTRL1   0x55 /* Global Control Register */
 
#define TUL_DMACFG   0x5B /* DMA configuration */
 
#define TUL_NVRAM   0x5D /* Non-volatile RAM port */
 
#define TUL_SCnt0   0x80 /* 00 R/W Transfer Counter Low */
 
#define TUL_SCnt1   0x81 /* 01 R/W Transfer Counter Mid */
 
#define TUL_SCnt2   0x82 /* 02 R/W Transfer Count High */
 
#define TUL_SFifoCnt   0x83 /* 03 R FIFO counter */
 
#define TUL_SIntEnable   0x84 /* 03 W Interrupt enble */
 
#define TUL_SInt   0x84 /* 04 R Interrupt Register */
 
#define TUL_SCtrl0   0x85 /* 05 W Control 0 */
 
#define TUL_SStatus0   0x85 /* 05 R Status 0 */
 
#define TUL_SCtrl1   0x86 /* 06 W Control 1 */
 
#define TUL_SStatus1   0x86 /* 06 R Status 1 */
 
#define TUL_SConfig   0x87 /* 07 W Configuration */
 
#define TUL_SStatus2   0x87 /* 07 R Status 2 */
 
#define TUL_SPeriod   0x88 /* 08 W Sync. Transfer Period & Offset */
 
#define TUL_SOffset   0x88 /* 08 R Offset */
 
#define TUL_SScsiId   0x89 /* 09 W SCSI ID */
 
#define TUL_SBusId   0x89 /* 09 R SCSI BUS ID */
 
#define TUL_STimeOut   0x8A /* 0A W Sel/Resel Time Out Register */
 
#define TUL_SIdent   0x8A /* 0A R Identify Message Register */
 
#define TUL_SAvail   0x8A /* 0A R Available Counter Register */
 
#define TUL_SData   0x8B /* 0B R/W SCSI data in/out */
 
#define TUL_SFifo   0x8C /* 0C R/W FIFO */
 
#define TUL_SSignal   0x90 /* 10 R/W SCSI signal in/out */
 
#define TUL_SCmd   0x91 /* 11 R/W Command */
 
#define TUL_STest0   0x92 /* 12 R/W Test0 */
 
#define TUL_STest1   0x93 /* 13 R/W Test1 */
 
#define TUL_SCFG1   0x94 /* 14 R/W Configuration */
 
#define TUL_XAddH   0xC0 /*DMA Transfer Physical Address */
 
#define TUL_XAddW   0xC8 /*DMA Current Transfer Physical Address */
 
#define TUL_XCntH   0xD0 /*DMA Transfer Counter */
 
#define TUL_XCntW   0xD4 /*DMA Current Transfer Counter */
 
#define TUL_XCmd   0xD8 /*DMA Command Register */
 
#define TUL_Int   0xDC /*Interrupt Register */
 
#define TUL_XStatus   0xDD /*DMA status Register */
 
#define TUL_Mask   0xE0 /*Interrupt Mask Register */
 
#define TUL_XCtrl   0xE4 /*DMA Control Register */
 
#define TUL_XCtrl1   0xE5 /*DMA Control Register 1 */
 
#define TUL_XFifo   0xE8 /*DMA FIFO */
 
#define TUL_WCtrl   0xF7 /*Bus master wait state control */
 
#define TUL_DCtrl   0xFB /*DMA delay control */
 
#define BUSMS   0x04 /* BUS MASTER Enable */
 
#define IOSPA   0x01 /* IO Space Enable */
 
#define TSC_EN_RESEL   0x80 /* Enable Reselection */
 
#define TSC_CMD_COMP   0x84 /* Command Complete Sequence */
 
#define TSC_SEL   0x01 /* Select Without ATN Sequence */
 
#define TSC_SEL_ATN   0x11 /* Select With ATN Sequence */
 
#define TSC_SEL_ATN_DMA   0x51 /* Select With ATN Sequence with DMA */
 
#define TSC_SEL_ATN3   0x31 /* Select With ATN3 Sequence */
 
#define TSC_SEL_ATNSTOP   0x12 /* Select With ATN and Stop Sequence */
 
#define TSC_SELATNSTOP   0x1E /* Select With ATN and Stop Sequence */
 
#define TSC_SEL_ATN_DIRECT_IN   0x95 /* Select With ATN Sequence */
 
#define TSC_SEL_ATN_DIRECT_OUT   0x15 /* Select With ATN Sequence */
 
#define TSC_SEL_ATN3_DIRECT_IN   0xB5 /* Select With ATN3 Sequence */
 
#define TSC_SEL_ATN3_DIRECT_OUT   0x35 /* Select With ATN3 Sequence */
 
#define TSC_XF_DMA_OUT_DIRECT   0x06 /* DMA Xfer Information out */
 
#define TSC_XF_DMA_IN_DIRECT   0x86 /* DMA Xfer Information in */
 
#define TSC_XF_DMA_OUT   0x43 /* DMA Xfer Information out */
 
#define TSC_XF_DMA_IN   0xC3 /* DMA Xfer Information in */
 
#define TSC_XF_FIFO_OUT   0x03 /* FIFO Xfer Information out */
 
#define TSC_XF_FIFO_IN   0x83 /* FIFO Xfer Information in */
 
#define TSC_MSG_ACCEPT   0x0F /* Message Accept */
 
#define TSC_RST_SEQ   0x20 /* Reset sequence counter */
 
#define TSC_FLUSH_FIFO   0x10 /* Flush FIFO */
 
#define TSC_ABT_CMD   0x04 /* Abort command (sequence) */
 
#define TSC_RST_CHIP   0x02 /* Reset SCSI Chip */
 
#define TSC_RST_BUS   0x01 /* Reset SCSI Bus */
 
#define TSC_EN_SCAM   0x80 /* Enable SCAM */
 
#define TSC_TIMER   0x40 /* Select timeout unit */
 
#define TSC_EN_SCSI2   0x20 /* SCSI-2 mode */
 
#define TSC_PWDN   0x10 /* Power down mode */
 
#define TSC_WIDE_CPU   0x08 /* Wide CPU */
 
#define TSC_HW_RESELECT   0x04 /* Enable HW reselect */
 
#define TSC_EN_BUS_OUT   0x02 /* Enable SCSI data bus out latch */
 
#define TSC_EN_BUS_IN   0x01 /* Enable SCSI data bus in latch */
 
#define TSC_EN_LATCH   0x80 /* Enable phase latch */
 
#define TSC_INITIATOR   0x40 /* Initiator mode */
 
#define TSC_EN_SCSI_PAR   0x20 /* Enable SCSI parity */
 
#define TSC_DMA_8BIT   0x10 /* Alternate dma 8-bits mode */
 
#define TSC_DMA_16BIT   0x08 /* Alternate dma 16-bits mode */
 
#define TSC_EN_WDACK   0x04 /* Enable DACK while wide SCSI xfer */
 
#define TSC_ALT_PERIOD   0x02 /* Alternate sync period mode */
 
#define TSC_DIS_SCSIRST   0x01 /* Disable SCSI bus reset us */
 
#define TSC_INITDEFAULT   (TSC_INITIATOR | TSC_EN_LATCH | TSC_ALT_PERIOD | TSC_DIS_SCSIRST)
 
#define TSC_WIDE_SCSI   0x80 /* Enable Wide SCSI */
 
#define TSC_RST_ACK   0x00 /* Release ACK signal */
 
#define TSC_RST_ATN   0x00 /* Release ATN signal */
 
#define TSC_RST_BSY   0x00 /* Release BSY signal */
 
#define TSC_SET_ACK   0x40 /* ACK signal */
 
#define TSC_SET_ATN   0x08 /* ATN signal */
 
#define TSC_REQI   0x80 /* REQ signal */
 
#define TSC_ACKI   0x40 /* ACK signal */
 
#define TSC_BSYI   0x20 /* BSY signal */
 
#define TSC_SELI   0x10 /* SEL signal */
 
#define TSC_ATNI   0x08 /* ATN signal */
 
#define TSC_MSGI   0x04 /* MSG signal */
 
#define TSC_CDI   0x02 /* C/D signal */
 
#define TSC_IOI   0x01 /* I/O signal */
 
#define TSS_INT_PENDING   0x80 /* Interrupt pending */
 
#define TSS_SEQ_ACTIVE   0x40 /* Sequencer active */
 
#define TSS_XFER_CNT   0x20 /* Transfer counter zero */
 
#define TSS_FIFO_EMPTY   0x10 /* FIFO empty */
 
#define TSS_PAR_ERROR   0x08 /* SCSI parity error */
 
#define TSS_PH_MASK   0x07 /* SCSI phase mask */
 
#define TSS_STATUS_RCV   0x08 /* Status received */
 
#define TSS_MSG_SEND   0x40 /* Message sent */
 
#define TSS_CMD_PH_CMP   0x20 /* command phase done */
 
#define TSS_DATA_PH_CMP   0x10 /* Data phase done */
 
#define TSS_STATUS_SEND   0x08 /* Status sent */
 
#define TSS_XFER_CMP   0x04 /* Transfer completed */
 
#define TSS_SEL_CMP   0x02 /* Selection completed */
 
#define TSS_ARB_CMP   0x01 /* Arbitration completed */
 
#define TSS_CMD_ABTED   0x80 /* Command aborted */
 
#define TSS_OFFSET_0   0x40 /* Offset counter zero */
 
#define TSS_FIFO_FULL   0x20 /* FIFO full */
 
#define TSS_TIMEOUT_0   0x10 /* Timeout counter zero */
 
#define TSS_BUSY_RLS   0x08 /* Busy release */
 
#define TSS_PH_MISMATCH   0x04 /* Phase mismatch */
 
#define TSS_SCSI_BUS_EN   0x02 /* SCSI data bus enable */
 
#define TSS_SCSIRST   0x01 /* SCSI bus reset in progress */
 
#define TSS_RESEL_INT   0x80 /* Reselected interrupt */
 
#define TSS_SEL_TIMEOUT   0x40 /* Selected/reselected timeout */
 
#define TSS_BUS_SERV   0x20
 
#define TSS_SCSIRST_INT   0x10 /* SCSI bus reset detected */
 
#define TSS_DISC_INT   0x08 /* Disconnected interrupt */
 
#define TSS_SEL_INT   0x04 /* Select interrupt */
 
#define TSS_SCAM_SEL   0x02 /* SCAM selected */
 
#define TSS_FUNC_COMP   0x01
 
#define DATA_OUT   0
 
#define DATA_IN   1 /* 4 */
 
#define CMD_OUT   2
 
#define STATUS_IN   3 /* 6 */
 
#define MSG_OUT   6 /* 3 */
 
#define MSG_IN   7
 
#define TAX_X_FORC   0x02
 
#define TAX_X_ABT   0x04
 
#define TAX_X_CLR_FIFO   0x08
 
#define TAX_X_IN   0x21
 
#define TAX_X_OUT   0x01
 
#define TAX_SG_IN   0xA1
 
#define TAX_SG_OUT   0x81
 
#define XCMP   0x01
 
#define FCMP   0x02
 
#define XABT   0x04
 
#define XERR   0x08
 
#define SCMP   0x10
 
#define IPEND   0x80
 
#define XPEND   0x01 /* Transfer pending */
 
#define FEMPTY   0x02 /* FIFO empty */
 
#define EXTSG   0x80
 
#define EXTAD   0x60
 
#define SEG4K   0x08
 
#define EEPRG   0x04
 
#define MRMUL   0x02
 
#define SE2CS   0x08
 
#define SE2CLK   0x04
 
#define SE2DO   0x02
 
#define SE2DI   0x01
 
#define SCB_RENT   0x01
 
#define SCB_PEND   0x02
 
#define SCB_CONTIG   0x04 /* Contingent Allegiance */
 
#define SCB_SELECT   0x08
 
#define SCB_BUSY   0x10
 
#define SCB_DONE   0x20
 
#define ExecSCSI   0x1
 
#define BusDevRst   0x2
 
#define AbortCmd   0x3
 
#define SCM_RSENS   0x01 /* request sense mode */
 
#define SCF_DONE   0x01
 
#define SCF_POST   0x02
 
#define SCF_SENSE   0x04
 
#define SCF_DIR   0x18
 
#define SCF_NO_DCHK   0x00
 
#define SCF_DIN   0x08
 
#define SCF_DOUT   0x10
 
#define SCF_NO_XF   0x18
 
#define SCF_WR_VF   0x20 /* Write verify turn on */
 
#define SCF_POLL   0x40
 
#define SCF_SG   0x80
 
#define HOST_SEL_TOUT   0x11
 
#define HOST_DO_DU   0x12
 
#define HOST_BUS_FREE   0x13
 
#define HOST_BAD_PHAS   0x14
 
#define HOST_INV_CMD   0x16
 
#define HOST_ABORTED   0x1A /* 07/21/98 */
 
#define HOST_SCSI_RST   0x1B
 
#define HOST_DEV_RST   0x1C
 
#define TARGET_CHKCOND   0x02
 
#define TARGET_BUSY   0x08
 
#define INI_QUEUE_FULL   0x28
 
#define MSG_COMP   0x00
 
#define MSG_EXTEND   0x01
 
#define MSG_SDP   0x02
 
#define MSG_RESTORE   0x03
 
#define MSG_DISC   0x04
 
#define MSG_IDE   0x05
 
#define MSG_ABORT   0x06
 
#define MSG_REJ   0x07
 
#define MSG_NOP   0x08
 
#define MSG_PARITY   0x09
 
#define MSG_LINK_COMP   0x0A
 
#define MSG_LINK_FLAG   0x0B
 
#define MSG_DEVRST   0x0C
 
#define MSG_ABORT_TAG   0x0D
 
#define MSG_STAG   0x20
 
#define MSG_HTAG   0x21
 
#define MSG_OTAG   0x22
 
#define MSG_IGNOREWIDE   0x23
 
#define MSG_IDENT   0x80
 
#define TCF_SCSI_RATE   0x0007
 
#define TCF_EN_DISC   0x0008
 
#define TCF_NO_SYNC_NEGO   0x0010
 
#define TCF_NO_WDTR   0x0020
 
#define TCF_EN_255   0x0040
 
#define TCF_EN_START   0x0080
 
#define TCF_WDTR_DONE   0x0100
 
#define TCF_SYNC_DONE   0x0200
 
#define TCF_BUSY   0x0400
 
#define TCF_DRV_BUSY   0x01 /* Indicate target busy(driver) */
 
#define TCF_DRV_EN_TAG   0x0800
 
#define TCF_DRV_255_63   0x0400
 
#define HCC_SCSI_RESET   0x01
 
#define HCC_EN_PAR   0x02
 
#define HCC_ACT_TERM1   0x04
 
#define HCC_ACT_TERM2   0x08
 
#define HCC_AUTO_TERM   0x10
 
#define HCC_EN_PWR   0x80
 
#define HCF_EXPECT_DISC   0x01
 
#define HCF_EXPECT_SELECT   0x02
 
#define HCF_EXPECT_RESET   0x10
 
#define HCF_EXPECT_DONE_DISC   0x20
 
#define NBC1_ENABLE   0x01 /* BIOS enable */
 
#define NBC1_8DRIVE   0x02 /* Support more than 2 drives */
 
#define NBC1_REMOVABLE   0x04 /* Support removable drive */
 
#define NBC1_INT19   0x08 /* Intercept int 19h */
 
#define NBC1_BIOSSCAN   0x10 /* Dynamic BIOS scan */
 
#define NBC1_LUNSUPPORT   0x40 /* Support LUN */
 
#define NHC1_BOOTIDMASK   0x0F /* Boot ID number */
 
#define NHC1_LUNMASK   0x70 /* Boot LUN number */
 
#define NHC1_CHANMASK   0x80 /* Boot Channel number */
 
#define NCC1_BUSRESET   0x01 /* Reset SCSI bus at power up */
 
#define NCC1_PARITYCHK   0x02 /* SCSI parity enable */
 
#define NCC1_ACTTERM1   0x04 /* Enable active terminator 1 */
 
#define NCC1_ACTTERM2   0x08 /* Enable active terminator 2 */
 
#define NCC1_AUTOTERM   0x10 /* Enable auto terminator */
 
#define NCC1_PWRMGR   0x80 /* Enable power management */
 
#define NTC_DISCONNECT   0x08 /* Enable SCSI disconnect */
 
#define NTC_SYNC   0x10 /* SYNC_NEGO */
 
#define NTC_NO_WDTR   0x20 /* SYNC_NEGO */
 
#define NTC_1GIGA   0x40 /* 255 head / 63 sectors (64/32) */
 
#define NTC_SPINUP   0x80 /* Start disk drive */
 
#define INI_SIGNATURE   0xC925
 
#define NBC1_DEFAULT   (NBC1_ENABLE)
 
#define NCC1_DEFAULT   (NCC1_BUSRESET | NCC1_AUTOTERM | NCC1_PARITYCHK)
 
#define NTC_DEFAULT   (NTC_NO_WDTR | NTC_1GIGA | NTC_DISCONNECT)
 
#define DISC_NOT_ALLOW   0x80 /* Disconnect is not allowed */
 
#define DISC_ALLOW   0xC0 /* Disconnect is allowed */
 
#define SCSICMD_RequestSense   0x03
 
#define SCSI_ABORT_SNOOZE   0
 
#define SCSI_ABORT_SUCCESS   1
 
#define SCSI_ABORT_PENDING   2
 
#define SCSI_ABORT_BUSY   3
 
#define SCSI_ABORT_NOT_RUNNING   4
 
#define SCSI_ABORT_ERROR   5
 
#define SCSI_RESET_SNOOZE   0
 
#define SCSI_RESET_PUNT   1
 
#define SCSI_RESET_SUCCESS   2
 
#define SCSI_RESET_PENDING   3
 
#define SCSI_RESET_WAKEUP   4
 
#define SCSI_RESET_NOT_RUNNING   5
 
#define SCSI_RESET_ERROR   6
 
#define SCSI_RESET_SYNCHRONOUS   0x01
 
#define SCSI_RESET_ASYNCHRONOUS   0x02
 
#define SCSI_RESET_SUGGEST_BUS_RESET   0x04
 
#define SCSI_RESET_SUGGEST_HOST_RESET   0x08
 
#define SCSI_RESET_BUS_RESET   0x100
 
#define SCSI_RESET_HOST_RESET   0x200
 
#define SCSI_RESET_ACTION   0xff
 

Typedefs

typedef struct _NVRAM_SCSI NVRAM_SCSI
 
typedef struct _NVRAM NVRAM
 
typedef struct _NVRAMPNVRAM
 

Macro Definition Documentation

#define AbortCmd   0x3

Definition at line 401 of file initio.h.

#define BusDevRst   0x2

Definition at line 400 of file initio.h.

#define BUSMS   0x04 /* BUS MASTER Enable */

Definition at line 146 of file initio.h.

#define CMD_OUT   2

Definition at line 283 of file initio.h.

#define DATA_IN   1 /* 4 */

Definition at line 282 of file initio.h.

#define DATA_OUT   0

Definition at line 281 of file initio.h.

#define DISC_ALLOW   0xC0 /* Disconnect is allowed */

Definition at line 641 of file initio.h.

#define DISC_NOT_ALLOW   0x80 /* Disconnect is not allowed */

Definition at line 640 of file initio.h.

#define EEPRG   0x04

Definition at line 326 of file initio.h.

#define ExecSCSI   0x1

Definition at line 399 of file initio.h.

#define EXTAD   0x60

Definition at line 324 of file initio.h.

#define EXTSG   0x80

Definition at line 323 of file initio.h.

#define FCMP   0x02

Definition at line 306 of file initio.h.

#define FEMPTY   0x02 /* FIFO empty */

Definition at line 316 of file initio.h.

#define HCC_ACT_TERM1   0x04

Definition at line 546 of file initio.h.

#define HCC_ACT_TERM2   0x08

Definition at line 547 of file initio.h.

#define HCC_AUTO_TERM   0x10

Definition at line 548 of file initio.h.

#define HCC_EN_PAR   0x02

Definition at line 545 of file initio.h.

#define HCC_EN_PWR   0x80

Definition at line 549 of file initio.h.

#define HCC_SCSI_RESET   0x01

Definition at line 544 of file initio.h.

#define HCF_EXPECT_DISC   0x01

Definition at line 552 of file initio.h.

#define HCF_EXPECT_DONE_DISC   0x20

Definition at line 555 of file initio.h.

#define HCF_EXPECT_RESET   0x10

Definition at line 554 of file initio.h.

#define HCF_EXPECT_SELECT   0x02

Definition at line 553 of file initio.h.

#define HOST_ABORTED   0x1A /* 07/21/98 */

Definition at line 427 of file initio.h.

#define HOST_BAD_PHAS   0x14

Definition at line 425 of file initio.h.

#define HOST_BUS_FREE   0x13

Definition at line 424 of file initio.h.

#define HOST_DEV_RST   0x1C

Definition at line 429 of file initio.h.

#define HOST_DO_DU   0x12

Definition at line 423 of file initio.h.

#define HOST_INV_CMD   0x16

Definition at line 426 of file initio.h.

#define HOST_SCSI_RST   0x1B

Definition at line 428 of file initio.h.

#define HOST_SEL_TOUT   0x11

Definition at line 422 of file initio.h.

#define INI_QUEUE_FULL   0x28

Definition at line 434 of file initio.h.

#define INI_SIGNATURE   0xC925

Definition at line 634 of file initio.h.

#define IOSPA   0x01 /* IO Space Enable */

Definition at line 147 of file initio.h.

#define IPEND   0x80

Definition at line 310 of file initio.h.

#define MAX_OFFSET   15

Definition at line 42 of file initio.h.

#define MAX_SUPPORTED_ADAPTERS   8

Definition at line 41 of file initio.h.

#define MAX_TARGETS   16

Definition at line 43 of file initio.h.

#define MRMUL   0x02

Definition at line 327 of file initio.h.

#define MSG_ABORT   0x06

Definition at line 443 of file initio.h.

#define MSG_ABORT_TAG   0x0D

Definition at line 450 of file initio.h.

#define MSG_COMP   0x00

Definition at line 437 of file initio.h.

#define MSG_DEVRST   0x0C

Definition at line 449 of file initio.h.

#define MSG_DISC   0x04

Definition at line 441 of file initio.h.

#define MSG_EXTEND   0x01

Definition at line 438 of file initio.h.

#define MSG_HTAG   0x21

Definition at line 454 of file initio.h.

#define MSG_IDE   0x05

Definition at line 442 of file initio.h.

#define MSG_IDENT   0x80

Definition at line 459 of file initio.h.

#define MSG_IGNOREWIDE   0x23

Definition at line 457 of file initio.h.

#define MSG_IN   7

Definition at line 286 of file initio.h.

#define MSG_LINK_COMP   0x0A

Definition at line 447 of file initio.h.

#define MSG_LINK_FLAG   0x0B

Definition at line 448 of file initio.h.

#define MSG_NOP   0x08

Definition at line 445 of file initio.h.

#define MSG_OTAG   0x22

Definition at line 455 of file initio.h.

#define MSG_OUT   6 /* 3 */

Definition at line 285 of file initio.h.

#define MSG_PARITY   0x09

Definition at line 446 of file initio.h.

#define MSG_REJ   0x07

Definition at line 444 of file initio.h.

#define MSG_RESTORE   0x03

Definition at line 440 of file initio.h.

#define MSG_SDP   0x02

Definition at line 439 of file initio.h.

#define MSG_STAG   0x20

Definition at line 453 of file initio.h.

#define NBC1_8DRIVE   0x02 /* Support more than 2 drives */

Definition at line 607 of file initio.h.

#define NBC1_BIOSSCAN   0x10 /* Dynamic BIOS scan */

Definition at line 610 of file initio.h.

#define NBC1_DEFAULT   (NBC1_ENABLE)

Definition at line 635 of file initio.h.

#define NBC1_ENABLE   0x01 /* BIOS enable */

Definition at line 606 of file initio.h.

#define NBC1_INT19   0x08 /* Intercept int 19h */

Definition at line 609 of file initio.h.

#define NBC1_LUNSUPPORT   0x40 /* Support LUN */

Definition at line 611 of file initio.h.

#define NBC1_REMOVABLE   0x04 /* Support removable drive */

Definition at line 608 of file initio.h.

#define NCC1_ACTTERM1   0x04 /* Enable active terminator 1 */

Definition at line 621 of file initio.h.

#define NCC1_ACTTERM2   0x08 /* Enable active terminator 2 */

Definition at line 622 of file initio.h.

#define NCC1_AUTOTERM   0x10 /* Enable auto terminator */

Definition at line 623 of file initio.h.

#define NCC1_BUSRESET   0x01 /* Reset SCSI bus at power up */

Definition at line 619 of file initio.h.

#define NCC1_DEFAULT   (NCC1_BUSRESET | NCC1_AUTOTERM | NCC1_PARITYCHK)

Definition at line 636 of file initio.h.

#define NCC1_PARITYCHK   0x02 /* SCSI parity enable */

Definition at line 620 of file initio.h.

#define NCC1_PWRMGR   0x80 /* Enable power management */

Definition at line 624 of file initio.h.

#define NHC1_BOOTIDMASK   0x0F /* Boot ID number */

Definition at line 614 of file initio.h.

#define NHC1_CHANMASK   0x80 /* Boot Channel number */

Definition at line 616 of file initio.h.

#define NHC1_LUNMASK   0x70 /* Boot LUN number */

Definition at line 615 of file initio.h.

#define NTC_1GIGA   0x40 /* 255 head / 63 sectors (64/32) */

Definition at line 630 of file initio.h.

#define NTC_DEFAULT   (NTC_NO_WDTR | NTC_1GIGA | NTC_DISCONNECT)

Definition at line 637 of file initio.h.

#define NTC_DISCONNECT   0x08 /* Enable SCSI disconnect */

Definition at line 627 of file initio.h.

#define NTC_NO_WDTR   0x20 /* SYNC_NEGO */

Definition at line 629 of file initio.h.

#define NTC_SPINUP   0x80 /* Start disk drive */

Definition at line 631 of file initio.h.

#define NTC_SYNC   0x10 /* SYNC_NEGO */

Definition at line 628 of file initio.h.

#define SCB_BUSY   0x10

Definition at line 394 of file initio.h.

#define SCB_CONTIG   0x04 /* Contingent Allegiance */

Definition at line 392 of file initio.h.

#define SCB_DONE   0x20

Definition at line 395 of file initio.h.

#define SCB_PEND   0x02

Definition at line 391 of file initio.h.

#define SCB_RENT   0x01

Definition at line 390 of file initio.h.

#define SCB_SELECT   0x08

Definition at line 393 of file initio.h.

#define SCF_DIN   0x08

Definition at line 414 of file initio.h.

#define SCF_DIR   0x18

Definition at line 412 of file initio.h.

#define SCF_DONE   0x01

Definition at line 409 of file initio.h.

#define SCF_DOUT   0x10

Definition at line 415 of file initio.h.

#define SCF_NO_DCHK   0x00

Definition at line 413 of file initio.h.

#define SCF_NO_XF   0x18

Definition at line 416 of file initio.h.

#define SCF_POLL   0x40

Definition at line 418 of file initio.h.

#define SCF_POST   0x02

Definition at line 410 of file initio.h.

#define SCF_SENSE   0x04

Definition at line 411 of file initio.h.

#define SCF_SG   0x80

Definition at line 419 of file initio.h.

#define SCF_WR_VF   0x20 /* Write verify turn on */

Definition at line 417 of file initio.h.

#define SCM_RSENS   0x01 /* request sense mode */

Definition at line 405 of file initio.h.

#define SCMP   0x10

Definition at line 309 of file initio.h.

#define SCSI_ABORT_BUSY   3

Definition at line 647 of file initio.h.

#define SCSI_ABORT_ERROR   5

Definition at line 649 of file initio.h.

#define SCSI_ABORT_NOT_RUNNING   4

Definition at line 648 of file initio.h.

#define SCSI_ABORT_PENDING   2

Definition at line 646 of file initio.h.

#define SCSI_ABORT_SNOOZE   0

Definition at line 644 of file initio.h.

#define SCSI_ABORT_SUCCESS   1

Definition at line 645 of file initio.h.

#define SCSI_RESET_ACTION   0xff

Definition at line 666 of file initio.h.

#define SCSI_RESET_ASYNCHRONOUS   0x02

Definition at line 660 of file initio.h.

#define SCSI_RESET_BUS_RESET   0x100

Definition at line 664 of file initio.h.

#define SCSI_RESET_ERROR   6

Definition at line 657 of file initio.h.

#define SCSI_RESET_HOST_RESET   0x200

Definition at line 665 of file initio.h.

#define SCSI_RESET_NOT_RUNNING   5

Definition at line 656 of file initio.h.

#define SCSI_RESET_PENDING   3

Definition at line 654 of file initio.h.

#define SCSI_RESET_PUNT   1

Definition at line 652 of file initio.h.

#define SCSI_RESET_SNOOZE   0

Definition at line 651 of file initio.h.

#define SCSI_RESET_SUCCESS   2

Definition at line 653 of file initio.h.

#define SCSI_RESET_SUGGEST_BUS_RESET   0x04

Definition at line 661 of file initio.h.

#define SCSI_RESET_SUGGEST_HOST_RESET   0x08

Definition at line 662 of file initio.h.

#define SCSI_RESET_SYNCHRONOUS   0x01

Definition at line 659 of file initio.h.

#define SCSI_RESET_WAKEUP   4

Definition at line 655 of file initio.h.

#define SCSICMD_RequestSense   0x03

Definition at line 642 of file initio.h.

#define SE2CLK   0x04

Definition at line 333 of file initio.h.

#define SE2CS   0x08

Definition at line 332 of file initio.h.

#define SE2DI   0x01

Definition at line 335 of file initio.h.

#define SE2DO   0x02

Definition at line 334 of file initio.h.

#define SEG4K   0x08

Definition at line 325 of file initio.h.

#define STATUS_IN   3 /* 6 */

Definition at line 284 of file initio.h.

#define TARGET_BUSY   0x08

Definition at line 433 of file initio.h.

#define TARGET_CHKCOND   0x02

Definition at line 432 of file initio.h.

#define TAX_SG_IN   0xA1

Definition at line 299 of file initio.h.

#define TAX_SG_OUT   0x81

Definition at line 300 of file initio.h.

#define TAX_X_ABT   0x04

Definition at line 294 of file initio.h.

#define TAX_X_CLR_FIFO   0x08

Definition at line 295 of file initio.h.

#define TAX_X_FORC   0x02

Definition at line 293 of file initio.h.

#define TAX_X_IN   0x21

Definition at line 297 of file initio.h.

#define TAX_X_OUT   0x01

Definition at line 298 of file initio.h.

#define TCF_BUSY   0x0400

Definition at line 487 of file initio.h.

#define TCF_DRV_255_63   0x0400

Definition at line 493 of file initio.h.

#define TCF_DRV_BUSY   0x01 /* Indicate target busy(driver) */

Definition at line 491 of file initio.h.

#define TCF_DRV_EN_TAG   0x0800

Definition at line 492 of file initio.h.

#define TCF_EN_255   0x0040

Definition at line 483 of file initio.h.

#define TCF_EN_DISC   0x0008

Definition at line 480 of file initio.h.

#define TCF_EN_START   0x0080

Definition at line 484 of file initio.h.

#define TCF_NO_SYNC_NEGO   0x0010

Definition at line 481 of file initio.h.

#define TCF_NO_WDTR   0x0020

Definition at line 482 of file initio.h.

#define TCF_SCSI_RATE   0x0007

Definition at line 479 of file initio.h.

#define TCF_SYNC_DONE   0x0200

Definition at line 486 of file initio.h.

#define TCF_WDTR_DONE   0x0100

Definition at line 485 of file initio.h.

#define TOTAL_SG_ENTRY   32

Definition at line 40 of file initio.h.

#define TSC_ABT_CMD   0x04 /* Abort command (sequence) */

Definition at line 180 of file initio.h.

#define TSC_ACKI   0x40 /* ACK signal */

Definition at line 223 of file initio.h.

#define TSC_ALT_PERIOD   0x02 /* Alternate sync period mode */

Definition at line 205 of file initio.h.

#define TSC_ATNI   0x08 /* ATN signal */

Definition at line 226 of file initio.h.

#define TSC_BSYI   0x20 /* BSY signal */

Definition at line 224 of file initio.h.

#define TSC_CDI   0x02 /* C/D signal */

Definition at line 228 of file initio.h.

#define TSC_CMD_COMP   0x84 /* Command Complete Sequence */

Definition at line 153 of file initio.h.

#define TSC_DIS_SCSIRST   0x01 /* Disable SCSI bus reset us */

Definition at line 206 of file initio.h.

#define TSC_DMA_16BIT   0x08 /* Alternate dma 16-bits mode */

Definition at line 203 of file initio.h.

#define TSC_DMA_8BIT   0x10 /* Alternate dma 8-bits mode */

Definition at line 202 of file initio.h.

#define TSC_EN_BUS_IN   0x01 /* Enable SCSI data bus in latch */

Definition at line 194 of file initio.h.

#define TSC_EN_BUS_OUT   0x02 /* Enable SCSI data bus out latch */

Definition at line 193 of file initio.h.

#define TSC_EN_LATCH   0x80 /* Enable phase latch */

Definition at line 199 of file initio.h.

#define TSC_EN_RESEL   0x80 /* Enable Reselection */

Definition at line 152 of file initio.h.

#define TSC_EN_SCAM   0x80 /* Enable SCAM */

Definition at line 187 of file initio.h.

#define TSC_EN_SCSI2   0x20 /* SCSI-2 mode */

Definition at line 189 of file initio.h.

#define TSC_EN_SCSI_PAR   0x20 /* Enable SCSI parity */

Definition at line 201 of file initio.h.

#define TSC_EN_WDACK   0x04 /* Enable DACK while wide SCSI xfer */

Definition at line 204 of file initio.h.

#define TSC_FLUSH_FIFO   0x10 /* Flush FIFO */

Definition at line 179 of file initio.h.

#define TSC_HW_RESELECT   0x04 /* Enable HW reselect */

Definition at line 192 of file initio.h.

#define TSC_INITDEFAULT   (TSC_INITIATOR | TSC_EN_LATCH | TSC_ALT_PERIOD | TSC_DIS_SCSIRST)

Definition at line 208 of file initio.h.

#define TSC_INITIATOR   0x40 /* Initiator mode */

Definition at line 200 of file initio.h.

#define TSC_IOI   0x01 /* I/O signal */

Definition at line 229 of file initio.h.

#define TSC_MSG_ACCEPT   0x0F /* Message Accept */

Definition at line 173 of file initio.h.

#define TSC_MSGI   0x04 /* MSG signal */

Definition at line 227 of file initio.h.

#define TSC_PWDN   0x10 /* Power down mode */

Definition at line 190 of file initio.h.

#define TSC_REQI   0x80 /* REQ signal */

Definition at line 222 of file initio.h.

#define TSC_RST_ACK   0x00 /* Release ACK signal */

Definition at line 215 of file initio.h.

#define TSC_RST_ATN   0x00 /* Release ATN signal */

Definition at line 216 of file initio.h.

#define TSC_RST_BSY   0x00 /* Release BSY signal */

Definition at line 217 of file initio.h.

#define TSC_RST_BUS   0x01 /* Reset SCSI Bus */

Definition at line 182 of file initio.h.

#define TSC_RST_CHIP   0x02 /* Reset SCSI Chip */

Definition at line 181 of file initio.h.

#define TSC_RST_SEQ   0x20 /* Reset sequence counter */

Definition at line 178 of file initio.h.

#define TSC_SEL   0x01 /* Select Without ATN Sequence */

Definition at line 154 of file initio.h.

#define TSC_SEL_ATN   0x11 /* Select With ATN Sequence */

Definition at line 155 of file initio.h.

#define TSC_SEL_ATN3   0x31 /* Select With ATN3 Sequence */

Definition at line 157 of file initio.h.

#define TSC_SEL_ATN3_DIRECT_IN   0xB5 /* Select With ATN3 Sequence */

Definition at line 163 of file initio.h.

#define TSC_SEL_ATN3_DIRECT_OUT   0x35 /* Select With ATN3 Sequence */

Definition at line 164 of file initio.h.

#define TSC_SEL_ATN_DIRECT_IN   0x95 /* Select With ATN Sequence */

Definition at line 161 of file initio.h.

#define TSC_SEL_ATN_DIRECT_OUT   0x15 /* Select With ATN Sequence */

Definition at line 162 of file initio.h.

#define TSC_SEL_ATN_DMA   0x51 /* Select With ATN Sequence with DMA */

Definition at line 156 of file initio.h.

#define TSC_SEL_ATNSTOP   0x12 /* Select With ATN and Stop Sequence */

Definition at line 158 of file initio.h.

#define TSC_SELATNSTOP   0x1E /* Select With ATN and Stop Sequence */

Definition at line 159 of file initio.h.

#define TSC_SELI   0x10 /* SEL signal */

Definition at line 225 of file initio.h.

#define TSC_SET_ACK   0x40 /* ACK signal */

Definition at line 219 of file initio.h.

#define TSC_SET_ATN   0x08 /* ATN signal */

Definition at line 220 of file initio.h.

#define TSC_TIMER   0x40 /* Select timeout unit */

Definition at line 188 of file initio.h.

#define TSC_WIDE_CPU   0x08 /* Wide CPU */

Definition at line 191 of file initio.h.

#define TSC_WIDE_SCSI   0x80 /* Enable Wide SCSI */

Definition at line 210 of file initio.h.

#define TSC_XF_DMA_IN   0xC3 /* DMA Xfer Information in */

Definition at line 169 of file initio.h.

#define TSC_XF_DMA_IN_DIRECT   0x86 /* DMA Xfer Information in */

Definition at line 166 of file initio.h.

#define TSC_XF_DMA_OUT   0x43 /* DMA Xfer Information out */

Definition at line 168 of file initio.h.

#define TSC_XF_DMA_OUT_DIRECT   0x06 /* DMA Xfer Information out */

Definition at line 165 of file initio.h.

#define TSC_XF_FIFO_IN   0x83 /* FIFO Xfer Information in */

Definition at line 171 of file initio.h.

#define TSC_XF_FIFO_OUT   0x03 /* FIFO Xfer Information out */

Definition at line 170 of file initio.h.

#define TSS_ARB_CMP   0x01 /* Arbitration completed */

Definition at line 252 of file initio.h.

#define TSS_BUS_SERV   0x20

Definition at line 271 of file initio.h.

#define TSS_BUSY_RLS   0x08 /* Busy release */

Definition at line 261 of file initio.h.

#define TSS_CMD_ABTED   0x80 /* Command aborted */

Definition at line 257 of file initio.h.

#define TSS_CMD_PH_CMP   0x20 /* command phase done */

Definition at line 247 of file initio.h.

#define TSS_DATA_PH_CMP   0x10 /* Data phase done */

Definition at line 248 of file initio.h.

#define TSS_DISC_INT   0x08 /* Disconnected interrupt */

Definition at line 273 of file initio.h.

#define TSS_FIFO_EMPTY   0x10 /* FIFO empty */

Definition at line 238 of file initio.h.

#define TSS_FIFO_FULL   0x20 /* FIFO full */

Definition at line 259 of file initio.h.

#define TSS_FUNC_COMP   0x01

Definition at line 276 of file initio.h.

#define TSS_INT_PENDING   0x80 /* Interrupt pending */

Definition at line 235 of file initio.h.

#define TSS_MSG_SEND   0x40 /* Message sent */

Definition at line 246 of file initio.h.

#define TSS_OFFSET_0   0x40 /* Offset counter zero */

Definition at line 258 of file initio.h.

#define TSS_PAR_ERROR   0x08 /* SCSI parity error */

Definition at line 239 of file initio.h.

#define TSS_PH_MASK   0x07 /* SCSI phase mask */

Definition at line 240 of file initio.h.

#define TSS_PH_MISMATCH   0x04 /* Phase mismatch */

Definition at line 262 of file initio.h.

#define TSS_RESEL_INT   0x80 /* Reselected interrupt */

Definition at line 269 of file initio.h.

#define TSS_SCAM_SEL   0x02 /* SCAM selected */

Definition at line 275 of file initio.h.

#define TSS_SCSI_BUS_EN   0x02 /* SCSI data bus enable */

Definition at line 263 of file initio.h.

#define TSS_SCSIRST   0x01 /* SCSI bus reset in progress */

Definition at line 264 of file initio.h.

#define TSS_SCSIRST_INT   0x10 /* SCSI bus reset detected */

Definition at line 272 of file initio.h.

#define TSS_SEL_CMP   0x02 /* Selection completed */

Definition at line 251 of file initio.h.

#define TSS_SEL_INT   0x04 /* Select interrupt */

Definition at line 274 of file initio.h.

#define TSS_SEL_TIMEOUT   0x40 /* Selected/reselected timeout */

Definition at line 270 of file initio.h.

#define TSS_SEQ_ACTIVE   0x40 /* Sequencer active */

Definition at line 236 of file initio.h.

#define TSS_STATUS_RCV   0x08 /* Status received */

Definition at line 245 of file initio.h.

#define TSS_STATUS_SEND   0x08 /* Status sent */

Definition at line 249 of file initio.h.

#define TSS_TIMEOUT_0   0x10 /* Timeout counter zero */

Definition at line 260 of file initio.h.

#define TSS_XFER_CMP   0x04 /* Transfer completed */

Definition at line 250 of file initio.h.

#define TSS_XFER_CNT   0x20 /* Transfer counter zero */

Definition at line 237 of file initio.h.

#define TUL_DCtrl   0xFB /*DMA delay control */

Definition at line 141 of file initio.h.

#define TUL_DMACFG   0x5B /* DMA configuration */

Definition at line 98 of file initio.h.

#define TUL_GCTRL   0x54 /* Global Control Register */

Definition at line 95 of file initio.h.

#define TUL_GCTRL1   0x55 /* Global Control Register */

Definition at line 97 of file initio.h.

#define TUL_GCTRL_EEPROM_BIT   0x04

Definition at line 96 of file initio.h.

#define TUL_GIMSK   0x52 /* Global Interrupt MASK Register */

Definition at line 94 of file initio.h.

#define TUL_GINTS   0x50 /* Global Interrupt Status Register */

Definition at line 93 of file initio.h.

#define TUL_HACFG0   0x40 /* H/A Configuration Register 0 */

Definition at line 84 of file initio.h.

#define TUL_HACFG1   0x41 /* H/A Configuration Register 1 */

Definition at line 85 of file initio.h.

#define TUL_HACFG2   0x42 /* H/A Configuration Register 2 */

Definition at line 86 of file initio.h.

#define TUL_Int   0xDC /*Interrupt Register */

Definition at line 133 of file initio.h.

#define TUL_Mask   0xE0 /*Interrupt Mask Register */

Definition at line 135 of file initio.h.

#define TUL_NVRAM   0x5D /* Non-volatile RAM port */

Definition at line 99 of file initio.h.

#define TUL_PBAD   0x10 /* Base address */

Definition at line 65 of file initio.h.

#define TUL_PBAD1   0x14 /* Base address */

Definition at line 66 of file initio.h.

#define TUL_PBAD2   0x18 /* Base address */

Definition at line 67 of file initio.h.

#define TUL_PBAD3   0x1C /* Base address */

Definition at line 68 of file initio.h.

#define TUL_PBAD4   0x20 /* Base address */

Definition at line 69 of file initio.h.

#define TUL_PBAD5   0x24 /* Base address */

Definition at line 70 of file initio.h.

#define TUL_PBC   0x0B /* Base Class */

Definition at line 60 of file initio.h.

#define TUL_PBIST   0x0F /* BIST */

Definition at line 64 of file initio.h.

#define TUL_PCLS   0x0C /* Cache line size */

Definition at line 61 of file initio.h.

#define TUL_PCMD   0x04 /* Command */

Definition at line 55 of file initio.h.

#define TUL_PDID   0x02 /* Device ID */

Definition at line 54 of file initio.h.

#define TUL_PHDT   0x0E /* Header type */

Definition at line 63 of file initio.h.

#define TUL_PIGNT   0x3E /* MIN_GNT */

Definition at line 78 of file initio.h.

#define TUL_PINTL   0x3C /* Interrupt line */

Definition at line 76 of file initio.h.

#define TUL_PINTP   0x3D /* Interrupt pin */

Definition at line 77 of file initio.h.

#define TUL_PLTR   0x0D /* Latency timer */

Definition at line 62 of file initio.h.

#define TUL_PMGNT   0x3F /* MAX_GNT */

Definition at line 79 of file initio.h.

#define TUL_PPI   0x09 /* Programming interface */

Definition at line 58 of file initio.h.

#define TUL_PRAD   0x30 /* Expansion ROM base address */

Definition at line 73 of file initio.h.

#define TUL_PRID   0x08 /* Revision number */

Definition at line 57 of file initio.h.

#define TUL_PRSVD   0x28 /* Reserved */

Definition at line 71 of file initio.h.

#define TUL_PRSVD1   0x2C /* Reserved */

Definition at line 72 of file initio.h.

#define TUL_PRSVD2   0x34 /* Reserved */

Definition at line 74 of file initio.h.

#define TUL_PRSVD3   0x38 /* Reserved */

Definition at line 75 of file initio.h.

#define TUL_PSC   0x0A /* Sub Class */

Definition at line 59 of file initio.h.

#define TUL_PSTUS   0x06 /* Status */

Definition at line 56 of file initio.h.

#define TUL_PVID   0x00 /* Vendor ID */

Definition at line 53 of file initio.h.

#define TUL_SAvail   0x8A /* 0A R Available Counter Register */

Definition at line 119 of file initio.h.

#define TUL_SBusId   0x89 /* 09 R SCSI BUS ID */

Definition at line 116 of file initio.h.

#define TUL_SCFG1   0x94 /* 14 R/W Configuration */

Definition at line 126 of file initio.h.

#define TUL_SCmd   0x91 /* 11 R/W Command */

Definition at line 123 of file initio.h.

#define TUL_SCnt0   0x80 /* 00 R/W Transfer Counter Low */

Definition at line 101 of file initio.h.

#define TUL_SCnt1   0x81 /* 01 R/W Transfer Counter Mid */

Definition at line 102 of file initio.h.

#define TUL_SCnt2   0x82 /* 02 R/W Transfer Count High */

Definition at line 103 of file initio.h.

#define TUL_SConfig   0x87 /* 07 W Configuration */

Definition at line 111 of file initio.h.

#define TUL_SCtrl0   0x85 /* 05 W Control 0 */

Definition at line 107 of file initio.h.

#define TUL_SCtrl1   0x86 /* 06 W Control 1 */

Definition at line 109 of file initio.h.

#define TUL_SData   0x8B /* 0B R/W SCSI data in/out */

Definition at line 120 of file initio.h.

#define TUL_SDCFG0   0x44 /* SCSI Device Configuration 0 */

Definition at line 88 of file initio.h.

#define TUL_SDCFG1   0x45 /* SCSI Device Configuration 1 */

Definition at line 89 of file initio.h.

#define TUL_SDCFG2   0x46 /* SCSI Device Configuration 2 */

Definition at line 90 of file initio.h.

#define TUL_SDCFG3   0x47 /* SCSI Device Configuration 3 */

Definition at line 91 of file initio.h.

#define TUL_SFifo   0x8C /* 0C R/W FIFO */

Definition at line 121 of file initio.h.

#define TUL_SFifoCnt   0x83 /* 03 R FIFO counter */

Definition at line 104 of file initio.h.

#define TUL_SIdent   0x8A /* 0A R Identify Message Register */

Definition at line 118 of file initio.h.

#define TUL_SInt   0x84 /* 04 R Interrupt Register */

Definition at line 106 of file initio.h.

#define TUL_SIntEnable   0x84 /* 03 W Interrupt enble */

Definition at line 105 of file initio.h.

#define TUL_SOffset   0x88 /* 08 R Offset */

Definition at line 114 of file initio.h.

#define TUL_SPeriod   0x88 /* 08 W Sync. Transfer Period & Offset */

Definition at line 113 of file initio.h.

#define TUL_SScsiId   0x89 /* 09 W SCSI ID */

Definition at line 115 of file initio.h.

#define TUL_SSignal   0x90 /* 10 R/W SCSI signal in/out */

Definition at line 122 of file initio.h.

#define TUL_SStatus0   0x85 /* 05 R Status 0 */

Definition at line 108 of file initio.h.

#define TUL_SStatus1   0x86 /* 06 R Status 1 */

Definition at line 110 of file initio.h.

#define TUL_SStatus2   0x87 /* 07 R Status 2 */

Definition at line 112 of file initio.h.

#define TUL_STest0   0x92 /* 12 R/W Test0 */

Definition at line 124 of file initio.h.

#define TUL_STest1   0x93 /* 13 R/W Test1 */

Definition at line 125 of file initio.h.

#define TUL_STimeOut   0x8A /* 0A W Sel/Resel Time Out Register */

Definition at line 117 of file initio.h.

#define TUL_WCtrl   0xF7 /*Bus master wait state control */

Definition at line 140 of file initio.h.

#define TUL_XAddH   0xC0 /*DMA Transfer Physical Address */

Definition at line 128 of file initio.h.

#define TUL_XAddW   0xC8 /*DMA Current Transfer Physical Address */

Definition at line 129 of file initio.h.

#define TUL_XCmd   0xD8 /*DMA Command Register */

Definition at line 132 of file initio.h.

#define TUL_XCntH   0xD0 /*DMA Transfer Counter */

Definition at line 130 of file initio.h.

#define TUL_XCntW   0xD4 /*DMA Current Transfer Counter */

Definition at line 131 of file initio.h.

#define TUL_XCtrl   0xE4 /*DMA Control Register */

Definition at line 136 of file initio.h.

#define TUL_XCtrl1   0xE5 /*DMA Control Register 1 */

Definition at line 137 of file initio.h.

#define TUL_XFifo   0xE8 /*DMA FIFO */

Definition at line 138 of file initio.h.

#define TUL_XStatus   0xDD /*DMA status Register */

Definition at line 134 of file initio.h.

#define XABT   0x04

Definition at line 307 of file initio.h.

#define XCMP   0x01

Definition at line 305 of file initio.h.

#define XERR   0x08

Definition at line 308 of file initio.h.

#define XPEND   0x01 /* Transfer pending */

Definition at line 315 of file initio.h.

Typedef Documentation

typedef struct _NVRAM NVRAM
typedef struct _NVRAM * PNVRAM