[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110209100838.555.90298.stgit@bob.linux.org.uk>
Date: Wed, 09 Feb 2011 10:08:47 +0000
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: spi-devel-general@...ts.sourceforge.net, russ.gorby@...el.com,
grant.likely@...retlab.ca, linux-kernel@...r.kernel.org
Subject: [PATCH 5/8] intel_mid_ssp_spi: Add chip definitions
From: Alan Cox <alan@...ux.intel.com>
The quirk tweaks so far are sufficient for us to support master mode on all
the devices. Put the PCI identifiers back. If they are in use for other
things the vendor bits will ensure the driver doesn't claim the wrong ones.
Add the missing MODULE tag so we can do autoloading
Based on previous generic driver work by Mathieu SOULARD
<mathieux.soulard@...el.com>
Signed-off-by: Alan Cox <alan@...ux.intel.com>
---
drivers/spi/intel_mid_ssp_spi.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/drivers/spi/intel_mid_ssp_spi.c b/drivers/spi/intel_mid_ssp_spi.c
index 6435adc..c8cd3bb 100644
--- a/drivers/spi/intel_mid_ssp_spi.c
+++ b/drivers/spi/intel_mid_ssp_spi.c
@@ -1574,9 +1574,14 @@ static const struct dev_pm_ops intel_mid_ssp_spi_pm = {
};
static const struct pci_device_id pci_ids[] __devinitdata = {
+ { PCI_VDEVICE(INTEL, 0x0815),
+ QUIRKS_PLATFORM_MRST | QUIRKS_BIT_BANGING },
{ PCI_VDEVICE(INTEL, 0x0816) },
+ { PCI_VDEVICE(INTEL, 0x0825) },
+ { PCI_VDEVICE(INTEL, 0x0832) },
{ }
};
+MODULE_DEVICE_TABLE(pci, pci_ids);
static struct pci_driver intel_mid_ssp_spi_driver = {
.driver = {
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists