Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs
ips.h File Reference
#include <linux/nmi.h>
#include <asm/uaccess.h>
#include <asm/io.h>

Go to the source code of this file.

Data Structures

struct  IPS_IO_CMD
 
struct  IPS_LD_CMD
 
struct  IPS_IOCTL_CMD
 
struct  IPS_RESET_CMD
 
struct  IPS_DCDB_CMD
 
struct  IPS_CS_CMD
 
struct  IPS_US_CMD
 
struct  IPS_FC_CMD
 
struct  IPS_STATUS_CMD
 
struct  IPS_NVRAM_CMD
 
struct  IPS_VERSION_INFO
 
struct  IPS_FFDC_CMD
 
struct  IPS_FLASHFW_CMD
 
struct  IPS_FLASHBIOS_CMD
 
union  IPS_HOST_COMMAND
 
struct  IPS_DRIVE_INFO
 
struct  IPS_LD_INFO
 
struct  IPS_DCDB_TABLE
 
struct  IPS_DCDB_TABLE_TAPE
 
union  IPS_STATUS
 
struct  IPS_ADAPTER
 
struct  IPS_ENQ
 
struct  IPS_DEVSTATE
 
struct  IPS_CHUNK
 
struct  IPS_LD
 
struct  IPS_HARDWARE
 
struct  IPS_CONF
 
struct  IPS_NVRAM_P5
 
struct  IPS_VERSION_DATA
 
struct  _IPS_SUBSYS
 
struct  IPS_SCSI_INQ_DATA
 
struct  IPS_SCSI_CAPACITY
 
struct  IPS_SCSI_REQSEN
 
struct  IPS_SCSI_MODE_PAGE3
 
struct  IPS_SCSI_MODE_PAGE4
 
struct  IPS_SCSI_MODE_PAGE8
 
struct  IPS_SCSI_MODE_PAGE_BLKDESC
 
struct  IPS_SCSI_MODE_PAGE_HEADER
 
struct  IPS_SCSI_MODE_PAGE_DATA
 
struct  ips_sglist
 
struct  ips_enh_sglist
 
union  IPS_SG_LIST
 
struct  _IPS_INFOSTR
 
struct  IPS_OPTION
 
struct  ips_stat
 
struct  ips_scb_queue
 
struct  ips_wait_queue
 
struct  ips_copp_wait_item
 
struct  ips_copp_queue
 
struct  ips_hw_func_t
 
struct  ips_ha
 
struct  ips_scb
 
struct  ips_scb_pt
 
struct  ips_passthru_t
 

Macros

#define IPS_HA(x)   ((ips_ha_t *) x->hostdata)
 
#define IPS_COMMAND_ID(ha, scb)   (int) (scb - ha->scbs)
 
#define IPS_IS_TROMBONE(ha)
 
#define IPS_IS_CLARINET(ha)
 
#define IPS_IS_MORPHEUS(ha)   (ha->pcidev->device == IPS_DEVICEID_MORPHEUS)
 
#define IPS_IS_MARCO(ha)   (ha->pcidev->device == IPS_DEVICEID_MARCO)
 
#define IPS_USE_I2O_DELIVER(ha)
 
#define IPS_USE_MEMIO(ha)
 
#define IPS_HAS_ENH_SGLIST(ha)   (IPS_IS_MORPHEUS(ha) || IPS_IS_MARCO(ha))
 
#define IPS_USE_ENH_SGLIST(ha)   ((ha)->flags & IPS_HA_ENH_SG)
 
#define IPS_SGLIST_SIZE(ha)
 
#define IPS_PRINTK(level, pcidev, format, arg...)   dev_printk(level , &((pcidev)->dev) , format , ## arg)
 
#define MDELAY(n)
 
#define min(x, y)   ((x) < (y) ? x : y)
 
#define __iomem
 
#define pci_dma_hi32(a)   ((a >> 16) >> 16)
 
#define pci_dma_lo32(a)   (a & 0xffffffff)
 
#define IPS_ENABLE_DMA64   (0)
 
#define IPS_REG_HISR   0x08 /* Host Interrupt Status Reg */
 
#define IPS_REG_CCSAR   0x10 /* Cmd Channel System Addr Reg */
 
#define IPS_REG_CCCR   0x14 /* Cmd Channel Control Reg */
 
#define IPS_REG_SQHR   0x20 /* Status Q Head Reg */
 
#define IPS_REG_SQTR   0x24 /* Status Q Tail Reg */
 
#define IPS_REG_SQER   0x28 /* Status Q End Reg */
 
#define IPS_REG_SQSR   0x2C /* Status Q Start Reg */
 
#define IPS_REG_SCPR   0x05 /* Subsystem control port reg */
 
#define IPS_REG_ISPR   0x06 /* interrupt status port reg */
 
#define IPS_REG_CBSP   0x07 /* CBSP register */
 
#define IPS_REG_FLAP   0x18 /* Flash address port */
 
#define IPS_REG_FLDP   0x1C /* Flash data port */
 
#define IPS_REG_NDAE   0x38 /* Anaconda 64 NDAE Register */
 
#define IPS_REG_I2O_INMSGQ   0x40 /* I2O Inbound Message Queue */
 
#define IPS_REG_I2O_OUTMSGQ   0x44 /* I2O Outbound Message Queue */
 
#define IPS_REG_I2O_HIR   0x30 /* I2O Interrupt Status */
 
#define IPS_REG_I960_IDR   0x20 /* i960 Inbound Doorbell */
 
#define IPS_REG_I960_MSG0   0x18 /* i960 Outbound Reg 0 */
 
#define IPS_REG_I960_MSG1   0x1C /* i960 Outbound Reg 1 */
 
#define IPS_REG_I960_OIMR   0x34 /* i960 Oubound Int Mask Reg */
 
#define IPS_BIT_GHI   0x04 /* HISR General Host Interrupt */
 
#define IPS_BIT_SQO   0x02 /* HISR Status Q Overflow */
 
#define IPS_BIT_SCE   0x01 /* HISR Status Channel Enqueue */
 
#define IPS_BIT_SEM   0x08 /* CCCR Semaphore Bit */
 
#define IPS_BIT_ILE   0x10 /* CCCR ILE Bit */
 
#define IPS_BIT_START_CMD   0x101A /* CCCR Start Command Channel */
 
#define IPS_BIT_START_STOP   0x0002 /* CCCR Start/Stop Bit */
 
#define IPS_BIT_RST   0x80 /* SCPR Reset Bit */
 
#define IPS_BIT_EBM   0x02 /* SCPR Enable Bus Master */
 
#define IPS_BIT_EI   0x80 /* HISR Enable Interrupts */
 
#define IPS_BIT_OP   0x01 /* OP bit in CBSP */
 
#define IPS_BIT_I2O_OPQI   0x08 /* General Host Interrupt */
 
#define IPS_BIT_I960_MSG0I   0x01 /* Message Register 0 Interrupt*/
 
#define IPS_BIT_I960_MSG1I   0x02 /* Message Register 1 Interrupt*/
 
#define IPS_CMD_GET_LD_INFO   0x19
 
#define IPS_CMD_GET_SUBSYS   0x40
 
#define IPS_CMD_READ_CONF   0x38
 
#define IPS_CMD_RW_NVRAM_PAGE   0xBC
 
