]> err.no Git - linux-2.6/commit
[PATCH] fix rio_copy_to_card() for OLDPCI case
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 27 May 2006 05:48:08 +0000 (01:48 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 27 May 2006 06:26:49 +0000 (02:26 -0400)
commitae5b28a5bb1b5f5d53085a044aec69db41fd0336
tree8b618a3ef0efc0c49de551c4c13fd146b38fa746
parentbfa6b7bb35a9c8c8acae3056f2cb3364c52693d4
[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>
drivers/char/rio/rio_linux.c
drivers/char/rio/rio_linux.h