From dfa3894a18380044785e0e4b9bc0a391200cb1c3 Mon Sep 17 00:00:00 2001 From: cgd Date: Wed, 20 Dec 1995 10:27:34 +0000 Subject: [PATCH] add device node for "mmclock," a high-resolution memory-mapped clock pseudo-device. --- etc/etc.alpha/MAKEDEV | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/etc/etc.alpha/MAKEDEV b/etc/etc.alpha/MAKEDEV index 9497fb25ec68..ceac699a0959 100644 --- a/etc/etc.alpha/MAKEDEV +++ b/etc/etc.alpha/MAKEDEV @@ -1,5 +1,5 @@ #!/bin/sh - -# $NetBSD: MAKEDEV,v 1.5 1995/08/17 18:02:27 thorpej Exp $ +# $NetBSD: MAKEDEV,v 1.6 1995/12/20 10:27:34 cgd Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -61,6 +61,7 @@ # fd file descriptors # lkm loadable kernel modules interface # tun* network tunnel driver +# mmclock memory mapped clock PATH=/sbin:/usr/sbin:/bin:/usr/bin umask 77 @@ -73,7 +74,8 @@ all) sh MAKEDEV st0 st1 ch0 cd0 cd1 vnd0 vnd1 vnd2 vnd3 sh MAKEDEV ccd0 ccd1 ccd2 ccd3 sh MAKEDEV bpf0 bpf1 bpf2 bpf3 tun0 tun1 tun2 tun3 - sh MAKEDEV ttyB0 ttyB1 ttyC0 ttyC1 ttyE0 ttyE1 lkm local + sh MAKEDEV ttyB0 ttyB1 ttyC0 ttyC1 ttyE0 ttyE1 lkm + sh MAKEDEV mmclock local ;; std) @@ -247,6 +249,12 @@ lkm) chmod 640 lkm ;; +mmclock) + rm -f mmclock + mknod mmclock c 28 0 + chmod 444 mmclock + ;; + local) umask 0 sh MAKEDEV.local