1. 14 May, 2008 37 commits
  2. 13 May, 2008 3 commits
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6 · 9604006d
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6:
        [SCSI] qla1280: Fix queue depth problem
        [SCSI] aha152x: Fix oops on module removal
        [SCSI] aha152x: fix init suspiciously returned 1, it should follow 0/-E convention
        [SCSI] libiscsi regression in 2.6.25: fix setting of recv timer
        [SCSI] libiscsi regression in 2.6.25: fix nop timer handling
        [SCSI] gdth: fix Error: Driver 'gdth' is already registered, aborting...
        [SCSI] gdth: fix timer handling
      9604006d
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6 · 25c55d97
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6:
        ACPI/PCI: another multiple _OSC memory leak fix
        x86/PCI: X86_PAT & mprotect
        PCI: enable nv_msi_ht_cap_quirk for ALi bridges
        PCI: Make the intel-iommu_wait_op macro work when jiffies are not running
        ACPI/PCI: handle multiple _OSC
        ACPI/PCI: handle multiple _OSC
        x86/PCI: fix broken ISA DMA
        PCI ACPI: fix uninitialized variable in __pci_osc_support_set
      25c55d97
    • Jeremy Higdon's avatar
      [SCSI] qla1280: Fix queue depth problem · af5741c6
      Jeremy Higdon authored
      The qla1280 driver was ANDing the output value of mailbox register
      0 with (1 << target-number) to determine whether to enable queueing
      on the target in question.
      
      But mailbox register 0 has the status code for the mailbox command
      (in this case, Set Target Parameters).  Potential values are:
      /*
       * ISP mailbox command complete status codes
       */
      
      So clearly that is in error.  I can't think what the author of that
      line was looking for in a mailbox register, so I just eliminated the
      AND.  flag is used later in the function, and I think that the later
      usage was also wrong, though it was used to set values that aren't
      used.  Oh well, an overhaul of this driver is not what I want to do
      now -- just a bugfix.
      
      After the fix, I found that my disks were getting a queue depth of
      255, which is far too many.  Most SCSI disks are limited to 32 or
      64.  In any case, there's no point, queueing up a bunch of commands
      to the adapter that will just result in queue full or starve other
      targets from being issued commands due to running out of internal
      memory.  So I dropped default queue depth to 32 (from which 1 is
      subtracted elsewhere, giving net of 31).
      
      I tested with a Seagate ST336753LC, and results look good, so
      I'm satisfied with this patch.
      Signed-off-by: default avatarJeremy Higdon <jeremy@sgi.com>
      Acked-by: default avatarJes Sorensen <jes@sgi.com>
      Cc: Stable Tree <stable@kernel.org>
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
      af5741c6