1. 05 Nov, 2002 2 commits
    • James Bottomley's avatar
      Merge mulgrave.(none):/home/jejb/BK/scsi-misc-2.5 · f1c5d5cd
      James Bottomley authored
      into mulgrave.(none):/home/jejb/BK/scsi-for-linus-2.5
      f1c5d5cd
    • Christoph Hellwig's avatar
      [PATCH] get rid of sg_init · d1819213
      Christoph Hellwig authored
      Next step of my ->init removal series.  sg does a few to much wierd
      things with it's global array thay I prefer to leave it to Doug to
      get rid of it (if he wants to), but this patch at least gets rid of
      sg_init.
      
      Move the register_chrdev to init_sg - open properly checks whether
      the device exists so this doesn't cause any harm.  Remove the initial
      allocation of the device array - the resizing code in sg_attach will
      properly take care of it when called the first time.
      
      Tested with a DVD reader/CD writer combination and ide-scsi.
      d1819213
  2. 04 Nov, 2002 6 commits
    • James Bottomley's avatar
      Merge mulgrave.(none):/home/jejb/BK/scsi-megaraid-2.5 · 0f09a4e3
      James Bottomley authored
      into mulgrave.(none):/home/jejb/BK/scsi-for-linus-2.5
      0f09a4e3
    • Christoph Hellwig's avatar
      [PATCH] get rid of global arrays in sr · 2b93d0c8
      Christoph Hellwig authored
      Similar cleanup to the recent sd patch:  allocate the scsi_cd struct
      in sd_attach instead of needing the global array and sd_init.
      
      Tested with a DVD reader/CD write combination and ide-scsi.
      2b93d0c8
    • James Bottomley's avatar
      Merge · 86627105
      James Bottomley authored
      86627105
    • James Bottomley's avatar
      Merge mulgrave.(none):/home/jejb/BK/scsi-drivers-2.5 · 788c551c
      James Bottomley authored
      into mulgrave.(none):/home/jejb/BK/scsi-for-linus-2.5
      788c551c
    • Christoph Hellwig's avatar
      [PATCH] proper scsi_devicelist handling · 4365d624
      Christoph Hellwig authored
      Factor out code calling methods of all device template on a scsi_device
      out to three helper functions in scsi.c, make scsi_devicelist static to
      it and add a r/w semaphore to protect it.
      
      Make scsi_host_list and scsi_host_hn_list static to hosts.c and remove
      the never used scsi_host_tmpl_list (we only add to it and remove from
      it but never traverse it)
      4365d624
    • Christoph Hellwig's avatar
      [PATCH] get rid of ->init in osst · c6b82347
      Christoph Hellwig authored
      Since osst is the last driver still implementing ->init and Willem said
      he's gonna do a major update including a resync with st anyway I think
      it's okay to put this hack in for now.  Instead of ->init beeing
      directly called from the midlayer osst_attach now calls in in the
      beginning - it has an internal protection so that the initialization
      will be called only one anyway.
      c6b82347
  3. 03 Nov, 2002 32 commits