04 Jan, 2010

1 commit


16 Dec, 2009

1 commit


19 Nov, 2009

1 commit

  • Not as fancy as coccinelle. Checkpatch errors ignored.
    Compile tested allyesconfig x86, not all files compiled.

    grep -rPl --include=*.[ch] "\brequest_irq\s*\([^,\)]+,\s*\&" drivers/net | while read file ; do \
    perl -i -e 'local $/; while (<>) { s@(\brequest_irq\s*\([^,\)]+,\s*)\&@\1@g ; print ; }' $file ;\
    done

    Signed-off-by: Joe Perches
    Signed-off-by: David S. Miller

    Joe Perches
     

27 Oct, 2009

2 commits


13 Oct, 2009

2 commits


29 Aug, 2009

1 commit


06 Jul, 2009

1 commit


26 Jun, 2009

1 commit


13 Jun, 2009

1 commit


27 May, 2009

1 commit


26 May, 2009

5 commits


14 Apr, 2009

1 commit


19 Mar, 2009

1 commit


21 Nov, 2008

1 commit


20 Nov, 2008

1 commit


11 Nov, 2008

1 commit


04 Nov, 2008

1 commit


20 Oct, 2008

1 commit


09 Oct, 2008

2 commits

  • This patch introduces mdiobus_alloc() and mdiobus_free(), and
    makes all mdio bus drivers use these functions to allocate their
    struct mii_bus'es dynamically.

    Signed-off-by: Lennert Buytenhek
    Signed-off-by: David S. Miller
    Acked-by: Andy Fleming

    Lennert Buytenhek
     
  • In preparation of giving mii_bus objects a device tree presence of
    their own, rename struct mii_bus's ->dev argument to ->parent, since
    having a 'struct device *dev' that points to our parent device
    conflicts with introducing a 'struct device dev' representing our own
    device.

    Signed-off-by: Lennert Buytenhek
    Signed-off-by: David S. Miller
    Acked-by: Andy Fleming

    Lennert Buytenhek
     

11 Sep, 2008

1 commit


14 Aug, 2008

1 commit

  • 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 .

    Signed-off-by: Huang Weiyi
    Signed-off-by: Jeff Garzik

    Huang Weiyi
     

07 Aug, 2008

1 commit


31 Jul, 2008

1 commit


23 Jul, 2008

1 commit

  • 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: Anton Vorontsov
    Signed-off-by: David S. Miller

    Anton Vorontsov
     

18 Jul, 2008

1 commit


28 Jun, 2008

1 commit


12 Jun, 2008

1 commit