spi: add PCI interface driver for Designware SPI core
PATCH v2 2/3 spi: add PCI interface driver for Designware SPI core
Quoted 1 line
From
9c76570795a653a80126b88d427542cfe834f670Mon Sep 17 00:00:00 2001
From: Feng Tang <[email protected]>
Date: Tue, 4 Aug 2009 16:31:53 +0800
Subject: [PATCH 2/3] spi: add PCI interface driver for Designware SPI core
This add the PCI interface driver for DW SPI core, it has been tested on Intel Moorestown platform
Signed-off-by Feng Tang <[email protected]>
--- drivers/spi/Kconfig | 4 + drivers/spi/Makefile | 1 + drivers/spi/dw_spi_pci.c | 169 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 174 insertions(+), 0 deletions(-) create mode 100644 drivers/spi/dw_spi_pci.c
drivers/spi/Kconfig +4 -0
@@ -233,6 +233,10 @@ config SPI_DESIGNWARE help general driver for SPI controller core from DesignWare +config SPI_DW_PCI + tristate "PCI interface driver for DW SPI core" + depends on SPI_DESIGNWARE && PCI + # # Add new SPI master controllers in alphabetical order above this line #
drivers/spi/Makefile +1 -0
@@ -32,6 +32,7 @@ obj-$(CONFIG_SPI_TXX9) += spi_txx9.o obj-$(CONFIG_SPI_XILINX) += xilinx_spi.o obj-$(CONFIG_SPI_SH_SCI) += spi_sh_sci.o obj-$(CONFIG_SPI_DESIGNWARE) += dw_spi.o +obj-$(CONFIG_SPI_DW_PCI) += dw_spi_pci.o # ... add above this line ... # SPI protocol drivers (device/link on bus)
drivers/spi/dw_spi_pci.c new file +169 -0
169 lines not on this page · raw message
Signature · 7 lines
1.5.6.3 ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july