Linux Kernel
3.7.1
|
#include <linux/types.h>
Go to the source code of this file.
Data Structures | |
struct | mailbox |
struct | chain |
struct | ccb |
Macros | |
#define | STATUS(base) base |
#define | STST 0x80 /* Self Test in Progress */ |
#define | DIAGF 0x40 /* Internal Diagnostic Failure */ |
#define | INIT 0x20 /* Mailbox Initialization Required */ |
#define | IDLE 0x10 /* SCSI Host Adapter Idle */ |
#define | CDF 0x08 /* Command/Data Out Port Full */ |
#define | DF 0x04 /* Data In Port Full */ |
#define | INVDCMD 0x01 /* Invalid H A Command */ |
#define | STATMASK 0xfd /* 0x02 is reserved */ |
#define | INTRFLAGS(base) (STATUS(base)+2) |
#define | ANYINTR 0x80 /* Any Interrupt */ |
#define | SCRD 0x08 /* SCSI Reset Detected */ |
#define | HACC 0x04 /* HA Command Complete */ |
#define | MBOA 0x02 /* MBO Empty */ |
#define | MBIF 0x01 /* MBI Full */ |
#define | INTRMASK 0x8f |
#define | CONTROL(base) STATUS(base) |
#define | HRST 0x80 /* Hard Reset */ |
#define | SRST 0x40 /* Soft Reset */ |
#define | IRST 0x20 /* Interrupt Reset */ |
#define | SCRST 0x10 /* SCSI Bus Reset */ |
#define | DATA(base) (STATUS(base)+1) |
#define | CMD_NOP 0x00 /* No Operation */ |
#define | CMD_MBINIT 0x01 /* Mailbox Initialization */ |
#define | CMD_START_SCSI 0x02 /* Start SCSI Command */ |
#define | CMD_INQUIRY 0x04 /* Adapter Inquiry */ |
#define | CMD_EMBOI 0x05 /* Enable MailBox Out Interrupt */ |
#define | CMD_BUSON_TIME 0x07 /* Set Bus-On Time */ |
#define | CMD_BUSOFF_TIME 0x08 /* Set Bus-Off Time */ |
#define | CMD_DMASPEED 0x09 /* Set AT Bus Transfer Speed */ |
#define | CMD_RETDEVS 0x0a /* Return Installed Devices */ |
#define | CMD_RETCONF 0x0b /* Return Configuration Data */ |
#define | CMD_RETSETUP 0x0d /* Return Setup Data */ |
#define | CMD_ECHO 0x1f /* ECHO Command Data */ |
#define | CMD_EXTBIOS 0x28 /* Return extend bios information only 1542C */ |
#define | CMD_MBENABLE 0x29 /* Set Mailbox Interface enable only 1542C */ |
#define | scsi2int(up) ( (((long)*(up)) << 16) + (((long)(up)[1]) << 8) + ((long)(up)[2]) ) |
#define | xany2scsi(up, p) |
#define | xscsi2int(up) |
#define | MAX_CDB 12 |
#define | MAX_SENSE 14 |
#define | AHA1542_MAILBOXES 8 |
#define | AHA1542_SCATTER 16 |
#define | AHA1542_CMDLUN 1 |
#define CMD_EXTBIOS 0x28 /* Return extend bios information only 1542C */ |
#define CMD_MBENABLE 0x29 /* Set Mailbox Interface enable only 1542C */ |