22 Jan, 2009

1 commit


28 Oct, 2008

1 commit

  • This converts pretty much everything to print_mac. There were
    a few things that had conflicts which I have just dropped for
    now, no harm done.

    I've built an allyesconfig with this and looked at the files
    that weren't built very carefully, but it's a huge patch.

    Signed-off-by: Johannes Berg
    Signed-off-by: David S. Miller

    Johannes Berg
     

03 Feb, 2008

1 commit


11 Oct, 2007

3 commits

  • This is nicer than the MAC_FMT stuff.

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

    Joe Perches
     
  • 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: Ralf Baechle
    Signed-off-by: Jeff Garzik
    Signed-off-by: David S. Miller

    Ralf Baechle
     
  • Replacing accesses to dev->priv to netdev_priv(dev). The replacment
    is safe when netdev_priv is used to access a private structure that is
    right next to the net_device structure in memory.
    Cf http://groups.google.com/group/comp.os.linux.development.system/browse_thread/thread/de19321bcd94dbb8/0d74a4adcd6177bd
    This is the case when the net_device structure was allocated with
    a call to alloc_netdev or one of its derivative.

    Here is an excerpt of the semantic patch that performs the transformation

    @ rule1 @
    type T;
    struct net_device *dev;
    @@

    dev =
    (
    alloc_netdev
    |
    alloc_etherdev
    |
    alloc_trdev
    )
    (sizeof(T), ...)

    @ rule1bis @
    struct net_device *dev;
    expression E;
    @@
    dev->priv = E

    @ rule2 depends on rule1 && !rule1bis @
    struct net_device *dev;
    type rule1.T;
    @@

    - (T*) dev->priv
    + netdev_priv(dev)

    PS: I have performed the same transformation on the whole kernel
    and it affects around 70 files, most of them in drivers/net/.
    Should I split my patch for each subnet directories ? (wireless/, wan/, etc)

    Thanks to Thomas Surrel for helping me refining my semantic patch.

    Signed-off-by: Yoann Padioleau

    3c359.c | 58 +++++++++++++++++++++++++++++-----------------------------
    ibmtr.c | 38 +++++++++++++++++++-------------------
    lanstreamer.c | 32 ++++++++++++++++----------------
    madgemc.c | 4 ++--
    olympic.c | 36 ++++++++++++++++++------------------
    tmspci.c | 4 ++--
    6 files changed, 86 insertions(+), 86 deletions(-)
    Signed-off-by: Jeff Garzik

    Yoann Padioleau
     

04 Oct, 2006

1 commit


03 Jul, 2006

1 commit


20 Aug, 2005

1 commit

  • Now that all tms380 devices have a valid
    struct device with dma_mask, remove dmalimit from tmsdev_init().

    Kconfig: depend tms380tr and madgemc on MCA.
    abyss.c, proteon.c, skisa.c, tmspci.c, tms380tr.h:
    remove dmalimit parameter from tmsdev_init().
    tms380tr.c: use device->dma_mask instead of dmalimit.
    madgemc.c: move to new MCA API using struct device.

    Signed-off-by: Jochen Friedrich
    Signed-off-by: Jeff Garzik

    Jochen Friedrich
     

31 Jul, 2005

1 commit

  • This patch makes tms380tr use the new DMA API. Now that on Alpha, this API
    also supports bus master DMA for ISA (platform) devices, i changed the
    driver to use this new API.

    This also works around a bug in the firmware loader: The example provided
    in Documentation/firmware_class no longer works, as the firmware loader now
    calls get_kobj_path_length() and the kernel promptly oopses, as the
    home-grown device doesn't have a parent. Of course, this doesn't happen
    with a "real" device which has its bus (or pseudo bus in the case of
    platform) as parent.

    Converted tms380tr to use new DMA API:
    - proteon.c, skisa.c: use platform pseudo bus to create a struct device
    - Space.c: delete init hooks
    - abyss.c, tmspci.c: pass struct device to tms380tr.c
    - tms380tr.c, tms380tr.h: new DMA API, use real device fo firmware loader

    Signed-off-by: Jochen Friedrich
    Cc: Jeff Garzik
    Signed-off-by: Andrew Morton
    Signed-off-by: Jeff Garzik

    Jochen Friedrich
     

27 Jun, 2005

1 commit


17 Apr, 2005

1 commit

  • Initial git repository build. I'm not bothering with the full history,
    even though we have it. We can create a separate "historical" git
    archive of that later if we want to, and in the meantime it's about
    3.2GB when imported into git - space that would just make the early
    git days unnecessarily complicated, when we don't have a lot of good
    infrastructure for it.

    Let it rip!

    Linus Torvalds