[SERIAL] sunzilog: Fix instance enumeration.
authorDavid S. Miller <davem@sunset.davemloft.net>
Thu, 20 Jul 2006 05:55:08 +0000 (22:55 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 21 Jul 2006 21:18:25 +0000 (14:18 -0700)
commit8a84eb164cc44a7604a27f8118473a82b45472a8
treeb80fe22fe3a3a2e8767ec001292394c7e7d8d91c
parentb77d35b7229164304d6fb8f047b9bcd3da2c9592
[SERIAL] sunzilog: Fix instance enumeration.

Just do a linear enumeration so that we handle sun4d systems
correctly.  As a consequence, eliminate the hard coded keyboard and
mouse channel line values, use the CONS_{KEYB,MS} flags instead.

Also, report the keyboard/mouse Zilog channels just like the uart ones
do.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/serial/sunzilog.c