• Nick Cheng's avatar
    [SCSI] arcmsr: updates (1.20.00.15) · 76d78300
    Nick Cheng authored
    - add arcmsr_enable_eoi_mode()and readl(reg->iop2drv_doorbell_reg) in
      arcmsr_handle_hbb_isr() on adapter Type B in case of the doorbell
      interrupt clearance is cached
    
    - add conditional declaration for arcmsr_pci_error_detected() and
      arcmsr_pci_slot_reset
    
    - check if the sg list member number exceeds arcmsr default limit in
      arcmsr_build_ccb()
    
    - change the returned value type of arcmsr_build_ccb()from "void" to
      "int" returns FAILED in arcmsr_queue_command()
    
    - modify arcmsr_drain_donequeue() to ignore unknown command and let
      kernel process command timeout.  This could handle IO request violating
      maximum segments, i.e.  Linux XFS over DM-CRYPT.  Thanks to Milan Broz's
      comments <mbroz@redhat.com>
    
    - fix the release of dma memory for type B in arcmsr_free_ccb_pool()
    
    - fix the arcmsr_polling_hbb_ccbdone()
    Signed-off-by: default avatarNick Cheng <nick.cheng@areca.com.tw>
    Cc: Milan Broz <mbroz@redhat.com>
    Cc: <thenzl@redhat.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
    76d78300
arcmsr_hba.c 67.1 KB