#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/dma-mapping.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/of.h>
#include <linux/pm.h>
#include <linux/kthread.h>
#include <asm/firmware.h>
#include <asm/vio.h>
#include <scsi/scsi.h>
#include <scsi/scsi_cmnd.h>
#include <scsi/scsi_host.h>
#include <scsi/scsi_device.h>
#include <scsi/scsi_transport_srp.h>
#include "ibmvscsi.h"
Go to the source code of this file.
|
| MODULE_DESCRIPTION ("IBM Virtual SCSI") |
|
| MODULE_AUTHOR ("Dave Boutcher") |
|
| MODULE_LICENSE ("GPL") |
|
| MODULE_VERSION (IBMVSCSI_VERSION) |
|
| module_param_named (max_id, max_id, int, S_IRUGO|S_IWUSR) |
|
| MODULE_PARM_DESC (max_id,"Largest ID value for each channel") |
|
| module_param_named (max_channel, max_channel, int, S_IRUGO|S_IWUSR) |
|
| MODULE_PARM_DESC (max_channel,"Largest channel value") |
|
| module_param_named (init_timeout, init_timeout, int, S_IRUGO|S_IWUSR) |
|
| MODULE_PARM_DESC (init_timeout,"Initialization timeout in seconds") |
|
| module_param_named (max_requests, max_requests, int, S_IRUGO) |
|
| MODULE_PARM_DESC (max_requests,"Maximum requests for this adapter") |
|
| module_param_named (fast_fail, fast_fail, int, S_IRUGO|S_IWUSR) |
|
| MODULE_PARM_DESC (fast_fail,"Enable fast fail. [Default=1]") |
|
| module_param_named (client_reserve, client_reserve, int, S_IRUGO) |
|
| MODULE_PARM_DESC (client_reserve,"Attempt client managed reserve/release") |
|
| MODULE_DEVICE_TABLE (vio, ibmvscsi_device_table) |
|
int __init | ibmvscsi_module_init (void) |
|
void __exit | ibmvscsi_module_exit (void) |
|
| module_init (ibmvscsi_module_init) |
|
| module_exit (ibmvscsi_module_exit) |
|
#define IBMVSCSI_VERSION "1.5.9" |
MODULE_AUTHOR |
( |
"Dave Boutcher" |
| ) |
|
MODULE_DESCRIPTION |
( |
"IBM Virtual SCSI" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
vio |
, |
|
|
ibmvscsi_device_table |
|
|
) |
| |
module_param_named |
( |
max_id |
, |
|
|
max_id |
, |
|
|
int |
, |
|
|
S_IRUGO| |
S_IWUSR |
|
) |
| |
module_param_named |
( |
max_channel |
, |
|
|
max_channel |
, |
|
|
int |
, |
|
|
S_IRUGO| |
S_IWUSR |
|
) |
| |
module_param_named |
( |
init_timeout |
, |
|
|
init_timeout |
, |
|
|
int |
, |
|
|
S_IRUGO| |
S_IWUSR |
|
) |
| |
module_param_named |
( |
max_requests |
, |
|
|
max_requests |
, |
|
|
int |
, |
|
|
S_IRUGO |
|
|
) |
| |
module_param_named |
( |
fast_fail |
, |
|
|
fast_fail |
, |
|
|
int |
, |
|
|
S_IRUGO| |
S_IWUSR |
|
) |
| |
module_param_named |
( |
client_reserve |
, |
|
|
client_reserve |
, |
|
|
int |
, |
|
|
S_IRUGO |
|
|
) |
| |
MODULE_PARM_DESC |
( |
max_requests |
, |
|
|
"Maximum requests for this adapter" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
fast_fail |
, |
|
|
"Enable fast fail. " |
[Default=1] |
|
) |
| |