Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
53c700.h File Reference
#include <linux/interrupt.h>
#include <asm/io.h>
#include <scsi/scsi_device.h>
#include <scsi/scsi_cmnd.h>

Go to the source code of this file.

Data Structures

struct  NCR_700_SG_List
 
struct  NCR_700_Device_Parameters
 
struct  NCR_700_command_slot
 
struct  NCR_700_Host_Parameters
 

Macros

#define DEBUG(x)   do {} while (0)
 
#define DDEBUG(prefix, scmd, fmt, a...)   do {} while (0)
 
#define CDEBUG(prefix, scmd, fmt, a...)   do {} while (0)
 
#define NCR_700_COMMAND_SLOTS_PER_HOST   64
 
#define NCR_700_SG_SEGMENTS   32
 
#define NCR_700_MAX_LUNS   32
 
#define NCR_700_LUN_MASK   (NCR_700_MAX_LUNS - 1)
 
#define NCR_700_MAX_TAGS   16
 
#define NCR_700_DEFAULT_TAGS   4
 
#define NCR_700_CMD_PER_LUN   2
 
#define NCR_700_INTERNAL_SENSE_MAGIC   0x42
 
#define SCRIPT_MOVE_DATA_IN   0x09000000
 
#define SCRIPT_MOVE_DATA_OUT   0x08000000
 
#define SCRIPT_NOP   0x80000000
 
#define SCRIPT_RETURN   0x90080000
 
#define NCR_700_DEV_NEGOTIATED_SYNC   (1<<16)
 
#define NCR_700_DEV_BEGIN_SYNC_NEGOTIATION   (1<<17)
 
#define NCR_700_DEV_PRINT_SYNC_NEGOTIATION   (1<<19)
 
#define NCR_700_SLOT_MASK   0xFC
 
#define NCR_700_SLOT_MAGIC   0xb8
 
#define NCR_700_SLOT_FREE   (0|NCR_700_SLOT_MAGIC) /* slot may be used */
 
#define NCR_700_SLOT_BUSY   (1|NCR_700_SLOT_MAGIC) /* slot has command active on HA */
 
#define NCR_700_SLOT_QUEUED   (2|NCR_700_SLOT_MAGIC) /* slot has command to be made active on HA */
 
#define NCR_700_FLAG_AUTOSENSE   0x01
 
#define MSG_ARRAY_SIZE   8
 
#define MSGOUT_OFFSET   (L1_CACHE_ALIGN(sizeof(SCRIPT)))
 
#define MSGIN_OFFSET   (MSGOUT_OFFSET + L1_CACHE_ALIGN(MSG_ARRAY_SIZE))
 
#define STATUS_OFFSET   (MSGIN_OFFSET + L1_CACHE_ALIGN(MSG_ARRAY_SIZE))
 
#define SLOTS_OFFSET   (STATUS_OFFSET + L1_CACHE_ALIGN(MSG_ARRAY_SIZE))
 
#define TOTAL_MEM_SIZE   (SLOTS_OFFSET + L1_CACHE_ALIGN(sizeof(struct NCR_700_command_slot) * NCR_700_COMMAND_SLOTS_PER_HOST))
 
#define bEBus   0
 
#define bS_to_cpu(x)   (bSWAP ? le32_to_cpu(x) : (x))
 
#define bS_to_host(x)   (bSWAP ? cpu_to_le32(x) : (x))
 
#define SCNTL0_REG   0x00
 
#define FULL_ARBITRATION   0xc0
 
#define PARITY   0x08
 
#define ENABLE_PARITY   0x04
 
#define AUTO_ATN   0x02
 
#define SCNTL1_REG   0x01
 
#define SLOW_BUS   0x80
 
#define ENABLE_SELECT   0x20
 
#define ASSERT_RST   0x08
 
#define ASSERT_EVEN_PARITY   0x04
 
#define SDID_REG   0x02
 
#define SIEN_REG   0x03
 
#define PHASE_MM_INT   0x80
 
#define FUNC_COMP_INT   0x40
 
#define SEL_TIMEOUT_INT   0x20
 
#define SELECT_INT   0x10
 
#define GROSS_ERR_INT   0x08
 
#define UX_DISC_INT   0x04
 
#define RST_INT   0x02
 
#define PAR_ERR_INT   0x01
 
