Re: [PATCH net] r8152: restore hw settings

From: David Miller
Date: Sat Feb 14 2015 - 23:09:31 EST


From: Hayes Wang <hayeswang@xxxxxxxxxxx>
Date: Thu, 12 Feb 2015 16:20:46 +0800

> 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@xxxxxxxxxxx>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/