#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/interrupt.h>
#include <linux/slab.h>
#include <linux/workqueue.h>
#include <linux/pci.h>
#include <scsi/scsi.h>
#include <scsi/scsi_host.h>
#include <scsi/scsi_cmnd.h>
#include <scsi/scsi_device.h>
#include "vmw_pvscsi.h"
Go to the source code of this file.
|
| MODULE_DESCRIPTION (PVSCSI_LINUX_DRIVER_DESC) |
|
| MODULE_AUTHOR ("VMware, Inc.") |
|
| MODULE_LICENSE ("GPL") |
|
| MODULE_VERSION (PVSCSI_DRIVER_VERSION_STRING) |
|
| module_param_named (ring_pages, pvscsi_ring_pages, int, PVSCSI_RW) |
|
| MODULE_PARM_DESC (ring_pages,"Number of pages per req/cmp ring - (default="__stringify(PVSCSI_DEFAULT_NUM_PAGES_PER_RING)")") |
|
| module_param_named (msg_ring_pages, pvscsi_msg_ring_pages, int, PVSCSI_RW) |
|
| MODULE_PARM_DESC (msg_ring_pages,"Number of pages for the msg ring - (default="__stringify(PVSCSI_DEFAULT_NUM_PAGES_MSG_RING)")") |
|
| module_param_named (cmd_per_lun, pvscsi_cmd_per_lun, int, PVSCSI_RW) |
|
| MODULE_PARM_DESC (cmd_per_lun,"Maximum commands per lun - (default="__stringify(PVSCSI_MAX_REQ_QUEUE_DEPTH)")") |
|
| module_param_named (disable_msi, pvscsi_disable_msi, bool, PVSCSI_RW) |
|
| MODULE_PARM_DESC (disable_msi,"Disable MSI use in driver - (default=0)") |
|
| module_param_named (disable_msix, pvscsi_disable_msix, bool, PVSCSI_RW) |
|
| MODULE_PARM_DESC (disable_msix,"Disable MSI-X use in driver - (default=0)") |
|
| module_param_named (use_msg, pvscsi_use_msg, bool, PVSCSI_RW) |
|
| MODULE_PARM_DESC (use_msg,"Use msg ring when available - (default=1)") |
|
| MODULE_DEVICE_TABLE (pci, pvscsi_pci_tbl) |
|
| module_init (pvscsi_init) |
|
| module_exit (pvscsi_exit) |
|
#define PVSCSI_DEFAULT_NUM_PAGES_MSG_RING 1 |
#define PVSCSI_DEFAULT_NUM_PAGES_PER_RING 8 |
#define PVSCSI_DEFAULT_QUEUE_DEPTH 64 |
#define PVSCSI_LINUX_DRIVER_DESC "VMware PVSCSI driver" |
MODULE_AUTHOR |
( |
" |
VMware, |
|
|
Inc." |
|
|
) |
| |
MODULE_DEVICE_TABLE |
( |
pci |
, |
|
|
pvscsi_pci_tbl |
|
|
) |
| |
module_exit |
( |
pvscsi_exit |
| ) |
|
module_init |
( |
pvscsi_init |
| ) |
|
module_param_named |
( |
ring_pages |
, |
|
|
pvscsi_ring_pages |
, |
|
|
int |
, |
|
|
PVSCSI_RW |
|
|
) |
| |
module_param_named |
( |
msg_ring_pages |
, |
|
|
pvscsi_msg_ring_pages |
, |
|
|
int |
, |
|
|
PVSCSI_RW |
|
|
) |
| |
module_param_named |
( |
cmd_per_lun |
, |
|
|
pvscsi_cmd_per_lun |
, |
|
|
int |
, |
|
|
PVSCSI_RW |
|
|
) |
| |
module_param_named |
( |
disable_msi |
, |
|
|
pvscsi_disable_msi |
, |
|
|
bool |
, |
|
|
PVSCSI_RW |
|
|
) |
| |
module_param_named |
( |
disable_msix |
, |
|
|
pvscsi_disable_msix |
, |
|
|
bool |
, |
|
|
PVSCSI_RW |
|
|
) |
| |
module_param_named |
( |
use_msg |
, |
|
|
pvscsi_use_msg |
, |
|
|
bool |
, |
|
|
PVSCSI_RW |
|
|
) |
| |
MODULE_PARM_DESC |
( |
disable_msi |
, |
|
|
"Disable MSI use in driver - (default=0)" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
disable_msix |
, |
|
|
"Disable MSI-X use in driver - (default=0)" |
|
|
) |
| |