Subject: misc/9053: misc/MAKEDEV support for Cyclades serial adapters missing
To: None <>
From: None <>
List: netbsd-bugs
Date: 12/25/1999 10:36:46
>Number:         9053
>Category:       misc
>Synopsis:       MAKEDEV doesn't build devices for the Cyclades 16-port serial adapter
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people (Misc Bug People)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Dec 25 10:36:00 1999
>Originator:     Zach Fine
>Release:        <NetBSD-current source date> NetBSD 1.4.1
System: NetBSD 1.4.1 NetBSD 1.4.1 (JEHOXI) #1: Fri Dec 24 17:13:48 PST 1999 i386


NetBSD includes a "cy" driver for the Cyclades series of 16 and 32
port serial adapters, but the MAKEDEV script doesn't build devices for 
it and the cy man page doesn't mention the major number to use with
mknod. I did a bit of searching in the netbsd-help mailing list, and
a message from almost two years ago included the necessary info. In
order to make things easier for myself and other future Cyclades
adapter users, I've added a few lines to my MAKEDEV to build the
necessary devices for my 16-port serial Cyclades Ye adapter. The patch 
for the NetBSD 1.4.1 /dev/MAKEDEV is included below.


< #     ttyC*   alias for CYCLADES 16-port serial adapter ports
< cyclades16)
<       sh $0 ttyC0 ttyC1 ttyC2 ttyC3 ttyC4 ttyC5 ttyC6 ttyC7 ttyC8 ttyC9 ttyC10 ttyC11 ttyC12 ttyC13 ttyC14 ttyC15
<       ;;
<       ;;
< ttyC*)                                        # Cyclades 16-port serial
<       unit=${i#????}
<       rm -f ttyC$unit
<       mknod ttyC$unit c 38 $(($unit + $dialin ))
<       chown uucp.wheel ttyC$unit