ahci: support the STA2X11 I/O Hub
authorAlessandro Rubini <rubini@gnudd.com>
Fri, 6 Jan 2012 12:33:39 +0000 (13:33 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 20 Feb 2013 03:15:28 +0000 (03:15 +0000)
commit6ab68d8d2079acab17e1ab3db3209a67818d3051
treeecaa4792e825b7dcbeaaea9e9a32ac5236bcb506
parentfd61506bd23ffc170dac4ecf401acae8004efceb
ahci: support the STA2X11 I/O Hub

commit 318893e1429a9d50569a0379d1e20b0ecc45c555 upstream.

The AHCI controller found in the STA2X11 chip uses BAR number 0
instead of 5. Also, the chip's fixup code sets a special DMA mask
for all of its PCI functions, and the mask must be preserved here.

Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
Acked-by: Giancarlo Asnaghi <giancarlo.asnaghi@st.com>
Cc: Alan Cox <alan@linux.intel.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/ata/ahci.c