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>
This commit is contained in:
committed by
David S. Miller
parent
ff14702844
commit
eddb755428
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user