Re: [PATCH 05/10] esp_scsi: read status registers

2014-11-21 Thread Paolo Bonzini
On 21/11/2014 10:27, Hannes Reinecke wrote: > A read to ESP_INTRPT will clear ESP_STATUS and ESP_SSTEP. So read > all status registers in one go to avoid losing information. (ESP_STAT_TCNT is actually kept in the status register, it is cleared by writing TCLO/MID/HI). Reviewed-by: Paolo Bonzini

[PATCH 05/10] esp_scsi: read status registers

2014-11-21 Thread Hannes Reinecke
A read to ESP_INTRPT will clear ESP_STATUS and ESP_SSTEP. So read all status registers in one go to avoid losing information. Signed-off-by: Hannes Reinecke --- drivers/scsi/esp_scsi.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/esp_scsi.c b/drivers/s