diff options
-rw-r--r-- | packages/linux/ixp4xx-kernel/2.6.15/60-ixp4xx-beeper.patch | 20 | ||||
-rw-r--r-- | packages/linux/ixp4xx-kernel/2.6.15/defconfig | 2 | ||||
-rw-r--r-- | packages/linux/ixp4xx-kernel_2.6.15.1.bb | 2 |
3 files changed, 15 insertions, 9 deletions
diff --git a/packages/linux/ixp4xx-kernel/2.6.15/60-ixp4xx-beeper.patch b/packages/linux/ixp4xx-kernel/2.6.15/60-ixp4xx-beeper.patch index 5acf54743c..f3a5149e84 100644 --- a/packages/linux/ixp4xx-kernel/2.6.15/60-ixp4xx-beeper.patch +++ b/packages/linux/ixp4xx-kernel/2.6.15/60-ixp4xx-beeper.patch @@ -1,8 +1,12 @@ +Generic beeper support for the ixp4xx platform. + +Signed-off-by: Alessandro Zummo <a.zummo@towertech.it> + arch/arm/mach-ixp4xx/nslu2-setup.c | 7 + drivers/input/misc/Kconfig | 12 ++ drivers/input/misc/Makefile | 1 - drivers/input/misc/ixp4xx-beeper.c | 172 +++++++++++++++++++++++++++++++++++++ - 4 files changed, 192 insertions(+) + drivers/input/misc/ixp4xx-beeper.c | 174 +++++++++++++++++++++++++++++++++++++ + 4 files changed, 194 insertions(+) --- linux-nslu2.orig/drivers/input/misc/Kconfig 2006-01-23 02:13:55.000000000 +0100 +++ linux-nslu2/drivers/input/misc/Kconfig 2006-01-23 02:29:48.000000000 +0100 @@ -33,7 +37,7 @@ obj-$(CONFIG_HP_SDC_RTC) += hp_sdc_rtc.o +obj-$(CONFIG_INPUT_IXP4XX_BEEPER) += ixp4xx-beeper.o --- linux-nslu2.orig/arch/arm/mach-ixp4xx/nslu2-setup.c 2006-01-23 02:13:55.000000000 +0100 -+++ linux-nslu2/arch/arm/mach-ixp4xx/nslu2-setup.c 2006-01-23 02:26:04.000000000 +0100 ++++ linux-nslu2/arch/arm/mach-ixp4xx/nslu2-setup.c 2006-01-25 11:32:14.000000000 +0100 @@ -52,6 +52,12 @@ static struct platform_device nslu2_i2c_ .num_resources = 0, }; @@ -56,8 +60,8 @@ static void nslu2_power_off(void) --- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ linux-nslu2/drivers/input/misc/ixp4xx-beeper.c 2006-01-23 02:13:57.000000000 +0100 -@@ -0,0 +1,172 @@ ++++ linux-nslu2/drivers/input/misc/ixp4xx-beeper.c 2006-01-25 11:37:03.000000000 +0100 +@@ -0,0 +1,174 @@ +/* + * Generic IXP4xx beeper driver + * @@ -194,7 +198,7 @@ + + /* turn the speaker off */ + disable_irq(IRQ_IXP4XX_TIMER2); -+ ixp4xx_spkr_event(NULL, EV_SND, SND_BELL, 0); ++ ixp4xx_spkr_event(input_dev, EV_SND, SND_BELL, 0); + + free_irq(IRQ_IXP4XX_TIMER2, dev); + @@ -203,9 +207,11 @@ + +static void ixp4xx_spkr_shutdown(struct platform_device *dev) +{ ++ struct input_dev *input_dev = platform_get_drvdata(dev); ++ + /* turn off the speaker */ + disable_irq(IRQ_IXP4XX_TIMER2); -+ ixp4xx_spkr_event(NULL, EV_SND, SND_BELL, 0); ++ ixp4xx_spkr_event(input_dev, EV_SND, SND_BELL, 0); +} + +static struct platform_driver ixp4xx_spkr_platform_driver = { diff --git a/packages/linux/ixp4xx-kernel/2.6.15/defconfig b/packages/linux/ixp4xx-kernel/2.6.15/defconfig index 3dfbfa5785..7d92739afd 100644 --- a/packages/linux/ixp4xx-kernel/2.6.15/defconfig +++ b/packages/linux/ixp4xx-kernel/2.6.15/defconfig @@ -867,7 +867,7 @@ CONFIG_INPUT=y # CONFIG_INPUT_MOUSEDEV is not set # CONFIG_INPUT_JOYDEV is not set # CONFIG_INPUT_TSDEV is not set -CONFIG_INPUT_EVDEV=m +CONFIG_INPUT_EVDEV=y # CONFIG_INPUT_EVBUG is not set # diff --git a/packages/linux/ixp4xx-kernel_2.6.15.1.bb b/packages/linux/ixp4xx-kernel_2.6.15.1.bb index f9d08c0390..697988a684 100644 --- a/packages/linux/ixp4xx-kernel_2.6.15.1.bb +++ b/packages/linux/ixp4xx-kernel_2.6.15.1.bb @@ -8,7 +8,7 @@ PR_CONFIG = "0" # Increment the number below (i.e. the digits after PR) when # making changes within this file or for changes to the patches # applied to the kernel. -PR = "r15.${PR_CONFIG}" +PR = "r16.${PR_CONFIG}" include ixp4xx-kernel.inc |