diff options
author | Kyle McMartin <kyle@shortfin.cabal.ca> | 2007-12-06 12:32:15 -0500 |
---|---|---|
committer | Kyle McMartin <kyle@shortfin.cabal.ca> | 2007-12-06 12:32:15 -0500 |
commit | 721fdf34167580ff98263c74cead8871d76936e6 (patch) | |
tree | e3ab5c95cea22135d5205a8f2438a79222cd6ff2 /arch/parisc/kernel/pdc_cons.c | |
parent | ac6aecbf0541ca277e6492fdf7c91e46e1fc4171 (diff) |
[PARISC] print more than one character at a time for pdc console
There's really no reason not to print more than one character at a
time to the PDC console... Booting is measurably speedier, and now I don't
have to watch individual characters get drawn.
Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
Diffstat (limited to 'arch/parisc/kernel/pdc_cons.c')
-rw-r--r-- | arch/parisc/kernel/pdc_cons.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/arch/parisc/kernel/pdc_cons.c b/arch/parisc/kernel/pdc_cons.c index aab05767427c..33b1f84441b1 100644 --- a/arch/parisc/kernel/pdc_cons.c +++ b/arch/parisc/kernel/pdc_cons.c | |||
@@ -55,13 +55,7 @@ | |||
55 | 55 | ||
56 | static void pdc_console_write(struct console *co, const char *s, unsigned count) | 56 | static void pdc_console_write(struct console *co, const char *s, unsigned count) |
57 | { | 57 | { |
58 | while(count--) | 58 | pdc_iodc_print(s, count); |
59 | pdc_iodc_putc(*s++); | ||
60 | } | ||
61 | |||
62 | void pdc_outc(unsigned char c) | ||
63 | { | ||
64 | pdc_iodc_outc(c); | ||
65 | } | 59 | } |
66 | 60 | ||
67 | void pdc_printf(const char *fmt, ...) | 61 | void pdc_printf(const char *fmt, ...) |
@@ -74,8 +68,7 @@ void pdc_printf(const char *fmt, ...) | |||
74 | len = vscnprintf(buf, sizeof(buf), fmt, args); | 68 | len = vscnprintf(buf, sizeof(buf), fmt, args); |
75 | va_end(args); | 69 | va_end(args); |
76 | 70 | ||
77 | for (i = 0; i < len; i++) | 71 | pdc_iodc_print(buf, len); |
78 | pdc_iodc_outc(buf[i]); | ||
79 | } | 72 | } |
80 | 73 | ||
81 | int pdc_console_poll_key(struct console *co) | 74 | int pdc_console_poll_key(struct console *co) |