1. 05 Nov, 2002 7 commits
    • James Bottomley's avatar
      Merge dougg/hch changes in sg.c · 6000edaa
      James Bottomley authored
      6000edaa
    • James Bottomley's avatar
    • Christoph Hellwig's avatar
      [PATCH] scsi device template cleanups · 4ce9191f
      Christoph Hellwig authored
      Now that .init isn't implement anymore we can get rid of it and
      do some more cleanup in the scsi device template:
      
      * remove .blk - unused since 2.5.46
      * remove .dev_noticed, only midlayer user is gone together with
        .init.  remaining instance now driver-private
      * remove .nr_dev and .dev_max - they're purely driver internal
        and at least in sd and sr they'll be completly gone very soon.
      4ce9191f
    • Christoph Hellwig's avatar
      [PATCH] allow registering individual HBAs · c877e091
      Christoph Hellwig authored
      Yes, this is the patch every maintainer of a modern HBA waited for the
      last years </shameless plug>.
      
      With all my recent changes there's no more reason to call scsi_register_host
      except for the intialization it performs to every host found in
      scsi_register.  But a driver can aswell do that at the end of it's
      per-HBA detection routine (i.e. in ->probe for a modern PCI driver), so
      export that code as scsi_add_host to drivers.  Do the same for the
      release path (scsi_remove_host).  Such a new-style driver needs neither
      ->detect or ->release and is in theory hotplug-capable (well, once all
      the races in the scsi midlayer are fixed..)
      c877e091
    • James Bottomley's avatar
      Merge mulgrave.(none):/home/jejb/BK/linux-2.5 · 0dc70072
      James Bottomley authored
      into mulgrave.(none):/home/jejb/BK/scsi-for-linus-2.5
      0dc70072
    • 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 13 commits
  3. 03 Nov, 2002 20 commits