#define IPS_CMD_READ   0x02
 
#define IPS_CMD_WRITE   0x03
 
#define IPS_CMD_FFDC   0xD7
 
#define IPS_CMD_ENQUIRY   0x05
 
#define IPS_CMD_FLUSH   0x0A
 
#define IPS_CMD_READ_SG   0x82
 
#define IPS_CMD_WRITE_SG   0x83
 
#define IPS_CMD_DCDB   0x04
 
#define IPS_CMD_DCDB_SG   0x84
 
#define IPS_CMD_EXTENDED_DCDB   0x95
 
#define IPS_CMD_EXTENDED_DCDB_SG   0x96
 
#define IPS_CMD_CONFIG_SYNC   0x58
 
#define IPS_CMD_ERROR_TABLE   0x17
 
#define IPS_CMD_DOWNLOAD   0x20
 
#define IPS_CMD_RW_BIOSFW   0x22
 
#define IPS_CMD_GET_VERSION_INFO   0xC6
 
#define IPS_CMD_RESET_CHANNEL   0x1A
 
#define IPS_CSL   0xFF
 
#define IPS_POCL   0x30
 
#define IPS_NORM_STATE   0x00
 
#define IPS_MAX_ADAPTER_TYPES   3
 
#define IPS_MAX_ADAPTERS   16
 
#define IPS_MAX_IOCTL   1
 
#define IPS_MAX_IOCTL_QUEUE   8
 
#define IPS_MAX_QUEUE   128
 
#define IPS_BLKSIZE   512
 
#define IPS_MAX_SG   17
 
#define IPS_MAX_LD   8
 
#define IPS_MAX_CHANNELS   4
 
#define IPS_MAX_TARGETS   15
 
#define IPS_MAX_CHUNKS   16
 
#define IPS_MAX_CMDS   128
 
#define IPS_MAX_XFER   0x10000
 
#define IPS_NVRAM_P5_SIG   0xFFDDBB99
 
#define IPS_MAX_POST_BYTES   0x02
 
#define IPS_MAX_CONFIG_BYTES   0x02
 
#define IPS_GOOD_POST_STATUS   0x80
 
#define IPS_SEM_TIMEOUT   2000
 
#define IPS_IOCTL_COMMAND   0x0D
 
#define IPS_INTR_ON   0
 
#define IPS_INTR_IORL   1
 
#define IPS_FFDC   99
 
#define IPS_ADAPTER_ID   0xF
 
#define IPS_VENDORID_IBM   0x1014
 
#define IPS_VENDORID_ADAPTEC   0x9005
 
#define IPS_DEVICEID_COPPERHEAD   0x002E
 
#define IPS_DEVICEID_MORPHEUS   0x01BD
 
#define IPS_DEVICEID_MARCO   0x0250
 
#define IPS_SUBDEVICEID_4M   0x01BE
 
#define IPS_SUBDEVICEID_4L   0x01BF
 
#define IPS_SUBDEVICEID_4MX   0x0208
 
#define IPS_SUBDEVICEID_4LX   0x020E
 
#define IPS_SUBDEVICEID_5I2   0x0259
 
#define IPS_SUBDEVICEID_5I1   0x0258
 
#define IPS_SUBDEVICEID_6M   0x0279
 
#define IPS_SUBDEVICEID_6I   0x028C
 
#define IPS_SUBDEVICEID_7k   0x028E
 
#define IPS_SUBDEVICEID_7M   0x028F
 
#define IPS_IOCTL_SIZE   8192
 
#define IPS_STATUS_SIZE   4
 
#define IPS_STATUS_Q_SIZE   (IPS_MAX_CMDS+1) * IPS_STATUS_SIZE
 
#define IPS_IMAGE_SIZE   500 * 1024
 
#define IPS_MEMMAP_SIZE   128
 
#define IPS_ONE_MSEC   1
 
#define IPS_ONE_SEC   1000
 
#define IPS_COMP_HEADS   128
 
#define IPS_COMP_SECTORS   32
 
#define IPS_NORM_HEADS   254
 
#define IPS_NORM_SECTORS   63
 
#define IPS_BASIC_STATUS_MASK   0xFF
 
#define IPS_GSC_STATUS_MASK   0x0F
 
#define IPS_CMD_SUCCESS   0x00
 
#define IPS_CMD_RECOVERED_ERROR   0x01
 
#define IPS_INVAL_OPCO   0x03
 
#define IPS_INVAL_CMD_BLK   0x04
 
#define IPS_INVAL_PARM_BLK   0x05
 
#define IPS_BUSY   0x08
 
#define IPS_CMD_CMPLT_WERROR   0x0C
 
#define IPS_LD_ERROR   0x0D
 
#define IPS_CMD_TIMEOUT   0x0E
 
#define IPS_PHYS_DRV_ERROR   0x0F
 
#define IPS_ERR_SEL_TO   0xF0
 
#define IPS_ERR_OU_RUN   0xF2
 
#define IPS_ERR_HOST_RESET   0xF7
 
#define IPS_ERR_DEV_RESET   0xF8
 
#define IPS_ERR_RECOVERY   0xFC
 
#define IPS_ERR_CKCOND   0xFF
 
#define IPS_OS_WINDOWS_NT   0x01
 
#define IPS_OS_NETWARE   0x02
 
#define IPS_OS_OPENSERVER   0x03
 
#define IPS_OS_UNIXWARE   0x04
 
#define IPS_OS_SOLARIS   0x05
 
#define IPS_OS_OS2   0x06
 
#define IPS_OS_LINUX   0x07
 
#define IPS_OS_FREEBSD   0x08
 
#define IPS_REVID_SERVERAID   0x02
 
#define IPS_REVID_NAVAJO   0x03
 
#define IPS_REVID_SERVERAID2   0x04
 
#define IPS_REVID_CLARINETP1   0x05
 
#define IPS_REVID_CLARINETP2   0x07
 
#define IPS_REVID_CLARINETP3   0x0D
 
#define IPS_REVID_TROMBONE32   0x0F
 
#define IPS_REVID_TROMBONE64   0x10
 
#define IPS_ADTYPE_SERVERAID   0x01
 
#define IPS_ADTYPE_SERVERAID2   0x02
 
#define IPS_ADTYPE_NAVAJO   0x03
 
#define IPS_ADTYPE_KIOWA   0x04
 
#define IPS_ADTYPE_SERVERAID3   0x05
 
#define IPS_ADTYPE_SERVERAID3L   0x06
 
#define IPS_ADTYPE_SERVERAID4H   0x07
 
#define IPS_ADTYPE_SERVERAID4M   0x08
 
#define IPS_ADTYPE_SERVERAID4L   0x09
 
#define IPS_ADTYPE_SERVERAID4MX   0x0A
 
#define IPS_ADTYPE_SERVERAID4LX   0x0B
 
#define IPS_ADTYPE_SERVERAID5I2   0x0C
 
#define IPS_ADTYPE_SERVERAID5I1   0x0D
 
#define IPS_ADTYPE_SERVERAID6M   0x0E
 
#define IPS_ADTYPE_SERVERAID6I   0x0F
 
#define IPS_ADTYPE_SERVERAID7t   0x10
 
#define IPS_ADTYPE_SERVERAID7k   0x11
 
