From nobody  Fri Feb 27 23:58:05 1998
Received: (from nobody@localhost)
          by hub.freebsd.org (8.8.8/8.8.8) id XAA09482;
          Fri, 27 Feb 1998 23:58:05 -0800 (PST)
          (envelope-from nobody)
Message-Id: <199802280758.XAA09482@hub.freebsd.org>
Date: Fri, 27 Feb 1998 23:58:05 -0800 (PST)
From: badam@mw.mil.pl
To: freebsd-gnats-submit@freebsd.org
Subject: no initial/lock state entries for Specialix callout devices
X-Send-Pr-Version: www-1.0

>Number:         5872
>Category:       conf
>Synopsis:       no initial/lock state entries for Specialix callout devices
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    steve
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 28 00:00:03 PST 1998
>Closed-Date:    Sun Mar 1 14:21:27 PST 1998
>Last-Modified:  Sun Mar  1 14:22:06 PST 1998
>Originator:     Adam Baran
>Release:        2.2.5-STABLE
>Organization:
>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

>Release-Note:
>Audit-Trail:

From: Steve Price <sprice@hiwaay.net>
To: freebsd-gnats-submit@freebsd.org, badam@mw.mil.pl
Cc:  Subject: Re: conf/5872: no initial/lock state entries for Specialix callout devices
Date: Sun, 01 Mar 1998 16:01:23 -0600

 Where did you arrive at the names cuaiA* and cualA* and if you
 made them up would you consider having them be cuaAi* and cuaAl*
 instead?
 
 Steve

From: Steve Price <sprice@hiwaay.net>
To: freebsd-gnats-submit@freebsd.org, badam@mw.mil.pl
Cc:  Subject: Re: conf/5872: no initial/lock state entries for Specialix callout devices
Date: Sun, 01 Mar 1998 16:07:33 -0600

 I wrote:
 > 
 > Where did you arrive at the names cuaiA* and cualA* and if you
 > made them up would you consider having them be cuaAi* and cuaAl*
 > instead?
 
 Ick, never mind.  I was experiencing temporary drain
 bamage.  I will commit this shortly.
 
 Steve
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Sun Mar 1 14:21:27 PST 1998 
State-Changed-Why:  
Patch committed.  Thanks! 


Responsible-Changed-From-To: freebsd-bugs->steve 
Responsible-Changed-By: steve 
Responsible-Changed-When: Sun Mar 1 14:21:27 PST 1998 
Responsible-Changed-Why:  

>Unformatted:
