Bug 12568 - [PATCH] add pps device to MAKEDEV script
Summary: [PATCH] add pps device to MAKEDEV script
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: i386 (show other bugs)
Version: 3.2-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: sheldonh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-07-09 07:40 UTC by leres
Modified: 1999-07-09 14:25 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description leres 1999-07-09 07:40:01 UTC
	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).

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


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

iQCVAwUBN4WYmr2JLbUEFcrxAQEhrgQAreO2fdqcgxQgyzATAfb1rlQF520xLqAq
ZoLm3Xwoo6HlDXProx2cScha4RJ/GcgN4I4u00MS9QaxDI/7vPSaQNyAQ7aYFPyA
DEjeuYLE5msKJ4uXRCc3gvnNjh87u8BDhT5PXCp+PzKzLlilvr9OJAujCtQjSv0W
ra9ULky3z84=
=d3WO
-----END PGP SIGNATURE-------o8iwzgeNFlTdZK7BkN3pREgEolOYZ9y6Ybcp0RpiXjHd8vQj
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

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*)
Comment 1 sheldonh freebsd_committer 1999-07-09 13:47:01 UTC
Responsible Changed
From-To: freebsd-bugs->sheldonh

I'll take this one. 
Comment 2 sheldonh freebsd_committer 1999-07-09 14:24:58 UTC
State Changed
From-To: open->closed

Committed for i386 and alpha, thanks.