Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/rump/dev/lib/libucom Make rump devfs expose ttyU1 and dt...



details:   https://anonhg.NetBSD.org/src/rev/fc32437ce057
branches:  trunk
changeset: 752810:fc32437ce057
user:      pooka <pooka%NetBSD.org@localhost>
date:      Sun Mar 07 17:44:40 2010 +0000

description:
Make rump devfs expose ttyU1 and dtyU1 as well.

diffstat:

 sys/rump/dev/lib/libucom/ucom_at_usb.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r 090d2fe38eb1 -r fc32437ce057 sys/rump/dev/lib/libucom/ucom_at_usb.c
--- a/sys/rump/dev/lib/libucom/ucom_at_usb.c    Sun Mar 07 17:34:25 2010 +0000
+++ b/sys/rump/dev/lib/libucom/ucom_at_usb.c    Sun Mar 07 17:44:40 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ucom_at_usb.c,v 1.3 2010/03/01 13:12:20 pooka Exp $    */
+/*     $NetBSD: ucom_at_usb.c,v 1.4 2010/03/07 17:44:40 pooka Exp $    */
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -57,9 +57,9 @@
        FLAWLESSCALL(devsw_attach("ucom", NULL, &bmaj, &ucom_cdevsw, &cmaj));
 
        FLAWLESSCALL(rump_vfs_makedevnodes(S_IFCHR, "/dev/ttyU", '0',
-           cmaj, 0, 1));
+           cmaj, 0, 2));
        FLAWLESSCALL(rump_vfs_makedevnodes(S_IFCHR, "/dev/dtyU", '0',
-           cmaj, 0x80000, 1));
+           cmaj, 0x80000, 2));
 
        tty_init();
 }



Home | Main Index | Thread Index | Old Index