]> git.baikalelectronics.ru Git - kernel.git/commit
tg3: Reset phy during bringup when using phylib
authorMatt Carlson <mcarlson@broadcom.com>
Fri, 12 Feb 2010 14:47:10 +0000 (14:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Feb 2010 01:05:54 +0000 (17:05 -0800)
commit3b018533d6a02c8663081297f9f3aae6828c27eb
tree801086e849fc3039ad4bb7dda9d5c07d0d9bd550
parent24a1a5fc0bab3b099c361bed9351085ba065b757
tg3: Reset phy during bringup when using phylib

The driver puts the phy into low-power mode when it releases the device.
If the device were to be reacquired, the phy needs a reset to bring it
back to full powered operation.  This patch allows phylib-enabled
devices to reset the phy.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Reviewed-by: Michael Chan <mchan@broadcom.com>
Reviewed-by: Benjamin Li <benli@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c