Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | qlogicfas408_priv |
Macros | |
#define | QL_TURBO_PDMA 1 |
#define | QL_ENABLE_PARITY 1 |
#define | QL_RESET_AT_START 0 |
#define | XTALFREQ 40 |
#define | SLOWCABLE 1 |
#define | FASTSCSI 0 |
#define | FASTCLK 0 /*(XTALFREQ>25?1:0)*/ |
#define | SYNCXFRPD 5 /*(XTALFREQ/5)*/ |
#define | SYNCOFFST 0 |
#define | REG0 ( outb( inb( qbase + 0xd ) & 0x7f , qbase + 0xd ), outb( 4 , qbase + 0xd )) |
#define | REG1 ( outb( inb( qbase + 0xd ) | 0x80 , qbase + 0xd ), outb( 0xb4 | int_type, qbase + 0xd )) |
#define | WATCHDOG 5000000 |
#define | rtrc(i) {} |
#define | get_priv_by_cmd(x) (struct qlogicfas408_priv *)&((x)->device->host->hostdata[0]) |
#define | get_priv_by_host(x) (struct qlogicfas408_priv *)&((x)->hostdata[0]) |
Functions | |
irqreturn_t | qlogicfas408_ihandl (int irq, void *dev_id) |
int | qlogicfas408_queuecommand (struct Scsi_Host *h, struct scsi_cmnd *cmd) |
int | qlogicfas408_biosparam (struct scsi_device *disk, struct block_device *dev, sector_t capacity, int ip[]) |
int | qlogicfas408_abort (struct scsi_cmnd *cmd) |
int | qlogicfas408_bus_reset (struct scsi_cmnd *cmd) |
const char * | qlogicfas408_info (struct Scsi_Host *host) |
int | qlogicfas408_get_chip_type (int qbase, int int_type) |
void | qlogicfas408_setup (int qbase, int id, int int_type) |
int | qlogicfas408_detect (int qbase, int int_type) |
void | qlogicfas408_disable_ints (struct qlogicfas408_priv *priv) |
#define FASTCLK 0 /*(XTALFREQ>25?1:0)*/ |
Definition at line 53 of file qlogicfas408.h.
#define FASTSCSI 0 |
Definition at line 50 of file qlogicfas408.h.
Definition at line 102 of file qlogicfas408.h.
#define get_priv_by_host | ( | x | ) | (struct qlogicfas408_priv *)&((x)->hostdata[0]) |
Definition at line 103 of file qlogicfas408.h.
#define QL_ENABLE_PARITY 1 |
Definition at line 15 of file qlogicfas408.h.
#define QL_RESET_AT_START 0 |
Definition at line 24 of file qlogicfas408.h.
#define QL_TURBO_PDMA 1 |
Definition at line 11 of file qlogicfas408.h.
Definition at line 90 of file qlogicfas408.h.
#define REG1 ( outb( inb( qbase + 0xd ) | 0x80 , qbase + 0xd ), outb( 0xb4 | int_type, qbase + 0xd )) |
Definition at line 91 of file qlogicfas408.h.
#define rtrc | ( | i | ) | {} |
Definition at line 100 of file qlogicfas408.h.
#define SLOWCABLE 1 |
Definition at line 44 of file qlogicfas408.h.
#define SYNCOFFST 0 |
Definition at line 69 of file qlogicfas408.h.
#define SYNCXFRPD 5 /*(XTALFREQ/5)*/ |
Definition at line 60 of file qlogicfas408.h.
#define WATCHDOG 5000000 |
Definition at line 94 of file qlogicfas408.h.
#define XTALFREQ 40 |
Definition at line 30 of file qlogicfas408.h.
Definition at line 491 of file qlogicfas408.c.
int qlogicfas408_biosparam | ( | struct scsi_device * | disk, |
struct block_device * | dev, | ||
sector_t | capacity, | ||
int | ip[] | ||
) |
Definition at line 468 of file qlogicfas408.c.
Definition at line 505 of file qlogicfas408.c.
Definition at line 567 of file qlogicfas408.c.
void qlogicfas408_disable_ints | ( | struct qlogicfas408_priv * | priv | ) |
Definition at line 578 of file qlogicfas408.c.
Definition at line 533 of file qlogicfas408.c.
irqreturn_t qlogicfas408_ihandl | ( | int | irq, |
void * | dev_id | ||
) |
Definition at line 427 of file qlogicfas408.c.
Definition at line 523 of file qlogicfas408.c.