#define SCID_REG   0x04
 
#define SXFER_REG   0x05
 
#define ASYNC_OPERATION   0x00
 
#define SODL_REG   0x06
 
#define SOCL_REG   0x07
 
#define SFBR_REG   0x08
 
#define SIDL_REG   0x09
 
#define SBDL_REG   0x0A
 
#define SBCL_REG   0x0B
 
#define SBCL_IO   0x01
 
#define SYNC_DIV_AS_ASYNC   0x00
 
#define SYNC_DIV_1_0   0x01
 
#define SYNC_DIV_1_5   0x02
 
#define SYNC_DIV_2_0   0x03
 
#define DSTAT_REG   0x0C
 
#define ILGL_INST_DETECTED   0x01
 
#define WATCH_DOG_INTERRUPT   0x02
 
#define SCRIPT_INT_RECEIVED   0x04
 
#define ABORTED   0x10
 
#define SSTAT0_REG   0x0D
 
#define PARITY_ERROR   0x01
 
#define SCSI_RESET_DETECTED   0x02
 
#define UNEXPECTED_DISCONNECT   0x04
 
#define SCSI_GROSS_ERROR   0x08
 
#define SELECTED   0x10
 
#define SELECTION_TIMEOUT   0x20
 
#define FUNCTION_COMPLETE   0x40
 
#define PHASE_MISMATCH   0x80
 
#define SSTAT1_REG   0x0E
 
#define SIDL_REG_FULL   0x80
 
#define SODR_REG_FULL   0x40
 
#define SODL_REG_FULL   0x20
 
#define SSTAT2_REG   0x0F
 
#define CTEST0_REG   0x14
 
#define BTB_TIMER_DISABLE   0x40
 
#define CTEST1_REG   0x15
 
#define CTEST2_REG   0x16
 
#define CTEST3_REG   0x17
 
#define CTEST4_REG   0x18
 
#define DISABLE_FIFO   0x00
 
#define SLBE   0x10
 
#define SFWR   0x08
 
#define BYTE_LANE0   0x04
 
#define BYTE_LANE1   0x05
 
#define BYTE_LANE2   0x06
 
#define BYTE_LANE3   0x07
 
#define SCSI_ZMODE   0x20
 
#define ZMODE   0x40
 
#define CTEST5_REG   0x19
 
#define MASTER_CONTROL   0x10
 
#define DMA_DIRECTION   0x08
 
#define CTEST7_REG   0x1B
 
#define BURST_DISABLE   0x80 /* 710 only */
 
#define SEL_TIMEOUT_DISABLE   0x10 /* 710 only */
 
#define DFP   0x08
 
#define EVP   0x04
 
#define CTEST7_TT1   0x02
 
#define DIFF   0x01
 
#define CTEST6_REG   0x1A
 
#define TEMP_REG   0x1C
 
#define DFIFO_REG   0x20
 
#define FLUSH_DMA_FIFO   0x80
 
#define CLR_FIFO   0x40
 
#define ISTAT_REG   0x21
 
#define ABORT_OPERATION   0x80
 
#define SOFTWARE_RESET_710   0x40
 
#define DMA_INT_PENDING   0x01
 
#define SCSI_INT_PENDING   0x02
 
#define CONNECTED   0x08
 
#define CTEST8_REG   0x22
 
#define LAST_DIS_ENBL   0x01
 
#define SHORTEN_FILTERING   0x04
 
#define ENABLE_ACTIVE_NEGATION   0x10
 
#define GENERATE_RECEIVE_PARITY   0x20
 
#define CLR_FIFO_710   0x04
 
#define FLUSH_DMA_FIFO_710   0x08
 
#define CTEST9_REG   0x23
 
#define DBC_REG   0x24
 
#define DCMD_REG   0x27
 
#define DNAD_REG   0x28
 
#define DIEN_REG   0x39
 
#define BUS_FAULT   0x20
 
#define ABORT_INT   0x10
 
#define INT_INST_INT   0x04
 
#define WD_INT   0x02
 
#define ILGL_INST_INT   0x01
 
#define DCNTL_REG   0x3B
 
#define SOFTWARE_RESET   0x01
 
#define COMPAT_700_MODE   0x01
 
#define SCRPTS_16BITS   0x20
 
