pcmcia serial_cs.c: fix multifunction card handling
authorDominik Brodowski <linux@dominikbrodowski.net>
Mon, 30 Aug 2010 06:18:54 +0000 (08:18 +0200)
committerDominik Brodowski <linux@dominikbrodowski.net>
Wed, 15 Sep 2010 15:56:32 +0000 (17:56 +0200)
commitc494bc6c534c78fac2d308ad38073b9226448b0d
tree1ce2fc2404cb735aacf53a0256fd7cd51b6aad5b
parent49553c2ef88749dd502687f4eb9c258bb10a4f44
pcmcia serial_cs.c: fix multifunction card handling

We shouldn't overwrite pre-set values, and we should also
set the port address to the beginning, and not the end of
the 8-port range.

CC: linux-serial@vger.kernel.org
Reported-by: Komuro <komurojun-mbn@nifty.com>
Hardware-supplied-by: Jochen Frieling <j.frieling@pengutronix.de>
Tested-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
drivers/serial/serial_cs.c