1
linux/drivers/tty/hvc
Miche Baker-Harvey 361162459f hvc_console: display printk messages on console.
printk only works for "registered consoles."  Currently, the hvc_console
code calls register_console() from hvc_instantiate(), but that's only
used in the early console case.  In hvc_alloc(), register_console() was
not called.

Add a call to register_console() in hvc_alloc(), set up the index in
the hvc_console, and set up the necessary vtermnos[] and cons_op[]
entries so that printk functions work.

Signed-off-by: Miche Baker-Harvey <miche@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-10-18 14:17:10 -07:00
..
hvc_beat.c
hvc_bfin_jtag.c hvc: add Blackfin JTAG console support 2011-02-17 11:12:40 -08:00
hvc_console.c hvc_console: display printk messages on console. 2011-10-18 14:17:10 -07:00
hvc_console.h powerpc/pseries: Re-implement HVSI as part of hvc_vio 2011-06-29 17:48:35 +10:00
hvc_dcc.c hvc_dcc: Simplify assembly for v6 and v7 ARM 2011-02-03 16:05:43 -08:00
hvc_irq.c TTY: irq: Remove IRQF_DISABLED 2011-09-22 16:08:57 -07:00
hvc_iseries.c
hvc_iucv.c Fix common misspellings 2011-03-31 11:26:23 -03:00
hvc_rtas.c
hvc_tile.c
hvc_udbg.c
hvc_vio.c powerpc/pseries: Fix hvc_vio.c build due to recent changes 2011-07-20 18:01:48 +10:00
hvc_xen.c drivers: Final irq namespace conversion 2011-03-29 14:48:19 +02:00
hvcs.c TTY: irq: Remove IRQF_DISABLED 2011-09-22 16:08:57 -07:00
hvsi_lib.c powerpc/hvsi: Fix conflict with old HVSI driver 2011-07-01 13:10:21 +10:00
hvsi.c TTY: irq: Remove IRQF_DISABLED 2011-09-22 16:08:57 -07:00
Kconfig powerpc/pseries: Re-implement HVSI as part of hvc_vio 2011-06-29 17:48:35 +10:00
Makefile powerpc/pseries: Move hvsi support into a library 2011-06-29 17:48:37 +10:00