From leres@fun.ee.lbl.gov Thu Jul  8 23:37:41 1999
Return-Path: <leres@fun.ee.lbl.gov>
Received: from fun.ee.lbl.gov (fun.ee.lbl.gov [131.243.1.81])
	by hub.freebsd.org (Postfix) with ESMTP id 308B514D6E
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  8 Jul 1999 23:37:32 -0700 (PDT)
	(envelope-from leres@fun.ee.lbl.gov)
Received: (from leres@localhost)
	by fun.ee.lbl.gov (8.9.3/8.9.3) id XAA64879;
	Thu, 8 Jul 1999 23:37:32 -0700 (PDT)
Message-Id: <199907090637.XAA64879@fun.ee.lbl.gov>
Date: Thu, 08 Jul 1999 23:37:32 PDT
From: Craig Leres <leres@ee.lbl.gov>
Sender: leres@fun.ee.lbl.gov
To: FreeBSD-gnats-submit@freebsd.org
Subject: [PATCH] add pps device to MAKEDEV script
X-Send-Pr-Version: 3.2

>Number:         12568
>Category:       i386
>Synopsis:       [PATCH] add pps device to MAKEDEV script
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    sheldonh
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul  8 23:40:01 PDT 1999
>Closed-Date:    Fri Jul 9 06:24:58 PDT 1999
>Last-Modified:  Fri Jul  9 06:25:35 PDT 1999
>Originator:     Craig Leres
>Release:        FreeBSD 3.2-RELEASE i386
>Organization:
Lawrence Berkeley National Laboratory
>Environment:
>Description:

	The 3.2-RELEASE version of the MAKEDEV script doesn't know
	how to create the pps device although the kernel support
	is present (and works).

>How-To-Repeat:
>Fix:
	
	Context diffs appended. I'm not 100% sure the name should
	be pps; the code:

	    /sys/dev/ppbus/pps.c

	has a comment that says "lppps" is the official name.

RCS file: RCS/MAKEDEV,v
retrieving revision 1.1
diff -c -r1.1 MAKEDEV
*** /tmp/,RCSt1n64743	Thu Jul  8 23:31:05 1999
- - --- MAKEDEV	Thu Jul  8 22:47:30 1999
***************
*** 77,82 ****
- - --- 77,83 ----
  # Parallel port:
  #	lpt*	Printer
  #	ppi*	Parallel port i/o
+ #	pps*	Pulse per second
  #
  # I2C and SMBus:
  #	iic*	I2C devices
***************
*** 772,777 ****
- - --- 773,783 ----
  ppi*)
  	unit=`expr $i : 'ppi\(.*\)'`
  	mknod ppi$unit c 82 $unit
+ 	;;
+ 
+ pps*)
+ 	unit=`expr $i : 'pps\(.*\)'`
+ 	mknod pps$unit c 89 $unit
  	;;
  
  usb*)

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBN4WYmr2JLbUEFcrxAQEhrgQAreO2fdqcgxQgyzATAfb1rlQF520xLqAq
ZoLm3Xwoo6HlDXProx2cScha4RJ/GcgN4I4u00MS9QaxDI/7vPSaQNyAQ7aYFPyA
DEjeuYLE5msKJ4uXRCc3gvnNjh87u8BDhT5PXCp+PzKzLlilvr9OJAujCtQjSv0W
ra9ULky3z84=
=d3WO
-----END PGP SIGNATURE-----

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->sheldonh 
Responsible-Changed-By: sheldonh 
Responsible-Changed-When: Fri Jul 9 05:47:01 PDT 1999 
Responsible-Changed-Why:  
I'll take this one. 
State-Changed-From-To: open->closed 
State-Changed-By: sheldonh 
State-Changed-When: Fri Jul 9 06:24:58 PDT 1999 
State-Changed-Why:  
Committed for i386 and alpha, thanks. 
>Unformatted:
 -----BEGIN PGP SIGNED MESSAGE-----
 
