diff options
author | Dmitry Kravkov <dmitry@broadcom.com> | 2011-03-06 11:50:44 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-07 03:06:03 +0100 |
commit | e3835b99333eb3ac7222f6fc0af5cae46074ac49 (patch) | |
tree | b68e45eda6bbf47f52cdd4fd2f58ec0dc1602ef9 /drivers/net/bnx2x/bnx2x_cmn.h | |
parent | bnx2x: fix link notification (diff) | |
download | linux-e3835b99333eb3ac7222f6fc0af5cae46074ac49.tar.xz linux-e3835b99333eb3ac7222f6fc0af5cae46074ac49.zip |
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_cmn.h')
-rw-r--r-- | drivers/net/bnx2x/bnx2x_cmn.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/bnx2x/bnx2x_cmn.h b/drivers/net/bnx2x/bnx2x_cmn.h index 326ba44b3ded..85ea7f26b51f 100644 --- a/drivers/net/bnx2x/bnx2x_cmn.h +++ b/drivers/net/bnx2x/bnx2x_cmn.h @@ -341,6 +341,15 @@ void bnx2x_dcbx_init(struct bnx2x *bp); */ int bnx2x_set_power_state(struct bnx2x *bp, pci_power_t state); +/** + * Updates MAX part of MF configuration in HW + * (if required) + * + * @param bp + * @param value + */ +void bnx2x_update_max_mf_config(struct bnx2x *bp, u32 value); + /* dev_close main block */ int bnx2x_nic_unload(struct bnx2x *bp, int unload_mode); |