X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/52869e93433f6e2e158f8224dc03c5c11b7d4ddb..e521e0fb000c7b7e80a73cac4c1e264e7da8e98f:/target/linux/omap24xx/patches-2.6.36/500-cbus.patch diff --git a/target/linux/omap24xx/patches-2.6.36/500-cbus.patch b/target/linux/omap24xx/patches-2.6.36/500-cbus.patch index 8c9ed55d7..aba59bc14 100644 --- a/target/linux/omap24xx/patches-2.6.36/500-cbus.patch +++ b/target/linux/omap24xx/patches-2.6.36/500-cbus.patch @@ -8,19 +8,19 @@ drivers/cbus/retu-headset.c | 356 ++++++++++++++++++ drivers/cbus/retu-pwrbutton.c | 118 ++++++ drivers/cbus/retu-rtc.c | 477 ++++++++++++++++++++++++ - drivers/cbus/retu-user.c | 425 ++++++++++++++++++++++ - drivers/cbus/retu-wdt.c | 388 ++++++++++++++++++++ + drivers/cbus/retu-user.c | 424 ++++++++++++++++++++++ + drivers/cbus/retu-wdt.c | 387 ++++++++++++++++++++ drivers/cbus/retu.c | 468 ++++++++++++++++++++++++ drivers/cbus/retu.h | 77 ++++ drivers/cbus/tahvo-usb.c | 788 +++++++++++++++++++++++++++++++++++++++++ - drivers/cbus/tahvo-user.c | 407 +++++++++++++++++++++ + drivers/cbus/tahvo-user.c | 406 +++++++++++++++++++++ drivers/cbus/tahvo.c | 443 +++++++++++++++++++++++ drivers/cbus/tahvo.h | 61 +++ drivers/cbus/user_retu_tahvo.h | 75 +++ - 18 files changed, 4536 insertions(+), 1 deletion(-) + 18 files changed, 4533 insertions(+), 1 deletion(-) --- /dev/null -+++ linux-2.6.36-rc4/drivers/cbus/cbus.c ++++ linux-2.6.36-rc7/drivers/cbus/cbus.c @@ -0,0 +1,309 @@ +/* + * drivers/cbus/cbus.c @@ -332,7 +332,7 @@ +MODULE_AUTHOR("Mikko Ylinen"); + --- /dev/null -+++ linux-2.6.36-rc4/drivers/cbus/cbus.h ++++ linux-2.6.36-rc7/drivers/cbus/cbus.h @@ -0,0 +1,36 @@ +/* + * drivers/cbus/cbus.h @@ -371,7 +371,7 @@ + +#endif /* __DRIVERS_CBUS_CBUS_H */ --- /dev/null -+++ linux-2.6.36-rc4/drivers/cbus/Kconfig ++++ linux-2.6.36-rc7/drivers/cbus/Kconfig @@ -0,0 +1,89 @@ +# +# CBUS device configuration @@ -463,7 +463,7 @@ + +endmenu --- /dev/null -+++ linux-2.6.36-rc4/drivers/cbus/Makefile ++++ linux-2.6.36-rc7/drivers/cbus/Makefile @@ -0,0 +1,14 @@ +# +# Makefile for CBUS. @@ -480,7 +480,7 @@ +obj-$(CONFIG_CBUS_RETU_USER) += retu-user.o +obj-$(CONFIG_CBUS_RETU_HEADSET) += retu-headset.o --- /dev/null -+++ linux-2.6.36-rc4/drivers/cbus/retu.c ++++ linux-2.6.36-rc7/drivers/cbus/retu.c @@ -0,0 +1,468 @@ +/** + * drivers/cbus/retu.c @@ -951,7 +951,7 @@ +MODULE_LICENSE("GPL"); +MODULE_AUTHOR("Juha Yrjölä, David Weinehall, and Mikko Ylinen"); --- /dev/null -+++ linux-2.6.36-rc4/drivers/cbus/retu.h ++++ linux-2.6.36-rc7/drivers/cbus/retu.h @@ -0,0 +1,77 @@ +/** + * drivers/cbus/retu.h @@ -1031,7 +1031,7 @@ + +#endif /* __DRIVERS_CBUS_RETU_H */ --- /dev/null -+++ linux-2.6.36-rc4/drivers/cbus/retu-headset.c ++++ linux-2.6.36-rc7/drivers/cbus/retu-headset.c @@ -0,0 +1,356 @@ +/** + * Retu/Vilma headset detection @@ -1390,7 +1390,7 @@ +MODULE_LICENSE("GPL"); +MODULE_AUTHOR("Juha Yrjölä"); --- /dev/null -+++ linux-2.6.36-rc4/drivers/cbus/retu-pwrbutton.c ++++ linux-2.6.36-rc7/drivers/cbus/retu-pwrbutton.c @@ -0,0 +1,118 @@ +/** + * drivers/cbus/retu-pwrbutton.c @@ -1511,7 +1511,7 @@ +MODULE_LICENSE("GPL"); +MODULE_AUTHOR("Ari Saastamoinen"); --- /dev/null -+++ linux-2.6.36-rc4/drivers/cbus/retu-rtc.c ++++ linux-2.6.36-rc7/drivers/cbus/retu-rtc.c @@ -0,0 +1,477 @@ +/** + * drivers/cbus/retu-rtc.c @@ -1991,8 +1991,8 @@ +MODULE_LICENSE("GPL"); +MODULE_AUTHOR("Paul Mundt and Igor Stoppa"); --- /dev/null -+++ linux-2.6.36-rc4/drivers/cbus/retu-user.c -@@ -0,0 +1,425 @@ ++++ linux-2.6.36-rc7/drivers/cbus/retu-user.c +@@ -0,0 +1,424 @@ +/** + * drivers/cbus/retu-user.c + * @@ -2265,8 +2265,7 @@ +/* + * Device control (ioctl) + */ -+static int retu_ioctl(struct inode *inode, struct file *filp, -+ unsigned int cmd, unsigned long arg) ++static long retu_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) +{ + struct retu_tahvo_write_parms par; + int ret; @@ -2419,8 +2418,8 @@ +MODULE_LICENSE("GPL"); +MODULE_AUTHOR("Mikko Ylinen"); --- /dev/null -+++ linux-2.6.36-rc4/drivers/cbus/retu-wdt.c -@@ -0,0 +1,388 @@ ++++ linux-2.6.36-rc7/drivers/cbus/retu-wdt.c +@@ -0,0 +1,387 @@ +/** + * drivers/cbus/retu-wdt.c + * @@ -2609,8 +2608,7 @@ + return len; +} + -+static int retu_wdt_ioctl(struct inode *inode, struct file *file, -+ unsigned int cmd, unsigned long arg) ++static long retu_wdt_ioctl(struct file *file, unsigned int cmd, unsigned long arg) +{ + int new_margin; + @@ -2810,7 +2808,7 @@ +MODULE_LICENSE("GPL"); + --- /dev/null -+++ linux-2.6.36-rc4/drivers/cbus/tahvo.c ++++ linux-2.6.36-rc7/drivers/cbus/tahvo.c @@ -0,0 +1,443 @@ +/** + * drivers/cbus/tahvo.c @@ -3256,7 +3254,7 @@ +MODULE_LICENSE("GPL"); +MODULE_AUTHOR("Juha Yrjölä, David Weinehall, and Mikko Ylinen"); --- /dev/null -+++ linux-2.6.36-rc4/drivers/cbus/tahvo.h ++++ linux-2.6.36-rc7/drivers/cbus/tahvo.h @@ -0,0 +1,61 @@ +/* + * drivers/cbus/tahvo.h @@ -3320,7 +3318,7 @@ + +#endif /* __DRIVERS_CBUS_TAHVO_H */ --- /dev/null -+++ linux-2.6.36-rc4/drivers/cbus/tahvo-usb.c ++++ linux-2.6.36-rc7/drivers/cbus/tahvo-usb.c @@ -0,0 +1,788 @@ +/** + * drivers/cbus/tahvo-usb.c @@ -4111,8 +4109,8 @@ +MODULE_LICENSE("GPL"); +MODULE_AUTHOR("Juha Yrjölä, Tony Lindgren, and Timo Teräs"); --- /dev/null -+++ linux-2.6.36-rc4/drivers/cbus/tahvo-user.c -@@ -0,0 +1,407 @@ ++++ linux-2.6.36-rc7/drivers/cbus/tahvo-user.c +@@ -0,0 +1,406 @@ +/** + * drivers/cbus/tahvo-user.c + * @@ -4369,8 +4367,7 @@ +/* + * Device control (ioctl) + */ -+static int tahvo_ioctl(struct inode *inode, struct file *filp, -+ unsigned int cmd, unsigned long arg) ++static long tahvo_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) +{ + struct retu_tahvo_write_parms par; + int ret; @@ -4521,7 +4518,7 @@ +MODULE_LICENSE("GPL"); +MODULE_AUTHOR("Mikko Ylinen"); --- /dev/null -+++ linux-2.6.36-rc4/drivers/cbus/user_retu_tahvo.h ++++ linux-2.6.36-rc7/drivers/cbus/user_retu_tahvo.h @@ -0,0 +1,75 @@ +/** + * drivers/cbus/user_retu_tahvo.h @@ -4598,8 +4595,8 @@ +}; + +#endif ---- linux-2.6.36-rc4.orig/drivers/Makefile -+++ linux-2.6.36-rc4/drivers/Makefile +--- linux-2.6.36-rc7.orig/drivers/Makefile ++++ linux-2.6.36-rc7/drivers/Makefile @@ -74,7 +74,7 @@ obj-$(CONFIG_GAMEPORT) += input/gamepor obj-$(CONFIG_INPUT) += input/ obj-$(CONFIG_I2O) += message/ @@ -4609,9 +4606,9 @@ obj-$(CONFIG_PPS) += pps/ obj-$(CONFIG_W1) += w1/ obj-$(CONFIG_POWER_SUPPLY) += power/ ---- linux-2.6.36-rc4.orig/arch/arm/Kconfig -+++ linux-2.6.36-rc4/arch/arm/Kconfig -@@ -1760,6 +1760,10 @@ source "net/Kconfig" +--- linux-2.6.36-rc7.orig/arch/arm/Kconfig ++++ linux-2.6.36-rc7/arch/arm/Kconfig +@@ -1785,6 +1785,10 @@ source "net/Kconfig" source "drivers/Kconfig"