#define IPS_ADTYPE_SERVERAID7M   0x12
 
#define IPS_SUCCESS   0x01 /* Successfully completed */
 
#define IPS_SUCCESS_IMM   0x02 /* Success - Immediately */
 
#define IPS_FAILURE   0x04 /* Completed with Error */
 
#define IPS_LD_OFFLINE   0x02
 
#define IPS_LD_OKAY   0x03
 
#define IPS_LD_FREE   0x00
 
#define IPS_LD_SYS   0x06
 
#define IPS_LD_CRS   0x24
 
#define IPS_NO_DISCONNECT   0x00
 
#define IPS_DISCONNECT_ALLOWED   0x80
 
#define IPS_NO_AUTO_REQSEN   0x40
 
#define IPS_DATA_NONE   0x00
 
#define IPS_DATA_UNK   0x00
 
#define IPS_DATA_IN   0x01
 
#define IPS_DATA_OUT   0x02
 
#define IPS_TRANSFER64K   0x08
 
#define IPS_NOTIMEOUT   0x00
 
#define IPS_TIMEOUT10   0x10
 
#define IPS_TIMEOUT60   0x20
 
#define IPS_TIMEOUT20M   0x30
 
#define IPS_SCSI_INQ_TYPE_DASD   0x00
 
#define IPS_SCSI_INQ_TYPE_PROCESSOR   0x03
 
#define IPS_SCSI_INQ_LU_CONNECTED   0x00
 
#define IPS_SCSI_INQ_RD_REV2   0x02
 
#define IPS_SCSI_INQ_REV2   0x02
 
#define IPS_SCSI_INQ_REV3   0x03
 
#define IPS_SCSI_INQ_Address16   0x01
 
#define IPS_SCSI_INQ_Address32   0x02
 
#define IPS_SCSI_INQ_MedChanger   0x08
 
#define IPS_SCSI_INQ_MultiPort   0x10
 
#define IPS_SCSI_INQ_EncServ   0x40
 
#define IPS_SCSI_INQ_SoftReset   0x01
 
#define IPS_SCSI_INQ_CmdQue   0x02
 
#define IPS_SCSI_INQ_Linked   0x08
 
#define IPS_SCSI_INQ_Sync   0x10
 
#define IPS_SCSI_INQ_WBus16   0x20
 
#define IPS_SCSI_INQ_WBus32   0x40
 
#define IPS_SCSI_INQ_RelAdr   0x80
 
#define IPS_SCSI_REQSEN_VALID   0x80
 
#define IPS_SCSI_REQSEN_CURRENT_ERR   0x70
 
#define IPS_SCSI_REQSEN_NO_SENSE   0x00
 
#define IPS_SCSI_MP3_SoftSector   0x01
 
#define IPS_SCSI_MP3_HardSector   0x02
 
#define IPS_SCSI_MP3_Removeable   0x04
 
#define IPS_SCSI_MP3_AllocateSurface   0x08
 
#define IPS_HA_ENH_SG   0x1
 
#define IPS_SCB_MAP_SG   0x00008
 
#define IPS_SCB_MAP_SINGLE   0X00010
 
#define IPS_COPPUSRCMD   (('C'<<8) | 65)
 
#define IPS_COPPIOCCMD   (('C'<<8) | 66)
 
#define IPS_NUMCTRLS   (('C'<<8) | 68)
 
#define IPS_CTRLINFO   (('C'<<8) | 69)
 
#define IPS_FW_IMAGE   0x00
 
#define IPS_BIOS_IMAGE   0x01
 
#define IPS_WRITE_FW   0x01
 
#define IPS_WRITE_BIOS   0x02
 
#define IPS_ERASE_BIOS   0x03
 
#define IPS_BIOS_HEADER   0xC0
 
#define IPS_IS_LEAP_YEAR(y)   (((y % 4 == 0) && ((y % 100 != 0) || (y % 400 == 0))) ? 1 : 0)
 
#define IPS_NUM_LEAP_YEARS_THROUGH(y)   ((y) / 4 - (y) / 100 + (y) / 400)
 
#define IPS_SECS_MIN   60
 
#define IPS_SECS_HOUR   3600
 
#define IPS_SECS_8HOURS   28800
 
#define IPS_SECS_DAY   86400
 
#define IPS_DAYS_NORMAL_YEAR   365
 
#define IPS_DAYS_LEAP_YEAR   366
 
#define IPS_EPOCH_YEAR   1970
 
#define IPS_GET_VERSION_SUPPORT   0x00018000 /* Mask for Versioning Support */
 
#define IPS_VER_MAJOR   7
 
#define IPS_VER_MAJOR_STRING   __stringify(IPS_VER_MAJOR)
 
#define IPS_VER_MINOR   12
 
#define IPS_VER_MINOR_STRING   __stringify(IPS_VER_MINOR)
 
#define IPS_VER_BUILD   05
 
#define IPS_VER_BUILD_STRING   __stringify(IPS_VER_BUILD)
 
#define IPS_VER_STRING
 
#define IPS_RELEASE_ID   0x00020000
 
#define IPS_BUILD_IDENT   761
 
#define IPS_LEGALCOPYRIGHT_STRING   "(C) Copyright IBM Corp. 1994, 2002. All Rights Reserved."
 
#define IPS_ADAPTECCOPYRIGHT_STRING   "(c) Copyright Adaptec, Inc. 2002 to 2004. All Rights Reserved."
 
#define IPS_DELLCOPYRIGHT_STRING   "(c) Copyright Dell 2004. All Rights Reserved."
 
#define IPS_NT_LEGALCOPYRIGHT_STRING   "(C) Copyright IBM Corp. 1994, 2002."
 
#define IPS_VER_SERVERAID1   "2.25.01"
 
#define IPS_VER_SERVERAID2   "2.88.13"
 
#define IPS_VER_NAVAJO   "2.88.13"
 
#define IPS_VER_SERVERAID3   "6.10.24"
 
#define IPS_VER_SERVERAID4H   "7.12.02"
 
#define IPS_VER_SERVERAID4MLx   "7.12.02"
 
#define IPS_VER_SARASOTA   "7.12.02"
 
#define IPS_VER_MARCO   "7.12.02"
 
#define IPS_VER_SEBRING   "7.12.02"
 
#define IPS_VER_KEYWEST   "7.12.02"
 
#define IPS_COMPAT_UNKNOWN   ""
 
#define IPS_COMPAT_CURRENT   "KW710"
 
#define IPS_COMPAT_SERVERAID1   "2.25.01"
 
#define IPS_COMPAT_SERVERAID2   "2.88.13"
 
#define IPS_COMPAT_NAVAJO   "2.88.13"
 
#define IPS_COMPAT_KIOWA   "2.88.13"
 
#define IPS_COMPAT_SERVERAID3H   "SB610"
 
#define IPS_COMPAT_SERVERAID3L   "SB610"
 
#define IPS_COMPAT_SERVERAID4H   "KW710"
 
#define IPS_COMPAT_SERVERAID4M   "KW710"
 
#define IPS_COMPAT_SERVERAID4L   "KW710"
 
#define IPS_COMPAT_SERVERAID4Mx   "KW710"
 
#define IPS_COMPAT_SERVERAID4Lx   "KW710"
 
#define IPS_COMPAT_SARASOTA   "KW710"
 
