diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2006-07-13 10:53:32 +0200 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2006-07-13 10:53:32 +0200 |
commit | 4e9e95a3554e98e7383a3591283ffcd850c9ef48 (patch) | |
tree | 245703cc917a274b84f02cf68c43ba5efe370f59 /drivers/char/hvc_iseries.c | |
parent | [POWERPC] iseries: A new iSeries console (diff) | |
download | linux-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_iseries.c')
-rw-r--r-- | drivers/char/hvc_iseries.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/char/hvc_iseries.c b/drivers/char/hvc_iseries.c index 256afc8e5838..4747729459c7 100644 --- a/drivers/char/hvc_iseries.c +++ b/drivers/char/hvc_iseries.c @@ -221,7 +221,8 @@ static int __devinit hvc_vio_probe(struct vio_dev *vdev, pi = &port_info[vdev->unit_address]; - hp = hvc_alloc(vdev->unit_address, vdev->irq, &hvc_get_put_ops); + hp = hvc_alloc(vdev->unit_address, vdev->irq, &hvc_get_put_ops, + VIOCHAR_MAX_DATA); if (IS_ERR(hp)) return PTR_ERR(hp); pi->hp = hp; |