bnx2x: fix 'Ethtool -A' when autoneg
authorYuval Mintz <yuvalmin@broadcom.com>
Sun, 2 Dec 2012 04:05:56 +0000 (04:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Dec 2012 01:23:00 +0000 (20:23 -0500)
commitcd1dfce2ed571bc3d1962987b5c7d2d6e936bb27
tree6cd9adf4bb0a7035652f9dc360da95c27f84afe2
parent0370cf901dd923ce784efe486c8ba66babad693b
bnx2x: fix 'Ethtool -A' when autoneg

When configuring pauses using 'ethtool -A', the requested values have
effect when used together with autoneg (up to this point, when configured
for autoneg, driver ignored requested pause configuration)

Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c