1. 14 4月, 2012 1 次提交
  2. 04 4月, 2012 1 次提交
  3. 29 3月, 2012 1 次提交
  4. 12 3月, 2012 1 次提交
  5. 11 3月, 2012 8 次提交
  6. 07 3月, 2012 1 次提交
    • F
      r8169: runtime resume before shutdown. · 2a15cd2f
      françois romieu 提交于
      With runtime PM, if the ethernet cable is disconnected, the device is
      transitioned to D3 state to conserve energy. If the system is shutdown
      in this state, any register accesses in rtl_shutdown are dropped on
      the floor. As the device was programmed by .runtime_suspend() to wake
      on link changes, it is thus brought back up as soon as the link recovers.
      
      Resuming every suspended device through the driver core would slow things
      down and it is not clear how many devices really need it now.
      
      Original report and D0 transition patch by Sameer Nanda. Patch has been
      changed to comply with advices by Rafael J. Wysocki and the PM folks.
      Reported-by: NSameer Nanda <snanda@chromium.org>
      Signed-off-by: NFrancois Romieu <romieu@fr.zoreil.com>
      Cc: Rafael J. Wysocki <rjw@sisk.pl>
      Cc: Hayes Wang <hayeswang@realtek.com>
      Cc: Alan Stern <stern@rowland.harvard.edu>
      Acked-by: NRafael J. Wysocki <rjw@sisk.pl>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      2a15cd2f
  7. 06 3月, 2012 3 次提交
  8. 03 3月, 2012 1 次提交
  9. 24 2月, 2012 4 次提交
  10. 09 2月, 2012 1 次提交
  11. 01 2月, 2012 1 次提交
  12. 31 1月, 2012 6 次提交
  13. 28 1月, 2012 2 次提交
    • F
      r8169: remove work from irq handler. · da78dbff
      Francois Romieu 提交于
      The irq handler was a mess.
      
      See 7ab87ff4 ("via-rhine: move work from
      irq handler to softirq and beyond") for similar changes. One can notice:
      - all non-napi tasks are explicitely scheduled trough a single work queue.
      - hiding software tx queue start behind the rtl_hw_start method is mildly
        natural. Move it in the caller where needed.
      - as can be seen from the heavy use of bh disabling locks, the driver is
        not safe for irq context messages with netconsole. It is still quite
        usable for general messaging though. Tested ok with concurrent registers
        dump (ethtool -d) + background traffic + "echo t > /proc/sysrq-trigger".
      
      Tested with old PCI chipset, PCIe 8168 and 810x:
      - XID 0c900800 RTL8168evl/8111evl
      - XID 18000000 RTL8168b/8111b
      - XID 98000000 RTL8169sc/8110sc
      - XID 083000c0 RTL8168d/8111d
      - XID 081000c0 RTL8168d/8111d
      - XID 00b00000 RTL8105e
      - XID 04a00000 RTL8102e
      
      As a side note, the comments in f11a377b
      ("r8169: avoid losing MSI interrupts") does not seem completely clear: if
      I hack the driver further to stop acking the irq link event bit, MSI
      interrupts keep being delivered (RTL8168b/8111b, XID 18000000).
      Signed-off-by: NFrancois Romieu <romieu@fr.zoreil.com>
      Cc: Hayes Wang <hayeswang@realtek.com>
      da78dbff
    • F
      r8169: missing barriers. · 1e874e04
      Francois Romieu 提交于
      Signed-off-by: NFrancois Romieu <romieu@fr.zoreil.com>
      Cc: Hayes Wang <hayeswang@realtek.com>
      1e874e04
  14. 27 1月, 2012 5 次提交
  15. 09 1月, 2012 1 次提交
  16. 04 1月, 2012 2 次提交
  17. 20 12月, 2011 1 次提交