Date: Tue, 26 Aug 2003 14:23:24 -0400 (EDT) From: "Eric W. Bates" <ericx@vineyard.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: i386/56012: [patch] MAKEDEV does not allow creation of ttyR31 Message-ID: <200308261823.h7QINOc01304@misc.vineyard.net> Resent-Message-ID: <200308261830.h7QIUCZI035684@freefall.freebsd.org>
index | next in thread | raw e-mail
>Number: 56012 >Category: i386 >Synopsis: [patch] MAKEDEV does not allow creation of ttyR31 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Aug 26 11:30:11 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Eric W. Bates >Release: FreeBSD 4.8-RELEASE-p3 i386 >Organization: >Environment: System: FreeBSD misc.vineyard.net 4.8-RELEASE-p3 FreeBSD 4.8-RELEASE-p3 #1: Tue Aug 26 13:40:00 EDT 2003 ericx@misc.vineyard.net:/usr/src/sys/compile/MISC i386 >Description: The rp(4) driver supports as many as 32 serial ports per card. The reg-exp in MAKEDEV does not allow for double-digit devices. >How-To-Repeat: cd /dev ./MAKEDEV ttyR31 >Fix: Simple patch to regular expressions for ttyR?? and cuaR??: *** MAKEDEV~ Wed May 14 16:01:38 2003 --- MAKEDEV Tue Aug 26 14:01:10 2003 *************** *** 1424,1430 **** umask 77 ;; ! ttyR?) major=81 BOARD=1; Rnum=0 MINOR=$(($BOARD * 65536)) --- 1424,1430 ---- umask 77 ;; ! ttyR?|ttyR??) major=81 BOARD=1; Rnum=0 MINOR=$(($BOARD * 65536)) *************** *** 1464,1470 **** done ;; ! cuaR?) major=81 BOARD=1; Rnum=0 MINOR=$(($BOARD * 65536)) --- 1464,1470 ---- done ;; ! cuaR?|cuaR??) major=81 BOARD=1; Rnum=0 MINOR=$(($BOARD * 65536)) >Release-Note: >Audit-Trail: >Unformatted:help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308261823.h7QINOc01304>