#define IPS_COMPAT_MARCO   "KW710"
 
#define IPS_COMPAT_SEBRING   "KW710"
 
#define IPS_COMPAT_TAMPA   "KW710"
 
#define IPS_COMPAT_KEYWEST   "KW710"
 
#define IPS_COMPAT_BIOS   "KW710"
 
#define IPS_COMPAT_MAX_ADAPTER_TYPE   18
 
#define IPS_COMPAT_ID_LENGTH   8
 
#define IPS_DEFINE_COMPAT_TABLE(tablename)
 

Typedefs

typedef struct IPS_IO_CMDPIPS_IO_CMD
 
typedef struct IPS_LD_CMDPIPS_LD_CMD
 
typedef struct IPS_IOCTL_CMDPIPS_IOCTL_CMD
 
typedef struct IPS_RESET_CMDPIPS_RESET_CMD
 
typedef struct IPS_DCDB_CMDPIPS_DCDB_CMD
 
typedef struct IPS_CS_CMDPIPS_CS_CMD
 
typedef struct IPS_US_CMDPIPS_US_CMD
 
typedef struct IPS_FC_CMDPIPS_FC_CMD
 
typedef struct IPS_STATUS_CMDPIPS_STATUS_CMD
 
typedef struct IPS_NVRAM_CMDPIPS_NVRAM_CMD
 
typedef struct IPS_VERSION_INFOPIPS_VERSION_INFO
 
typedef struct IPS_FFDC_CMDPIPS_FFDC_CMD
 
typedef struct IPS_FLASHFW_CMDPIPS_FLASHFW_CMD
 
typedef struct IPS_FLASHBIOS_CMDPIPS_FLASHBIOS_CMD
 
typedef union IPS_HOST_COMMANDPIPS_HOST_COMMAND
 
typedef struct IPS_DRIVE_INFOPIPS_DRIVE_INFO
 
typedef struct IPS_LD_INFOPIPS_LD_INFO
 
typedef struct IPS_DCDB_TABLEPIPS_DCDB_TABLE
 
typedef struct
IPS_DCDB_TABLE_TAPE
PIPS_DCDB_TABLE_TAPE
 
typedef union IPS_STATUSPIPS_STATUS
 
typedef struct IPS_ADAPTERPIPS_ADAPTER
 
typedef struct IPS_ENQPIPS_ENQ
 
typedef struct IPS_DEVSTATEPIPS_DEVSTATE
 
typedef struct IPS_CHUNKPIPS_CHUNK
 
typedef struct IPS_LDPIPS_LD
 
typedef struct IPS_HARDWAREPIPS_HARDWARE
 
typedef struct IPS_CONFPIPS_CONF
 
typedef struct IPS_NVRAM_P5PIPS_NVRAM_P5
 
typedef struct _IPS_SUBSYS IPS_SUBSYS
 
typedef struct _IPS_SUBSYSPIPS_SUBSYS
 
typedef struct IPS_SCSI_INQ_DATAPIPS_SCSI_INQ_DATA
 
typedef struct ips_sglist IPS_STD_SG_LIST
 
typedef struct ips_enh_sglist IPS_ENH_SG_LIST
 
typedef struct _IPS_INFOSTR IPS_INFOSTR
 
typedef struct ips_stat ips_stat_t
 
typedef struct ips_scb_queue ips_scb_queue_t
 
typedef struct ips_wait_queue ips_wait_queue_t
 
typedef struct ips_copp_wait_item ips_copp_wait_item_t
 
typedef struct ips_copp_queue ips_copp_queue_t
 
typedef struct ips_ha ips_ha_t
 
typedef void(* ips_scb_callback )(ips_ha_t *, struct ips_scb *)
 
typedef struct ips_scb ips_scb_t
 
typedef struct ips_scb_pt ips_scb_pt_t
 

Macro Definition Documentation

#define __iomem

Definition at line 96 of file ips.h.

#define IPS_ADAPTECCOPYRIGHT_STRING   "(c) Copyright Adaptec, Inc. 2002 to 2004. All Rights Reserved."

Definition at line 1180 of file ips.h.

#define IPS_ADAPTER_ID   0xF

Definition at line 203 of file ips.h.

#define IPS_ADTYPE_KIOWA   0x04

Definition at line 291 of file ips.h.

#define IPS_ADTYPE_NAVAJO   0x03

Definition at line 290 of file ips.h.

#define IPS_ADTYPE_SERVERAID   0x01

Definition at line 288 of file ips.h.

#define IPS_ADTYPE_SERVERAID2   0x02

Definition at line 289 of file ips.h.

#define IPS_ADTYPE_SERVERAID3   0x05

Definition at line 292 of file ips.h.

#define IPS_ADTYPE_SERVERAID3L   0x06

Definition at line 293 of file ips.h.

#define IPS_ADTYPE_SERVERAID4H   0x07

Definition at line 294 of file ips.h.

#define IPS_ADTYPE_SERVERAID4L   0x09

Definition at line 296 of file ips.h.

#define IPS_ADTYPE_SERVERAID4LX   0x0B

Definition at line 298 of file ips.h.

#define IPS_ADTYPE_SERVERAID4M   0x08

Definition at line 295 of file ips.h.

#define IPS_ADTYPE_SERVERAID4MX   0x0A

Definition at line 297 of file ips.h.

#define IPS_ADTYPE_SERVERAID5I1   0x0D

Definition at line 300 of file ips.h.

#define IPS_ADTYPE_SERVERAID5I2   0x0C

Definition at line 299 of file ips.h.

#define IPS_ADTYPE_SERVERAID6I   0x0F

Definition at line 302 of file ips.h.

#define IPS_ADTYPE_SERVERAID6M   0x0E

Definition at line 301 of file ips.h.

#define IPS_ADTYPE_SERVERAID7k   0x11

Definition at line 304 of file ips.h.

#define IPS_ADTYPE_SERVERAID7M   0x12

Definition at line 305 of file ips.h.

#define IPS_ADTYPE_SERVERAID7t   0x10

Definition at line 303 of file ips.h.

#define IPS_BASIC_STATUS_MASK   0xFF

Definition at line 238 of file ips.h.

#define IPS_BIOS_HEADER   0xC0

Definition at line 402 of file ips.h.

#define IPS_BIOS_IMAGE   0x01

Definition at line 398 of file ips.h.

#define IPS_BIT_EBM   0x02 /* SCPR Enable Bus Master */

Definition at line 143 of file ips.h.

#define IPS_BIT_EI   0x80 /* HISR Enable Interrupts */

Definition at line 144 of file ips.h.

#define IPS_BIT_GHI   0x04 /* HISR General Host Interrupt */

Definition at line 135 of file ips.h.

#define IPS_BIT_I2O_OPQI   0x08 /* General Host Interrupt */

Definition at line 146 of file ips.h.

#define IPS_BIT_I960_MSG0I   0x01 /* Message Register 0 Interrupt*/

Definition at line 147 of file ips.h.

#define IPS_BIT_I960_MSG1I   0x02 /* Message Register 1 Interrupt*/

Definition at line 148 of file ips.h.

#define IPS_BIT_ILE   0x10 /* CCCR ILE Bit */

Definition at line 139 of file ips.h.

#define IPS_BIT_OP   0x01 /* OP bit in CBSP */

