From 7e4695ba28ead244da172834758c85ceb95aad86 Mon Sep 17 00:00:00 2001
From: juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Thu, 8 Oct 2009 11:13:10 +0000
Subject: adm5120: add preliminary support for 2.6.31

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18000 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 .../patches-2.6.31/120-rb153_cf_driver.patch       | 28 ++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 target/linux/adm5120/patches-2.6.31/120-rb153_cf_driver.patch

(limited to 'target/linux/adm5120/patches-2.6.31/120-rb153_cf_driver.patch')

diff --git a/target/linux/adm5120/patches-2.6.31/120-rb153_cf_driver.patch b/target/linux/adm5120/patches-2.6.31/120-rb153_cf_driver.patch
new file mode 100644
index 000000000..cad36c4d1
--- /dev/null
+++ b/target/linux/adm5120/patches-2.6.31/120-rb153_cf_driver.patch
@@ -0,0 +1,28 @@
+--- a/drivers/ata/Makefile
++++ b/drivers/ata/Makefile
+@@ -75,6 +75,7 @@ obj-$(CONFIG_PATA_PLATFORM)	+= pata_plat
+ obj-$(CONFIG_PATA_AT91)	+= pata_at91.o
+ obj-$(CONFIG_PATA_OF_PLATFORM)	+= pata_of_platform.o
+ obj-$(CONFIG_PATA_ICSIDE)	+= pata_icside.o
++obj-$(CONFIG_PATA_RB153_CF)	+= pata_rb153_cf.o
+ # Should be last but two libata driver
+ obj-$(CONFIG_PATA_ACPI)		+= pata_acpi.o
+ # Should be last but one libata driver
+--- a/drivers/ata/Kconfig
++++ b/drivers/ata/Kconfig
+@@ -577,6 +577,15 @@ config PATA_RADISYS
+ 
+ 	  If unsure, say N.
+ 
++config PATA_RB153_CF
++	tristate "RouterBOARD 153 Compact Flash support"
++	depends on ADM5120_MACH_RB_153
++	help
++	  This option enables support for a Compact Flash connected on
++	  the RouterBOARD 153.
++
++	  If unsure, say N.
++
+ config PATA_RB532
+ 	tristate "RouterBoard 532 PATA CompactFlash support"
+ 	depends on MIKROTIK_RB532
-- 
cgit v1.2.3