1. 16 Feb, 2007 3 commits
    • FUJITA Tomonori's avatar
      [SCSI] tgt: fix the user/kernel ring buffer interface · 930e99bd
      FUJITA Tomonori authored
      This patches fixes two bugs in the scsi target infrastructure's
      user/kernel interface.
      
      - It wrongly assumes that the ring buffer size of the interface (64KB)
      is larger than or equal to the system page size. This patch sets the
      ring buffer size to PAGE_SIZE if the system page size is larger.
      
      - It uses PAGE_SIZE in the header file exported to userspace. This
      patch removes it.
      Signed-off-by: default avatarFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
      930e99bd
    • peter fuerst's avatar
      [SCSI] sgiwd93: interfacing to wd33c93 · 8f3334ed
      peter fuerst authored
      1) sgiwd93 used to switch off asynchronous mode on the wd33c93, discarding
         any "nosync"-requests from the commandline.
         But we need to allow "nosync"-requests for selected devices, for example
         the Pioneer DVD305S.
         (For the curious: this device accepts the SDTR from wd33c93 and success-
         fully sends inquiry data in sync mode, but after the data phase in the
         inquiry command does an unexpected disconnect, seemingly sending no
         "status" or "command complete". Forcing async transfers makes it work
         together flawlessly with the wd33c93. Of course, preferable would be, to
         implement wd33c93's "resume command" stuff, but that probably will not
         come soon.)
      
      2) Maximize benefit from the preceding Fast SCSI patch for wd33c93 by passing
         the higher input-clock frequency explicitely. To be applied after the
         mentioned wd33c93 patch.
      Signed-off-by: default avatarpeter fuerst <post@pfrst.de>
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
      8f3334ed
    • peter fuerst's avatar
      [SCSI] wd33c93: Fast SCSI with WD33C93B · a5d8421b
      peter fuerst authored
      Attached are patches, which help to utilize more of the WD33C93B SCSI
      controller's capabilities.
      
      1) Added/changed all the necessary code to enable Burst Mode DMA. Only
         Single Byte DMA was used before.
      
      2) Added/changed all the necessary code to enable Fast-10 SCSI transfers.
      
      3) The original driver inadvertently used a transfer period of 1000-800ns
         (the lowest possible transfer rate) for asynchronous data transfers,
         instead of the (configurable) default period intended for this purpose,
         if the target responded to a SDTR not with a Reject-message, but with
         a zero-SDTR. This issue was fixed.
         Moreover, in case of a Reject the driver used the default-period's
         initialization-value instead of its (maybe smaller) current value. The
         missing assignment was added.
      
      4) The driver's commandline- and proc-file-interface was augmented to
         handle the new options properly.
      
      The WD33C93 manual, found at
      http://www.datasheet.in/datasheet-html/W/D/3/WD33C93B_WesternDigital.pdf.html,
      was very helpful.
      Signed-off-by: default avatarpeter fuerst <post@pfrst.de>
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
      a5d8421b
  2. 15 Feb, 2007 14 commits
  3. 14 Feb, 2007 23 commits