From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Cox Subject: [PATCH 5/8] intel_mid_ssp_spi: Add chip definitions Date: Wed, 09 Feb 2011 10:08:47 +0000 Message-ID: <20110209100838.555.90298.stgit@bob.linux.org.uk> References: <20110209100231.555.90520.stgit@bob.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: spi-devel-general@lists.sourceforge.net, russ.gorby@intel.com, grant.likely@secretlab.ca, linux-kernel@vger.kernel.org Return-path: In-Reply-To: <20110209100231.555.90520.stgit@bob.linux.org.uk> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-spi.vger.kernel.org From: Alan Cox 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 Signed-off-by: Alan Cox --- 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 = {