Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
simscsi.c File Reference
#include <linux/blkdev.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/kernel.h>
#include <linux/timer.h>
#include <asm/irq.h>
#include "hpsim_ssc.h"
#include <scsi/scsi.h>
#include <scsi/scsi_cmnd.h>
#include <scsi/scsi_device.h>
#include <scsi/scsi_host.h>

Go to the source code of this file.

Data Structures

struct  disk_req
 
struct  disk_stat
 
struct  queue_entry
 

Macros

#define DEBUG_SIMSCSI   0
 
#define SIMSCSI_REQ_QUEUE_LEN   64
 
#define DEFAULT_SIMSCSI_ROOT   "/var/ski-disks/sd"
 
#define SSC_OPEN   50
 
#define SSC_CLOSE   51
 
#define SSC_READ   52
 
#define SSC_WRITE   53
 
#define SSC_GET_COMPLETION   54
 
#define SSC_WAIT_COMPLETION   55
 
#define SSC_WRITE_ACCESS   2
 
#define SSC_READ_ACCESS   1
 
#define DBG   0
 
#define MAX_ROOT_LEN   128
 

Functions

 __setup ("simscsi=", simscsi_setup)
 
 module_init (simscsi_init)
 
 module_exit (simscsi_exit)
 

Macro Definition Documentation

#define DBG   0

Definition at line 45 of file simscsi.c.

#define DEBUG_SIMSCSI   0

Definition at line 24 of file simscsi.c.

#define DEFAULT_SIMSCSI_ROOT   "/var/ski-disks/sd"

Definition at line 27 of file simscsi.c.

#define MAX_ROOT_LEN   128

Definition at line 77 of file simscsi.c.

#define SIMSCSI_REQ_QUEUE_LEN   64

Definition at line 26 of file simscsi.c.

#define SSC_CLOSE   51

Definition at line 32 of file simscsi.c.

#define SSC_GET_COMPLETION   54

Definition at line 35 of file simscsi.c.

#define SSC_OPEN   50

Definition at line 31 of file simscsi.c.

#define SSC_READ   52

Definition at line 33 of file simscsi.c.

#define SSC_READ_ACCESS   1

Definition at line 39 of file simscsi.c.

#define SSC_WAIT_COMPLETION   55

Definition at line 36 of file simscsi.c.

#define SSC_WRITE   53

Definition at line 34 of file simscsi.c.

#define SSC_WRITE_ACCESS   2

Definition at line 38 of file simscsi.c.

Function Documentation

__setup ( )
module_exit ( simscsi_exit  )
module_init ( simscsi_init  )