Definition at line 145 of file ips.h.

#define IPS_BIT_RST   0x80 /* SCPR Reset Bit */

Definition at line 142 of file ips.h.

#define IPS_BIT_SCE   0x01 /* HISR Status Channel Enqueue */

Definition at line 137 of file ips.h.

#define IPS_BIT_SEM   0x08 /* CCCR Semaphore Bit */

Definition at line 138 of file ips.h.

#define IPS_BIT_SQO   0x02 /* HISR Status Q Overflow */

Definition at line 136 of file ips.h.

#define IPS_BIT_START_CMD   0x101A /* CCCR Start Command Channel */

Definition at line 140 of file ips.h.

#define IPS_BIT_START_STOP   0x0002 /* CCCR Start/Stop Bit */

Definition at line 141 of file ips.h.

#define IPS_BLKSIZE   512

Definition at line 186 of file ips.h.

#define IPS_BUILD_IDENT   761

Definition at line 1178 of file ips.h.

#define IPS_BUSY   0x08

Definition at line 245 of file ips.h.

#define IPS_CMD_CMPLT_WERROR   0x0C

Definition at line 246 of file ips.h.

#define IPS_CMD_CONFIG_SYNC   0x58

Definition at line 168 of file ips.h.

#define IPS_CMD_DCDB   0x04

Definition at line 164 of file ips.h.

#define IPS_CMD_DCDB_SG   0x84

Definition at line 165 of file ips.h.

#define IPS_CMD_DOWNLOAD   0x20

Definition at line 170 of file ips.h.

#define IPS_CMD_ENQUIRY   0x05

Definition at line 160 of file ips.h.

#define IPS_CMD_ERROR_TABLE   0x17

Definition at line 169 of file ips.h.

#define IPS_CMD_EXTENDED_DCDB   0x95

Definition at line 166 of file ips.h.

#define IPS_CMD_EXTENDED_DCDB_SG   0x96

Definition at line 167 of file ips.h.

#define IPS_CMD_FFDC   0xD7

Definition at line 159 of file ips.h.

#define IPS_CMD_FLUSH   0x0A

Definition at line 161 of file ips.h.

#define IPS_CMD_GET_LD_INFO   0x19

Definition at line 153 of file ips.h.

#define IPS_CMD_GET_SUBSYS   0x40

Definition at line 154 of file ips.h.

#define IPS_CMD_GET_VERSION_INFO   0xC6

Definition at line 172 of file ips.h.

#define IPS_CMD_READ   0x02

Definition at line 157 of file ips.h.

#define IPS_CMD_READ_CONF   0x38

Definition at line 155 of file ips.h.

#define IPS_CMD_READ_SG   0x82

Definition at line 162 of file ips.h.

#define IPS_CMD_RECOVERED_ERROR   0x01

Definition at line 241 of file ips.h.

#define IPS_CMD_RESET_CHANNEL   0x1A

Definition at line 173 of file ips.h.

#define IPS_CMD_RW_BIOSFW   0x22

Definition at line 171 of file ips.h.

#define IPS_CMD_RW_NVRAM_PAGE   0xBC

Definition at line 156 of file ips.h.

#define IPS_CMD_SUCCESS   0x00

Definition at line 240 of file ips.h.

#define IPS_CMD_TIMEOUT   0x0E

Definition at line 248 of file ips.h.

#define IPS_CMD_WRITE   0x03

Definition at line 158 of file ips.h.

#define IPS_CMD_WRITE_SG   0x83

Definition at line 163 of file ips.h.

#define IPS_COMMAND_ID (   ha,
  scb 
)    (int) (scb - ha->scbs)

Definition at line 61 of file ips.h.

#define IPS_COMP_HEADS   128

Definition at line 230 of file ips.h.

#define IPS_COMP_SECTORS   32

Definition at line 231 of file ips.h.

#define IPS_COMPAT_BIOS   "KW710"

Definition at line 1215 of file ips.h.

#define IPS_COMPAT_CURRENT   "KW710"

Definition at line 1198 of file ips.h.

#define IPS_COMPAT_ID_LENGTH   8

Definition at line 1218 of file ips.h.

#define IPS_COMPAT_KEYWEST   "KW710"

Definition at line 1214 of file ips.h.

#define IPS_COMPAT_KIOWA   "2.88.13"

Definition at line 1202 of file ips.h.

#define IPS_COMPAT_MARCO   "KW710"

Definition at line 1211 of file ips.h.

#define IPS_COMPAT_MAX_ADAPTER_TYPE   18

Definition at line 1217 of file ips.h.

#define IPS_COMPAT_NAVAJO   "2.88.13"

Definition at line 1201 of file ips.h.

#define IPS_COMPAT_SARASOTA   "KW710"

Definition at line 1210 of file ips.h.

#define IPS_COMPAT_SEBRING   "KW710"

Definition at line 1212 of file ips.h.

#define IPS_COMPAT_SERVERAID1   "2.25.01"

Definition at line 1199 of file ips.h.

#define IPS_COMPAT_SERVERAID2   "2.88.13"

Definition at line 1200 of file ips.h.

#define IPS_COMPAT_SERVERAID3H   "SB610"

Definition at line 1203 of file ips.h.

#define IPS_COMPAT_SERVERAID3L   "SB610"

Definition at line 1204 of file ips.h.

#define IPS_COMPAT_SERVERAID4H   "KW710"

Definition at line 1205 of file ips.h.

#define IPS_COMPAT_SERVERAID4L   "KW710"

Definition at line 1207 of file ips.h.

#define IPS_COMPAT_SERVERAID4Lx   "KW710"

Definition at line 1209 of file ips.h.

#define IPS_COMPAT_SERVERAID4M   "KW710"

Definition at line 1206 of file ips.h.

#define IPS_COMPAT_SERVERAID4Mx   "KW710"

Definition at line 1208 of file ips.h.

#define IPS_COMPAT_TAMPA   "KW710"

Definition at line 1213 of file ips.h.

#define IPS_COMPAT_UNKNOWN   ""

Definition at line 1197 of file ips.h.

#define IPS_COPPIOCCMD   (('C'<<8) | 66)

Definition at line 392 of file ips.h.

#define IPS_COPPUSRCMD   (('C'<<8) | 65)

Definition at line 391 of file ips.h.

#define IPS_CSL   0xFF

Definition at line 178 of file ips.h.

#define IPS_CTRLINFO   (('C'<<8) | 69)

Definition at line 394 of file ips.h.

#define IPS_DATA_IN   0x01

Definition at line 331 of file ips.h.

#define IPS_DATA_NONE   0x00

Definition at line 329 of file ips.h.

#define IPS_DATA_OUT   0x02

Definition at line 332 of file ips.h.

#define IPS_DATA_UNK   0x00

Definition at line 330 of file ips.h.

#define IPS_DAYS_LEAP_YEAR   366

Definition at line 413 of file ips.h.

#define IPS_DAYS_NORMAL_YEAR   365

Definition at line 412 of file ips.h.

