]> git.baikalelectronics.ru Git - kernel.git/commit
atp870u: Add remaining 870 support to is885()
authorOndrej Zary <linux@rainbow-software.org>
Tue, 17 Nov 2015 18:24:03 +0000 (19:24 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 26 Nov 2015 03:08:41 +0000 (22:08 -0500)
commit5de7a518eeb980f75721a4881c9d42177638b887
treea9e30442846e71449dbac97bde96ae7cd8fce3e1
parent6cc8c0f57f8c2e1a2eb2ee40b05ba895da9826f9
atp870u: Add remaining 870 support to is885()

Add remaining 870 support to is885():
 - different synw, no synuw
 - synu[4] = 0x0c
 - atp_writeb_io(dev, c, 0x04, 0x00); instead of
   atp_writeb_io(dev, c, 0x14, 0x00); (isn't that a bug?)
 - atp_writeb_io(dev, c, 0x14, 0xff); instead of
   atp_writeb_io(dev, c, 0x14, 0x06);
 - different mbuf[3] and mbuf[4] checks

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Reviewed-by: Hannes Reinicke <hare@suse.de>
Acked-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/atp870u.c