#define EA_710   0x20
 
#define ASYNC_DIV_2_0   0x00
 
#define ASYNC_DIV_1_5   0x40
 
#define ASYNC_DIV_1_0   0x80
 
#define ASYNC_DIV_3_0   0xc0
 
#define DMODE_710_REG   0x38
 
#define DMODE_700_REG   0x34
 
#define BURST_LENGTH_1   0x00
 
#define BURST_LENGTH_2   0x40
 
#define BURST_LENGTH_4   0x80
 
#define BURST_LENGTH_8   0xC0
 
#define DMODE_FC1   0x10
 
#define DMODE_FC2   0x20
 
#define BW16   32
 
#define MODE_286   16
 
#define IO_XFER   8
 
#define FIXED_ADDR   4
 
#define DSP_REG   0x2C
 
#define DSPS_REG   0x30
 
#define NCR_700_MAX_OFFSET   8
 
#define NCR_710_MAX_OFFSET   8
 
#define NCR_700_MIN_XFERP   1
 
#define NCR_710_MIN_XFERP   0
 
#define NCR_700_MIN_PERIOD   25 /* for SDTR message, 100ns */
 
#define script_patch_32(dev, script, symbol, value)
 
#define script_patch_32_abs(dev, script, symbol, value)
 
#define script_patch_ID(dev, script, symbol, value)
 
#define script_patch_16(dev, script, symbol, value)
 

Enumerations

enum  NCR_700_Host_State { NCR_700_HOST_BUSY, NCR_700_HOST_FREE }
 
enum  NCR_700_tag_neg_state { NCR_700_START_TAG_NEGOTIATION = 0, NCR_700_DURING_TAG_NEGOTIATION = 1, NCR_700_FINISHED_TAG_NEGOTIATION = 2 }
 

Functions

struct Scsi_HostNCR_700_detect (struct scsi_host_template *, struct NCR_700_Host_Parameters *, struct device *)
 
int NCR_700_release (struct Scsi_Host *host)
 
irqreturn_t NCR_700_intr (int, void *)
 

Macro Definition Documentation

#define ABORT_INT   0x10

Definition at line 384 of file 53c700.h.

#define ABORT_OPERATION   0x80

Definition at line 366 of file 53c700.h.

#define ABORTED   0x10

Definition at line 320 of file 53c700.h.

#define ASSERT_EVEN_PARITY   0x04

Definition at line 289 of file 53c700.h.

#define ASSERT_RST   0x08

Definition at line 288 of file 53c700.h.

#define ASYNC_DIV_1_0   0x80

Definition at line 395 of file 53c700.h.

#define ASYNC_DIV_1_5   0x40

Definition at line 394 of file 53c700.h.

#define ASYNC_DIV_2_0   0x00

Definition at line 393 of file 53c700.h.

#define ASYNC_DIV_3_0   0xc0

Definition at line 396 of file 53c700.h.

#define ASYNC_OPERATION   0x00

Definition at line 302 of file 53c700.h.

#define AUTO_ATN   0x02

Definition at line 284 of file 53c700.h.

#define bEBus   0

Definition at line 272 of file 53c700.h.

#define bS_to_cpu (   x)    (bSWAP ? le32_to_cpu(x) : (x))

Definition at line 275 of file 53c700.h.

#define bS_to_host (   x)    (bSWAP ? cpu_to_le32(x) : (x))

Definition at line 276 of file 53c700.h.

#define BTB_TIMER_DISABLE   0x40

Definition at line 336 of file 53c700.h.

#define BURST_DISABLE   0x80 /* 710 only */

Definition at line 354 of file 53c700.h.

#define BURST_LENGTH_1   0x00

Definition at line 399 of file 53c700.h.

#define BURST_LENGTH_2   0x40

Definition at line 400 of file 53c700.h.

#define BURST_LENGTH_4   0x80

Definition at line 401 of file 53c700.h.

#define BURST_LENGTH_8   0xC0

Definition at line 402 of file 53c700.h.

#define BUS_FAULT   0x20

Definition at line 383 of file 53c700.h.

#define BW16   32

Definition at line 405 of file 53c700.h.

#define BYTE_LANE0   0x04

Definition at line 344 of file 53c700.h.

#define BYTE_LANE1   0x05

Definition at line 345 of file 53c700.h.

