From: Hendrik Brueckner Date: Fri, 9 Jan 2009 11:14:57 +0000 (+0100) Subject: [S390] hvc_iucv: Change IUCV term id and use one device as default X-Git-Tag: 2.1b_release~14418^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2dc184c0ba5c8661649ed2ca0b9e97ed49860cb5;p=platform%2Fkernel%2Fkernel-mfld-blackbay.git [S390] hvc_iucv: Change IUCV term id and use one device as default The patch renames the IUCV application ID from "ihvc" to "lnxhvc". The device driver allocates one IUCV terminal device (lnxhvc0) as default. Signed-off-by: Hendrik Brueckner Signed-off-by: Martin Schwidefsky --- diff --git a/drivers/char/hvc_iucv.c b/drivers/char/hvc_iucv.c index 5ea7d77..a80d922 100644 --- a/drivers/char/hvc_iucv.c +++ b/drivers/char/hvc_iucv.c @@ -78,8 +78,8 @@ static void hvc_iucv_msg_pending(struct iucv_path *, struct iucv_message *); static void hvc_iucv_msg_complete(struct iucv_path *, struct iucv_message *); -/* Kernel module parameters */ -static unsigned long hvc_iucv_devices; +/* Kernel module parameter: use one terminal device as default */ +static unsigned long hvc_iucv_devices = 1; /* Array of allocated hvc iucv tty lines... */ static struct hvc_iucv_private *hvc_iucv_table[MAX_HVC_IUCV_LINES]; @@ -743,7 +743,7 @@ static int __init hvc_iucv_alloc(int id) } /* setup iucv related information */ - snprintf(name, 9, "ihvc%-4d", id); + snprintf(name, 9, "lnxhvc%-2d", id); memcpy(priv->srv_name, name, 8); ASCEBC(priv->srv_name, 8);