1. 26 Jun, 2010 1 commit
  2. 10 May, 2010 1 commit
  3. 03 Apr, 2010 1 commit
    • Jiri Pirko's avatar
      net: convert multicast list to list_head · 22bedad3
      Jiri Pirko authored
      
      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: default avatarJiri Pirko <jpirko@redhat.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      22bedad3
  4. 07 Mar, 2010 3 commits
  5. 03 Mar, 2010 1 commit
  6. 27 Feb, 2010 1 commit
  7. 17 Feb, 2010 1 commit
  8. 12 Feb, 2010 1 commit
  9. 13 Dec, 2009 1 commit
  10. 13 Oct, 2009 1 commit
  11. 21 Sep, 2009 1 commit
  12. 05 Aug, 2009 4 commits
  13. 24 Jun, 2009 1 commit
  14. 01 Jun, 2009 2 commits
  15. 27 May, 2009 1 commit
  16. 16 Apr, 2009 1 commit
  17. 24 Mar, 2009 1 commit
  18. 27 Jan, 2009 1 commit
  19. 21 Jan, 2009 1 commit
  20. 22 Dec, 2008 1 commit
  21. 27 Oct, 2008 1 commit
  22. 08 Oct, 2008 1 commit
  23. 14 Aug, 2008 1 commit
    • Huang Weiyi's avatar
      [netdrvr] remove unnecessary #include · fde9403a
      Huang Weiyi authored
      
      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: default avatarHuang Weiyi <hwy@cn.fujitsu.com>
      Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
      fde9403a
  24. 22 Jul, 2008 1 commit
    • Anton Vorontsov's avatar
      netdev: bunch of drivers: avoid WARN at net/core/dev.c:1328 · c8f15686
      Anton Vorontsov authored
      
      The drivers were touching net queue before it has been started, so
      without this patch, the drivers will potentially WARN at
      net/core/dev.c:1328.
      
      I don't have the hardware for the drivers below, so this patch is
      untested, and thus should be carefully peer reviewed.
      
      tc35815.c
      au1000_eth.c
      bfin_mac.c
      macb.c
      ^ The four drivers are using phylib, they're calling netif_start_queue()
      in open() callback. So trivially remove netif_tx_schedule_all().
      Phylib will handle netif_carrier_*().
      
      cpmac.c
      fec_mpc52xx.c
      fs_enet/fs_enet-main.c
      sh_eth.c
      ^ The same as above, but these were also needlessly calling
      netif_carrier_*() functions. So removed queue calls and also remove
      carrier calls, since phylib will handle it. fs_enet-main.c also didn't
      call netif_start_queue() at open(), this is fixed now.
      Signed-off-by: default avatarAnton Vorontsov <avorontsov@ru.mvista.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      c8f15686
  25. 17 Jul, 2008 2 commits
    • David S. Miller's avatar
      net: Use queue aware tests throughout. · fd2ea0a7
      David S. Miller authored
      
      This effectively "flips the switch" by making the core networking
      and multiqueue-aware drivers use the new TX multiqueue structures.
      
      Non-multiqueue drivers need no changes.  The interfaces they use such
      as netif_stop_queue() degenerate into an operation on TX queue zero.
      So everything "just works" for them.
      
      Code that really wants to do "X" to all TX queues now invokes a
      routine that does so, such as netif_tx_wake_all_queues(),
      netif_tx_stop_all_queues(), etc.
      
      pktgen and netpoll required a little bit more surgery than the others.
      
      In particular the pktgen changes, whilst functional, could be largely
      improved.  The initial check in pktgen_xmit() will sometimes check the
      wrong queue, which is mostly harmless.  The thing to do is probably to
      invoke fill_packet() earlier.
      
      The bulk of the netpoll changes is to make the code operate solely on
      the TX queue indicated by by the SKB queue mapping.
      
      Setting of the SKB queue mapping is entirely confined inside of
      net/core/dev.c:dev_pick_tx().  If we end up needing any kind of
      special semantics (drops, for example) it will be implemented here.
      
      Finally, we now have a "real_num_tx_queues" which is where the driver
      indicates how many TX queues are actually active.
      
      With IGB changes from Jeff Kirsher.
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      fd2ea0a7
    • David S. Miller's avatar
      netdev: Kill NETIF_F_MULTI_QUEUE. · 09e83b5d
      David S. Miller authored
      
      There is no need for a feature bit for something that
      can be tested by simply checking the TX queue count.
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      09e83b5d
  26. 09 Jul, 2008 1 commit
  27. 22 May, 2008 1 commit
  28. 13 May, 2008 1 commit
  29. 25 Apr, 2008 1 commit
    • Kay Sievers's avatar
      net drivers: fix platform driver hotplug/coldplug · 72abb461
      Kay Sievers authored
      Since 43cc71ee
      
      , the platform modalias is
      prefixed with "platform:".  Add MODULE_ALIAS() to the hotpluggable network
      platform drivers, to re-enable auto loading.
      
      NOTE: didn't change drivers/net/fs_enet/fs_enet-main.c "old binding" support.
      That looks problematic in the first place (it even uses the ancient "struct
      device_driver" binding scheme for platform_bus!) and I suspect it will vanish
      soonish when arch/powerpc rules the world.  Also, drivers/net/ne.c would have
      needed more thought to sort out.
      
      [akpm@linux-foundation.org: fix sgiseeq.c]
      [dbrownell@users.sourceforge.net: more drivers, registration fixes]
      Signed-off-by: default avatarKay Sievers <kay.sievers@vrfy.org>
      Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
      Cc: Scott Wood <scottwood@freescale.com>
      Cc: Vitaly Bordug <vitb@kernel.crashing.org>
      Cc: Dale Farnsworth <dale@farnsworth.org>
      Cc: Ben Dooks <ben-linux@fluff.org>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Cc: Andrew Victor <andrew@sanpeople.com>
      Cc: Bryan Wu <bryan.wu@analog.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
      72abb461
  30. 16 Apr, 2008 1 commit
  31. 06 Feb, 2008 1 commit
    • Anton Vorontsov's avatar
      cpmac: convert to new Fixed PHY infrastructure · 8353ec7b
      Anton Vorontsov authored
      
      This patch converts cpmac to the new Fixed PHY infrastructure, though it
      doesn't fix all the problems with that driver. I didn't even bother to
      test this patch to compile, because cpmac driver is broken in several ways:
      
      1. This driver won't compile by itself because lack of its header describing
         platform data;
      2. It assumes that fixed PHYs should be created by the ethernet driver.
         It is wrong assumption: fixed PHYs creation is platform code authority,
         driver must blindly accept bus_id and phy_id platform data variables
         instead.
      
      Also, it seem that that driver doesn't have actual in-tree users, so
      nothing to fix further.
      
      The main purpose of that patch is to get rid of the following Kconfig
      warning:
      
      scripts/kconfig/conf -s arch/powerpc/Kconfig
      drivers/net/Kconfig:1713:warning: 'select' used by config symbol
      'CPMAC' refers to undefined symbol 'FIXED_MII_100_FDX'
      Signed-off-by: default avatarAnton Vorontsov <avorontsov@ru.mvista.com>
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      8353ec7b
  32. 28 Jan, 2008 1 commit
    • Jeff Garzik's avatar
      [netdrvr] irq handler minor cleanups in several drivers · 28fc1f5a
      Jeff Garzik authored
      
      * use irq_handler_t where appropriate
      
      * no need to use 'irq' function arg, its already stored in a data struct
      
      * rename irq handler 'irq' argument to 'dummy', where the function
        has been analyzed and proven not to use its first argument.
      
      * remove always-false "dev_id == NULL" test from irq handlers
      
      * remove pointless casts from void*
      
      * declance: irq argument is not const
      
      * add KERN_xxx printk prefix
      
      * fix minor whitespace weirdness
      Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
      28fc1f5a
  33. 18 Jan, 2008 1 commit