Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/dma-mapping.h>
#include <linux/dmapool.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/kthread.h>
#include <linux/slab.h>
#include <linux/of.h>
#include <linux/pm.h>
#include <linux/stringify.h>
#include <asm/firmware.h>
#include <asm/irq.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_tcq.h>
#include <scsi/scsi_transport_fc.h>
#include <scsi/scsi_bsg_fc.h>
#include "ibmvfc.h"
Go to the source code of this file.
Macros | |
#define | ibmvfc_trc_start(evt) do { } while (0) |
#define | ibmvfc_trc_end(evt) do { } while (0) |
Functions | |
MODULE_DESCRIPTION ("IBM Virtual Fibre Channel Driver") | |
MODULE_AUTHOR ("Brian King <[email protected]>") | |
MODULE_LICENSE ("GPL") | |
MODULE_VERSION (IBMVFC_DRIVER_VERSION) | |
module_param_named (init_timeout, init_timeout, uint, S_IRUGO|S_IWUSR) | |
MODULE_PARM_DESC (init_timeout,"Initialization timeout in seconds. ""[Default="__stringify(IBMVFC_INIT_TIMEOUT)"]") | |
module_param_named (default_timeout, default_timeout, uint, S_IRUGO|S_IWUSR) | |
MODULE_PARM_DESC (default_timeout,"Default timeout in seconds for initialization and EH commands. ""[Default="__stringify(IBMVFC_DEFAULT_TIMEOUT)"]") | |
module_param_named (max_requests, max_requests, uint, S_IRUGO) | |
MODULE_PARM_DESC (max_requests,"Maximum requests for this adapter. ""[Default="__stringify(IBMVFC_MAX_REQUESTS_DEFAULT)"]") | |
module_param_named (max_lun, max_lun, uint, S_IRUGO) | |
MODULE_PARM_DESC (max_lun,"Maximum allowed LUN. ""[Default="__stringify(IBMVFC_MAX_LUN)"]") | |
module_param_named (max_targets, max_targets, uint, S_IRUGO) | |
MODULE_PARM_DESC (max_targets,"Maximum allowed targets. ""[Default="__stringify(IBMVFC_MAX_TARGETS)"]") | |
module_param_named (disc_threads, disc_threads, uint, S_IRUGO) | |
MODULE_PARM_DESC (disc_threads,"Number of device discovery threads to use. ""[Default="__stringify(IBMVFC_MAX_DISC_THREADS)"]") | |
module_param_named (debug, ibmvfc_debug, uint, S_IRUGO|S_IWUSR) | |
MODULE_PARM_DESC (debug,"Enable driver debug information. ""[Default="__stringify(IBMVFC_DEBUG)"]") | |
module_param_named (log_level, log_level, uint, 0) | |
MODULE_PARM_DESC (log_level,"Set to 0 - 4 for increasing verbosity of device driver. ""[Default="__stringify(IBMVFC_DEFAULT_LOG_LEVEL)"]") | |
MODULE_DEVICE_TABLE (vio, ibmvfc_device_table) | |
module_init (ibmvfc_module_init) | |
module_exit (ibmvfc_module_exit) | |
MODULE_AUTHOR | ( | "Brian King <[email protected]>" | ) |
MODULE_DESCRIPTION | ( | "IBM Virtual Fibre Channel Driver" | ) |
MODULE_DEVICE_TABLE | ( | vio | , |
ibmvfc_device_table | |||
) |
module_exit | ( | ibmvfc_module_exit | ) |
module_init | ( | ibmvfc_module_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |
MODULE_PARM_DESC | ( | init_timeout | , |
"Initialization timeout in seconds. """ | [Default="__stringify(IBMVFC_INIT_TIMEOUT)"] | ||
) |
MODULE_PARM_DESC | ( | default_timeout | , |
"Default timeout in seconds for initialization and EH commands. """ | [Default="__stringify(IBMVFC_DEFAULT_TIMEOUT)"] | ||
) |
MODULE_PARM_DESC | ( | max_requests | , |
"Maximum requests for this adapter. """ | [Default="__stringify(IBMVFC_MAX_REQUESTS_DEFAULT)"] | ||
) |
MODULE_PARM_DESC | ( | max_lun | , |
"Maximum allowed LUN. """ | [Default="__stringify(IBMVFC_MAX_LUN)"] | ||
) |
MODULE_PARM_DESC | ( | max_targets | , |
"Maximum allowed targets. """ | [Default="__stringify(IBMVFC_MAX_TARGETS)"] | ||
) |
MODULE_PARM_DESC | ( | disc_threads | , |
"Number of device discovery threads to use. """ | [Default="__stringify(IBMVFC_MAX_DISC_THREADS)"] | ||
) |
MODULE_PARM_DESC | ( | debug | , |
"Enable driver debug information. """ | [Default="__stringify(IBMVFC_DEBUG)"] | ||
) |
MODULE_PARM_DESC | ( | log_level | , |
"Set to 0 - 4 for increasing verbosity of device driver. """ | [Default="__stringify(IBMVFC_DEFAULT_LOG_LEVEL)"] | ||
) |
MODULE_VERSION | ( | IBMVFC_DRIVER_VERSION | ) |
u16 fc_type |