ahci: support the STA2X11 I/O Hub
authorAlessandro Rubini <rubini@gnudd.com>
Fri, 6 Jan 2012 12:33:39 +0000 (13:33 +0100)
committerJeff Garzik <jgarzik@redhat.com>
Mon, 9 Jan 2012 00:24:06 +0000 (19:24 -0500)
commit318893e1429a9d50569a0379d1e20b0ecc45c555
tree78ae2f04ce3706867cf6f957271ff467b3416cf3
parent909fefc2511120ec71178f752c195c7b0b30269e
ahci: support the STA2X11 I/O Hub

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>
drivers/ata/ahci.c