aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorHendrik Brueckner <brueckner@linux.vnet.ibm.com>2009-01-09 06:14:57 -0500
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2009-01-09 06:15:08 -0500
commit2dc184c0ba5c8661649ed2ca0b9e97ed49860cb5 (patch)
tree5f41fa9dd78b1a0662f987efae73930fe074e775 /drivers/char
parent33e1911566183ac32baac35163c0962302e40f5f (diff)
[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 <brueckner@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/hvc_iucv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/char/hvc_iucv.c b/drivers/char/hvc_iucv.c
index 5ea7d7713fca..a80d92233169 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 *);
78static void hvc_iucv_msg_complete(struct iucv_path *, struct iucv_message *); 78static void hvc_iucv_msg_complete(struct iucv_path *, struct iucv_message *);
79 79
80 80
81/* Kernel module parameters */ 81/* Kernel module parameter: use one terminal device as default */
82static unsigned long hvc_iucv_devices; 82static unsigned long hvc_iucv_devices = 1;
83 83
84/* Array of allocated hvc iucv tty lines... */ 84/* Array of allocated hvc iucv tty lines... */
85static struct hvc_iucv_private *hvc_iucv_table[MAX_HVC_IUCV_LINES]; 85static struct hvc_iucv_private *hvc_iucv_table[MAX_HVC_IUCV_LINES];
@@ -743,7 +743,7 @@ static int __init hvc_iucv_alloc(int id)
743 } 743 }
744 744
745 /* setup iucv related information */ 745 /* setup iucv related information */
746 snprintf(name, 9, "ihvc%-4d", id); 746 snprintf(name, 9, "lnxhvc%-2d", id);
747 memcpy(priv->srv_name, name, 8); 747 memcpy(priv->srv_name, name, 8);
748 ASCEBC(priv->srv_name, 8); 748 ASCEBC(priv->srv_name, 8);
749 749