summaryrefslogtreecommitdiffstats
path: root/drivers/char/hvc_rtas.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2006-07-13 10:53:32 +0200
committerStephen Rothwell <sfr@canb.auug.org.au>2006-07-13 10:53:32 +0200
commit4e9e95a3554e98e7383a3591283ffcd850c9ef48 (patch)
tree245703cc917a274b84f02cf68c43ba5efe370f59 /drivers/char/hvc_rtas.c
parent[POWERPC] iseries: A new iSeries console (diff)
downloadlinux-4e9e95a3554e98e7383a3591283ffcd850c9ef48.tar.xz
linux-4e9e95a3554e98e7383a3591283ffcd850c9ef48.zip
[POWERPC] Make the hvc_console output buffer size settable
So the iSeries console will be faster since it can send up to 200 bytes at a time to the Hypervisor. This only affects the tty part of the console, the console writes are still in 16 byte lots. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Diffstat (limited to 'drivers/char/hvc_rtas.c')
-rw-r--r--drivers/char/hvc_rtas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/hvc_rtas.c b/drivers/char/hvc_rtas.c
index 57106e02fd2e..4b97eaf18602 100644
--- a/drivers/char/hvc_rtas.c
+++ b/drivers/char/hvc_rtas.c
@@ -94,7 +94,7 @@ static int hvc_rtas_init(void)
/* Allocate an hvc_struct for the console device we instantiated
* earlier. Save off hp so that we can return it on exit */
- hp = hvc_alloc(hvc_rtas_cookie, NO_IRQ, &hvc_rtas_get_put_ops);
+ hp = hvc_alloc(hvc_rtas_cookie, NO_IRQ, &hvc_rtas_get_put_ops, 16);
if (IS_ERR(hp))
return PTR_ERR(hp);