diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-05-27 01:48:08 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2006-05-27 02:26:49 -0400 |
commit | ae5b28a5bb1b5f5d53085a044aec69db41fd0336 (patch) | |
tree | 8b618a3ef0efc0c49de551c4c13fd146b38fa746 /drivers/char/rio/rio_linux.c | |
parent | bfa6b7bb35a9c8c8acae3056f2cb3364c52693d4 (diff) | |
download | linux-ae5b28a5bb1b5f5d53085a044aec69db41fd0336.tar.gz linux-ae5b28a5bb1b5f5d53085a044aec69db41fd0336.tar.bz2 linux-ae5b28a5bb1b5f5d53085a044aec69db41fd0336.zip |
[PATCH] fix rio_copy_to_card() for OLDPCI case
It replaced old rio_pcicopy(). That puppy did _not_ do readb() (unlike
rio_memcpy_toio()) and current implementation is simply broken - readb(NULL)
is never a valid thing to do.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/char/rio/rio_linux.c')
-rw-r--r-- | drivers/char/rio/rio_linux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/rio/rio_linux.c b/drivers/char/rio/rio_linux.c index 8f96b20090e8..aa43436d5d1b 100644 --- a/drivers/char/rio/rio_linux.c +++ b/drivers/char/rio/rio_linux.c @@ -335,7 +335,7 @@ int RIODelay_ni(struct Port *PortP, int njiffies) void rio_copy_to_card(void *from, void __iomem *to, int len) { - rio_memcpy_toio(NULL, to, from, len); + rio_copy_toio(to, from, len); } int rio_minor(struct tty_struct *tty) |