#define IPS_DEFINE_COMPAT_TABLE (   tablename)
Value:
IPS_COMPAT_UNKNOWN, \
IPS_COMPAT_SERVERAID1, \
IPS_COMPAT_SERVERAID2, \
IPS_COMPAT_NAVAJO, \
IPS_COMPAT_KIOWA, \
IPS_COMPAT_SERVERAID3H, \
IPS_COMPAT_SERVERAID3L, \
IPS_COMPAT_SERVERAID4H, \
IPS_COMPAT_SERVERAID4M, \
IPS_COMPAT_SERVERAID4L, \
IPS_COMPAT_SERVERAID4Mx, \
IPS_COMPAT_SERVERAID4Lx, \
IPS_COMPAT_SARASOTA, /* one-channel variety of SARASOTA */ \
IPS_COMPAT_SARASOTA, /* two-channel variety of SARASOTA */ \
IPS_COMPAT_MARCO, \
IPS_COMPAT_SEBRING, \
IPS_COMPAT_TAMPA, \
IPS_COMPAT_KEYWEST \
}

Definition at line 1220 of file ips.h.

#define IPS_DELLCOPYRIGHT_STRING   "(c) Copyright Dell 2004. All Rights Reserved."

Definition at line 1181 of file ips.h.

#define IPS_DEVICEID_COPPERHEAD   0x002E

Definition at line 206 of file ips.h.

#define IPS_DEVICEID_MARCO   0x0250

Definition at line 208 of file ips.h.

#define IPS_DEVICEID_MORPHEUS   0x01BD

Definition at line 207 of file ips.h.

#define IPS_DISCONNECT_ALLOWED   0x80

Definition at line 327 of file ips.h.

#define IPS_ENABLE_DMA64   (0)

Definition at line 105 of file ips.h.

#define IPS_EPOCH_YEAR   1970

Definition at line 414 of file ips.h.

#define IPS_ERASE_BIOS   0x03

Definition at line 401 of file ips.h.

#define IPS_ERR_CKCOND   0xFF

Definition at line 259 of file ips.h.

#define IPS_ERR_DEV_RESET   0xF8

Definition at line 257 of file ips.h.

#define IPS_ERR_HOST_RESET   0xF7

Definition at line 256 of file ips.h.

#define IPS_ERR_OU_RUN   0xF2

Definition at line 255 of file ips.h.

#define IPS_ERR_RECOVERY   0xFC

Definition at line 258 of file ips.h.

#define IPS_ERR_SEL_TO   0xF0

Definition at line 254 of file ips.h.

#define IPS_FAILURE   0x04 /* Completed with Error */

Definition at line 312 of file ips.h.

#define IPS_FFDC   99

Definition at line 202 of file ips.h.

#define IPS_FW_IMAGE   0x00

Definition at line 397 of file ips.h.

#define IPS_GET_VERSION_SUPPORT   0x00018000 /* Mask for Versioning Support */

Definition at line 790 of file ips.h.

#define IPS_GOOD_POST_STATUS   0x80

Definition at line 197 of file ips.h.

#define IPS_GSC_STATUS_MASK   0x0F

Definition at line 239 of file ips.h.

#define IPS_HA (   x)    ((ips_ha_t *) x->hostdata)

Definition at line 60 of file ips.h.

#define IPS_HA_ENH_SG   0x1

Definition at line 380 of file ips.h.

#define IPS_HAS_ENH_SGLIST (   ha)    (IPS_IS_MORPHEUS(ha) || IPS_IS_MARCO(ha))

Definition at line 77 of file ips.h.

#define IPS_IMAGE_SIZE   500 * 1024

Definition at line 222 of file ips.h.

#define IPS_INTR_IORL   1

Definition at line 201 of file ips.h.

#define IPS_INTR_ON   0

Definition at line 200 of file ips.h.

#define IPS_INVAL_CMD_BLK   0x04

Definition at line 243 of file ips.h.

#define IPS_INVAL_OPCO   0x03

Definition at line 242 of file ips.h.

#define IPS_INVAL_PARM_BLK   0x05

Definition at line 244 of file ips.h.

#define IPS_IOCTL_COMMAND   0x0D

Definition at line 199 of file ips.h.

#define IPS_IOCTL_SIZE   8192

Definition at line 219 of file ips.h.

#define IPS_IS_CLARINET (   ha)
Value:
(((ha->pcidev->device == IPS_DEVICEID_COPPERHEAD) && \
(ha->pcidev->revision >= IPS_REVID_CLARINETP1) && \
(ha->pcidev->revision <= IPS_REVID_CLARINETP3)) ? 1 : 0)

Definition at line 65 of file ips.h.

#define IPS_IS_LEAP_YEAR (   y)    (((y % 4 == 0) && ((y % 100 != 0) || (y % 400 == 0))) ? 1 : 0)

Definition at line 405 of file ips.h.

#define IPS_IS_MARCO (   ha)    (ha->pcidev->device == IPS_DEVICEID_MARCO)

Definition at line 69 of file ips.h.

#define IPS_IS_MORPHEUS (   ha)    (ha->pcidev->device == IPS_DEVICEID_MORPHEUS)

Definition at line 68 of file ips.h.

#define IPS_IS_TROMBONE (   ha)
Value:
(((ha->pcidev->device == IPS_DEVICEID_COPPERHEAD) && \
(ha->pcidev->revision >= IPS_REVID_TROMBONE32) && \
(ha->pcidev->revision <= IPS_REVID_TROMBONE64)) ? 1 : 0)

Definition at line 62 of file ips.h.

#define IPS_LD_CRS   0x24

Definition at line 321 of file ips.h.

#define IPS_LD_ERROR   0x0D

Definition at line 247 of file ips.h.

#define IPS_LD_FREE   0x00

Definition at line 319 of file ips.h.

#define IPS_LD_OFFLINE   0x02

Definition at line 317 of file ips.h.

#define IPS_LD_OKAY   0x03

Definition at line 318 of file ips.h.

#define IPS_LD_SYS   0x06

Definition at line 320 of file ips.h.

#define IPS_LEGALCOPYRIGHT_STRING   "(C) Copyright IBM Corp. 1994, 2002. All Rights Reserved."

Definition at line 1179 of file ips.h.

#define IPS_MAX_ADAPTER_TYPES   3

Definition at line 181 of file ips.h.

#define IPS_MAX_ADAPTERS   16

Definition at line 182 of file ips.h.

#define IPS_MAX_CHANNELS   4

Definition at line 189 of file ips.h.

#define IPS_MAX_CHUNKS   16

Definition at line 191 of file ips.h.

#define IPS_MAX_CMDS   128

Definition at line 192 of file ips.h.

#define IPS_MAX_CONFIG_BYTES   0x02

Definition at line 196 of file ips.h.

#define IPS_MAX_IOCTL   1

Definition at line 183 of file ips.h.

#define IPS_MAX_IOCTL_QUEUE   8

Definition at line 184 of file ips.h.

#define IPS_MAX_LD   8

Definition at line 188 of file ips.h.

#define IPS_MAX_POST_BYTES   0x02

Definition at line 195 of file ips.h.

#define IPS_MAX_QUEUE   128

Definition at line 185 of file ips.h.

#define IPS_MAX_SG   17

Definition at line 187 of file ips.h.

#define IPS_MAX_TARGETS   15

Definition at line 190 of file ips.h.

#define IPS_MAX_XFER   0x10000

Definition at line 193 of file ips.h.

#define IPS_MEMMAP_SIZE   128

Definition at line 223 of file ips.h.

#define IPS_NO_AUTO_REQSEN   0x40

