]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
char: mxser, fix ISA board lookup
authorPeter Botha <peterb@goldcircle.co.za>
Wed, 10 Jun 2009 00:16:32 +0000 (17:16 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 2 Jul 2009 23:31:30 +0000 (16:31 -0700)
commitb1951033ba08c493e726f6b6453eff6225155bfa
treea4fb1f1b176d89987fe9a00ecd9ff44ea2d1703f
parent72f08ac8548b7cfb1f280340f40cc8ae702612b3
char: mxser, fix ISA board lookup

commit 96050dfb25966612008dcea7d342e91fa01e993c upstream.

There's a bug in the mxser kernel module that still appears in the
2.6.29.4 kernel.

mxser_get_ISA_conf takes a ioaddress as its first argument, by passing the
not of the ioaddr, you're effectively passing 0 which means it won't be
able to talk to an ISA card.  I have tested this, and removing the !
fixes the problem.

Cc: "Peter Botha" <peterb@goldcircle.co.za>
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Acked-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/mxser.c