diff options
author | Nithin Sujir <nsujir@broadcom.com> | 2013-05-13 11:04:15 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-05-14 11:32:04 -0700 |
commit | 44f3b503c16425c8e9db4bbaa2fc9cd0c9d0ba91 (patch) | |
tree | cdf4418223656681ad570c8e6aefec4bf17c1425 /drivers/net/ethernet/dnet.h | |
parent | dbbffe6898fd0d7bac66ded5d3c58835b13ddefc (diff) |
tg3: Skip powering down function 0 on certain serdes devices
On the 5718, 5719 and 5720 serdes devices, powering down function 0
results in all the other ports being powered down. Add code to skip
function 0 power down.
v2:
- Modify tg3_phy_power_bug() function to use a switch instead of a
complicated if statement. Suggested by Joe Perches.
Cc: <stable@vger.kernel.org>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: Nithin Nayak Sujir <nsujir@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/dnet.h')
0 files changed, 0 insertions, 0 deletions