[PARISC] [MUX] Correctly report the number of available ports
authorRyan Bradetich <rbradetich@gmail.com>
Fri, 10 Nov 2006 03:08:45 +0000 (03:08 +0000)
committerKyle McMartin <kyle@ubuntu.com>
Fri, 8 Dec 2006 05:34:29 +0000 (00:34 -0500)
commit614254458452d09ea0376862160662f2a6075ab9
tree8600e8e6b3a738b92e5f982010eeb3e6f5a98b3f
parent752b940359089ee1bcaceeb5c62d626a92586ba2
[PARISC] [MUX] Correctly report the number of available ports

This patch adds a new function to return the actual number
of ports available.  Some of the built-in Muxes return the
number of supported ports, but not all of these port are
available for use.

Signed-off-by: Ryan Bradetich <rbrad@parisc-linux.org>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
drivers/serial/mux.c