1. 17 4月, 2011 1 次提交
  2. 08 4月, 2011 1 次提交
  3. 31 3月, 2011 1 次提交
  4. 01 3月, 2011 1 次提交
  5. 24 2月, 2011 1 次提交
  6. 21 1月, 2011 1 次提交
  7. 17 12月, 2010 1 次提交
  8. 21 10月, 2010 1 次提交
  9. 03 9月, 2010 1 次提交
  10. 26 8月, 2010 1 次提交
  11. 14 5月, 2010 1 次提交
    • J
      drivers/net: Remove unnecessary returns from void function()s · a4b77097
      Joe Perches 提交于
      This patch removes from drivers/net/ all the unnecessary
      return; statements that precede the last closing brace of
      void functions.
      
      It does not remove the returns that are immediately
      preceded by a label as gcc doesn't like that.
      
      It also does not remove null void functions with return.
      
      Done via:
      $ grep -rP --include=*.[ch] -l "return;\n}" net/ | \
        xargs perl -i -e 'local $/ ; while (<>) { s/\n[ \t\n]+return;\n}/\n}/g; print; }'
      
      with some cleanups by hand.
      
      Compile tested x86 allmodconfig only.
      Signed-off-by: NJoe Perches <joe@perches.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      a4b77097
  12. 15 4月, 2010 1 次提交
  13. 04 4月, 2010 1 次提交
    • J
      net: convert multicast list to list_head · 22bedad3
      Jiri Pirko 提交于
      Converts the list and the core manipulating with it to be the same as uc_list.
      
      +uses two functions for adding/removing mc address (normal and "global"
       variant) instead of a function parameter.
      +removes dev_mcast.c completely.
      +exposes netdev_hw_addr_list_* macros along with __hw_addr_* functions for
       manipulation with lists on a sandbox (used in bonding and 80211 drivers)
      Signed-off-by: NJiri Pirko <jpirko@redhat.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      22bedad3
  14. 31 3月, 2010 1 次提交
  15. 23 2月, 2010 1 次提交
  16. 13 2月, 2010 1 次提交
    • J
      drivers/net/atl1e: Use netdev_printk helpers · ba211e3e
      Joe Perches 提交于
      Logging messages sometimes had duplicated "ATL1E" output.
      
      For instance:
      ATL1E 0000:03:00.0: ATL1E: eth0 NIC Link is Up<100 Mbps Full Duplex>
      is now:
      ATL1E 0000:03:00.0: eth0: NIC Link is Up <100 Mbps Full Duplex>
      
      Add some consistency to logging messages
      Add some missing \n's to logging messages
      Miscellaneous typo spelling corrections
      Change atl1e_validate_option argument from pdev to adapter
      Signed-off-by: NJoe Perches <joe@perches.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      ba211e3e
  17. 08 1月, 2010 1 次提交
  18. 07 1月, 2010 1 次提交
  19. 02 12月, 2009 1 次提交
  20. 19 11月, 2009 1 次提交
  21. 14 10月, 2009 1 次提交
  22. 18 9月, 2009 1 次提交
  23. 04 9月, 2009 1 次提交
  24. 01 9月, 2009 1 次提交
  25. 02 8月, 2009 1 次提交
  26. 12 6月, 2009 1 次提交
  27. 30 5月, 2009 1 次提交
  28. 29 5月, 2009 1 次提交
  29. 26 5月, 2009 1 次提交
  30. 14 4月, 2009 1 次提交
  31. 07 4月, 2009 1 次提交
  32. 22 1月, 2009 1 次提交
  33. 27 12月, 2008 1 次提交
  34. 23 12月, 2008 1 次提交
  35. 21 11月, 2008 1 次提交
  36. 20 11月, 2008 1 次提交
  37. 13 11月, 2008 1 次提交
    • W
      netdevice: safe convert to netdev_priv() #part-1 · 454d7c9b
      Wang Chen 提交于
      We have some reasons to kill netdev->priv:
      1. netdev->priv is equal to netdev_priv().
      2. netdev_priv() wraps the calculation of netdev->priv's offset, obviously
         netdev_priv() is more flexible than netdev->priv.
      But we cann't kill netdev->priv, because so many drivers reference to it
      directly.
      
      This patch is a safe convert for netdev->priv to netdev_priv(netdev).
      Since all of the netdev->priv is only for read.
      But it is too big to be sent in one mail.
      I split it to 4 parts and make every part smaller than 100,000 bytes,
      which is max size allowed by vger.
      Signed-off-by: NWang Chen <wangchen@cn.fujitsu.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      454d7c9b
  38. 04 11月, 2008 1 次提交
  39. 25 9月, 2008 1 次提交
    • M
      [netdrvr] atl1e: Don't take the mdio_lock in atl1e_probe · f382a0a8
      Matthew Wilcox 提交于
      Lockdep warns about the mdio_lock taken with interrupts enabled then later
      taken from interrupt context.  Initially, I considered changing these
      to spin_lock_irq/spin_unlock_irq, but then I looked at atl1e_phy_init()
      and saw that it calls msleep().  Sleeping while holding a spinlock is
      not allowed either.
      
      In the probe path, we haven't registered the interrupt handler, so
      it can't poke at this card yet.  It's before we call register_netdev(),
      so I don't think any other threads can reach this card either.  If I'm
      right, we don't need a spinlock at all.
      Signed-off-by: NMatthew Wilcox <willy@linux.intel.com>
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      f382a0a8
  40. 27 8月, 2008 1 次提交