1. 11 Jul, 2005 1 commit
  2. 26 Jun, 2005 5 commits
  3. 24 Jun, 2005 1 commit
  4. 26 May, 2005 3 commits
    • James Bottomley's avatar
      [SCSI] allow the HBA to reserve target and device private areas · c3e9dda4
      James Bottomley authored
      This patch basically allows any HBA attached to the SPI transport class
      to declare an extra area which the mid-layer will allocate as part of
      its device and target allocations.
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
      c3e9dda4
    • James Bottomley's avatar
      [SCSI] Add target alloc/destroy callbacks to the host template · a283bd37
      James Bottomley authored
      This gives the HBA driver notice when a target is created and
      destroyed to allow it to manage its own target based allocations
      accordingly.
      
      This is a much reduced verson of the original patch sent in by
      James.Smart@Emulex.com
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
      a283bd37
    • Al Viro 's avatar
      [SCSI] TYPE_RBC cache fixes (sbp2.c affected) · 631e8a13
      Al Viro authored
      	a) TYPE_SDAD renamed to TYPE_RBC and taken to scsi.h
      	b) in sbp2.c remapping of TYPE_RPB to TYPE_DISK turned off
      	c) relevant places in midlayer and sd.c taught to accept TYPE_RBC
      	d) sd.c::sd_read_cache_type() looks into page 6 when dealing with
      TYPE_RBC - these guys have writeback cache flag there and are not guaranteed
      to have page 8 at all.
      	e) sd_read_cache_type() got an extra sanity check - it checks that
      it got the page it asked for before using its contents.  And screams if
      mismatch had happened.  Rationale: there are broken devices out there that
      are "helpful" enough to go for "I don't have a page you've asked for, here,
      have another one".  For example, PL3507 had been caught doing just that...
      	f) sbp2 sets sdev->use_10_for_rw and sdev->use_10_for_ms instead
      of bothering to remap READ6/WRITE6/MOD_SENSE, so most of the conversions
      in there are gone now.
      
      	Incidentally, I wonder if USB storage devices that have no
      mode page 8 are simply RBC ones.  I haven't touched that, but it might
      be interesting to check...
      Signed-off-by: default avatarAl Viro <viro@parcelfarce.linux.theplanet.co.uk>
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
      631e8a13
  5. 20 May, 2005 2 commits
  6. 18 Apr, 2005 5 commits
  7. 16 Apr, 2005 7 commits