1. 25 Jun, 2003 20 commits
    • Tony Battersby's avatar
      [PATCH] make sym53c8xx_2 not reject autosense IWR · 45abc92b
      Tony Battersby authored
      This patch makes sym53c8xx_2 silently ignore the Ignore Wide Residue
      message on autosense commands rather than rejecting it.  This makes
      the SCSI communications cleaner for targets that return an odd number
      of sense bytes.
      45abc92b
    • Christoph Hellwig's avatar
      [PATCH] add scsi_driver.h · 7de427c5
      Christoph Hellwig authored
      include/scsi/scsi_driver.h contains æverything related to upper
      level drivers.  Unlike the other header moves there's no compatiblity
      this time as it's easy to fix up the few users.
      7de427c5
    • Alan Stern's avatar
      [PATCH] Fix scsi host attributes · 8bea2c84
      Alan Stern authored
      The shost_attrs stuff looks fine, expect for two points.
      
      	1. The scsi_sysfs_modify_shost_attribute() and
      scsi_sysfs_modify_sdev_attribute() functions appear to be written a bit
      carelessly.  Below is a patch that: permits modification of the first
      attribute in the list, allocates a new list with entries having the
      correct size, copies the correct number of entries from the old list, and
      wraps excessively long source lines.
      
      	2. More importantly, the current organization of the code has a
      serious problem.  The SCSI core does not modify the host driver when the
      reference count for either shost->class_dev or shost->host_gendev drops to
      0.  Without knowing that, it is unsafe for the driver ever to deallocate a
      private host data structure, since a user process may continue to hold a
      reference to an open attribute file indefinitely, even after
      scsi_unregister() has returned.
      8bea2c84
    • David Mosberger's avatar
      [PATCH] small patch for sym53c8xx_2 · 071a9d0f
      David Mosberger authored
      I thought we had an agreement for a long time already that the use of
      dma64_addr_t in the sym53c8xx_2 driver was wrong, but it's still
      there.
      071a9d0f
    • Mark Haverkamp's avatar
      23ae4736
    • Patrick Mansfield's avatar
      [PATCH] fix return value of scsi_device rescan attribute · 97e0a333
      Patrick Mansfield authored
      When writing to the rescan attribute, return count as result, otherwise
      some user apps might retry the write forever.
      
      And remove the read capability of the attribute.
      97e0a333
    • Adrian Bunk's avatar
      [PATCH] postfix two constants in ips.c with ULL · 4d6c3d20
      Adrian Bunk authored
      The patch below postfixes two constants in ips.c with ULL, on 32 bit
      archs this constant is too big for an int.
      
      The cast doesn't do the right thing, 0xffffffffffffffff is in C an int
      and the cast casts 0xffffffffffffffff interpreted as an int to an u64.
      4d6c3d20
    • Adrian Bunk's avatar
      [PATCH] integer constants in sym53c8xx_2/sym_glue.c too big for int · 748ae569
      Adrian Bunk authored
      The patch below postfixes a constant in sym53c8xx_2/sym_glue.c with ULL,
      on 32 bit archs this constant is too big for an int.
      748ae569
    • Adrian Bunk's avatar
      [PATCH] NCR53C9x compile fix · f2350eae
      Adrian Bunk authored
      From: Geert Uytterhoeven <geert@linux-m68k.org>
      f2350eae
    • Douglas Gilbert's avatar
      [PATCH] REQUEST SENSE 254->252 byte response · ee301369
      Douglas Gilbert authored
      SPC-3 (rev 13) says that 252 bytes in the maximum (and
      recommended) length for a REQUEST SENSE reponse.
      
      Linux asks for 254 bytes in scsi_error.c .
      
      That number was not specified in SPC-2 (although the
      allocation length field is 1 byte thus limiting it to
      255). Seems as though some numbers are being rounded
      down to be multiples of 4.
      ee301369
    • Christoph Hellwig's avatar
      [PATCH] check for can_queue != 0 in scsi_host_alloc · db6c93eb
      Christoph Hellwig authored
      This is to give a proper warning if someone tries to load an
      unconverted old-style driver.
      db6c93eb
    • Rusty Russell's avatar
      [PATCH] Trivial patch for scsi_error.c · 8c346176
      Rusty Russell authored
      From:  Alan Stern <stern@rowland.harvard.edu>
      8c346176
    • Adrian Bunk's avatar
      [PATCH] seagate cleanup · cb6cf02e
      Adrian Bunk authored
      The patch below does the following cleanups on
      drivers/scsi/seagate.{c,h}:
      - remove two unused functions
      - remove a function declaration for a function that is no longer present
      
      I've tested the compilation with 2.5.72-mm2.
      cb6cf02e
    • Adrian Bunk's avatar
      [PATCH] remove an unused function from nsp32.c · ba42caad
      Adrian Bunk authored
      The patch below removes an unused function from nsp32.c .
      
      I've tested the compilation with 2.5.72-mm2.
      ba42caad
    • Adrian Bunk's avatar
      [PATCH] ibmmca cleanup · 58d06246
      Adrian Bunk authored
      The patch below does the following:
      - remove an unused static function
      - removes the declaration of a function that is no longer present
      - removes a variable declaration that shadows a function parameter
      
      I've tested the compilation with 2.5.72-mm2.
      58d06246
    • Adrian Bunk's avatar
      [PATCH] remove an unused function declaration from sym53c416.h · d2d1e468
      Adrian Bunk authored
      The patch below removes a declaration for a function that is no longer
      present.
      
      I've tested the compilation with 2.5.72-mm2.
      d2d1e468
    • Adrian Bunk's avatar
      [PATCH] remove an unused variable from fd_mcs.c · ed2bb72b
      Adrian Bunk authored
      The patch belowremoves an unused variable from drivers/scsi/fd_mcs.c .
      
      I've tested the compilation with 2.5.72-mm2.
      ed2bb72b
    • James Bottomley's avatar
      scsi_mid_low_api.txt update · 9877980f
      James Bottomley authored
      From Douglas Gilbert <dougg@torque.net>
      9877980f
    • James Bottomley's avatar
      SCSI: abstract mode_sense 6 and 10 out completely · 5c8dfe47
      James Bottomley authored
      Move the mode_sense request routines to a central location and make
      all block device consumers use it.  Also abstract the header as
      part of the return to hide the 6/10 differences.
      5c8dfe47
    • Linus Torvalds's avatar
      Merge bk://ppc.bkbits.net/for-linus-ppc · 1d8c1ffb
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      1d8c1ffb
  2. 26 Jun, 2003 1 commit
  3. 25 Jun, 2003 1 commit
  4. 24 Jun, 2003 18 commits