summaryrefslogtreecommitdiff
path: root/drivers/char/hvc_vio.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2006-07-13 18:53:32 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2006-07-13 18:53:32 +1000
commit4e9e95a3554e98e7383a3591283ffcd850c9ef48 (patch)
tree245703cc917a274b84f02cf68c43ba5efe370f59 /drivers/char/hvc_vio.c
parent8bff05b052db7a4cfaaf0eee7f8145600548e9c9 (diff)
downloadlwn-4e9e95a3554e98e7383a3591283ffcd850c9ef48.tar.gz
lwn-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_vio.c')
-rw-r--r--drivers/char/hvc_vio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/char/hvc_vio.c b/drivers/char/hvc_vio.c
index 9add81ceb440..651e5d25f58b 100644
--- a/drivers/char/hvc_vio.c
+++ b/drivers/char/hvc_vio.c
@@ -90,7 +90,8 @@ static int __devinit hvc_vio_probe(struct vio_dev *vdev,
if (!vdev || !id)
return -EPERM;
- hp = hvc_alloc(vdev->unit_address, vdev->irq, &hvc_get_put_ops);
+ hp = hvc_alloc(vdev->unit_address, vdev->irq, &hvc_get_put_ops,
+ MAX_VIO_PUT_CHARS);
if (IS_ERR(hp))
return PTR_ERR(hp);
dev_set_drvdata(&vdev->dev, hp);