Date: Fri, 27 Feb 1998 23:58:05 -0800 (PST) From: badam@mw.mil.pl To: freebsd-gnats-submit@FreeBSD.ORG Subject: conf/5872: no initial/lock state entries for Specialix callout devices Message-ID: <199802280758.XAA09482@hub.freebsd.org>
index | next in thread | raw e-mail
>Number: 5872
>Category: conf
>Synopsis: no initial/lock state entries for Specialix callout devices
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Feb 28 00:00:03 PST 1998
>Last-Modified:
>Originator: Adam Baran
>Organization:
>Release: 2.2.5-STABLE
>Environment:
FreeBSD grom.mw.mil.pl 2.2.5-STABLE FreeBSD 2.2.5-STABLE #0: Tue Feb 24 13:45:33
CET 1998 badam@grom.mw.mil.pl:/usr/src/sys/compile/GROM i386
>Description:
MAKEDEV script (as of late february) doesn't create device entries
for Specialix initial/lock state callout devices.
Driver code doesn't also prepare DEVFS entries for those devices.
I found them usefull, so after creating those entries in /dev (in ttyA like
manner) my Specialix now works even better (for me -).
>How-To-Repeat:
ls -l /dev/cua*
Even after applying: ./MAKEDEV ttyA16 cuaA16
there are no cuaiA* cualA* entries.
>Fix:
*** /dev/MAKEDEV Thu Feb 26 19:04:15 1998
--- /dev/MDV Thu Feb 26 19:13:44 1998
***************
*** 827,833 ****
minor=`expr $port - 1`
name=`expr $port + 1000 | cut -c 3-4`
mknod cuaA$name c $major `expr $minor + 128`
! chown uucp.dialer cuaA$name
port=`expr $port + 1`
done
umask 77
--- 827,835 ----
minor=`expr $port - 1`
name=`expr $port + 1000 | cut -c 3-4`
mknod cuaA$name c $major `expr $minor + 128`
! mknod cuaiA$name c $major `expr $minor + 128 + 65536`
! mknod cualA$name c $major `expr $minor + 128 + 131072`
! chown uucp.dialer cuaA$name cuaiA$name cualA$name
port=`expr $port + 1`
done
umask 77
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199802280758.XAA09482>