#define BYTE_LANE2   0x06

Definition at line 346 of file 53c700.h.

#define BYTE_LANE3   0x07

Definition at line 347 of file 53c700.h.

#define CDEBUG (   prefix,
  scmd,
  fmt,
  a... 
)    do {} while (0)

Definition at line 32 of file 53c700.h.

#define CLR_FIFO   0x40

Definition at line 364 of file 53c700.h.

#define CLR_FIFO_710   0x04

Definition at line 376 of file 53c700.h.

#define COMPAT_700_MODE   0x01

Definition at line 390 of file 53c700.h.

#define CONNECTED   0x08

Definition at line 370 of file 53c700.h.

#define CTEST0_REG   0x14

Definition at line 335 of file 53c700.h.

#define CTEST1_REG   0x15

Definition at line 337 of file 53c700.h.

#define CTEST2_REG   0x16

Definition at line 338 of file 53c700.h.

#define CTEST3_REG   0x17

Definition at line 339 of file 53c700.h.

#define CTEST4_REG   0x18

Definition at line 340 of file 53c700.h.

#define CTEST5_REG   0x19

Definition at line 350 of file 53c700.h.

#define CTEST6_REG   0x1A

Definition at line 360 of file 53c700.h.

#define CTEST7_REG   0x1B

Definition at line 353 of file 53c700.h.

#define CTEST7_TT1   0x02

Definition at line 358 of file 53c700.h.

#define CTEST8_REG   0x22

Definition at line 371 of file 53c700.h.

#define CTEST9_REG   0x23

Definition at line 378 of file 53c700.h.

#define DBC_REG   0x24

Definition at line 379 of file 53c700.h.

#define DCMD_REG   0x27

Definition at line 380 of file 53c700.h.

#define DCNTL_REG   0x3B

Definition at line 388 of file 53c700.h.

#define DDEBUG (   prefix,
  scmd,
  fmt,
  a... 
)    do {} while (0)

Definition at line 31 of file 53c700.h.

#define DEBUG (   x)    do {} while (0)

Definition at line 30 of file 53c700.h.

#define DFIFO_REG   0x20

Definition at line 362 of file 53c700.h.

#define DFP   0x08

Definition at line 356 of file 53c700.h.

#define DIEN_REG   0x39

Definition at line 382 of file 53c700.h.

#define DIFF   0x01

Definition at line 359 of file 53c700.h.

#define DISABLE_FIFO   0x00

Definition at line 341 of file 53c700.h.

#define DMA_DIRECTION   0x08

Definition at line 352 of file 53c700.h.

#define DMA_INT_PENDING   0x01

Definition at line 368 of file 53c700.h.

#define DMODE_700_REG   0x34

Definition at line 398 of file 53c700.h.

#define DMODE_710_REG   0x38

Definition at line 397 of file 53c700.h.

#define DMODE_FC1   0x10

Definition at line 403 of file 53c700.h.

#define DMODE_FC2   0x20

Definition at line 404 of file 53c700.h.

#define DNAD_REG   0x28

Definition at line 381 of file 53c700.h.

#define DSP_REG   0x2C

Definition at line 410 of file 53c700.h.

#define DSPS_REG   0x30

Definition at line 411 of file 53c700.h.

#define DSTAT_REG   0x0C

Definition at line 316 of file 53c700.h.

#define EA_710   0x20

Definition at line 392 of file 53c700.h.

#define ENABLE_ACTIVE_NEGATION   0x10

Definition at line 374 of file 53c700.h.

#define ENABLE_PARITY   0x04

Definition at line 283 of file 53c700.h.

#define ENABLE_SELECT   0x20

Definition at line 287 of file 53c700.h.

#define EVP   0x04

Definition at line 357 of file 53c700.h.

#define FIXED_ADDR   4

Definition at line 408 of file 53c700.h.

#define FLUSH_DMA_FIFO   0x80

Definition at line 363 of file 53c700.h.

#define FLUSH_DMA_FIFO_710   0x08

Definition at line 377 of file 53c700.h.

#define FULL_ARBITRATION   0xc0

Definition at line 281 of file 53c700.h.

#define FUNC_COMP_INT   0x40

Definition at line 293 of file 53c700.h.

#define FUNCTION_COMPLETE   0x40

