1. 16 Oct, 2003 3 commits
    • Patrick Mansfield's avatar
      [PATCH] SCSI: limit mode sense usage · 92933518
      Patrick Mansfield authored
      Re-roll of the patch against 2.6.0-test6 to allow overriding or setting of
      mode sense related flags, includes Alan Stern's as95 patch minus his
      scsiglue.c changes.
      
      Moves scsi_devinfo.h for use outside of drivers/scsi, and adds three new
      devinfo flags:
      
      	BLIST_MS_SKIP_PAGE_08
      	BLIST_MS_SKIP_PAGE_3F
      	BLIST_USE_10_BYTE_MS
      
      Adds a per host template flags, and use of it in scsiglue.c. The per host
      value can be overridden by a devinfo entry, the patch does not allow
      scsi_default_dev_flags to override default host values.
      
      USB mass storage and removable media (for testing mode page 3f use) were
      not tested, if you have a USB storage device that still chokes on mode
      sense 3f please give this a spin.
      
       drivers/scsi/scsi_devinfo.c    |   15 +++++++++++----
       drivers/scsi/scsi_devinfo.h    |   17 -----------------
       drivers/scsi/scsi_priv.h       |    3 ++-
       drivers/scsi/scsi_scan.c       |   17 +++++++++++++----
       drivers/scsi/sd.c              |    9 +++++++++
       drivers/usb/storage/scsiglue.c |    8 ++++----
       include/scsi/scsi_device.h     |    2 ++
       include/scsi/scsi_devinfo.h    |   22 ++++++++++++++++++++++
       include/scsi/scsi_host.h       |    6 ++++++
       9 files changed, 69 insertions(+), 30 deletions(-)
      92933518
    • Douglas Gilbert's avatar
      [PATCH] SCSI constants.c · 4201d888
      Douglas Gilbert authored
      However, drivers/scsi/constants.c does know about Report Luns??
      Looks like a merging problem by Andries and me sometime back.
      4201d888
    • Mike Christie's avatar
      [PATCH] fix oops caused when writing to the rescan attribute · af41f9e9
      Mike Christie authored
      If an upper layer driver is not loaded, and you write to a device's 
      rescan attribute you will get an oops. The attached patch fixes this by 
      testing if the device's driver variable is set before accessing it.
      af41f9e9
  2. 14 Oct, 2003 20 commits
  3. 13 Oct, 2003 15 commits
  4. 12 Oct, 2003 2 commits