Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
ses.c File Reference
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/enclosure.h>
#include <scsi/scsi.h>
#include <scsi/scsi_cmnd.h>
#include <scsi/scsi_dbg.h>
#include <scsi/scsi_device.h>
#include <scsi/scsi_driver.h>
#include <scsi/scsi_host.h>

Go to the source code of this file.

Data Structures

struct  ses_device
 
struct  ses_component
 
struct  ses_host_edev
 
struct  efd
 

Macros

#define SES_TIMEOUT   (30 * HZ)
 
#define SES_RETRIES   3
 
#define INIT_ALLOC_SIZE   32
 

Functions

 module_init (ses_init)
 
 module_exit (ses_exit)
 
 MODULE_ALIAS_SCSI_DEVICE (TYPE_ENCLOSURE)
 
 MODULE_AUTHOR ("James Bottomley")
 
 MODULE_DESCRIPTION ("SCSI Enclosure Services (ses) driver")
 
 MODULE_LICENSE ("GPL v2")
 

Macro Definition Documentation

#define INIT_ALLOC_SIZE   32

Definition at line 357 of file ses.c.

#define SES_RETRIES   3

Definition at line 68 of file ses.c.

#define SES_TIMEOUT   (30 * HZ)

Definition at line 67 of file ses.c.

Function Documentation

MODULE_ALIAS_SCSI_DEVICE ( TYPE_ENCLOSURE  )
MODULE_AUTHOR ( "James Bottomley"  )
MODULE_DESCRIPTION ( "SCSI Enclosure Services (ses) driver )
module_exit ( ses_exit  )
module_init ( ses_init  )
MODULE_LICENSE ( "GPL v2 )