]> git.baikalelectronics.ru Git - kernel.git/commit
esp_scsi: correctly detect am53c974
authorHannes Reinecke <hare@suse.de>
Mon, 24 Nov 2014 14:37:27 +0000 (15:37 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 24 Nov 2014 15:13:16 +0000 (16:13 +0100)
commitfbdeed25f25a2d8c5a2e78a0e0fb889e13b9894c
tree30ae59b8af6754aca843d83a334f040459f1a031
parent6699150df7e8df38803c2e79f0a5cad989d306a5
esp_scsi: correctly detect am53c974

The am53c974 returns the same ID as the FAS236, but implements
things slightly differently. So detect the am53c974 by checking
for ESP_CONFIG4 register.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/am53c974.c
drivers/scsi/esp_scsi.c
drivers/scsi/esp_scsi.h