Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/blkdev.h>
#include <linux/spinlock.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/ioport.h>
#include <linux/proc_fs.h>
#include <linux/pci.h>
#include <linux/stat.h>
#include <linux/delay.h>
#include <linux/io.h>
#include <linux/slab.h>
#include <scsi/scsicam.h>
#include <scsi/scsi.h>
#include <scsi/scsi_cmnd.h>
#include <scsi/scsi_device.h>
#include <scsi/scsi_host.h>
#include <scsi/scsi_ioctl.h>
#include "fdomain.h"
#include "scsi_module.c"
Go to the source code of this file.
Data Structures | |
struct | signature |
Macros | |
#define | VERSION "$Revision: 5.51 $" |
#define | DEBUG 0 /* Enable debugging output */ |
#define | ENABLE_PARITY 1 /* Enable SCSI Parity */ |
#define | FIFO_COUNT 2 /* Number of 512 byte blocks before INTR */ |
#define | EVERY_ACCESS 0 /* LEAVE THESE ALONE--CHANGE THE ONES ABOVE */ |
#define | ERRORS_ONLY 0 |
#define | DEBUG_DETECT 0 |
#define | DEBUG_MESSAGES 0 |
#define | DEBUG_ABORT 0 |
#define | DEBUG_RESET 0 |
#define | DEBUG_RACE 0 |
#define | PARITY_MASK 0x08 |
#define | ADDRESS_COUNT ARRAY_SIZE(addresses) |
#define | PORT_COUNT ARRAY_SIZE(ports) |
#define | SIGNATURE_COUNT ARRAY_SIZE(signatures) |
#define | driver_template fdomain_driver_template |
Enumerations | |
enum | chip_type { chip_504x, chip_508x, chip_5080, chip_604x, chip_608x, chip_6042, chip_7042, chip_soc, RTL8002, RTL8012, CHIP_TYPE_VT6110 = 1, unknown = 0x00, tmc1800 = 0x01, tmc18c50 = 0x02, tmc18c30 = 0x03 } |
enum | { in_arbitration = 0x02, in_selection = 0x04, in_other = 0x08, disconnect = 0x10, aborted = 0x20, sent_ident = 0x40 } |
enum | in_port_type { Read_SCSI_Data = 0, SCSI_Status = 1, TMC_Status = 2, FIFO_Status = 3, Interrupt_Cond = 4, LSB_ID_Code = 5, MSB_ID_Code = 6, Read_Loopback = 7, SCSI_Data_NoACK = 8, Interrupt_Status = 9, Configuration1 = 10, Configuration2 = 11, Read_FIFO = 12, FIFO_Data_Count = 14 } |
enum | out_port_type { Write_SCSI_Data = 0, SCSI_Cntl = 1, Interrupt_Cntl = 2, SCSI_Mode_Cntl = 3, TMC_Cntl = 4, Memory_Cntl = 5, Write_Loopback = 7, IO_Control = 11, Write_FIFO = 12 } |
Functions | |
MODULE_AUTHOR ("Rickard E. Faith") | |
MODULE_DESCRIPTION ("Future domain SCSI driver") | |
MODULE_LICENSE ("GPL") | |
module_param (fdomain, charp, 0) | |
int | fdomain_setup (char *str) |
__setup ("fdomain=", fdomain_setup) | |
struct Scsi_Host * | __fdomain_16x0_detect (struct scsi_host_template *tpnt) |
int | fdomain_16x0_bus_reset (struct scsi_cmnd *SCpnt) |
Variables | |
struct scsi_host_template | fdomain_driver_template |
#define ADDRESS_COUNT ARRAY_SIZE(addresses) |
static struct scsi_host_template driver_template fdomain_driver_template |
#define PORT_COUNT ARRAY_SIZE(ports) |
#define SIGNATURE_COUNT ARRAY_SIZE(signatures) |
anonymous enum |
enum chip_type |
enum in_port_type |
enum out_port_type |
|
read |
__setup | ( | ) |
MODULE_AUTHOR | ( | "Rickard E. Faith" | ) |
MODULE_LICENSE | ( | "GPL" | ) |
module_param | ( | fdomain | , |
charp | , | ||
0 | |||
) |
struct scsi_host_template fdomain_driver_template |