]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitbcd656b0dcd7cf51baa14c9398cab88cde38ac03
treeb80fe22fe3a3a2e8767ec001292394c7e7d8d91c
parenta4becead6b846466b058a57ea315459dd7394de5
[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