Add ar7-2.6 port (marked as broken for now).
[openwrt/svn-archive/archive.git] / target / linux / ar7-2.6 / patches / 120-gpio_chrdev.patch
1 diff -ruN linux-2.6.19.2-orig/drivers/char/Kconfig linux-2.6.19.2-ar7/drivers/char/Kconfig
2 --- linux-2.6.19.2-orig/drivers/char/Kconfig 2007-01-10 20:10:37.000000000 +0100
3 +++ linux-2.6.19.2-ar7/drivers/char/Kconfig 2007-02-19 01:22:23.000000000 +0100
4 @@ -920,6 +920,15 @@
5 To compile this driver as a module, choose M here: the
6 module will be called mwave.
7
8 +config AR7_GPIO
9 + tristate "TI AR7 GPIO Support"
10 + depends on AR7
11 + help
12 + Give userspace access to the GPIO pins on the Texas Instruments AR7
13 + processors.
14 +
15 + If compiled as a module, it will be called ar7_gpio.
16 +
17 config SCx200_GPIO
18 tristate "NatSemi SCx200 GPIO Support"
19 depends on SCx200
20 diff -ruN linux-2.6.19.2-orig/drivers/char/Makefile linux-2.6.19.2-ar7/drivers/char/Makefile
21 --- linux-2.6.19.2-orig/drivers/char/Makefile 2007-01-10 20:10:37.000000000 +0100
22 +++ linux-2.6.19.2-ar7/drivers/char/Makefile 2007-02-19 01:22:23.000000000 +0100
23 @@ -83,6 +83,7 @@
24 obj-$(CONFIG_PPDEV) += ppdev.o
25 obj-$(CONFIG_NWBUTTON) += nwbutton.o
26 obj-$(CONFIG_NWFLASH) += nwflash.o
27 +obj-$(CONFIG_AR7_GPIO) += ar7_gpio.o
28 obj-$(CONFIG_SCx200_GPIO) += scx200_gpio.o
29 obj-$(CONFIG_PC8736x_GPIO) += pc8736x_gpio.o
30 obj-$(CONFIG_NSC_GPIO) += nsc_gpio.o