Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Jul 1999 23:37:32 PDT
From:      Craig Leres <leres@ee.lbl.gov>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   i386/12568: [PATCH] add pps device to MAKEDEV script
Message-ID:  <199907090637.XAA64879@fun.ee.lbl.gov>

next in thread | raw e-mail | index | archive | help

>Number:         12568
>Category:       i386
>Synopsis:       [PATCH] add pps device to MAKEDEV script
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul  8 23:40:01 PDT 1999
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:
 -----BEGIN PGP SIGNED MESSAGE-----
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907090637.XAA64879>