1. 23 May, 2003 3 commits
    • Eddie Williams's avatar
      [PATCH] scsi: allow devices to restrict start on add · 22359323
      Eddie Williams authored
      When a SCSI disk is added and it returns a NOT READY the SD driver is 
      automatically sending a START_UNIT command to spin the device up.  While this 
      may be the desired behavior for many if not most devices not all devices 
      either want or need this.  The attached patch provides a mechanism via the 
      device_list that allows a device to be defined to disable the automatic start 
      being issued on an add.
      
      The patch also modifies the device_list for several devices that would prefer 
      to not have the start command issued. 
      22359323
    • Andries E. Brouwer's avatar
      [PATCH] scsi: ten -> use_10_for_rw / use_10_for_ms · e7ac90bc
      Andries E. Brouwer authored
      In the old days, ancient scsi devices understood 6-byte commands
      and more recent ones also understood 10-byte commands.
      Thus, we had a "ten" flag indicating that 10-byte commands worked.
      
      These days, especially for usb-storage devices, the opposite
      sometimes holds - 10-byte commands are supported, but 6-byte commands
      are not.
      
      The patch below changes the field ten into the pair of fields
      use_10_for_rw, use_10_for_ms set initially when the driver
      thinks these are supported. Ifthe device returns ILLEGAL_REQUEST
      they are cleared.
      
      This patch obsoletes a large amount of code in usb-storage,
      and not only that, once the subsequent patch removes all this
      usb-storage code many devices will work that hang today.
      
      
      Andries
      e7ac90bc
    • Andries E. Brouwer's avatar
      [PATCH] isa_writeb args interchanged · e170f25f
      Andries E. Brouwer authored
      e170f25f
  2. 21 May, 2003 1 commit
    • James Bottomley's avatar
      Fix while in spinup loop of sd · b1c89a3b
      James Bottomley authored
      We must loop on UNIT ATTENTION sense (to clear the condition).  However, the code 
      is assuming that a sense condition will always be accompanied by a not good status.
      We have several drivers in the tree that return GOOD with DRIVER_SENSE, so make the
      loop condition reflect this.
      b1c89a3b
  3. 20 May, 2003 2 commits
  4. 19 May, 2003 34 commits