summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/cnic_if.h
diff options
context:
space:
mode:
authorTej Parkash <tej.parkash@qlogic.com>2015-08-04 09:37:27 +0300
committerDavid S. Miller <davem@davemloft.net>2015-08-06 21:54:12 -0700
commiteddb755428e6e723bf587a4e2c15055c8ac02f5b (patch)
tree1829a207f4109aa125c9446f2c7256774dcadf71 /drivers/net/ethernet/broadcom/cnic_if.h
parentff1470284493ca18da852e36afe39d29d0feb875 (diff)
downloadblackbird-op-linux-eddb755428e6e723bf587a4e2c15055c8ac02f5b.tar.gz
blackbird-op-linux-eddb755428e6e723bf587a4e2c15055c8ac02f5b.zip
cnic: Populate upper layer driver state in MFW
Signed-off-by: Tej Parkash <tej.parkash@qlogic.com> Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/cnic_if.h')
-rw-r--r--drivers/net/ethernet/broadcom/cnic_if.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/cnic_if.h b/drivers/net/ethernet/broadcom/cnic_if.h
index ef6125b0ee3e..d0cf006b5e0e 100644
--- a/drivers/net/ethernet/broadcom/cnic_if.h
+++ b/drivers/net/ethernet/broadcom/cnic_if.h
@@ -151,6 +151,11 @@ struct drv_ctl_register_data {
struct drv_ctl_info {
int cmd;
+ int drv_state;
+#define DRV_NOP 0
+#define DRV_ACTIVE 1
+#define DRV_INACTIVE 2
+#define DRV_UNLOADED 3
union {
struct drv_ctl_spq_credit credit;
struct drv_ctl_io io;
OpenPOWER on IntegriCloud