1. 11 Jun, 2003 11 commits
    • James Bottomley's avatar
      Add XRAYTEX to SCSI whitelist · fad38aa4
      James Bottomley authored
      fad38aa4
    • James Bottomley's avatar
      [PATCH] make the SCSI mid-layer obey the device online flag · 70e528ed
      James Bottomley authored
      It has been pointed out by the USB people that the mid-layer doesn't
      obey its own online flag.
      
      The attached patch should fix this.  However, there are a few caveats to
      offlining (read that as devices should still be prepared to process
      commands).
      
      1. Any special command will still be accepted (that's a command either
      via the SCSI_IOCTL_SEND_COMMAND, or an internally generated command).
      2. Outstanding already processed commands in the queue (i.e. commands
      which have already been through the upper layer drivers but needed
      requeuing for some reason like QUEUE_FULL or device busy).
      
      I'm willing to consider changing 2., it just requires more speciallised
      logic to distinguish between a command that has been prepared by the
      upper level drivers and a command sent via 1.
      
      However, not that LLDs may not assume they will receive no commands just
      because scsi_device->online is zero.
      70e528ed
    • Christoph Hellwig's avatar
      [PATCH] kill of ->command · e59aa73e
      Christoph Hellwig authored
      It's unused now.  Also kill off the stupid = NULL initializations
      in usb-storage that made this not compile the first time..
      e59aa73e
    • Christoph Hellwig's avatar
      [PATCH] more header reshuffling · 9810ba52
      Christoph Hellwig authored
      This creates scsi_eh.h, scsi_request.h and scsi_tcq.h
      9810ba52
    • Christoph Hellwig's avatar
      [PATCH] start moving and splitting the scsi headers · 2b101086
      Christoph Hellwig authored
      This patch adds the following new files:
      
        include/scsi/scsi_cmnd.h
        include/scsi/scsi_device.h
        include/scsi/scsi_host.h
      
      for each of the major scsi core data structures and makes the
      old scsi.h and hosts.h include them for compatibality.  In the
      next round of patches all reamining contents of those will
      move to proper locations.
      2b101086
    • Mark Haverkamp's avatar
      [PATCH] megaraid driver update · 01585964
      Mark Haverkamp authored
      This is a patch for the megaraid driver that splits the mbox_t structure
      into two sections.  The raw_mbox automatics are sized based on the
      mbox_out part.  This saves quite a few bytes on the stack (for the
      raw_mbox arrays) and limits the amount of bytes in the mbox_t structure
      that are cleared.
      
      In issue_scb_block, I changed setting the cmdid and busy elements from
      being set in the raw_mbox to being set in the mbox itself after the
      memcpy.
      01585964
    • Christoph Hellwig's avatar
      [PATCH] remove superflous ->command instances · 533b1217
      Christoph Hellwig authored
      ->command is never called if can_queue is set, remove the dead code.
      533b1217
    • Christoph Hellwig's avatar
      7703e935
    • Christoph Hellwig's avatar
      [PATCH] kill 53c700 ->proc_info · 41405a3d
      Christoph Hellwig authored
      All information is provided in sysfs nowdays.
      41405a3d
    • Christoph Hellwig's avatar
      [PATCH] some sd.c code consolidation · 0294c491
      Christoph Hellwig authored
      fold sd_init_onedisk into sd_revalidate_disk and sd_synchronize_cache
      into sd_shutdown.
      0294c491
    • Christoph Hellwig's avatar
      [PATCH] don't dereference sdev->access_count in dpt_i2o · 0b9d8055
      Christoph Hellwig authored
      This is nothing a LLDD should ever look at and might go away
      completly soon.  The uses are for a printk and a racy ioctl.
      0b9d8055
  2. 06 Jun, 2003 13 commits
    • Christoph Hellwig's avatar
      [PATCH] update lasi700 to new style template · 9c1865a3
      Christoph Hellwig authored
      module unloading is not support until parisc_driver gets a
      release method
      9c1865a3
    • Christoph Hellwig's avatar
      [PATCH] missing scsi_host_alloc bits · 43f427d4
      Christoph Hellwig authored
      Sorry, I sent you the old patch again.  Here's the missing driver bits.
      43f427d4
    • Christoph Hellwig's avatar
      [PATCH] consolidate legacy typedefs in one place · 06f222c4
      Christoph Hellwig authored
      Make the scsi midlayer header typedef clean and consolidate all
      those backwards-compat typedefs in scsi_typedefs.h.  It's still
      included at the bottom of scsi.h and will probably stay there
      at least for 2.6 - but the scsi core already compiles without
      it and the new splitted headers won't include this implicitly
      anymore.
      06f222c4
    • Christoph Hellwig's avatar
      [PATCH] rename struct SHT to something sensible · cf992025
      Christoph Hellwig authored
      namely struct scsi_host_template and make the scsi core use this
      instead of the typedef everywhere.
      cf992025
    • Christoph Hellwig's avatar
      [PATCH] cleanup device_busy/host_busy handling · 92905e51
      Christoph Hellwig authored
      - scsi_host_busy_inc isn't used anymore (and uses broken locking rules),
        kill it.
      - scsi_host_busy_dec_and_test gets replace by scsi_device_unbusy that
        also cares for sdev->device_busty.
      - there's a new helper, scsi_eh_wakeup, shared by scsi_device_unbusy
        and some EH code.
      92905e51
    • Christoph Hellwig's avatar
      b18cc974
    • Jamie Lenehan's avatar
      [PATCH] introduce scsi_host_alloc for dc395x · f88c7698
      Jamie Lenehan authored
      On Fri, Jun 06, 2003 at 10:01:03AM +0200, Christoph Hellwig wrote:
      > Rediffed version, with Mike's isp fix and taking the new
      > scsi_add_host users in usb in account.
      >
      > Currently this is juist a new name for scsi_register, but we make
      > sure new-style drivers never call scsi_register/scsi_unregister
      > but always scsi_host_alloc/scsi_host_put in this patch so the
      > next patch can introduce code specific to legacy drivers in
      > the former.  Also cleanup scsi_register/scsi_host_alloc a bit.
      
      I think I made the dc395x driver new style init as of 2.5.70-bk9 (if
      what scsi_mid_low_api.txt calls "hotplug" style is new style then it
      is). So it'll need to be updated as well.
      f88c7698
    • Christoph Hellwig's avatar
      [PATCH] kill unused scsi_device fields · 854cd506
      Christoph Hellwig authored
      854cd506
    • Christoph Hellwig's avatar
      [PATCH] kill blk_nohighio boot parameter · 9bce6cc7
      Christoph Hellwig authored
      It was useful in 2.4 to debug the blockhighmem stuff but in 2.5
      it's b0rked because doesn't have any implication except propagation
      of the highmem_io flags from the scsi host template to the scsi
      host structure.  It also only worked on i386.
      
      ACKed by Jens.
      9bce6cc7
    • Christoph Hellwig's avatar
      [PATCH] revamp legacy host registration · a89d589a
      Christoph Hellwig authored
      The legacy host registration/unregistration is the last user
      of the scsi_host_list but it really wants a per-template list
      instead, so switch to one that is maintained in
      scsi_register/scsi_unregister.  Also the legacy init/exit code
      is small enough now to be self-contained in scsi_module.c now.
      
      This second version also has proper failure handling in the
      init_this_scsi_driver
      a89d589a
    • Christoph Hellwig's avatar
      [PATCH] introduce scsi_host_alloc · 3f141653
      Christoph Hellwig authored
      Rediffed version, with Mike's isp fix and taking the new
      scsi_add_host users in usb in account.
      
      Currently this is juist a new name for scsi_register, but we make
      sure new-style drivers never call scsi_register/scsi_unregister
      but always scsi_host_alloc/scsi_host_put in this patch so the
      next patch can introduce code specific to legacy drivers in
      the former.  Also cleanup scsi_register/scsi_host_alloc a bit.
      3f141653
    • Christoph Hellwig's avatar
      [PATCH] kill scsihosts= boot parameter · 6d2b81d7
      Christoph Hellwig authored
      This feature is seriously racy, and doesn't work under many
      circumstances.  As we have proper ways to find devices by their
      their locical naming (UUID, fs label) or physical connectivity
      (scsidev, sysfs) it shouldn't be nessecary anymore.
      6d2b81d7
    • Christoph Hellwig's avatar
      [PATCH] fix parameter naming · 9b9a5c9d
      Christoph Hellwig authored
      use module_param_named to avoid the the superflous scsi strings
      in the option names.
      9b9a5c9d
  3. 05 Jun, 2003 16 commits