1. 01 Oct, 2014 1 commit
    • hayeswang's avatar
      r8152: remove clearing bp · 204c8704
      hayeswang authored
      
      
      The xxx_clear_bp() is used to halt the firmware. It only necessary
      for updating the new firmware. Besides, depend on the version of
      the current firmware, it may have problem to halt the firmware
      directly. Finally, halt the firmware would let the firmware code
      useless, and the bugs which are fixed by the firmware would occur.
      
      Signed-off-by: default avatarHayes Wang <hayeswang@realtek.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      204c8704
  2. 30 Sep, 2014 1 commit
  3. 26 Sep, 2014 1 commit
  4. 22 Sep, 2014 1 commit
    • hayeswang's avatar
      r8152: disable ALDPS · d70b1137
      hayeswang authored
      
      
      If the hw is in ALDPS mode, the hw may have no response for accessing
      the most registers. Therefore, the ALDPS should be disabled before
      accessing the hw in rtl_ops.init(), rtl_ops.disable(), rtl_ops.up(),
      and rtl_ops.down(). Regardless of rtl_ops.enable(), because the hw
      wouldn't enter ALDPS mode when linking on. The hw would enter the
      ALDPS mode after several seconds when link down occurs and the ALDPS
      is enabled.
      
      Signed-off-by: default avatarHayes Wang <hayeswang@realtek.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      d70b1137
  5. 25 Jul, 2014 1 commit
  6. 11 Jul, 2014 1 commit
  7. 10 Jul, 2014 1 commit
  8. 08 Jul, 2014 2 commits
  9. 30 May, 2014 1 commit
  10. 13 May, 2014 1 commit
  11. 11 Apr, 2014 1 commit
  12. 11 Mar, 2014 1 commit
  13. 10 Mar, 2014 1 commit
  14. 07 Mar, 2014 7 commits
  15. 06 Mar, 2014 3 commits
  16. 05 Mar, 2014 1 commit
    • hayeswang's avatar
      r8152: disable the ECM mode · 10c32717
      hayeswang authored
      
      
      There are known issues for switching the drivers between ECM mode and
      vendor mode. The interrup transfer may become abnormal. The hardware
      may have the opportunity to die if you change the configuration without
      unloading the current driver first, because all the control transfers
      of the current driver would fail after the command of switching the
      configuration.
      
      Although to use the ecm driver and vendor driver independently is fine,
      it may have problems to change the driver from one to the other by
      switching the configuration. Additionally, now the vendor mode driver
      is more powerful than the ECM driver. Thus, disable the ECM mode driver,
      and let r8152 to set the configuration to vendor mode and reset the
      device automatically.
      
      Signed-off-by: default avatarHayes Wang <hayeswang@realtek.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      10c32717
  17. 18 Feb, 2014 14 commits
  18. 06 Feb, 2014 1 commit