* [patch] vr41xx giu bug fix
@ 2003-02-21 4:14 Yoichi Yuasa
2003-02-21 14:23 ` Ralf Baechle
0 siblings, 1 reply; 2+ messages in thread
From: Yoichi Yuasa @ 2003-02-21 4:14 UTC (permalink / raw)
To: ralf; +Cc: yoichi_yuasa, linux-mips, matsu, jsun
[-- Attachment #1: Type: text/plain, Size: 172 bytes --]
Hi Ralf,
I got the report that a problem is in giu.c of vr41xx.
These patches to the problem are appended to this e-mail.
Please apply these patches to CVS tree.
Yoichi
[-- Attachment #2: vr41xx-giu-24.diff --]
[-- Type: text/plain, Size: 599 bytes --]
diff -aruN --exclude=CVS --exclude=.cvsignore linux.orig/arch/mips/vr41xx/common/giu.c linux/arch/mips/vr41xx/common/giu.c
--- linux.orig/arch/mips/vr41xx/common/giu.c Fri Oct 4 01:58:02 2002
+++ linux/arch/mips/vr41xx/common/giu.c Fri Feb 21 12:33:33 2003
@@ -108,9 +108,9 @@
void vr41xx_clear_giuint(int pin)
{
if (pin < 16)
- write_giuint(GIUINTSTATL, (u16)1 << pin);
+ write_giuint((u16)1 << pin, GIUINTSTATL);
else
- write_giuint(GIUINTSTATH, (u16)1 << (pin - 16));
+ write_giuint((u16)1 << (pin - 16), GIUINTSTATH);
}
void vr41xx_set_irq_trigger(int pin, int trigger, int hold)
[-- Attachment #3: vr41xx-giu-25.diff --]
[-- Type: text/plain, Size: 599 bytes --]
diff -aruN --exclude=CVS --exclude=.cvsignore linux.orig/arch/mips/vr41xx/common/giu.c linux/arch/mips/vr41xx/common/giu.c
--- linux.orig/arch/mips/vr41xx/common/giu.c Fri Oct 4 10:52:37 2002
+++ linux/arch/mips/vr41xx/common/giu.c Fri Feb 21 13:05:14 2003
@@ -108,9 +108,9 @@
void vr41xx_clear_giuint(int pin)
{
if (pin < 16)
- write_giuint(GIUINTSTATL, (u16)1 << pin);
+ write_giuint((u16)1 << pin, GIUINTSTATL);
else
- write_giuint(GIUINTSTATH, (u16)1 << (pin - 16));
+ write_giuint((u16)1 << (pin - 16), GIUINTSTATH);
}
void vr41xx_set_irq_trigger(int pin, int trigger, int hold)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-02-21 14:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-21 4:14 [patch] vr41xx giu bug fix Yoichi Yuasa
2003-02-21 14:23 ` Ralf Baechle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox