1. 05 Dec, 2002 7 commits
    • James Bottomley's avatar
      Merge ssh://raven/BK/scsi-sg-cleanup-2.5 · 6350779e
      James Bottomley authored
      into mulgrave.(none):/home/jejb/BK/scsi-misc-2.5
      6350779e
    • Christoph Hellwig's avatar
      [PATCH] move all sgtable handling in one place · c23ee349
      Christoph Hellwig authored
      We only need it in scsi_lib.c so the helper should be there aswell.
      c23ee349
    • Douglas Gilbert's avatar
      [update] scsi_mid_low_api.txt for slave_configure()++ · df9a0c82
      Douglas Gilbert authored
      Attached is an gzipped patch for
      Documentation/scsi/scsi_mid_low_api.txt found in lk 2.5.50
      
      It replaces slave_attach() (and _detach()) with the new
      slave_alloc() (_configure() and _destroy()) descriptions.
      df9a0c82
    • Douglas Gilbert's avatar
      scsi_debug version 1.66 · b545d770
      Douglas Gilbert authored
      Attached is a small clean up of scsi_debug against
      lk 2.5.50bk3
      
      Module load time parameters still don't work so
      I tweak this driver's _DEF defines and recompile
      as required. [Evidentally Rusty has patches to
      recognize module load time parameters but they haven't
      made it through to the main tree yet.]
      b545d770
    • Christoph Hellwig's avatar
      [PATCH] remove remaining MAJOR_NR/DEVICE_NR junk · 9a815f1f
      Christoph Hellwig authored
      This was needed for blk.h in 2.4 but is entirely superflous in 2.5
      9a815f1f
    • Patrick Mansfield's avatar
      [PATCH] add more scsi_device sysfs attributes · 8b8c8712
      Patrick Mansfield authored
      Hi -
      
      This patch adds some scsi_device sysfs specific macros (based on some
      in the usb source), and adds more scsi_device sysfs attributes.
      
      It modifies the current output of the "type" attribute to be
      the numeric value of the type, and adds a few other attributes.
      
      It is easy to add or remove scsi_device attributes with this patch.
      
      Example sysfs with this patch:
      
      [patman@elm3a50 patman]$ ls /sysfs/bus/scsi/devices/0:0:0:0
      0:0:0:0:gen   current_queue_depth  name             power  vendor
      access_count  device_blocked       new_queue_depth  rev
      block         model                online           type
      
      And results of catting each file above (block and 0:0:0:0:gen are
      not files):
      
      /sysfs/bus/scsi/devices/0:0:0:0/access_count: '2'
      /sysfs/bus/scsi/devices/0:0:0:0/current_queue_depth: '253'
      /sysfs/bus/scsi/devices/0:0:0:0/device_blocked: '0'
      /sysfs/bus/scsi/devices/0:0:0:0/model: 'ST318203LC    !#'
      /sysfs/bus/scsi/devices/0:0:0:0/name: 'SIBM-PSG ST318203LC    !#LRA6701300007027J5ZL'
      /sysfs/bus/scsi/devices/0:0:0:0/new_queue_depth: '253'
      /sysfs/bus/scsi/devices/0:0:0:0/online: '1'
      /sysfs/bus/scsi/devices/0:0:0:0/power: '0'
      /sysfs/bus/scsi/devices/0:0:0:0/rev: 'B222'
      /sysfs/bus/scsi/devices/0:0:0:0/type: '0'
      /sysfs/bus/scsi/devices/0:0:0:0/vendor: 'IBM-PSG '
      
      The online bit field is writable, although setting it to 0 is not useful.
      8b8c8712
    • Mike Anderson's avatar
      [PATCH] scsi sysfs update 3 · 82859727
      Mike Anderson authored
      James Bottomley [James.Bottomley@steeleye.com] wrote:
      > andmike@us.ibm.com said:
      > > I have attached an updated combined patch of my previously posted
      > > sysfs changes.
      >
      > I'm getting ready to put this in scsi-misc-2.5
      >
      > I have misgivings about the removal of the scsi bus type, but I know looking
      > at scsi host adapters as bridges isn't a universal view point.
      >
      
      James,
      	Christoph and Douglas Gilbert detected a compile error in
      	ide-scsi with the sysfs update in scsi-misc-2.5. Christoph sent
      	a RFC patch to LKML that request feedback on the removal of the
      	transform function in ide-scsi. In the short term I am
      	forwarding Doug's patch against scsi-misc-2.5 that restores
      	previous functionality by using the sysfs driver name.
      
      
      -andmike
      --
      Michael Anderson
      andmike@us.ibm.com
      82859727
  2. 04 Dec, 2002 1 commit
  3. 06 Dec, 2002 5 commits
  4. 04 Dec, 2002 1 commit
  5. 06 Dec, 2002 2 commits
  6. 05 Dec, 2002 2 commits
  7. 04 Dec, 2002 22 commits