1. 28 4月, 2008 2 次提交
    • H
      [SCSI] aic7xxx: Update type check in aicasm grammar · 2b48aed1
      Hannes Reinecke 提交于
      The function type_check() in aicasm grammar code was
      never used properly due to a bug.
      This patch fixes it up and ensures it's only called if appropriate.
      
      In addition the unused 16bit instruction are disabled, but left in
      the code for reference.
      Signed-off-by: NHannes Reinecke <hare@suse.de>
      Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
      2b48aed1
    • J
      [SCSI] fix SLUB WARN_ON · 542bd137
      James Bottomley 提交于
      We're getting a WARN_ON from SLUB indicating that we're trying to free
      caches with in-use objects.  The root cause is a new dependency in the
      command/sense free on unchecked_isa_dma.  The WARN_ON is caused by
      drivers which change this in their setup after the command/sense cache
      is allocated.
      
      The fix is to move the allocation of this cache into scsi_add_host()
      so things like gdth have an opportunity to modify it between alloc and
      add (but *not* after).
      
      The true fix would be to move unchecked_isa_dma into the template and
      out of the host, so it because a truly read only variable.
      Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
      542bd137
  2. 27 4月, 2008 1 次提交
  3. 25 4月, 2008 1 次提交
    • J
      [SCSI] aha152x, eata, u14-34f: minor irq handler cleanups · e19166d5
      Jeff Garzik 提交于
      - remove pointless casts from void*
      
      - remove needless references to 'irq' function argument, when that
        information is already stored somewhere in a driver-private struct.
      
      - where the 'irq' function argument is known never to be used, rename
        it to 'dummy' to make this more obvious
      
      - remove always-false tests for dev_id==NULL
      
      - remove always-true tests for 'irq == host_struct->irq'
      
      - replace per-irq lookup functions and tables with a direct reference
        to data object obtained via 'dev_id' function argument, passed from
        request_irq()
      
      This change's main purpose is to prepare for the patchset in
      jgarzik/misc-2.6.git#irq-remove, that explores removal of the
      never-used 'irq' argument in each interrupt handler.
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
      e19166d5
  4. 24 4月, 2008 3 次提交
  5. 23 4月, 2008 10 次提交
  6. 22 4月, 2008 23 次提交