OSDN Git Service

esp_scsi: read status registers
authorHannes Reinecke <hare@suse.de>
Mon, 24 Nov 2014 14:37:23 +0000 (15:37 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 24 Nov 2014 15:10:24 +0000 (16:10 +0100)
commit9535fff3c5f9382b46f656c46a80bc190645dd32
tree958780776ed5f164ad854d9fc7daf38b934fe6b9
parent1af6f60368b3f5be6a89350ccd23e218120fd3d1
esp_scsi: read status registers

A read to ESP_INTRPT will clear ESP_STATUS and ESP_SSTEP. So read
all status registers in one go to avoid losing information.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/esp_scsi.c