From owner-freebsd-bugs Thu Jul 8 23:40: 5 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 4306614CE9 for ; Thu, 8 Jul 1999 23:40:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id XAA05255; Thu, 8 Jul 1999 23:40:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from fun.ee.lbl.gov (fun.ee.lbl.gov [131.243.1.81]) by hub.freebsd.org (Postfix) with ESMTP id 308B514D6E for ; 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 To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: i386/12568: [PATCH] add pps device to MAKEDEV script Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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