]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] hvc_console: Match vio and console devices using vterm numbers
authorMilton Miller <miltonm@bga.com>
Fri, 8 Jul 2005 00:56:17 +0000 (17:56 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 8 Jul 2005 01:23:38 +0000 (18:23 -0700)
commit6f24808eeb54eed5994128a863cd25c40f36cfac
tree19a4567d9e9d6b2b7f8d7be84068d6e734495b59
parent837dcfaf46d147f1d2c64cbbecb832dd9075c39d
[PATCH] hvc_console: Match vio and console devices using vterm numbers

Use the vterm numbers to match the vio devices being probed with the indices
already allocated via the console initcall function hvc_find_vtys.

The old code required hvc_find_vtys to "guess" the matching devices the vio
subsystem would find and its probe order.

Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/hvc_console.c