Char: moxa, pci io space fixup
authorJiri Slaby <jirislaby@gmail.com>
Wed, 30 Apr 2008 07:53:37 +0000 (00:53 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 30 Apr 2008 15:29:42 +0000 (08:29 -0700)
commite46a5e3ff06b70690d567bdc81faf6c1c32e742f
tree0b6f8f40d6af73b90ff6b989fc88a0998f6b407b
parentd353eca4e0480fddcb088c4692e1edba0a82eac9
Char: moxa, pci io space fixup

- request region before remapping pci io space
- use ioremap, iounmap istead of iomap interface, because we use
  readX/writeX for accessing this space because of isa support

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Tested-by: Oyvind Aabling <Oyvind.Aabling@uni-c.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/moxa.c