#include <linux/kernel.h>
#include <linux/pci.h>
#include <linux/mutex.h>
#include "lsi/mpi_type.h"
#include "lsi/mpi.h"
#include "lsi/mpi_ioc.h"
#include "lsi/mpi_cnfg.h"
#include "lsi/mpi_init.h"
#include "lsi/mpi_lan.h"
#include "lsi/mpi_raid.h"
#include "lsi/mpi_fc.h"
#include "lsi/mpi_targ.h"
#include "lsi/mpi_tool.h"
#include "lsi/mpi_sas.h"
Go to the source code of this file.
#define CAST_PTR_TO_U32 |
( |
|
x | ) |
((u32)x) |
#define CAST_U32_TO_PTR |
( |
|
x | ) |
((void *)x) |
#define COPYRIGHT "Copyright (c) 1999-2008 " MODULEAUTHOR |
#define EVENT_DESCR_STR_SZ 100 |
#define MODULEAUTHOR "LSI Corporation" |
#define MPT_COALESCING_TIMEOUT 0x10 |
#define MPT_DEFAULT_FRAME_SIZE 128 |
#define MPT_DEFAULT_REPLY_DEPTH 128 |
#define MPT_DEFAULT_REQ_DEPTH 256 |
#define MPT_FC_CAN_QUEUE 1024 |
#define MPT_FW_REV_MAGIC_ID_STRING "FwRev=" |
#define MPT_KOBJ_NAME_LEN 20 |
#define MPT_LINUX_PACKAGE_NAME "@(#)mptlinux-3.04.20" |
#define MPT_LINUX_VERSION_COMMON "3.04.20" |
#define MPT_MAX_ADAPTERS 18 |
#define MPT_MAX_BUS 1 /* Do not change */ |
#define MPT_MAX_CALLBACKNAME_LEN 49 |
#define MPT_MAX_FC_DEVICES 255 |
#define MPT_MAX_FRAME_SIZE 128 |
#define MPT_MAX_PROTOCOL_DRIVERS 16 |
#define MPT_MAX_REPLIES_PER_ISR 32 |
#define MPT_MAX_REQ_DEPTH 1023 |
#define MPT_MAX_SCSI_DEVICES 16 |
#define MPT_MIN_REPLY_DEPTH 8 |
#define MPT_MIN_REQ_DEPTH 128 |
#define MPT_NAME_LENGTH 32 |
#define MPT_POLLING_INTERVAL 1000 /* in milliseconds */ |
#define MPT_PROCFS_MPTBASEDIR "mpt" |
#define MPT_PROCFS_SUMMARY_ALL_PATHNAME "/proc/" MPT_PROCFS_SUMMARY_ALL_NODE |
#define MPT_PROTOCOL_FLAGS_c_c_c_c |
( |
|
pflags | ) |
|
#define MPT_REPLY_FRAME_SIZE 0x50 /* Must be a multiple of 8 */ |
#define MPT_SAS_CAN_QUEUE 127 |
#define MPT_SCSI_CAN_QUEUE 127 |
#define MPT_SCSI_FC_SG_DEPTH 40 |
#define MPT_SCSI_SG_DEPTH 40 |
#define MPT_SENSE_BUFFER_ALLOC 64 |
#define MPT_SG_REQ_128_SCALE 1 |
#define MPT_SG_REQ_64_SCALE 4 |
#define MPT_SG_REQ_96_SCALE 2 |
#define MPT_SGE_FLAGS_CHAIN_ELEMENT (0x30000000) |
#define MPT_SGE_FLAGS_DIRECTION (0x04000000) |
#define MPT_SGE_FLAGS_ELEMENT_MASK (0x30000000) |
#define MPT_SGE_FLAGS_END_OF_BUFFER (0x40000000) |
#define MPT_SGE_FLAGS_END_OF_LIST (0x01000000) |
#define MPT_SGE_FLAGS_LAST_ELEMENT (0x80000000) |
#define MPT_SGE_FLAGS_LOCAL_ADDRESS (0x08000000) |
#define MPT_SGE_FLAGS_SIMPLE_ELEMENT (0x10000000) |
#define MPT_SGE_FLAGS_SSIMPLE_READ |
Value:
MPT_SGE_FLAGS_END_OF_BUFFER | \
MPT_SGE_FLAGS_END_OF_LIST | \
MPT_SGE_FLAGS_SIMPLE_ELEMENT | \
MPT_TRANSFER_IOC_TO_HOST)
Definition at line 993 of file mptbase.h.
#define MPT_SGE_FLAGS_SSIMPLE_WRITE |
Value:
MPT_SGE_FLAGS_END_OF_BUFFER | \
MPT_SGE_FLAGS_END_OF_LIST | \
MPT_SGE_FLAGS_SIMPLE_ELEMENT | \
MPT_TRANSFER_HOST_TO_IOC)
Definition at line 999 of file mptbase.h.
#define MPT_SGE_FLAGS_TRANSACTION_ELEMENT (0x00000000) |
#define MPT_TRANSFER_HOST_TO_IOC (0x04000000) |
#define MPT_TRANSFER_IOC_TO_HOST (0x00000000) |
#define MPT_ULTRA160 0x09 |
#define MPT_ULTRA320 0x08 |
#define WHAT_MAGIC_STRING "@" "(" "#" ")" |