1. 05 Dec, 2002 3 commits
    • 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 26 commits