Definition at line 328 of file ips.h.

#define IPS_NO_DISCONNECT   0x00

Definition at line 326 of file ips.h.

#define IPS_NORM_HEADS   254

Definition at line 232 of file ips.h.

#define IPS_NORM_SECTORS   63

Definition at line 233 of file ips.h.

#define IPS_NORM_STATE   0x00

Definition at line 180 of file ips.h.

#define IPS_NOTIMEOUT   0x00

Definition at line 334 of file ips.h.

#define IPS_NT_LEGALCOPYRIGHT_STRING   "(C) Copyright IBM Corp. 1994, 2002."

Definition at line 1182 of file ips.h.

#define IPS_NUM_LEAP_YEARS_THROUGH (   y)    ((y) / 4 - (y) / 100 + (y) / 400)

Definition at line 406 of file ips.h.

#define IPS_NUMCTRLS   (('C'<<8) | 68)

Definition at line 393 of file ips.h.

#define IPS_NVRAM_P5_SIG   0xFFDDBB99

Definition at line 194 of file ips.h.

#define IPS_ONE_MSEC   1

Definition at line 224 of file ips.h.

#define IPS_ONE_SEC   1000

Definition at line 225 of file ips.h.

#define IPS_OS_FREEBSD   0x08

Definition at line 271 of file ips.h.

#define IPS_OS_LINUX   0x07

Definition at line 270 of file ips.h.

#define IPS_OS_NETWARE   0x02

Definition at line 265 of file ips.h.

#define IPS_OS_OPENSERVER   0x03

Definition at line 266 of file ips.h.

#define IPS_OS_OS2   0x06

Definition at line 269 of file ips.h.

#define IPS_OS_SOLARIS   0x05

Definition at line 268 of file ips.h.

#define IPS_OS_UNIXWARE   0x04

Definition at line 267 of file ips.h.

#define IPS_OS_WINDOWS_NT   0x01

Definition at line 264 of file ips.h.

#define IPS_PHYS_DRV_ERROR   0x0F

Definition at line 249 of file ips.h.

#define IPS_POCL   0x30

Definition at line 179 of file ips.h.

