|
Linux Kernel
3.7.1
|
#include <linux/string.h>#include <linux/kernel.h>#include <linux/ioport.h>#include <linux/delay.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/dma-mapping.h>#include <linux/slab.h>#include <asm/byteorder.h>#include <asm/dma.h>#include <asm/io.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 | eata_info |
| struct | eata_config |
| struct | mssp |
| struct | sg_list |
| struct | mscp |
| struct | hostdata |
Macros | |
| #define | ISA 0 |
| #define | ESA 1 |
| #define | MAX_ISA 4 |
| #define | MAX_VESA 0 |
| #define | MAX_EISA 15 |
| #define | MAX_PCI 16 |
| #define | MAX_BOARDS (MAX_ISA + MAX_VESA + MAX_EISA + MAX_PCI) |
| #define | MAX_CHANNEL 4 |
| #define | MAX_LUN 32 |
| #define | MAX_TARGET 32 |
| #define | MAX_MAILBOXES 64 |
| #define | MAX_SGLIST 64 |
| #define | MAX_LARGE_SGLIST 122 |
| #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 | 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_CMD 7 |
| #define | REG_STATUS 7 |
| #define | REG_AUX_STATUS 8 |
| #define | REG_DATA 0 |
| #define | REG_DATA2 1 |
| #define | REG_SEE 6 |
| #define | REG_LOW 2 |
| #define | REG_LM 3 |
| #define | REG_MID 4 |
| #define | REG_MSB 5 |
| #define | REGION_SIZE 9UL |
| #define | MAX_ISA_ADDR 0x03ff |
| #define | MIN_EISA_ADDR 0x1c88 |
| #define | MAX_EISA_ADDR 0xfc88 |
| #define | BSY_ASSERTED 0x80 |
| #define | DRQ_ASSERTED 0x08 |
| #define | ABSY_ASSERTED 0x01 |
| #define | IRQ_ASSERTED 0x02 |
| #define | READ_CONFIG_PIO 0xf0 |
| #define | SET_CONFIG_PIO 0xf1 |
| #define | SEND_CP_PIO 0xf2 |
| #define | RECEIVE_SP_PIO 0xf3 |
| #define | TRUNCATE_XFR_PIO 0xf4 |
| #define | RESET_PIO 0xf9 |
| #define | READ_CONFIG_DMA 0xfd |
| #define | SET_CONFIG_DMA 0xfe |
| #define | SEND_CP_DMA 0xff |
| #define | ASOK 0x00 |
| #define | ASST 0x01 |
| #define | YESNO(a) ((a) ? 'y' : 'n') |
| #define | TLDEV(type) ((type) == TYPE_DISK || (type) == TYPE_ROM) |
| #define | EATA_SIG_BE 0x45415441 |
| #define | EATA_2_0A_SIZE 28 |
| #define | EATA_2_0B_SIZE 30 |
| #define | EATA_2_0C_SIZE 34 |
| #define | CP_TAIL_SIZE (sizeof(struct sglist *) + sizeof(dma_addr_t)) |
| #define | H2DEV(x) cpu_to_be32(x) |
| #define | DEV2H(x) be32_to_cpu(x) |
| #define | H2DEV16(x) cpu_to_be16(x) |
| #define | DEV2H16(x) be16_to_cpu(x) |
| #define | REG2H(x) le16_to_cpu(x) |
| #define | MAX_INT_PARAM 10 |
| #define | MAX_BOOT_OPTIONS_SIZE 256 |
Functions | |
| __setup ("eata=", option_setup) | |
| #define CP_TAIL_SIZE (sizeof(struct sglist *) + sizeof(dma_addr_t)) |
| #define DEV2H | ( | x | ) | be32_to_cpu(x) |
| #define DEV2H16 | ( | x | ) | be16_to_cpu(x) |
| #define H2DEV | ( | x | ) | cpu_to_be32(x) |
| #define H2DEV16 | ( | x | ) | cpu_to_be16(x) |
| #define MAX_TAGGED_CMD_PER_LUN (MAX_MAILBOXES - MAX_CMD_PER_LUN) |
| #define REG2H | ( | x | ) | le16_to_cpu(x) |
| __setup | ( | ) |
1.8.2