1. 06 Jan, 2005 3 commits
    • Manfred Spraul's avatar
      [PATCH] forcedeth: add ethtool get/set_settings support · 8f7bc287
      Manfred Spraul authored
      The patch adds ethtool get_ and set_settings support to the forcedeth nic
      driver. This allows to force a certain link speed with ethtool -s.
      
      Supported link speeds: 10 HD&FD, 100 HD&FD, 1000 FD
      
      1000 HD is not supported (probably a hardware restriction), 1000 FD is
      only supported with autonegotiation enabled.
      
      Changelog:
      - Code reorganization: move ethtool functions further down in forcedeth.c
        (no code changes within the existing ethtool functions)
      - add support for setting the link setting bits in the nic with
      autodetection in the PHY disabled (i.e. use a netdev_priv() variable
      instead of querying the PHY)
      - implement get_settings and set_settings ethtool functions.
      Signed-Off-By: default avatarManfred Spraul <manfred@colorfullife.com>
      Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
      8f7bc287
    • Alexander Viro's avatar
      [PATCH] Fix up compiler inefficiencies · eb25b5b2
      Alexander Viro authored
      Oh, bugger...
      
      The recent mmzone.h change triggered some very, very ugly things in
      next_zone(), is_highmem(), is_normal() and zone_idx() because it changed
      the size of "struct zone" subtly.
      
      Pointer subtraction is no fun when sizeof of object gets weird and poor
      gcc blows its brains out trying to optimize that...  This slowed down an
      ARM cross-build by a factor of 2.5. 
      
      Turn the pointer subtraction tests into pointer addition tests instead
      where possible, making them trivial to deal with (and gets better code,
      in addition to faster compile).
      
      zone_idx() still does a subtraction.
      eb25b5b2
    • Linus Torvalds's avatar
      Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk · 1e95245b
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.6/linux
      1e95245b
  2. 07 Jan, 2005 3 commits
  3. 06 Jan, 2005 23 commits
  4. 05 Jan, 2005 11 commits