#define IPS_PRINTK (   level,
  pcidev,
  format,
  arg... 
)    dev_printk(level , &((pcidev)->dev) , format , ## arg)

Definition at line 82 of file ips.h.

#define IPS_REG_CBSP   0x07 /* CBSP register */

Definition at line 120 of file ips.h.

#define IPS_REG_CCCR   0x14 /* Cmd Channel Control Reg */

Definition at line 113 of file ips.h.

#define IPS_REG_CCSAR   0x10 /* Cmd Channel System Addr Reg */

Definition at line 112 of file ips.h.

#define IPS_REG_FLAP   0x18 /* Flash address port */

Definition at line 121 of file ips.h.

#define IPS_REG_FLDP   0x1C /* Flash data port */

Definition at line 122 of file ips.h.

#define IPS_REG_HISR   0x08 /* Host Interrupt Status Reg */

Definition at line 111 of file ips.h.

#define IPS_REG_I2O_HIR   0x30 /* I2O Interrupt Status */

Definition at line 126 of file ips.h.

#define IPS_REG_I2O_INMSGQ   0x40 /* I2O Inbound Message Queue */

Definition at line 124 of file ips.h.

#define IPS_REG_I2O_OUTMSGQ   0x44 /* I2O Outbound Message Queue */

Definition at line 125 of file ips.h.

#define IPS_REG_I960_IDR   0x20 /* i960 Inbound Doorbell */

Definition at line 127 of file ips.h.

#define IPS_REG_I960_MSG0   0x18 /* i960 Outbound Reg 0 */

Definition at line 128 of file ips.h.

#define IPS_REG_I960_MSG1   0x1C /* i960 Outbound Reg 1 */

Definition at line 129 of file ips.h.

#define IPS_REG_I960_OIMR   0x34 /* i960 Oubound Int Mask Reg */

Definition at line 130 of file ips.h.

#define IPS_REG_ISPR   0x06 /* interrupt status port reg */

Definition at line 119 of file ips.h.

#define IPS_REG_NDAE   0x38 /* Anaconda 64 NDAE Register */

Definition at line 123 of file ips.h.

#define IPS_REG_SCPR   0x05 /* Subsystem control port reg */

Definition at line 118 of file ips.h.

#define IPS_REG_SQER   0x28 /* Status Q End Reg */

Definition at line 116 of file ips.h.

#define IPS_REG_SQHR   0x20 /* Status Q Head Reg */

Definition at line 114 of file ips.h.

#define IPS_REG_SQSR   0x2C /* Status Q Start Reg */

Definition at line 117 of file ips.h.

#define IPS_REG_SQTR   0x24 /* Status Q Tail Reg */

Definition at line 115 of file ips.h.

#define IPS_RELEASE_ID   0x00020000

Definition at line 1177 of file ips.h.

#define IPS_REVID_CLARINETP1   0x05

Definition at line 279 of file ips.h.

#define IPS_REVID_CLARINETP2   0x07

Definition at line 280 of file ips.h.

#define IPS_REVID_CLARINETP3   0x0D

Definition at line 281 of file ips.h.

#define IPS_REVID_NAVAJO   0x03

Definition at line 277 of file ips.h.

#define IPS_REVID_SERVERAID   0x02

Definition at line 276 of file ips.h.

#define IPS_REVID_SERVERAID2   0x04

Definition at line 278 of file ips.h.

#define IPS_REVID_TROMBONE32   0x0F

Definition at line 282 of file ips.h.

#define IPS_REVID_TROMBONE64   0x10

Definition at line 283 of file ips.h.

#define IPS_SCB_MAP_SG   0x00008

Definition at line 385 of file ips.h.

#define IPS_SCB_MAP_SINGLE   0X00010

Definition at line 386 of file ips.h.

#define IPS_SCSI_INQ_Address16   0x01

Definition at line 348 of file ips.h.

#define IPS_SCSI_INQ_Address32   0x02

Definition at line 349 of file ips.h.

#define IPS_SCSI_INQ_CmdQue   0x02

Definition at line 354 of file ips.h.

#define IPS_SCSI_INQ_EncServ   0x40

Definition at line 352 of file ips.h.

#define IPS_SCSI_INQ_Linked   0x08

Definition at line 355 of file ips.h.

#define IPS_SCSI_INQ_LU_CONNECTED   0x00

Definition at line 344 of file ips.h.

#define IPS_SCSI_INQ_MedChanger   0x08

Definition at line 350 of file ips.h.

#define IPS_SCSI_INQ_MultiPort   0x10

Definition at line 351 of file ips.h.

#define IPS_SCSI_INQ_RD_REV2   0x02

Definition at line 345 of file ips.h.

#define IPS_SCSI_INQ_RelAdr   0x80

Definition at line 359 of file ips.h.

#define IPS_SCSI_INQ_REV2   0x02

Definition at line 346 of file ips.h.

#define IPS_SCSI_INQ_REV3   0x03

Definition at line 347 of file ips.h.

#define IPS_SCSI_INQ_SoftReset   0x01

Definition at line 353 of file ips.h.

#define IPS_SCSI_INQ_Sync   0x10

Definition at line 356 of file ips.h.

#define IPS_SCSI_INQ_TYPE_DASD   0x00

Definition at line 342 of file ips.h.

#define IPS_SCSI_INQ_TYPE_PROCESSOR   0x03

Definition at line 343 of file ips.h.

#define IPS_SCSI_INQ_WBus16   0x20

Definition at line 357 of file ips.h.

#define IPS_SCSI_INQ_WBus32   0x40

Definition at line 358 of file ips.h.

#define IPS_SCSI_MP3_AllocateSurface   0x08

Definition at line 374 of file ips.h.

#define IPS_SCSI_MP3_HardSector   0x02

Definition at line 372 of file ips.h.

#define IPS_SCSI_MP3_Removeable   0x04

Definition at line 373 of file ips.h.

#define IPS_SCSI_MP3_SoftSector   0x01

Definition at line 371 of file ips.h.

#define IPS_SCSI_REQSEN_CURRENT_ERR   0x70

Definition at line 365 of file ips.h.

#define IPS_SCSI_REQSEN_NO_SENSE   0x00

Definition at line 366 of file ips.h.

#define IPS_SCSI_REQSEN_VALID   0x80

Definition at line 364 of file ips.h.

#define IPS_SECS_8HOURS   28800

Definition at line 410 of file ips.h.

#define IPS_SECS_DAY   86400

Definition at line 411 of file ips.h.

#define IPS_SECS_HOUR   3600

Definition at line 409 of file ips.h.

#define IPS_SECS_MIN   60

Definition at line 408 of file ips.h.

#define IPS_SEM_TIMEOUT   2000

Definition at line 198 of file ips.h.

#define IPS_SGLIST_SIZE (   ha)
Value:

Definition at line 79 of file ips.h.

#define IPS_STATUS_Q_SIZE   (IPS_MAX_CMDS+1) * IPS_STATUS_SIZE

Definition at line 221 of file ips.h.

#define IPS_STATUS_SIZE   4

Definition at line 220 of file ips.h.

#define IPS_SUBDEVICEID_4L   0x01BF

Definition at line 210 of file ips.h.

#define IPS_SUBDEVICEID_4LX   0x020E

Definition at line 212 of file ips.h.

#define IPS_SUBDEVICEID_4M   0x01BE

Definition at line 209 of file ips.h.

#define IPS_SUBDEVICEID_4MX   0x0208

Definition at line 211 of file ips.h.

#define IPS_SUBDEVICEID_5I1   0x0258

Definition at line 214 of file ips.h.

#define IPS_SUBDEVICEID_5I2   0x0259

Definition at line 213 of file ips.h.

#define IPS_SUBDEVICEID_6I   0x028C

Definition at line 216 of file ips.h.

#define IPS_SUBDEVICEID_6M   0x0279

Definition at line 215 of file ips.h.

#define IPS_SUBDEVICEID_7k   0x028E

Definition at line 217 of file ips.h.

#define IPS_SUBDEVICEID_7M   0x028F

Definition at line 218 of file ips.h.

#define IPS_SUCCESS   0x01 /* Successfully completed */

Definition at line 310 of file ips.h.

#define IPS_SUCCESS_IMM   0x02 /* Success - Immediately */

Definition at line 311 of file ips.h.

#define IPS_TIMEOUT10   0x10

Definition at line 335 of file ips.h.

#define IPS_TIMEOUT20M   0x30

Definition at line 337 of file ips.h.

#define IPS_TIMEOUT60   0x20

Definition at line 336 of file ips.h.

#define IPS_TRANSFER64K   0x08

Definition at line 333 of file ips.h.

#define IPS_USE_ENH_SGLIST (   ha)    ((ha)->flags & IPS_HA_ENH_SG)

Definition at line 78 of file ips.h.

#define IPS_USE_I2O_DELIVER (   ha)
Value:
((IPS_IS_MORPHEUS(ha) || \
(IPS_IS_TROMBONE(ha) && \
(ips_force_i2o))) ? 1 : 0)

Definition at line 70 of file ips.h.

#define IPS_USE_MEMIO (   ha)
Value:
((IPS_IS_MORPHEUS(ha) || \
((IPS_IS_TROMBONE(ha) || IPS_IS_CLARINET(ha)) && \
(ips_force_memio))) ? 1 : 0)

Definition at line 73 of file ips.h.

#define IPS_VENDORID_ADAPTEC   0x9005

Definition at line 205 of file ips.h.

#define IPS_VENDORID_IBM   0x1014

Definition at line 204 of file ips.h.

#define IPS_VER_BUILD   05

Definition at line 1173 of file ips.h.

#define IPS_VER_BUILD_STRING   __stringify(IPS_VER_BUILD)

Definition at line 1174 of file ips.h.

#define IPS_VER_KEYWEST   "7.12.02"

Definition at line 1194 of file ips.h.

#define IPS_VER_MAJOR   7

Definition at line 1169 of file ips.h.

#define IPS_VER_MAJOR_STRING   __stringify(IPS_VER_MAJOR)

Definition at line 1170 of file ips.h.

#define IPS_VER_MARCO   "7.12.02"

Definition at line 1192 of file ips.h.

#define IPS_VER_MINOR   12

Definition at line 1171 of file ips.h.

#define IPS_VER_MINOR_STRING   __stringify(IPS_VER_MINOR)

Definition at line 1172 of file ips.h.

#define IPS_VER_NAVAJO   "2.88.13"

Definition at line 1187 of file ips.h.

#define IPS_VER_SARASOTA   "7.12.02"

Definition at line 1191 of file ips.h.

#define IPS_VER_SEBRING   "7.12.02"

Definition at line 1193 of file ips.h.

#define IPS_VER_SERVERAID1   "2.25.01"

Definition at line 1185 of file ips.h.

#define IPS_VER_SERVERAID2   "2.88.13"

Definition at line 1186 of file ips.h.

#define IPS_VER_SERVERAID3   "6.10.24"

Definition at line 1188 of file ips.h.

#define IPS_VER_SERVERAID4H   "7.12.02"

Definition at line 1189 of file ips.h.

#define IPS_VER_SERVERAID4MLx   "7.12.02"

Definition at line 1190 of file ips.h.

#define IPS_VER_STRING
Value:
IPS_VER_MINOR_STRING "." IPS_VER_BUILD_STRING

Definition at line 1175 of file ips.h.

#define IPS_WRITE_BIOS   0x02

Definition at line 400 of file ips.h.

#define IPS_WRITE_FW   0x01

Definition at line 399 of file ips.h.

#define MDELAY (   n)
Value:
do { \
mdelay(n); \
touch_nmi_watchdog(); \
} while (0)

Definition at line 85 of file ips.h.

#define min (   x,
  y 
)    ((x) < (y) ? x : y)

Definition at line 92 of file ips.h.

#define pci_dma_hi32 (   a)    ((a >> 16) >> 16)

Definition at line 99 of file ips.h.

#define pci_dma_lo32 (   a)    (a & 0xffffffff)

Definition at line 100 of file ips.h.

Typedef Documentation

typedef void(* ips_scb_callback)(ips_ha_t *, struct ips_scb *)

Definition at line 1086 of file ips.h.

typedef struct IPS_ENQ * PIPS_ENQ
typedef struct IPS_LD * PIPS_LD
typedef union IPS_STATUS * PIPS_STATUS