Definition at line 328 of file 53c700.h.

#define GENERATE_RECEIVE_PARITY   0x20

Definition at line 375 of file 53c700.h.

#define GROSS_ERR_INT   0x08

Definition at line 296 of file 53c700.h.

#define ILGL_INST_DETECTED   0x01

Definition at line 317 of file 53c700.h.

#define ILGL_INST_INT   0x01

Definition at line 387 of file 53c700.h.

#define INT_INST_INT   0x04

Definition at line 385 of file 53c700.h.

#define IO_XFER   8

Definition at line 407 of file 53c700.h.

#define ISTAT_REG   0x21

Definition at line 365 of file 53c700.h.

#define LAST_DIS_ENBL   0x01

Definition at line 372 of file 53c700.h.

#define MASTER_CONTROL   0x10

Definition at line 351 of file 53c700.h.

#define MODE_286   16

Definition at line 406 of file 53c700.h.

#define MSG_ARRAY_SIZE   8

Definition at line 225 of file 53c700.h.

#define MSGIN_OFFSET   (MSGOUT_OFFSET + L1_CACHE_ALIGN(MSG_ARRAY_SIZE))

Definition at line 228 of file 53c700.h.

#define MSGOUT_OFFSET   (L1_CACHE_ALIGN(sizeof(SCRIPT)))

Definition at line 226 of file 53c700.h.

#define NCR_700_CMD_PER_LUN   2

Definition at line 50 of file 53c700.h.

#define NCR_700_COMMAND_SLOTS_PER_HOST   64

Definition at line 36 of file 53c700.h.

#define NCR_700_DEFAULT_TAGS   4

Definition at line 45 of file 53c700.h.

#define NCR_700_DEV_BEGIN_SYNC_NEGOTIATION   (1<<17)

Definition at line 103 of file 53c700.h.

#define NCR_700_DEV_NEGOTIATED_SYNC   (1<<16)

Definition at line 102 of file 53c700.h.

#define NCR_700_DEV_PRINT_SYNC_NEGOTIATION   (1<<19)

Definition at line 104 of file 53c700.h.

#define NCR_700_FLAG_AUTOSENSE   0x01

Definition at line 178 of file 53c700.h.

#define NCR_700_INTERNAL_SENSE_MAGIC   0x42

Definition at line 52 of file 53c700.h.

#define NCR_700_LUN_MASK   (NCR_700_MAX_LUNS - 1)

Definition at line 41 of file 53c700.h.

#define NCR_700_MAX_LUNS   32

Definition at line 40 of file 53c700.h.

#define NCR_700_MAX_OFFSET   8

Definition at line 415 of file 53c700.h.

#define NCR_700_MAX_TAGS   16

Definition at line 43 of file 53c700.h.

#define NCR_700_MIN_PERIOD   25 /* for SDTR message, 100ns */

Definition at line 421 of file 53c700.h.

#define NCR_700_MIN_XFERP   1

Definition at line 419 of file 53c700.h.

#define NCR_700_SG_SEGMENTS   32

Definition at line 38 of file 53c700.h.

#define NCR_700_SLOT_BUSY   (1|NCR_700_SLOT_MAGIC) /* slot has command active on HA */

Definition at line 175 of file 53c700.h.

#define NCR_700_SLOT_FREE   (0|NCR_700_SLOT_MAGIC) /* slot may be used */

Definition at line 174 of file 53c700.h.

#define NCR_700_SLOT_MAGIC   0xb8

Definition at line 173 of file 53c700.h.

#define NCR_700_SLOT_MASK   0xFC

Definition at line 172 of file 53c700.h.

#define NCR_700_SLOT_QUEUED   (2|NCR_700_SLOT_MAGIC) /* slot has command to be made active on HA */

Definition at line 176 of file 53c700.h.

#define NCR_710_MAX_OFFSET   8

Definition at line 418 of file 53c700.h.

#define NCR_710_MIN_XFERP   0

Definition at line 420 of file 53c700.h.

#define PAR_ERR_INT   0x01

Definition at line 299 of file 53c700.h.

#define PARITY   0x08

Definition at line 282 of file 53c700.h.

#define PARITY_ERROR   0x01

Definition at line 322 of file 53c700.h.

#define PHASE_MISMATCH   0x80

Definition at line 329 of file 53c700.h.

