backport acx100 2.6.24 fixes from SVN
[15.05/openwrt.git] / target / linux / adm5120 / patches-2.6.23 / 120-rb153_cf_driver.patch
1 Index: linux-2.6.23.14/drivers/ata/Makefile
2 ===================================================================
3 --- linux-2.6.23.14.orig/drivers/ata/Makefile
4 +++ linux-2.6.23.14/drivers/ata/Makefile
5 @@ -63,6 +63,7 @@ obj-$(CONFIG_PATA_IXP4XX_CF)  += pata_ixp
6  obj-$(CONFIG_PATA_SCC)         += pata_scc.o
7  obj-$(CONFIG_PATA_PLATFORM)    += pata_platform.o
8  obj-$(CONFIG_PATA_ICSIDE)      += pata_icside.o
9 +obj-$(CONFIG_PATA_RB153_CF)    += pata_rb153_cf.o
10  # Should be last but one libata driver
11  obj-$(CONFIG_ATA_GENERIC)      += ata_generic.o
12  # Should be last libata driver
13 Index: linux-2.6.23.14/drivers/ata/Kconfig
14 ===================================================================
15 --- linux-2.6.23.14.orig/drivers/ata/Kconfig
16 +++ linux-2.6.23.14/drivers/ata/Kconfig
17 @@ -596,4 +596,13 @@ config PATA_SCC
18  
19           If unsure, say N.
20  
21 +config PATA_RB153_CF
22 +       tristate "RouterBOARD 153 Compact Flash support"
23 +       depends on MIPS_ADM5120
24 +       help
25 +         This option enables support for a Compact Flash connected on
26 +         the RouterBOARD 153.
27 +
28 +         If unsure, say N.
29 +
30  endif # ATA