commit | 89fa9b5cb08c9d8ad709415b88395be463eceeee | [log] [tgz] |
---|---|---|
author | Ondrej Zary <linux@rainbow-software.org> | Mon Dec 05 01:07:19 2016 -0500 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Thu Dec 08 16:56:41 2016 -0500 |
tree | 6f81312bb1202e6ef755c901a738adce24addf40 | |
parent | f5b893c947151d424a4ab55ea3a8544b81974b31 [diff] |
scsi: g_NCR5380: Check for chip presence before calling NCR5380_init() Write and read back mode register to check that a chip is really there. If no card is present, reads result in 0xff. Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Signed-off-by: Finn Thain <fthain@telegraphics.com.au> Tested-by: Ondrej Zary <linux@rainbow-software.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>