1. 10 3月, 2011 3 次提交
  2. 18 2月, 2011 1 次提交
  3. 12 2月, 2011 1 次提交
  4. 11 2月, 2011 1 次提交
  5. 27 1月, 2011 1 次提交
  6. 26 1月, 2011 11 次提交
  7. 02 1月, 2011 1 次提交
    • E
      tg3: fix warnings · aa6027ca
      Eric Dumazet 提交于
      In case CONFIG_PM_SLEEP is disabled, we dont need tg3_suspend() and
      tg3_resume().
      
      drivers/net/tg3.c:15056: warning: ‘tg3_suspend’ defined but not used
      drivers/net/tg3.c:15110: warning: ‘tg3_resume’ defined but not used
      Signed-off-by: NEric Dumazet <eric.dumazet@gmail.com>
      Cc: Rafael J. Wysocki <rjw@sisk.pl>
      Cc: Michael Chan <mchan@broadcom.com>
      Cc: Matt Carlson <mcarlson@broadcom.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      aa6027ca
  8. 01 1月, 2011 2 次提交
    • D
      tg3: fix return value check in tg3_read_vpd() · 824f5f38
      David Sterba 提交于
      Besides -ETIMEDOUT and -EINTR, pci_read_vpd may return other error
      values like -ENODEV or -EINVAL which are ignored due to the buggy
      check, but the data are not read from VPD anyway and this is checked
      subsequently with at most 3 needless loop iterations. This does not
      show up as a runtime bug.
      
      CC: Matt Carlson <mcarlson@broadcom.com>
      CC: Michael Chan <mchan@broadcom.com>
      Signed-off-by: NDavid Sterba <dsterba@suse.cz>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      824f5f38
    • R
      tg3: Do not use legacy PCI power management · c866b7ea
      Rafael J. Wysocki 提交于
      The tg3 driver uses the legacy PCI power management, so it has to do
      some PCI-specific things in its ->suspend() and ->resume() callbacks,
      which isn't necessary and should better be done by the PCI
      sybsystem-level power management code.
      
      Convert tg3 to the new PCI power management framework and make it
      let the PCI subsystem take care of all the PCI-specific aspects of
      device handling during system power transitions.
      
      Tested on HP nx6325 with a NetXtreme BCM5788 adapter.
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      c866b7ea
  9. 21 12月, 2010 1 次提交
  10. 12 12月, 2010 1 次提交
    • T
      drivers/net: don't use flush_scheduled_work() · 23f333a2
      Tejun Heo 提交于
      flush_scheduled_work() is on its way out.  This patch contains simple
      conversions to replace flush_scheduled_work() usage with direct
      cancels and flushes.
      
      Directly cancel the used works on driver detach and flush them in
      other cases.
      
      The conversions are mostly straight forward and the only dangers are,
      
      * Forgetting to cancel/flush one or more used works.
      
      * Cancelling when a work should be flushed (ie. the work must be
        executed once scheduled whether the driver is detaching or not).
      
      I've gone over the changes multiple times but it would be much
      appreciated if you can review with the above points in mind.
      Signed-off-by: NTejun Heo <tj@kernel.org>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Jay Cliburn <jcliburn@gmail.com>
      Cc: Michael Chan <mchan@broadcom.com>
      Cc: Divy Le Ray <divy@chelsio.com>
      Cc: e1000-devel@lists.sourceforge.net
      Cc: Vasanthy Kolluri <vkolluri@cisco.com>
      Cc: Samuel Ortiz <samuel@sortiz.org>
      Cc: Lennert Buytenhek <buytenh@wantstofly.org>
      Cc: Andrew Gallatin <gallatin@myri.com>
      Cc: Francois Romieu <romieu@fr.zoreil.com>
      Cc: Ramkrishna Vepa <ramkrishna.vepa@exar.com>
      Cc: Matt Carlson <mcarlson@broadcom.com>
      Cc: David Brownell <dbrownell@users.sourceforge.net>
      Cc: Shreyas Bhatewara <sbhatewara@vmware.com>
      Cc: netdev@vger.kernel.org
      23f333a2
  11. 07 12月, 2010 6 次提交
  12. 25 11月, 2010 8 次提交
  13. 27 10月, 2010 1 次提交
  14. 21 10月, 2010 1 次提交
  15. 18 10月, 2010 1 次提交