#define PHASE_MM_INT   0x80

Definition at line 292 of file 53c700.h.

#define RST_INT   0x02

Definition at line 298 of file 53c700.h.

#define SBCL_IO   0x01

Definition at line 310 of file 53c700.h.

#define SBCL_REG   0x0B

Definition at line 308 of file 53c700.h.

#define SBDL_REG   0x0A

Definition at line 307 of file 53c700.h.

#define SCID_REG   0x04

Definition at line 300 of file 53c700.h.

#define SCNTL0_REG   0x00

Definition at line 280 of file 53c700.h.

#define SCNTL1_REG   0x01

Definition at line 285 of file 53c700.h.

#define SCRIPT_INT_RECEIVED   0x04

Definition at line 319 of file 53c700.h.

#define SCRIPT_MOVE_DATA_IN   0x09000000

Definition at line 71 of file 53c700.h.

#define SCRIPT_MOVE_DATA_OUT   0x08000000

Definition at line 72 of file 53c700.h.

#define SCRIPT_NOP   0x80000000

Definition at line 75 of file 53c700.h.

#define script_patch_16 (   dev,
  script,
  symbol,
  value 
)
Value:
{ \
int i; \
for(i=0; i< (sizeof(A_##symbol##_used) / sizeof(__u32)); i++) { \
__u32 val = bS_to_cpu((script)[A_##symbol##_used[i]]); \
val &= 0xffff0000; \
val |= ((value) & 0xffff); \
(script)[A_##symbol##_used[i]] = bS_to_host(val); \
dma_cache_sync((dev), &(script)[A_##symbol##_used[i]], 4, DMA_TO_DEVICE); \
DEBUG((" script, patching short field %s at %d to 0x%x\n", \
#symbol, A_##symbol##_used[i], val)); \
} \
}

Definition at line 461 of file 53c700.h.

#define script_patch_32 (   dev,
  script,
  symbol,
  value 
)
Value:
{ \
int i; \
for(i=0; i< (sizeof(A_##symbol##_used) / sizeof(__u32)); i++) { \
__u32 val = bS_to_cpu((script)[A_##symbol##_used[i]]) + value; \
(script)[A_##symbol##_used[i]] = bS_to_host(val); \
dma_cache_sync((dev), &(script)[A_##symbol##_used[i]], 4, DMA_TO_DEVICE); \
DEBUG((" script, patching %s at %d to 0x%lx\n", \
#symbol, A_##symbol##_used[i], (value))); \
} \
}

Definition at line 423 of file 53c700.h.

#define script_patch_32_abs (   dev,
  script,
  symbol,
  value 
)
Value:
{ \
int i; \
for(i=0; i< (sizeof(A_##symbol##_used) / sizeof(__u32)); i++) { \
(script)[A_##symbol##_used[i]] = bS_to_host(value); \
dma_cache_sync((dev), &(script)[A_##symbol##_used[i]], 4, DMA_TO_DEVICE); \
DEBUG((" script, patching %s at %d to 0x%lx\n", \
#symbol, A_##symbol##_used[i], (value))); \
} \
}

Definition at line 435 of file 53c700.h.

#define script_patch_ID (   dev,
  script,
  symbol,
  value 
)
Value:
{ \
int i; \
for(i=0; i< (sizeof(A_##symbol##_used) / sizeof(__u32)); i++) { \
__u32 val = bS_to_cpu((script)[A_##symbol##_used[i]]); \
val &= 0xff00ffff; \
val |= ((value) & 0xff) << 16; \
(script)[A_##symbol##_used[i]] = bS_to_host(val); \
dma_cache_sync((dev), &(script)[A_##symbol##_used[i]], 4, DMA_TO_DEVICE); \
DEBUG((" script, patching ID field %s at %d to 0x%x\n", \
#symbol, A_##symbol##_used[i], val)); \
} \
}

Definition at line 447 of file 53c700.h.

#define SCRIPT_RETURN   0x90080000

Definition at line 76 of file 53c700.h.

#define SCRPTS_16BITS   0x20

Definition at line 391 of file 53c700.h.

#define SCSI_GROSS_ERROR   0x08

Definition at line 325 of file 53c700.h.

#define SCSI_INT_PENDING   0x02

Definition at line 369 of file 53c700.h.

#define SCSI_RESET_DETECTED   0x02

Definition at line 323 of file 53c700.h.

#define SCSI_ZMODE   0x20

Definition at line 348 of file 53c700.h.

#define SDID_REG   0x02

Definition at line 290 of file 53c700.h.

#define SEL_TIMEOUT_DISABLE   0x10 /* 710 only */

Definition at line 355 of file 53c700.h.

#define SEL_TIMEOUT_INT   0x20

Definition at line 294 of file 53c700.h.

#define SELECT_INT   0x10

Definition at line 295 of file 53c700.h.

#define SELECTED   0x10

Definition at line 326 of file 53c700.h.

#define SELECTION_TIMEOUT   0x20

Definition at line 327 of file 53c700.h.

#define SFBR_REG   0x08

Definition at line 305 of file 53c700.h.

#define SFWR   0x08

Definition at line 343 of file 53c700.h.

#define SHORTEN_FILTERING   0x04

Definition at line 373 of file 53c700.h.

#define SIDL_REG   0x09

Definition at line 306 of file 53c700.h.

#define SIDL_REG_FULL   0x80

Definition at line 331 of file 53c700.h.

#define SIEN_REG   0x03

Definition at line 291 of file 53c700.h.

#define SLBE   0x10

Definition at line 342 of file 53c700.h.

#define SLOTS_OFFSET   (STATUS_OFFSET + L1_CACHE_ALIGN(MSG_ARRAY_SIZE))

Definition at line 232 of file 53c700.h.

#define SLOW_BUS   0x80

Definition at line 286 of file 53c700.h.

#define SOCL_REG   0x07

Definition at line 304 of file 53c700.h.

#define SODL_REG   0x06

Definition at line 303 of file 53c700.h.

#define SODL_REG_FULL   0x20

Definition at line 333 of file 53c700.h.

#define SODR_REG_FULL   0x40

Definition at line 332 of file 53c700.h.

#define SOFTWARE_RESET   0x01

Definition at line 389 of file 53c700.h.

#define SOFTWARE_RESET_710   0x40

Definition at line 367 of file 53c700.h.

#define SSTAT0_REG   0x0D

Definition at line 321 of file 53c700.h.

#define SSTAT1_REG   0x0E

Definition at line 330 of file 53c700.h.

#define SSTAT2_REG   0x0F

Definition at line 334 of file 53c700.h.

#define STATUS_OFFSET   (MSGIN_OFFSET + L1_CACHE_ALIGN(MSG_ARRAY_SIZE))

Definition at line 230 of file 53c700.h.

#define SXFER_REG   0x05

Definition at line 301 of file 53c700.h.

#define SYNC_DIV_1_0   0x01

Definition at line 313 of file 53c700.h.

#define SYNC_DIV_1_5   0x02

Definition at line 314 of file 53c700.h.

#define SYNC_DIV_2_0   0x03

Definition at line 315 of file 53c700.h.

#define SYNC_DIV_AS_ASYNC   0x00

Definition at line 312 of file 53c700.h.

#define TEMP_REG   0x1C

Definition at line 361 of file 53c700.h.

Definition at line 234 of file 53c700.h.

#define UNEXPECTED_DISCONNECT   0x04

Definition at line 324 of file 53c700.h.

#define UX_DISC_INT   0x04

Definition at line 297 of file 53c700.h.

#define WATCH_DOG_INTERRUPT   0x02

Definition at line 318 of file 53c700.h.

#define WD_INT   0x02

Definition at line 386 of file 53c700.h.

#define ZMODE   0x40

Definition at line 349 of file 53c700.h.

Enumeration Type Documentation

Enumerator:
NCR_700_HOST_BUSY 
NCR_700_HOST_FREE 

Definition at line 63 of file 53c700.h.

Enumerator:
NCR_700_START_TAG_NEGOTIATION 
NCR_700_DURING_TAG_NEGOTIATION 
NCR_700_FINISHED_TAG_NEGOTIATION 

Definition at line 148 of file 53c700.h.

Function Documentation

Definition at line 287 of file 53c700.c.

irqreturn_t NCR_700_intr ( int  ,
void  
)

Definition at line 1480 of file 53c700.c.

int NCR_700_release ( struct Scsi_Host host)

Definition at line 410 of file 53c700.c.