diff options
author | Dmitry Kravkov <dmitry@broadcom.com> | 2011-03-06 05:50:44 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-06 21:06:03 -0500 |
commit | e3835b99333eb3ac7222f6fc0af5cae46074ac49 (patch) | |
tree | b68e45eda6bbf47f52cdd4fd2f58ec0dc1602ef9 /drivers/net/bnx2x/bnx2x.h | |
parent | 9fdc3e9566b3ae691aefc3aa7b8dca6cac32c95e (diff) |
bnx2x: (NPAR) prevent HW access in D3 state
Changing speed setting in NPAR requires HW access, this patch
delays the access to D0 state when performed in D3.
Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2x/bnx2x.h')
-rw-r--r-- | drivers/net/bnx2x/bnx2x.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/bnx2x/bnx2x.h b/drivers/net/bnx2x/bnx2x.h index 7897d114b290..2ac4e3c597fa 100644 --- a/drivers/net/bnx2x/bnx2x.h +++ b/drivers/net/bnx2x/bnx2x.h | |||
@@ -1211,6 +1211,7 @@ struct bnx2x { | |||
1211 | /* DCBX Negotation results */ | 1211 | /* DCBX Negotation results */ |
1212 | struct dcbx_features dcbx_local_feat; | 1212 | struct dcbx_features dcbx_local_feat; |
1213 | u32 dcbx_error; | 1213 | u32 dcbx_error; |
1214 | u32 pending_max; | ||
1214 | }; | 1215 | }; |
1215 | 1216 | ||
1216 | /** | 1217 | /** |