Subject: port-sparc/752: slattach failed on internal serial port
To: None <gnats-admin@NetBSD.ORG>
From: Masaru Oki <oki@fs.telcom.oki.co.jp>
List: netbsd-bugs
Date: 01/25/1995 21:20:05
>Number: 752
>Category: port-sparc
>Synopsis: slattach failed on internal serial port
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Wed Jan 25 21:20:04 1995
>Originator: Masaru Oki
>Organization:
>Release: unknown-1.0
>Environment:
NetBSD-current 1/5 tar balls
>Description:
'slattach /dev/ttya' is failed, thus TIOCSDTR/TIOCCDTR ioctls
are not currently supported in zs.c.
>How-To-Repeat:
slattach /dev/ttya
>Fix:
diff -ur sys.orig/arch/sparc/dev/zs.c sys/arch/sparc/dev/zs.c
--- sys.orig/arch/sparc/dev/zs.c Tue Dec 6 20:21:34 1994
+++ sys/arch/sparc/dev/zs.c Thu Jan 26 13:50:57 1995
@@ -1158,7 +1158,13 @@
break;
}
case TIOCSDTR:
+ zs_modem(cs, 1);
+ break;
+
case TIOCCDTR:
+ zs_modem(cs, 0);
+ break;
+
case TIOCMSET:
case TIOCMBIS:
case TIOCMBIC:
>Audit-Trail:
>Unformatted: