]> 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)
commit30005ec2715bace98428d6c6cd3947e0d386c83b
treea9e30442846e71449dbac97bde96ae7cd8fce3e1
parentaf8891d8bc842959de82f8e1d989f8cd9cb93f70
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