• Stephen M. Cameron's avatar
    [SCSI] hpsa: do aborts two ways · 6cba3f19
    Stephen M. Cameron authored
    When aborting a command, the tag is supposed to be
    specified as 64-bit little endian.  However, some smart
    arrays expect the tag of the command to be aborted to be
    specified in a strange byte order.  How to tell which sort
    of Smart Array firmware we're dealing with is not obvious.
    However, because of the way we construct our tags, the values
    of any outstanding tag when specified with the "strange" byte
    order will not collide with the value specified in the correct
    order.  That means we can safely attempt the abort both ways.
    Signed-off-by: default avatarStephen M. Cameron <stephenmcameron@gmail.com>
    Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
    6cba3f19
hpsa.c 140 KB