aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorhayeswang <hayeswang@realtek.com>2015-02-12 16:20:46 +0800
committerDavid S. Miller <davem@davemloft.net>2015-02-14 20:15:45 -0800
commit65bab84c79077f3acbf7dcf2aec0588226d43663 (patch)
treee278fc0d6b8439f02c71c1d325de115d4d828f61 /net
parenthso: fix rx parsing logic when skb allocation fails (diff)
downloadlinux-dev-65bab84c79077f3acbf7dcf2aec0588226d43663.tar.xz
linux-dev-65bab84c79077f3acbf7dcf2aec0588226d43663.zip
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