1. 11 8月, 2011 1 次提交
    • J
      amd: Move AMD (Lance) chipset drivers · b955f6ca
      Jeff Kirsher 提交于
      Moves the drivers for the AMD chipsets into drivers/net/ethernet/amd/
      and the necessary Kconfig and Makfile changes.
      
      The au1000 (Alchemy) driver was also moved into the same directory
      even though it is not a "Lance" driver.
      
      CC: Peter Maydell <pmaydell@chiark.greenend.org.uk>
      CC: Roman Hodek <Roman.Hodek@informatik.uni-erlangen.de>
      CC: "Maciej W. Rozycki" <macro@linux-mips.org>
      CC: Donald Becker <becker@scyld.com>
      CC: Sam Creasey <sammy@users.qual.net>
      CC: Miguel de Icaza <miguel@nuclecu.unam.mx>
      CC: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
      CC: Don Fry <pcnet32@frontier.com>
      CC: Geert Uytterhoeven <geert@linux-m68k.org>
      CC: Russell King <linux@arm.linux.org.uk>
      CC: David Davies <davies@maniac.ultranet.com>
      CC: "M.Hipp" <hippm@informatik.uni-tuebingen.de>
      CC: Pete Popov <ppopov@embeddedalley.com>
      CC: David Hinds <dahinds@users.sourceforge.net>
      CC: "Roger C. Pao" <rpao@paonet.org>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      b955f6ca
  2. 12 12月, 2010 1 次提交
  3. 29 11月, 2010 1 次提交
  4. 10 9月, 2010 7 次提交
  5. 05 8月, 2010 1 次提交
  6. 19 7月, 2010 1 次提交
  7. 10 5月, 2010 1 次提交
  8. 07 4月, 2010 6 次提交
  9. 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
  10. 27 2月, 2010 1 次提交
  11. 23 2月, 2010 1 次提交
  12. 13 2月, 2010 1 次提交
  13. 23 11月, 2009 1 次提交
  14. 19 11月, 2009 1 次提交
  15. 23 10月, 2009 1 次提交
    • M
      net: au1000_eth: add missing capability.h · bc36b428
      Manuel Lauss 提交于
      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: NManuel Lauss <manuel.lauss@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      bc36b428
  16. 07 10月, 2009 1 次提交
  17. 02 9月, 2009 1 次提交
  18. 01 9月, 2009 1 次提交
  19. 06 7月, 2009 1 次提交
  20. 13 6月, 2009 1 次提交
  21. 15 4月, 2009 1 次提交
  22. 25 3月, 2009 1 次提交
  23. 27 1月, 2009 1 次提交
  24. 23 1月, 2009 1 次提交
  25. 26 12月, 2008 1 次提交
    • J
      drivers/net/au1000_eth.c: Remove redundant test · b0fd0d23
      Julia Lawall 提交于
      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: NJulia Lawall <julia@diku.dk>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b0fd0d23
  26. 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
  27. 04 11月, 2008 1 次提交
  28. 13 10月, 2008 1 次提交
    • A
      net/au1000_eth.c MDIO namespace fixes · 1210dde7
      Adrian Bunk 提交于
      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: NAdrian Bunk <bunk@kernel.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      1210dde7
  29. 09 10月, 2008 1 次提交