#include <linux/module.h>
#include <linux/moduleparam.h>
#include <generated/utsrelease.h>
#include <linux/utsname.h>
#include <linux/init.h>
#include <linux/list.h>
#include <linux/slab.h>
#include <linux/kthread.h>
#include <linux/types.h>
#include <linux/string.h>
#include <linux/configfs.h>
#include <linux/ctype.h>
#include <asm/unaligned.h>
#include <scsi/scsi.h>
#include <scsi/scsi_host.h>
#include <scsi/scsi_device.h>
#include <scsi/scsi_cmnd.h>
#include <target/target_core_base.h>
#include <target/target_core_fabric.h>
#include <target/target_core_fabric_configfs.h>
#include <target/target_core_configfs.h>
#include <target/configfs_macros.h>
#include "qla_def.h"
#include "qla_target.h"
#include "tcm_qla2xxx.h"
Go to the source code of this file.
#define DEF_QLA_TPG_ATTR_BOOL |
( |
|
_name | ) |
|
Value:\
static int tcm_qla2xxx_set_attrib_##_name( \
pr_err(
"Illegal boolean value %lu\n",
val); \
} \
\
return 0; \
}
Definition at line 890 of file tcm_qla2xxx.c.
#define DEF_QLA_TPG_ATTRIB |
( |
|
name | ) |
|
DEF_QLA_TPG_ATTR_BOOL |
( |
generate_node_acls |
| ) |
|
DEF_QLA_TPG_ATTR_BOOL |
( |
cache_dynamic_acls |
| ) |
|
DEF_QLA_TPG_ATTR_BOOL |
( |
demo_mode_write_protect |
| ) |
|
DEF_QLA_TPG_ATTR_BOOL |
( |
prod_mode_write_protect |
| ) |
|
DEF_QLA_TPG_ATTRIB |
( |
generate_node_acls |
| ) |
|
DEF_QLA_TPG_ATTRIB |
( |
cache_dynamic_acls |
| ) |
|
DEF_QLA_TPG_ATTRIB |
( |
demo_mode_write_protect |
| ) |
|
DEF_QLA_TPG_ATTRIB |
( |
prod_mode_write_protect |
| ) |
|
MODULE_DESCRIPTION |
( |
"TCM QLA2XXX series NPIV enabled fabric driver" |
| ) |
|
module_exit |
( |
tcm_qla2xxx_exit |
| ) |
|
module_init |
( |
tcm_qla2xxx_init |
| ) |
|
QLA_TPG_ATTR |
( |
generate_node_acls |
, |
|
|
S_IRUGO| |
S_IWUSR |
|
) |
| |
QLA_TPG_ATTR |
( |
cache_dynamic_acls |
, |
|
|
S_IRUGO| |
S_IWUSR |
|
) |
| |
QLA_TPG_ATTR |
( |
demo_mode_write_protect |
, |
|
|
S_IRUGO| |
S_IWUSR |
|
) |
| |
QLA_TPG_ATTR |
( |
prod_mode_write_protect |
, |
|
|
S_IRUGO| |
S_IWUSR |
|
) |
| |
TF_WWN_ATTR_RO |
( |
tcm_qla2xxx |
, |
|
|
version |
|
|
) |
| |