]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/hvc_iucv.c
[S390] hvc_iucv: Change IUCV term id and use one device as default
[linux-2.6-omap-h63xx.git] / drivers / char / hvc_iucv.c
index 5ea7d7713fca42d0c5b091393669e20b46a9ca0f..a80d922331698ada796885ba05b9f3fcb7f8ec75 100644 (file)
@@ -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);