1. 01 Jun, 2004 37 commits
  2. 31 May, 2004 3 commits
    • Jörn Engel's avatar
      [PATCH] Improve `make checkstack' · 0444d9b3
      Jörn Engel authored
      On i386, stack usually grows with "sub $0x8,%esp" and shrinks with
      "add $0x8,%esp" respectively.  In some cases, though, stack grows with
      "add $0xffffff80,%esp" and shrinks with "sub $0xffffff80,%esp".
      Obviously, we don't want to miss those cases.
      
      Since in either case add and sub seem to be balanced and contain the
      same parameter, we don't need a second regex.  We simply accept hex
      numbers of up to 8 digits and treat them as negative numbers when the
      sub appears to be a little too high.
      
      ...or so I thought.  But another day of testing proved me wrong again.
      
      Some functions do stuff like "sub $0x10,%esp", ..., "add $0x20,%esp".
      In other words, add and sub are *NOT* balanced.  Manual inspection
      showed that 0x20 is a more realistic number, so I accept either
      variant, just in case.  We pay for this with a bunch of duplicates in
      our output, but that beats missing some stack hogs.
      
      In the long run, this script has to be replaced by gcc options,
      really.  Looking at the result and guessing back is such a stupid
      idea.
      Signed-off-by: default avatarJörn Engel <joern@wohnheim.fh-wedel.de>
      0444d9b3
    • Linus Torvalds's avatar
      Merge bk://gkernel.bkbits.net/net-drivers-2.6 · 20e743bb
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.6/linux
      20e743bb
    • Matthew Wilcox's avatar
      [PATCH] Better tulip handling on PA-RISC · 77675260
      Matthew Wilcox authored
      This patch improves some of the handling of PA-RISC tulip cards.
      
       - Introduce HAS_SWAPPED_SEEPROM and NEEDS_FAKE_MEDIA_TABLE
       - Only trigger this code on GSC machines.  The pure PCI machines don't
         have these cards.
       - Allow the chip_name to be overridden in tulip_init_one().
       - Fix some indentation.
       - Handle the output from tulip_read_eeprom() better.
      77675260