1. 15 2月, 2015 1 次提交
    • H
      r8152: restore hw settings · 65bab84c
      hayeswang 提交于
      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: NHayes Wang <hayeswang@realtek.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      65bab84c
  2. 08 2月, 2015 7 次提交
  3. 20 1月, 2015 2 次提交
  4. 15 1月, 2015 1 次提交
  5. 14 1月, 2015 1 次提交
  6. 13 1月, 2015 2 次提交
  7. 07 1月, 2015 1 次提交
  8. 10 12月, 2014 1 次提交
    • H
      r8152: redefine REALTEK_USB_DEVICE · d9a28c5b
      hayeswang 提交于
      Redefine REALTEK_USB_DEVICE for the desired USB interface for probe().
      There are three USB interfaces for the device. USB_CLASS_COMM and
      USB_CLASS_CDC_DATA are for ECM mode (config #2). USB_CLASS_VENDOR_SPEC
      is for the vendor mode (config #1). However, we are not interesting
      in USB_CLASS_CDC_DATA for probe(), so redefine REALTEK_USB_DEVICE
      to ignore the USB interface class of USB_CLASS_CDC_DATA.
      Signed-off-by: NHayes Wang <hayeswang@realtek.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      d9a28c5b
  9. 22 11月, 2014 2 次提交
  10. 13 11月, 2014 3 次提交
  11. 07 11月, 2014 3 次提交
  12. 06 11月, 2014 1 次提交
  13. 01 11月, 2014 1 次提交
    • H
      r8152: stop submitting intr for -EPROTO · d59c876d
      hayeswang 提交于
      For Renesas USB 3.0 host controller, when unplugging the usb hub which
      has the RTL8153 plugged, the driver would get -EPROTO for interrupt
      transfer. There is high probability to get the information of "HC died;
      cleaning up", if the driver continues to submit the interrupt transfer
      before the disconnect() is called.
      
      [ 1024.197678] r8152 9-1.4:1.0 eth0: intr status -71
      [ 1024.213673] r8152 9-1.4:1.0 eth0: intr status -71
      [ 1024.229668] r8152 9-1.4:1.0 eth0: intr status -71
      [ 1024.245661] r8152 9-1.4:1.0 eth0: intr status -71
      [ 1024.261653] r8152 9-1.4:1.0 eth0: intr status -71
      [ 1024.277648] r8152 9-1.4:1.0 eth0: intr status -71
      [ 1024.293642] r8152 9-1.4:1.0 eth0: intr status -71
      [ 1024.309638] r8152 9-1.4:1.0 eth0: intr status -71
      [ 1024.325633] r8152 9-1.4:1.0 eth0: intr status -71
      [ 1024.341627] r8152 9-1.4:1.0 eth0: intr status -71
      [ 1024.357621] r8152 9-1.4:1.0 eth0: intr status -71
      [ 1024.373615] r8152 9-1.4:1.0 eth0: intr status -71
      [ 1024.383097] usb 9-1: USB disconnect, device number 2
      [ 1024.383103] usb 9-1.4: USB disconnect, device number 6
      [ 1029.391010] xhci_hcd 0000:04:00.0: xHCI host not responding to stop endpoint command.
      [ 1029.391016] xhci_hcd 0000:04:00.0: Assuming host is dying, halting host.
      [ 1029.392551] xhci_hcd 0000:04:00.0: HC died; cleaning up
      [ 1029.421480] usb 8-1: USB disconnect, device number 2
      Signed-off-by: NHayes Wang <hayeswang@realtek.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      d59c876d
  14. 31 10月, 2014 4 次提交
  15. 30 10月, 2014 2 次提交
  16. 18 10月, 2014 1 次提交
  17. 10 10月, 2014 3 次提交
  18. 07 10月, 2014 1 次提交
  19. 04 10月, 2014 1 次提交
  20. 02 10月, 2014 2 次提交