Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Enumerations | Variables
target_core_pscsi.h File Reference
#include <linux/device.h>
#include <scsi/scsi_driver.h>
#include <scsi/scsi_device.h>
#include <linux/kref.h>
#include <linux/kobject.h>

Go to the source code of this file.

Data Structures

struct  pscsi_plugin_task
 
struct  pscsi_dev_virt
 
struct  pscsi_hba_virt
 

Macros

#define PSCSI_VERSION   "v4.0"
 
#define INQUIRY_DATA_SIZE   0x24
 
#define PSCSI_DEFAULT_QUEUEDEPTH   1
 
#define PS_RETRY   5
 
#define PS_TIMEOUT_DISK   (15*HZ)
 
#define PS_TIMEOUT_OTHER   (500*HZ)
 
#define PDF_HAS_CHANNEL_ID   0x01
 
#define PDF_HAS_TARGET_ID   0x02
 
#define PDF_HAS_LUN_ID   0x04
 
#define PDF_HAS_VPD_UNIT_SERIAL   0x08
 
#define PDF_HAS_VPD_DEV_IDENT   0x10
 
#define PDF_HAS_VIRT_HOST_ID   0x20
 

Typedefs

typedef enum phv_modes phv_modes_t
 

Enumerations

enum  phv_modes { PHV_VIRTUAL_HOST_ID, PHV_LLD_SCSI_HOST_NO }
 

Variables

struct pscsi_plugin_task ____cacheline_aligned
 

Macro Definition Documentation

#define INQUIRY_DATA_SIZE   0x24

Definition at line 8 of file target_core_pscsi.h.

#define PDF_HAS_CHANNEL_ID   0x01

Definition at line 32 of file target_core_pscsi.h.

#define PDF_HAS_LUN_ID   0x04

Definition at line 34 of file target_core_pscsi.h.

#define PDF_HAS_TARGET_ID   0x02

Definition at line 33 of file target_core_pscsi.h.

#define PDF_HAS_VIRT_HOST_ID   0x20

Definition at line 37 of file target_core_pscsi.h.

#define PDF_HAS_VPD_DEV_IDENT   0x10

Definition at line 36 of file target_core_pscsi.h.

#define PDF_HAS_VPD_UNIT_SERIAL   0x08

Definition at line 35 of file target_core_pscsi.h.

#define PS_RETRY   5

Definition at line 14 of file target_core_pscsi.h.

#define PS_TIMEOUT_DISK   (15*HZ)

Definition at line 15 of file target_core_pscsi.h.

#define PS_TIMEOUT_OTHER   (500*HZ)

Definition at line 16 of file target_core_pscsi.h.

#define PSCSI_DEFAULT_QUEUEDEPTH   1

Definition at line 12 of file target_core_pscsi.h.

#define PSCSI_VERSION   "v4.0"

Definition at line 4 of file target_core_pscsi.h.

Typedef Documentation

typedef enum phv_modes phv_modes_t

Enumeration Type Documentation

enum phv_modes
Enumerator:
PHV_VIRTUAL_HOST_ID 
PHV_LLD_SCSI_HOST_NO 

Definition at line 50 of file target_core_pscsi.h.

Variable Documentation