ar71xx: rewrite SPI drivers for the RB4xx boards
[openwrt.git] / target / linux / ar71xx / patches-2.6.33 / 202-spi_vsc7385_driver.patch
1 --- a/drivers/spi/Kconfig
2 +++ b/drivers/spi/Kconfig
3 @@ -378,6 +378,11 @@ config SPI_RB4XX_CPLD
4           SPI driver for the Xilinx CPLD chip present on the
5           MikroTik RB4xx boards.
6  
7 +config SPI_VSC7385
8 +       tristate "Vitesse VSC7385 ethernet switch driver"
9 +       help
10 +         SPI driver for the Vitesse VSC7385 ethernet switch.
11 +
12  #
13  # Add new SPI protocol masters in alphabetical order above this line
14  #
15 --- a/drivers/spi/Makefile
16 +++ b/drivers/spi/Makefile
17 @@ -56,6 +56,7 @@ spi_s3c24xx_hw-$(CONFIG_SPI_S3C24XX_FIQ)
18  # SPI protocol drivers (device/link on bus)
19  obj-$(CONFIG_SPI_RB4XX_CPLD)   += spi_rb4xx_cpld.o
20  obj-$(CONFIG_SPI_SPIDEV)       += spidev.o
21 +obj-$(CONFIG_SPI_VSC7385)      += spi_vsc7385.o
22  obj-$(CONFIG_SPI_TLE62X0)      += tle62x0.o
23  #      ... add above this line ...
24