Enable Intel Moorestown SPI controller 1
Signed-off-by: Yong Wang <[email protected]>
---
drivers/spi/dw_spi_pci.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/spi/dw_spi_pci.c b/drivers/spi/dw_spi_pci.c
index 1f52755..eec9d0b 100644
--- a/drivers/spi/dw_spi_pci.c
+++ b/drivers/spi/dw_spi_pci.c
@@ -142,6 +142,8 @@ static int spi_resume(struct pci_dev *pdev)
static const struct pci_device_id pci_ids[] __devinitdata = {
/* Intel Moorestown platform SPI controller 0 */
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x0800) },
+ /* Intel Moorestown platform SPI controller 1 */
+ { PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x0801) },
{},
};
--
1.5.5.1
NAK.
We should not export SPI1 has x86 core has no way to access its register.
though the device physically exists.
Thanks,
Feng
On Tue, 31 Aug 2010 14:14:16 +0800
Yong Wang <[email protected]> wrote:
> Enable Intel Moorestown SPI controller 1
>
> Signed-off-by: Yong Wang <[email protected]>
> ---
> drivers/spi/dw_spi_pci.c | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/spi/dw_spi_pci.c b/drivers/spi/dw_spi_pci.c
> index 1f52755..eec9d0b 100644
> --- a/drivers/spi/dw_spi_pci.c
> +++ b/drivers/spi/dw_spi_pci.c
> @@ -142,6 +142,8 @@ static int spi_resume(struct pci_dev *pdev)
> static const struct pci_device_id pci_ids[] __devinitdata = {
> /* Intel Moorestown platform SPI controller 0 */
> { PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x0800) },
> + /* Intel Moorestown platform SPI controller 1 */
> + { PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x0801) },
> {},
> };
>