Linux Kernel
3.7.1
|
#include <linux/string.h>
#include <linux/kernel.h>
#include <linux/ioport.h>
#include <linux/delay.h>
#include <asm/io.h>
#include <asm/byteorder.h>
#include <linux/proc_fs.h>
#include <linux/blkdev.h>
#include <linux/interrupt.h>
#include <linux/stat.h>
#include <linux/pci.h>
#include <linux/init.h>
#include <linux/ctype.h>
#include <linux/spinlock.h>
#include <linux/slab.h>
#include <asm/dma.h>
#include <asm/irq.h>
#include <scsi/scsi.h>
#include <scsi/scsi_cmnd.h>
#include <scsi/scsi_device.h>
#include <scsi/scsi_host.h>
#include <scsi/scsi_tcq.h>
#include <scsi/scsicam.h>
#include "scsi_module.c"
Go to the source code of this file.
Data Structures | |
struct | sg_list |
struct | mscp |
struct | hostdata |
Macros | |
#define | PRODUCT_ID1 0x56 |
#define | PRODUCT_ID2 0x40 /* NOTE: Only upper nibble is used */ |
#define | ISA 0 |
#define | ESA 1 |
#define | OP_HOST_ADAPTER 0x1 |
#define | OP_SCSI 0x2 |
#define | OP_RESET 0x4 |
#define | DTD_SCSI 0x0 |
#define | DTD_IN 0x1 |
#define | DTD_OUT 0x2 |
#define | DTD_NONE 0x3 |
#define | HA_CMD_INQUIRY 0x1 |
#define | HA_CMD_SELF_DIAG 0x2 |
#define | HA_CMD_READ_BUFF 0x3 |
#define | HA_CMD_WRITE_BUFF 0x4 |
#define | MAX_ISA 3 |
#define | MAX_VESA 1 |
#define | MAX_EISA 0 |
#define | MAX_PCI 0 |
#define | MAX_BOARDS (MAX_ISA + MAX_VESA + MAX_EISA + MAX_PCI) |
#define | MAX_CHANNEL 1 |
#define | MAX_LUN 8 |
#define | MAX_TARGET 8 |
#define | MAX_MAILBOXES 16 |
#define | MAX_SGLIST 32 |
#define | MAX_SAFE_SGLIST 16 |
#define | MAX_INTERNAL_RETRIES 64 |
#define | MAX_CMD_PER_LUN 2 |
#define | MAX_TAGGED_CMD_PER_LUN (MAX_MAILBOXES - MAX_CMD_PER_LUN) |
#define | SKIP ULONG_MAX |
#define | FALSE 0 |
#define | TRUE 1 |
#define | FREE 0 |
#define | IN_USE 1 |
#define | LOCKED 2 |
#define | IN_RESET 3 |
#define | IGNORE 4 |
#define | READY 5 |
#define | ABORTING 6 |
#define | NO_DMA 0xff |
#define | MAXLOOP 10000 |
#define | TAG_DISABLED 0 |
#define | TAG_SIMPLE 1 |
#define | TAG_ORDERED 2 |
#define | REG_LCL_MASK 0 |
#define | REG_LCL_INTR 1 |
#define | REG_SYS_MASK 2 |
#define | REG_SYS_INTR 3 |
#define | REG_PRODUCT_ID1 4 |
#define | REG_PRODUCT_ID2 5 |
#define | REG_CONFIG1 6 |
#define | REG_CONFIG2 7 |
#define | REG_OGM 8 |
#define | REG_ICM 12 |
#define | REGION_SIZE 13UL |
#define | BSY_ASSERTED 0x01 |
#define | IRQ_ASSERTED 0x01 |
#define | CMD_RESET 0xc0 |
#define | CMD_OGM_INTR 0x01 |
#define | CMD_CLR_INTR 0x01 |
#define | CMD_ENA_INTR 0x81 |
#define | ASOK 0x00 |
#define | ASST 0x91 |
#define | YESNO(a) ((a) ? 'y' : 'n') |
#define | TLDEV(type) ((type) == TYPE_DISK || (type) == TYPE_ROM) |
#define | PACKED __attribute__((packed)) |
#define | CP_TAIL_SIZE (sizeof(struct sglist *) + sizeof(dma_addr_t)) |
#define | HD(board) ((struct hostdata *) &sh[board]->hostdata) |
#define | BN(board) (HD(board)->board_name) |
#define | H2DEV(x) cpu_to_le32(x) |
#define | DEV2H(x) le32_to_cpu(x) |
#define | MAX_INT_PARAM 10 |
#define | MAX_BOOT_OPTIONS_SIZE 256 |
Functions | |
__setup ("u14-34f=", option_setup) | |
#define CP_TAIL_SIZE (sizeof(struct sglist *) + sizeof(dma_addr_t)) |
#define DEV2H | ( | x | ) | le32_to_cpu(x) |
#define H2DEV | ( | x | ) | cpu_to_le32(x) |
#define MAX_TAGGED_CMD_PER_LUN (MAX_MAILBOXES - MAX_CMD_PER_LUN) |
#define PACKED __attribute__((packed)) |
#define PRODUCT_ID2 0x40 /* NOTE: Only upper nibble is used */ |
__setup | ( | ) |