projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[package] base-files: Add function pi_include the /lib/functions/boot.sh used by...
[openwrt.git]
/
target
/
linux
/
omap24xx
/
patches-2.6.36
/
510-retu-tahvo-user-debugging.patch
diff --git
a/target/linux/omap24xx/patches-2.6.36/510-retu-tahvo-user-debugging.patch
b/target/linux/omap24xx/patches-2.6.36/510-retu-tahvo-user-debugging.patch
index
0e4cd12
..
85a88ca
100644
(file)
--- a/
target/linux/omap24xx/patches-2.6.36/510-retu-tahvo-user-debugging.patch
+++ b/
target/linux/omap24xx/patches-2.6.36/510-retu-tahvo-user-debugging.patch
@@
-4,8
+4,8
@@
drivers/cbus/tahvo-user.c | 75 +++++++++++++++++++++++++++++
3 files changed, 198 insertions(+), 2 deletions(-)
drivers/cbus/tahvo-user.c | 75 +++++++++++++++++++++++++++++
3 files changed, 198 insertions(+), 2 deletions(-)
---- linux-2.6.3
5
.orig/drivers/cbus/Kconfig
-+++ linux-2.6.3
5
/drivers/cbus/Kconfig
+--- linux-2.6.3
6-rc4
.orig/drivers/cbus/Kconfig
++++ linux-2.6.3
6-rc4
/drivers/cbus/Kconfig
@@ -28,6 +28,10 @@ config CBUS_TAHVO_USER
If you want support for Tahvo's user space read/write etc. functions,
you should say Y here.
@@ -28,6 +28,10 @@ config CBUS_TAHVO_USER
If you want support for Tahvo's user space read/write etc. functions,
you should say Y here.
@@
-28,8
+28,8
@@
config CBUS_RETU_POWERBUTTON
depends on CBUS_RETU
bool "Support for Retu power button"
config CBUS_RETU_POWERBUTTON
depends on CBUS_RETU
bool "Support for Retu power button"
---- linux-2.6.3
5
.orig/drivers/cbus/retu-user.c
-+++ linux-2.6.3
5
/drivers/cbus/retu-user.c
+--- linux-2.6.3
6-rc4
.orig/drivers/cbus/retu-user.c
++++ linux-2.6.3
6-rc4
/drivers/cbus/retu-user.c
@@ -46,6 +46,12 @@
#define PFX "retu-user: "
@@ -46,6 +46,12 @@
#define PFX "retu-user: "
@@
-168,8
+168,8
@@
/* Right justify value */
while (!(mask & 1)) {
value = value >> 1;
/* Right justify value */
while (!(mask & 1)) {
value = value >> 1;
-@@ -27
4,7 +377,7 @@ static int retu_ioctl
(struct inode *inod
-
unsigned int cmd, unsigned long arg)
+@@ -27
3,7 +376,7 @@ static int retu_close
(struct inode *inod
+
static long retu_ioctl(struct file *filp,
unsigned int cmd, unsigned long arg)
{
struct retu_tahvo_write_parms par;
- int ret;
{
struct retu_tahvo_write_parms par;
- int ret;
@@
-177,7
+177,7
@@
switch (cmd) {
case URT_IOCT_IRQ_SUBSCR:
switch (cmd) {
case URT_IOCT_IRQ_SUBSCR:
-@@ -29
1,7 +394,15 @@ static int retu_ioctl(struct inode *inod
+@@ -29
0,7 +393,15 @@ static long retu_ioctl(struct file *filp
printk(KERN_ERR "copy_to_user failed: %d\n", ret);
break;
case RETU_IOCH_ADC_READ:
printk(KERN_ERR "copy_to_user failed: %d\n", ret);
break;
case RETU_IOCH_ADC_READ:
@@
-194,7
+194,7
@@
default:
return -ENOIOCTLCMD;
}
default:
return -ENOIOCTLCMD;
}
-@@ -33
3,6 +444
,8 @@ static ssize_t retu_read(struct file *fi
+@@ -33
2,6 +443
,8 @@ static ssize_t retu_read(struct file *fi
list_move(&irq->node, &retu_irqs_reserve);
spin_unlock_irqrestore(&retu_irqs_lock, flags);
list_move(&irq->node, &retu_irqs_reserve);
spin_unlock_irqrestore(&retu_irqs_lock, flags);
@@
-203,8
+203,8
@@
ret = copy_to_user(buf + i * sizeof(irq_id), &irq_id,
sizeof(irq_id));
if (ret)
ret = copy_to_user(buf + i * sizeof(irq_id), &irq_id,
sizeof(irq_id));
if (ret)
---- linux-2.6.3
5
.orig/drivers/cbus/tahvo-user.c
-+++ linux-2.6.3
5
/drivers/cbus/tahvo-user.c
+--- linux-2.6.3
6-rc4
.orig/drivers/cbus/tahvo-user.c
++++ linux-2.6.3
6-rc4
/drivers/cbus/tahvo-user.c
@@ -46,6 +46,12 @@
#define PFX "tahvo-user: "
@@ -46,6 +46,12 @@
#define PFX "tahvo-user: "
@@
-313,7
+313,7
@@
/* Right justify value */
while (!(mask & 1)) {
value = value >> 1;
/* Right justify value */
while (!(mask & 1)) {
value = value >> 1;
-@@ -31
5,6 +388
,8 @@ static ssize_t tahvo_read(struct file *f
+@@ -31
4,6 +387
,8 @@ static ssize_t tahvo_read(struct file *f
list_move(&irq->node, &tahvo_irqs_reserve);
spin_unlock_irqrestore(&tahvo_irqs_lock, flags);
list_move(&irq->node, &tahvo_irqs_reserve);
spin_unlock_irqrestore(&tahvo_irqs_lock, flags);
This page took
0.031208 seconds
and
4
git commands to generate.