From ericx@misc.vineyard.net  Tue Aug 26 11:23:27 2003
Return-Path: <ericx@misc.vineyard.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 9EB6916A4C2
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 26 Aug 2003 11:23:27 -0700 (PDT)
Received: from misc.vineyard.net (misc.vineyard.net [204.17.195.114])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 656A043FBF
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 26 Aug 2003 11:23:26 -0700 (PDT)
	(envelope-from ericx@misc.vineyard.net)
Received: (from root@localhost)
	by misc.vineyard.net (8.11.3/8.11.3) id h7QINOc01304;
	Tue, 26 Aug 2003 14:23:24 -0400 (EDT)
	(envelope-from ericx)
Message-Id: <200308261823.h7QINOc01304@misc.vineyard.net>
Date: Tue, 26 Aug 2003 14:23:24 -0400 (EDT)
From: "Eric W. Bates" <ericx@vineyard.net>
Reply-To: "Eric W. Bates" <ericx@vineyard.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [patch] MAKEDEV does not allow creation of ttyR31
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         56012
>Category:       bin
>Synopsis:       [MAKEDEV] [patch] MAKEDEV does not allow creation of ttyR31
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 26 11:30:11 PDT 2003
>Closed-Date:    Fri May 18 17:27:49 GMT 2007
>Last-Modified:  Fri May 18 17:27:49 GMT 2007
>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:
Responsible-Changed-From-To: freebsd-i386->freebsd-bugs 
Responsible-Changed-By: simon 
Responsible-Changed-When: Tue May 4 16:17:56 PDT 2004 
Responsible-Changed-Why:  
This is not i386 specific so over to freebsd-bugs so somebody 
hopefully will notice this PR. 

Note: To me this looks like a pretty straight forward commit (to 
4-STABLE), but I haven't tested the patch. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=56012 
State-Changed-From-To: open->suspended 
State-Changed-By: linimon 
State-Changed-When: Mon Oct 24 02:04:46 GMT 2005 
State-Changed-Why:  
MAKEDEV now only exists in 4.X, so it is unlikely that anyone will be 
maintaining it; however, mark this as 'suspended' in case there is some 
interest. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=56012 

From: Gavin Atkinson <gavin.atkinson@ury.york.ac.uk>
To: bug-followup@FreeBSD.org, ericx@vineyard.net
Cc:  
Subject: Re: bin/56012: [MAKEDEV] [patch] MAKEDEV does not allow creation
	of ttyR31
Date: Fri, 18 May 2007 17:37:59 +0100

 This PR is 4.x specific, which is now end-of-life.  Therefore this PR
 should be closed.
State-Changed-From-To: suspended->closed 
State-Changed-By: remko 
State-Changed-When: Fri May 18 17:27:47 UTC 2007 
State-Changed-Why:  
This is from the 4.x era which is EOL, closing the ticket (thanks Gavin) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=56012 
>Unformatted:
