Skip to content
Snippets Groups Projects
  1. Dec 11, 2010
  2. Nov 28, 2010
  3. Sep 09, 2010
  4. Aug 05, 2010
  5. Jul 18, 2010
  6. May 10, 2010
  7. Apr 07, 2010
  8. Apr 03, 2010
    • 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
  9. Feb 27, 2010
  10. Feb 22, 2010
  11. Feb 12, 2010
  12. Nov 22, 2009
  13. Nov 19, 2009
  14. Oct 22, 2009
    • Manuel Lauss's avatar
      net: au1000_eth: add missing capability.h · bc36b428
      Manuel Lauss authored
      
      fixes the following build failure:
        CC      drivers/net/au1000_eth.o
      /drivers/net/au1000_eth.c: In function 'au1000_set_settings':
      /drivers/net/au1000_eth.c:623: error: implicit declaration of function 'capable'
      /drivers/net/au1000_eth.c:623: error: 'CAP_NET_ADMIN' undeclared (first use in this function)
      /drivers/net/au1000_eth.c:623: error: (Each undeclared identifier is reported only once
      /drivers/net/au1000_eth.c:623: error: for each function it appears in.
      
      Signed-off-by: default avatarManuel Lauss <manuel.lauss@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      bc36b428
  15. Oct 07, 2009
  16. Sep 01, 2009
  17. Jul 05, 2009
  18. Jun 13, 2009
  19. Apr 14, 2009
  20. Mar 24, 2009
  21. Jan 26, 2009
  22. Jan 22, 2009
  23. Dec 25, 2008
    • Julia Lawall's avatar
      drivers/net/au1000_eth.c: Remove redundant test · b0fd0d23
      Julia Lawall authored
      phydev is checked to be not NULL a few lines above.
      
      A simplified version of the semantic patch that makes this change is as
      follows: (http://www.emn.fr/x-info/coccinelle/
      
      )
      
      // <smpl>
      @r exists@
      local idexpression x;
      expression E;
      position p1,p2;
      @@
      
      if (x@p1 == NULL || ...) { ... when forall
         return ...; }
      ... when != \(x=E\|x--\|x++\|--x\|++x\|x-=E\|x+=E\|x|=E\|x&=E\|&x\)
      (
      x@p2 == NULL
      |
      x@p2 != NULL
      )
      
      // another path to the test that is not through p1?
      @s exists@
      local idexpression r.x;
      position r.p1,r.p2;
      @@
      
      ... when != x@p1
      (
      x@p2 == NULL
      |
      x@p2 != NULL
      )
      
      @fix depends on !s@
      position r.p1,r.p2;
      expression x,E;
      statement S1,S2;
      @@
      
      (
      - if ((x@p2 != NULL) || ...)
        S1
      |
      - if ((x@p2 == NULL) && ...) S1
      |
      - BUG_ON(x@p2 == NULL);
      )
      // </smpl>
      
      Signed-off-by: default avatarJulia Lawall <julia@diku.dk>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      b0fd0d23
  24. Nov 13, 2008
    • Wang Chen's avatar
      netdevice: safe convert to netdev_priv() #part-1 · 454d7c9b
      Wang Chen authored
      
      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: default avatarWang Chen <wangchen@cn.fujitsu.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      454d7c9b
  25. Nov 03, 2008
  26. Oct 12, 2008
    • Adrian Bunk's avatar
      net/au1000_eth.c MDIO namespace fixes · 1210dde7
      Adrian Bunk authored
      
      Commit 2e888103
      (phylib: add mdiobus_{read,write}) causes the
      following compile error:
      
      <--  snip  -->
      
      ...
        CC      drivers/net/au1000_eth.o
      drivers/net/au1000_eth.c:252: error: conflicting types for 'mdiobus_read'
      include/linux/phy.h:130: error: previous declaration of 'mdiobus_read' was here
      drivers/net/au1000_eth.c:263: error: conflicting types for 'mdiobus_write'
      include/linux/phy.h:131: error: previous declaration of 'mdiobus_write' was here
      ...
      make[3]: *** [drivers/net/au1000_eth.o] Error 1
      
      <--  snip  -->
      
      This patch prefixes the driver functions with au1000_ 
      
      
      Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      1210dde7
  27. Oct 08, 2008
  28. Sep 24, 2008
Loading