Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/dev/pci



Module Name:    src
Committed By:   kardel
Date:           Fri Aug  9 19:51:29 UTC 2013

Modified Files:
        src/sys/dev/pci: mpii.c

Log Message:
fix issues when reading variable block sized tapes.

symptoms:
        generic HBA error on console when reading
        with a larger blocksize. blocks read
        are padded to requested block size with
        a 5a... a5... pattern.

problems fixed:
        - controller scsi_status values did not match
          the ones used by the spsipi layer.
          a mapping function was introduced.
        - when experiencing an underrun (read 64k and
          get a 63k block) the controller posted
          not a SUCCESS status but CHECK status. handle
          that like SUCCESS adjusting xs->resid and set
          XS_SENSE.
          now the correct data amount is returned and
          nothing is 'added' and no 'generic HBA error'
          occurs.
        - make decisions using variables and constants
          from the controller domain.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/pci/mpii.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index