1. 12 Aug, 2005 2 commits
  2. 09 Aug, 2005 1 commit
  3. 08 Aug, 2005 5 commits
    • Dave Jones's avatar
      [SCSI] blacklist addition. · 0d7323c8
      Dave Jones authored
      When run on a kernel that scans all LUNs, a certain crappy
      scsi scanner reports the same LUN over and over..
      https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=155457
      
      Aparently they were so shamed by this, they chose to remain
      anonymous. Though it seems the blacklist code handles
      anonymous vendors just fine.
      Signed-off-by: default avatarDave Jones <davej@redhat.com>
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
      0d7323c8
    • Mark Haverkamp's avatar
      [SCSI] aacraid: adapter support update · 8e87c2f1
      Mark Haverkamp authored
      Received from Mark Salyzyn
      
      This patch adds the product ID for the ICP9067MA adapter.
      
      The entries for the ICP9085LI, ICP5085BR, IBM8k & ASR4810SAS were
      incorrect and would not initialize the adapters correctly.
      Signed-off-by: default avatarMark Haverkamp <markh@osdl.org>
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
      8e87c2f1
    • James Bottomley's avatar
      [SCSI] add global timeout to the scsi mid-layer · b21a4138
      James Bottomley authored
      There are certain rogue devices (and the aic7xxx driver) that return
      BUSY or QUEUE_FULL forever.  This code will apply a global timeout (of
      the total number of retries times the per command timer) to a given
      command.  If it is exceeded, the command is completed regardless of its
      state.
      
      The patch also removes the unused field in the command: timeout and
      timeout_total.
      
      This solves the problem of detecting an endless loop in the mid-layer
      because of BUSY/QUEUE_FULL bouncing, but will not recover the device.
      In the aic7xxx case, the driver can be recovered by sending a bus reset,
      so possibly this should be tied into the error handler?
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
      b21a4138
    • Kai Makisara's avatar
      [SCSI] drivers/scsi/st.c: add reference count and related fixes · f03a5670
      Kai Makisara authored
      I have rediffed the patch against 2.6.13-rc5, done a couple of cosmetic
      cleanups, and run some tests.  Brian King has acknowledged that it fixes the
      problems he has seen. Seems mature enough for inclusion into 2.6.14 (or
      later)?
      
      Nate's explanation of the changes:
      
      I've attached patches against 2.6.13rc2. These are basically identical
      to my earlier patches, as I found that all issues I'd seen in earlier
      kernels still existed in this kernel.
      
      To summarize, the changes are: (more details in my original email)
      
      - add a kref to the scsi_tape structure, and associate reference
      counting stuff
      
      - set sr_request->end_io = blk_end_sync_rq so we get notified when an IO
      is rejected when the device goes away
      
      - check rq_status when IOs complete, else we don't know that IOs
      rejected for a dead device in fact did not complete
      
      - change last_SRpnt so it's set before an async IO is issued (in case
      st_sleep_done is bypassed)
      
      - fix a bogus use of last_SRpnt in st_chk_result
      Signed-off-by: default avatarNate Dailey <nate.dailey@stratus.com>
      Signed-off-by: default avatarKai Makisara <kai.makisara@kolumbus.fi>
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
      f03a5670
    • James Bottomley's avatar
      [SCSI] aacraid: correct use of cmd->timeout field · 5262d085
      James Bottomley authored
      The cmd->timeout field has been obsolete for a while now.  While looking
      to remove it, I came across this use in the aacraid driver.  It looks
      like you want to initialise the firmware with the current timeout of the
      command (in seconds), so the value I think you should be using is
      cmd->timeout_per_command.
      
      Acked by: Mark Haverkamp <markh@osdl.org>
      Acked by: Mark Salyzyn <mark_salyzyn@adaptec.com>
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
      5262d085
  4. 07 Aug, 2005 1 commit
    • akpm@osdl.org's avatar
      [SCSI] aic79xx: needs to select SPI_TRANSPORT_ATTRS · a2ae85df
      akpm@osdl.org authored
      without it you get this failure:
      
      drivers/built-in.o(.text+0xdcccd): In function `ahd_linux_slave_configure':
      drivers/scsi/aic7xxx/aic79xx_osm.c:636: undefined reference to `spi_dv_device'
      drivers/built-in.o(.text+0xdd7b1): In function `ahd_send_async':
      drivers/scsi/aic7xxx/aic79xx_osm.c:1652: undefined reference to `spi_display_xfer_agreement'
      drivers/built-in.o(.init.text+0x7b4d): In function `ahd_linux_init':
      drivers/scsi/aic7xxx/aic79xx_osm.c:2765: undefined reference to `spi_attach_transport'
      drivers/built-in.o(.init.text+0x7c94):drivers/scsi/aic7xxx/aic79xx_osm.c:2774: undefined reference to `spi_release_transport'
      drivers/built-in.o(.exit.text+0x72c): In function `ahd_linux_exit':
      drivers/scsi/aic7xxx/aic79xx_osm.c:2783: undefined reference to `spi_release_transport'
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
      a2ae85df
  5. 05 Aug, 2005 7 commits
  6. 04 Aug, 2005 2 commits
  7. 03 Aug, 2005 6 commits
  8. 02 Aug, 2005 9 commits
  9. 30 Jul, 2005 6 commits
  10. 29 Jul, 2005 1 commit
    • Matthew Garrett's avatar
      [PATCH] agp: restore APBASE after setting APSIZE · b0825488
      Matthew Garrett authored
      When leaving S3 state, the AGP bridge may not have all PCI configuration
      registers set in the same way as they were at boot.  This should be fixed
      by pci_restore_state - however, the APBASE register cannot be set to
      conflict with the APSIZE register.  If APSIZE is larger than it was before
      suspend, pci_restore_state will not restore APBASE correctly.  The attached
      patch adds an extra item to the agp_bridge_data structure and uses it to
      store the value of APBASE.  On resume, this is then written after APSIZE
      has been set.  This patch only touches the path used for Intel chipsets
      without integrated graphics, and may need to be extended to work with the
      others.
      
      Without this patch, I get the symptoms described in bug 4921 - APBASE ends
      up overlapping various PCI devices, and as a result they fail to work after
      resume.
      Signed-off-by: default avatarMatthew Garrett <mjg59@srcf.ucam.org>
      Acked-by: default avatarDave Jones <davej@redhat.com>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      b0825488