]> err.no Git - linux-2.6/commit
[PATCH] sata_mv: chip initialization fixes
authorMark Lord <liml@rtr.ca>
Fri, 19 May 2006 20:29:21 +0000 (16:29 -0400)
committerJeff Garzik <jeff@garzik.org>
Sat, 20 May 2006 04:31:45 +0000 (00:31 -0400)
commiteb46d684600ac145501805a294c94675e82eab2e
treee99ef2ae9cdc1b21229e42eb075e6c5b8c60db3b
parent615ab95342f6245026d8974b9724f7ea57d9a184
[PATCH] sata_mv: chip initialization fixes

The interface control register of the 60xx (and later) Marvell chip
requires certain bits to always be set when writing to it.  These bits
incorrectly read-back as zeros, so the pattern must be ORed in
with each write of the register.  Also, bit 12 should NOT be set
(note that Marvell's own driver also had bit-12 wrong here).

While we're at it, we also now do pci_set_master() in the init code.

Signed-off-by: Mark Lord <liml@rtr.ca>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/scsi/sata_mv.c