1. 23 2月, 2010 1 次提交
  2. 13 2月, 2010 1 次提交
  3. 08 1月, 2010 1 次提交
  4. 04 12月, 2009 1 次提交
  5. 19 11月, 2009 1 次提交
  6. 12 10月, 2009 1 次提交
  7. 01 9月, 2009 1 次提交
  8. 06 7月, 2009 1 次提交
  9. 07 4月, 2009 1 次提交
  10. 03 3月, 2009 1 次提交
  11. 02 3月, 2009 2 次提交
  12. 27 2月, 2009 1 次提交
  13. 22 1月, 2009 2 次提交
  14. 08 1月, 2009 1 次提交
  15. 23 12月, 2008 1 次提交
  16. 13 11月, 2008 1 次提交
    • W
      netdevice: safe convert to netdev_priv() #part-3 · 8f15ea42
      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>
      8f15ea42
  17. 04 11月, 2008 1 次提交
  18. 28 10月, 2008 1 次提交
  19. 14 8月, 2008 1 次提交
    • H
      [netdrvr] remove unnecessary #include · fde9403a
      Huang Weiyi 提交于
      The drivers below do not use LINUX_VERSION_CODE nor KERNEL_VERSION.
        drivers/net/acenic.c
        drivers/net/bnx2x_link.c
        drivers/net/bnx2x_main.c
        drivers/net/cpmac.c
        drivers/net/gianfar_sysfs.c
        drivers/net/ipg.h
        drivers/net/ppp_mppe.c
        drivers/net/pppol2tp.c
        drivers/net/r6040.c
        drivers/net/sh_eth.c
        drivers/net/sky2.c
        drivers/net/tehuti.h
        drivers/net/typhoon.c
      
      This patch removes the said #include <linux/version.h>.
      Signed-off-by: NHuang Weiyi <hwy@cn.fujitsu.com>
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      fde9403a
  20. 28 6月, 2008 1 次提交
  21. 25 4月, 2008 1 次提交
    • G
      [netdrvr] typhoon: typhoon_resume - remove call to start_queue · 5a0e2cd5
      Grant Grundler 提交于
      While trying to fix http://bugzilla.kernel.org/show_bug.cgi?id=8952
      I looked at a few other drivers to figure out what drivers _should_
      be doing for suspend/resume. I noticed typhoon driver is likely doing
      more than it needs to.  Patch below is untested since I don't have the HW.
      
      Suspend/resume code across NIC drivers is fairly inconsistent.
      And I couldn't find any documentation on what the canonical sequence
      NICs need to do for suspend or resume.  Is there any?
      
      Barring contrary advice, I'm going model the tulip suspend/resume
      fixes after tg3.c since a number of "modern" (< 5 years old) laptops
      have that and I'm silly enough to assume it works.
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      5a0e2cd5
  22. 10 2月, 2008 1 次提交
  23. 23 12月, 2007 6 次提交
  24. 24 10月, 2007 1 次提交
  25. 11 10月, 2007 5 次提交
    • A
      typhoon: trivial endianness annotations · 03a710ff
      Al Viro 提交于
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      03a710ff
    • J
      [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() · 0795af57
      Joe Perches 提交于
      This is nicer than the MAC_FMT stuff.
      Signed-off-by: NJoe Perches <joe@perches.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      0795af57
    • J
      [ETHTOOL] Provide default behaviors for a few ethtool sub-ioctls · 88d3aafd
      Jeff Garzik 提交于
      For the operations
      	get-tx-csum
      	get-sg
      	get-tso
      	get-ufo
      the default ethtool_op_xxx behavior is fine for all drivers, so we
      permit op==NULL to imply the default behavior.
      
      This provides a more uniform behavior across all drivers, eliminating
      ethtool(8) "ioctl not supported" errors on older drivers that had
      not been updated for the latest sub-ioctls.
      
      The ethtool_op_xxx() functions are left exported, in case anyone
      wishes to call them directly from a driver-private implementation --
      a not-uncommon case.  Should an ethtool_op_xxx() helper remain unused
      for a while, except by net/core/ethtool.c, we can un-export it at a
      later date.
      
      [ Resolved conflicts with set/get value ethtool patch... -DaveM ]
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      88d3aafd
    • R
      [NET]: Nuke SET_MODULE_OWNER macro. · 10d024c1
      Ralf Baechle 提交于
      It's been a useless no-op for long enough in 2.6 so I figured it's time to
      remove it.  The number of people that could object because they're
      maintaining unified 2.4 and 2.6 drivers is probably rather small.
      
      [ Handled drivers added by netdev tree and some missed IRDA cases... -DaveM ]
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      10d024c1
    • S
      [NET]: Make NAPI polling independent of struct net_device objects. · bea3348e
      Stephen Hemminger 提交于
      Several devices have multiple independant RX queues per net
      device, and some have a single interrupt doorbell for several
      queues.
      
      In either case, it's easier to support layouts like that if the
      structure representing the poll is independant from the net
      device itself.
      
      The signature of the ->poll() call back goes from:
      
      	int foo_poll(struct net_device *dev, int *budget)
      
      to
      
      	int foo_poll(struct napi_struct *napi, int budget)
      
      The caller is returned the number of RX packets processed (or
      the number of "NAPI credits" consumed if you want to get
      abstract).  The callee no longer messes around bumping
      dev->quota, *budget, etc. because that is all handled in the
      caller upon return.
      
      The napi_struct is to be embedded in the device driver private data
      structures.
      
      Furthermore, it is the driver's responsibility to disable all NAPI
      instances in it's ->stop() device close handler.  Since the
      napi_struct is privatized into the driver's private data structures,
      only the driver knows how to get at all of the napi_struct instances
      it may have per-device.
      
      With lots of help and suggestions from Rusty Russell, Roland Dreier,
      Michael Chan, Jeff Garzik, and Jamal Hadi Salim.
      
      Bug fixes from Thomas Graf, Roland Dreier, Peter Zijlstra,
      Joseph Fannin, Scott Wood, Hans J. Koch, and Michael Chan.
      
      [ Ported to current tree and all drivers converted.  Integrated
        Stephen's follow-on kerneldoc additions, and restored poll_list
        handling to the old style to fix mutual exclusion issues.  -DaveM ]
      Signed-off-by: NStephen Hemminger <shemminger@linux-foundation.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      bea3348e
  26. 12 7月, 2007 1 次提交
  27. 11 7月, 2007 1 次提交
  28. 03 6月, 2007 1 次提交
  29. 09 5月, 2007 1 次提交