kbd_mode: support -C TTY option

function                                             old     new   delta
packed_usage                                       25334   25361     +27
kbd_mode_main                                        146     173     +27
This commit is contained in:
Denis Vlasenko
2008-11-08 21:39:06 +00:00
parent 2a8329e0e9
commit dc70069a46
4 changed files with 31 additions and 19 deletions

View File

@ -80,7 +80,10 @@ static void do_loadfont(int fd, unsigned char *inbuf, int unit, int fontsize)
}
#if 0
/* These ones do not honour -C tty (they set font on current tty regardless) */
/* These ones do not honour -C tty (they set font on current tty regardless)
* On x86, this distinction is visible on framebuffer consoles
* (regular character consoles may have only one shared font anyway)
*/
#if defined(PIO_FONTX) && !defined(__sparc__)
{
struct consolefontdesc cfd;