• Mark Lord's avatar
    [PATCH] sata_mv: chip initialization fixes · eb46d684
    Mark Lord authored
    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: default avatarMark Lord <liml@rtr.ca>
    Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
    eb46d684
sata_mv.c 64.3 KB