summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorhayeswang <hayeswang@realtek.com>2015-02-12 11:20:46 +0300
committerDavid S. Miller <davem@davemloft.net>2015-02-15 07:15:45 +0300
commit65bab84c79077f3acbf7dcf2aec0588226d43663 (patch)
treee278fc0d6b8439f02c71c1d325de115d4d828f61 /net
parent0416605548766782acee60701b5c712e9b9e1bc2 (diff)
downloadlinux-65bab84c79077f3acbf7dcf2aec0588226d43663.tar.xz
r8152: restore hw settings
There is a capability which let the hw could change the settings automatically when the power change to ON. However, the USB reset would reset the settings to the hw default, so the driver has to restore the relative settings. Otherwise, it would influence the functions of the hw, and the compatibility for the USB hub and USB host controller. The relative settings are as following. - set the power down scale to 96. - enable the power saving function of USB 2.0. - disable the ALDPS of ECM mode. - set burst mode depending on the burst size. - enable the flow control of endpoint full. - set fifo empty boundary to 32448 bytes. - enable the function of exiting LPM when Rx OK occurs. - set the connect timer to 1. Signed-off-by: Hayes Wang <hayeswang@realtek.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions