1. 27 Sep, 2003 14 commits
  2. 26 Sep, 2003 5 commits
  3. 27 Sep, 2003 9 commits
  4. 26 Sep, 2003 12 commits
    • James Bottomley's avatar
      [PATCH] scsi_mid_low_api.txt update · e6ced426
      James Bottomley authored
      From: Douglas Gilbert <dougg@torque.net>
      
      Attached is an update of the scsi_mid_low_api text
      document. The first attachment is a gzipped patch against
      lk 2.6.0-test4 and the second one is the file gzipped.
      
      Changes:
         - add "Calling context:" entry to interface functions
         - add "Might block:" entry to mid level functions
         - drop scsi_set_device_offline() + command()
         - change references to reflect transfer of headers to
           include/scsi/scsi_*.h
         - try to define what a "scsi host" is
         - typos + grammar
      
      Thanks to Randy Dunlap, Alan Stern amd Christoph Hellwig
      for their input. Comments welcome.
      e6ced426
    • James Bottomley's avatar
      Merge raven.il.steeleye.com:/home/jejb/BK/scsi-misc-2.5 · 5946da3c
      James Bottomley authored
      into raven.il.steeleye.com:/home/jejb/BK/scsi-for-linus-2.6
      5946da3c
    • Bernardo Innocenti's avatar
      [PATCH] GCC 3.3.x/3.4 compatiblity fix in include/linux/init.h · e28f8379
      Bernardo Innocenti authored
      GCC 3.4 miscompiles the kernel because it silently optimizes away
      data placed in the .init.setup section by the __setup() macro.
      
      __attribute__((unused)) does only avoid the warning, but doesn't
      mark the data as being used.
      
      Since GCC 3.3, __attribute__((used)) should be applied to such
      variables.  The __attribute_used__ macro from linux/compiler.h already
      takes care of compiler differences for us.
      
      In this patch, I've gone a step further and proactively fixed that in
      all places.
      e28f8379
    • Steven Dake's avatar
      [PATCH] fix kernel BUG using multipath · a888efe7
      Steven Dake authored
      Thanks Matt and Jens for the debug help on the multipath problem. 
      
      This solves the problem and makes multipath work properly.
      
      There are two types of "flags" that are used in a block io request,
      bi_flags, and bi_rw.  bi_flags is used for flags to the block level
      code, and bi_rw is used for flags to the low level device drivers.
      
      The code in the multipath driver used the wrong flag in the wrong field.
      In this case, the flag FASTFAIL (value 3) was being set to the bi_flags
      field.  FASTFAIL is a hint to the low level driver that it should try to
      fail out quickly.  Unfortunately, the value 3 is also BIO_SEG_VALID,
      which is a flag to the block subsystem that the segments shouldn't be
      recalculated.  The result was that the wrong field was set, telling the
      block layer not to recalculate the segments resulting in phys and hw
      segments of 0.  Not good.
      a888efe7
    • Patrick Mochel's avatar
      [PATCH] sysfs dput crash fix · 7dbb30bf
      Patrick Mochel authored
      This is a new patch that includes Martin's, and makes create_dir() return
      an int. That matches sysfs_create_file(), and saves a couple of
      conversions back and forth between pointer and error.
      7dbb30bf
    • Christoph Hellwig's avatar
      [PATCH] ia64: remove CONFIG_PCI ifdefs in SN2 code · 6853823b
      Christoph Hellwig authored
      It's not like it would compile without PCI support anyway, and these
      ifdefs are _really_ strange.
      6853823b
    • Christoph Hellwig's avatar
      [PATCH] ia64: simplify SN2 interrupt allocation · d1409597
      Christoph Hellwig authored
      Same issues as the dma mapping code, but as SN2 interrupt handling is
      totally static and all irqs are allocated on bootup an never freed it's
      not a speed issue.
      
      I really wonder what someone has to smoke to call a that expensive
      dispatcher just to cast the data structure back to the lowlevel one
      directly afterwards...
      d1409597
    • Christoph Hellwig's avatar
      [PATCH] ia64: sn_ML_intr.c is a freakin mess · 4861cee9
      Christoph Hellwig authored
      fed through Lindent and dead codepathes eliminated.
      4861cee9
    • Christoph Hellwig's avatar
      [PATCH] ia64: simplify and speedup SN2 dma mapping · e4af63aa
      Christoph Hellwig authored
      Currently the the SN2 dma mapping code uses a file systen lookup (cat /r/napali/tmp/p10 |diffstat -p1) to
      find the operation vector for the underlying dma mapping implementation.
      
      But not only there is exactly one of those implementation, also data
      structures from this lowlevel driver are used in the actual Linux dma
      mapping routines and quite a few assumption are made about it.  So let's
      just call directly in the lowlevel code and give up this utter bullshit.
      e4af63aa
    • Christoph Hellwig's avatar
      [PATCH] ia64: kill snia_pciio_* · 158f8511
      Christoph Hellwig authored
      These strange mixups of Linux and IRIX PCI interfaces were used in SGI's
      2.4 tree for their port of the IRIX scsi code.  They have no business to
      stgay in 2.6.
      158f8511
    • David Mosberger's avatar
    • Christoph Hellwig's avatar
      [PATCH] ia64: kill dead SN code from ml_iograph.c · f4f53e5a
      Christoph Hellwig authored
      More IRIX creepism
      f4f53e5a