diff options
Diffstat (limited to 'drivers/net/enic/vnic_devcmd.h')
-rw-r--r-- | drivers/net/enic/vnic_devcmd.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/net/enic/vnic_devcmd.h b/drivers/net/enic/vnic_devcmd.h index 8062c75154e6..2587f34fbfbd 100644 --- a/drivers/net/enic/vnic_devcmd.h +++ b/drivers/net/enic/vnic_devcmd.h | |||
@@ -191,7 +191,7 @@ enum vnic_devcmd_cmd { | |||
191 | CMD_INIT_STATUS = _CMDC(_CMD_DIR_READ, _CMD_VTYPE_ALL, 31), | 191 | CMD_INIT_STATUS = _CMDC(_CMD_DIR_READ, _CMD_VTYPE_ALL, 31), |
192 | 192 | ||
193 | /* INT13 API: (u64)a0=paddr to vnic_int13_params struct | 193 | /* INT13 API: (u64)a0=paddr to vnic_int13_params struct |
194 | * (u8)a1=INT13_CMD_xxx */ | 194 | * (u32)a1=INT13_CMD_xxx */ |
195 | CMD_INT13 = _CMDC(_CMD_DIR_WRITE, _CMD_VTYPE_FC, 32), | 195 | CMD_INT13 = _CMDC(_CMD_DIR_WRITE, _CMD_VTYPE_FC, 32), |
196 | 196 | ||
197 | /* logical uplink enable/disable: (u64)a0: 0/1=disable/enable */ | 197 | /* logical uplink enable/disable: (u64)a0: 0/1=disable/enable */ |
@@ -207,6 +207,11 @@ enum vnic_devcmd_cmd { | |||
207 | * in: (u32)a0=cmd | 207 | * in: (u32)a0=cmd |
208 | * out: (u32)a0=errno, 0:valid cmd, a1=supported VNIC_STF_* bits */ | 208 | * out: (u32)a0=errno, 0:valid cmd, a1=supported VNIC_STF_* bits */ |
209 | CMD_CAPABILITY = _CMDC(_CMD_DIR_RW, _CMD_VTYPE_ALL, 36), | 209 | CMD_CAPABILITY = _CMDC(_CMD_DIR_RW, _CMD_VTYPE_ALL, 36), |
210 | |||
211 | /* persistent binding info | ||
212 | * in: (u64)a0=paddr of arg | ||
213 | * (u32)a1=CMD_PERBI_XXX */ | ||
214 | CMD_PERBI = _CMDC(_CMD_DIR_RW, _CMD_VTYPE_FC, 37), | ||
210 | }; | 215 | }; |
211 | 216 | ||
212 | /* flags for CMD_OPEN */ | 217 | /* flags for CMD_OPEN */ |
@@ -259,6 +264,7 @@ struct vnic_devcmd_notify { | |||
259 | u32 status; /* status bits (see VNIC_STF_*) */ | 264 | u32 status; /* status bits (see VNIC_STF_*) */ |
260 | u32 error; /* error code (see ERR_*) for first ERR */ | 265 | u32 error; /* error code (see ERR_*) for first ERR */ |
261 | u32 link_down_cnt; /* running count of link down transitions */ | 266 | u32 link_down_cnt; /* running count of link down transitions */ |
267 | u32 perbi_rebuild_cnt; /* running count of perbi rebuilds */ | ||
262 | }; | 268 | }; |
263 | #define VNIC_STF_FATAL_ERR 0x0001 /* fatal fw error */ | 269 | #define VNIC_STF_FATAL_ERR 0x0001 /* fatal fw error */ |
264 | #define VNIC_STF_STD_PAUSE 0x0002 /* standard link-level pause on */ | 270 | #define VNIC_STF_STD_PAUSE 0x0002 /* standard link-level pause on */ |