|
@@ -1998,6 +1998,14 @@ lpfc_vport_param_show(name)\
|
|
|
lpfc_vport_param_init(name, defval, minval, maxval)\
|
|
|
static DEVICE_ATTR(lpfc_##name, S_IRUGO , lpfc_##name##_show, NULL)
|
|
|
|
|
|
+#define LPFC_VPORT_ULL_ATTR_R(name, defval, minval, maxval, desc) \
|
|
|
+static uint64_t lpfc_##name = defval;\
|
|
|
+module_param(lpfc_##name, ullong, S_IRUGO);\
|
|
|
+MODULE_PARM_DESC(lpfc_##name, desc);\
|
|
|
+lpfc_vport_param_show(name)\
|
|
|
+lpfc_vport_param_init(name, defval, minval, maxval)\
|
|
|
+static DEVICE_ATTR(lpfc_##name, S_IRUGO , lpfc_##name##_show, NULL)
|
|
|
+
|
|
|
#define LPFC_VPORT_ATTR_RW(name, defval, minval, maxval, desc) \
|
|
|
static uint lpfc_##name = defval;\
|
|
|
module_param(lpfc_##name, uint, S_IRUGO);\
|
|
@@ -4596,7 +4604,7 @@ LPFC_VPORT_ATTR(discovery_threads, 32, 1, 64, "Maximum number of ELS commands "
|
|
|
# Value range is [0,65535]. Default value is 255.
|
|
|
# NOTE: The SCSI layer might probe all allowed LUN on some old targets.
|
|
|
*/
|
|
|
-LPFC_VPORT_ATTR_R(max_luns, 255, 0, 65535, "Maximum allowed LUN ID");
|
|
|
+LPFC_VPORT_ULL_ATTR_R(max_luns, 255, 0, 65535, "Maximum allowed LUN ID");
|
|
|
|
|
|
/*
|
|
|
# lpfc_poll_tmo: .Milliseconds driver will wait between polling FCP ring.
|