18 Dec, 2008

1 commit


17 Dec, 2008

3 commits

  • Fix some bugs in the ethtool configuration functions:
    * gfar_clean_rx_ring should not be called with interrupts disabled.
    * Update last transmission time to avoid tx timeout.
    * Delete redundant NETIF_F_IP_CSUM check in gfar_start_xmit
    * Use netif_tx_lock_bh when reconfiguring the tx csum

    Signed-off-by: Dai Haruki
    Signed-off-by: Andy Fleming
    Signed-off-by: David S. Miller

    Dai Haruki
     
  • Store the interrupt coalescing values in the form in which they will be
    written to the interrupt coalescing registers. This puts a little overhead
    into the ethtool configuration, and takes it out of the interrupt handler

    Signed-off-by: Dai Haruki
    Acked-by: Andy Fleming
    Signed-off-by: David S. Miller

    Dai Haruki
     
  • Does the same for the accompanying MDIO driver, and then modifies the TBI
    configuration method. The old way used fields in einfo, which no longer
    exists. The new way is to create an MDIO device-tree node for each instance
    of gianfar, and create a tbi-handle property to associate ethernet controllers
    with the TBI PHYs they are connected to.

    Signed-off-by: Andy Fleming
    Signed-off-by: David S. Miller

    Andy Fleming
     

17 Jul, 2008

1 commit


11 Oct, 2007

2 commits


15 Feb, 2007

1 commit

  • After Al Viro (finally) succeeded in removing the sched.h #include in module.h
    recently, it makes sense again to remove other superfluous sched.h includes.
    There are quite a lot of files which include it but don't actually need
    anything defined in there. Presumably these includes were once needed for
    macros that used to live in sched.h, but moved to other header files in the
    course of cleaning it up.

    To ease the pain, this time I did not fiddle with any header files and only
    removed #includes from .c-files, which tend to cause less trouble.

    Compile tested against 2.6.20-rc2 and 2.6.20-rc2-mm2 (with offsets) on alpha,
    arm, i386, ia64, mips, powerpc, and x86_64 with allnoconfig, defconfig,
    allmodconfig, and allyesconfig as well as a few randconfigs on x86_64 and all
    configs in arch/arm/configs on arm. I also checked that no new warnings were
    introduced by the patch (actually, some warnings are removed that were emitted
    by unnecessarily included header files).

    Signed-off-by: Tim Schmielau
    Acked-by: Russell King
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Tim Schmielau
     

07 Feb, 2007

1 commit


14 Sep, 2006

2 commits


01 Jul, 2006

1 commit


21 Apr, 2006

1 commit

  • This patch fixes several bugs in the gianfar driver, including a major one
    where spinlocks were horribly broken:

    * Split gianfar locks into two types: TX and RX
    * Made it so gfar_start() now clears RHALT
    * Fixed a bug where calling gfar_start_xmit() with interrupts off would
    corrupt the interrupt state
    * Fixed a bug where a frame could potentially arrive, and never be handled
    (if no more frames arrived
    * Fixed a bug where the rx_work_limit would never be observed by the rx
    completion code
    * Fixed a bug where the interrupt handlers were not actually protected by
    their spinlocks

    Signed-off-by: Andy Fleming
    Signed-off-by: Jeff Garzik

    Andy Fleming
     

07 Feb, 2006

1 commit


19 Nov, 2005

1 commit

  • This seems to have gotten lost, so I'll resend.

    Signed-off-by: Andy Fleming

    * Added sysfs support to gianfar for modifying FIFO and stashing parameters
    * Updated driver to support 10 Mbit, full duplex operation
    * Improved comments throughout
    * Cleaned up and optimized offloading code
    * Fixed a bug where rx buffers were being improperly mapped and unmapped
    * (only manifested if cache-coherency was off)
    * Added support for using the eTSEC exact-match MAC registers
    * Bumped the version to 1.3
    * Added support for distinguishing between reduced 100 and 10 Mbit modes
    * Modified default coalescing values to lower latency
    * Added documentation
    Signed-off-by: Jeff Garzik

    Andy Fleming
     

14 Nov, 2005

1 commit


09 Nov, 2005

1 commit

  • This patch removes almost all inclusions of linux/version.h. The 3
    #defines are unused in most of the touched files.

    A few drivers use the simple KERNEL_VERSION(a,b,c) macro, which is
    unfortunatly in linux/version.h.

    There are also lots of #ifdef for long obsolete kernels, this was not
    touched. In a few places, the linux/version.h include was move to where
    the LINUX_VERSION_CODE was used.

    quilt vi `find * -type f -name "*.[ch]"|xargs grep -El '(UTS_RELEASE|LINUX_VERSION_CODE|KERNEL_VERSION|linux/version.h)'|grep -Ev '(/(boot|coda|drm)/|~$)'`

    search pattern:
    /UTS_RELEASE\|LINUX_VERSION_CODE\|KERNEL_VERSION\|linux\/\(utsname\|version\).h

    Signed-off-by: Olaf Hering
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Olaf Hering
     

24 Sep, 2005

1 commit


27 Jun, 2005

1 commit

  • Jeff,

    Just incase this got lost in the recent netdev mailing list transition
    here is a nicer version of Andy's patch for gianfar.

    - kumar

    * TCP/IP/UDP checksumming and verification
    * VLAN tag insertion/extraction
    * Larger multicast hash-table
    * Padding to align IP headers

    Also added:
    * msg lvl support
    * Some whitespace cleanup

    Signed-off-by: Andy Fleming
    Signed-off-by: Kumar Gala

    Kumar Gala
     

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