Browse Source

Added a pctr pseudo-device for accessing the Pentium performance counters,

and a program pctrctl to set the counter functions.
OPENBSD_2_0
dm 28 years ago
parent
commit
131cb797f6
1 changed files with 9 additions and 2 deletions
  1. +9
    -2
      src/etc/etc.i386/MAKEDEV

+ 9
- 2
src/etc/etc.i386/MAKEDEV View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $OpenBSD: MAKEDEV,v 1.15 1996/07/23 06:32:55 etheisen Exp $
# $OpenBSD: MAKEDEV,v 1.16 1996/08/08 18:47:15 dm Exp $
# $NetBSD: MAKEDEV,v 1.40 1996/03/31 00:50:47 perry Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
@ -95,7 +95,7 @@ all)
sh MAKEDEV mcd0 acd0 vnd0 vnd1 lpa0 lpa1 ccd0 ccd1 ccd2 ccd3
sh MAKEDEV lpt0 lpt1 lpt2 ttyv0 bpf0 bpf1 bpf2 bpf3 ipl tun0 tun1 tun2
sh MAKEDEV speaker lkm mms0 lms0 pms0 audio joy0 joy1 apm pcmcia local
sh MAKEDEV rnd uk0 uk1
sh MAKEDEV rnd uk0 uk1 pctr
# MISSING:
# sh MAKEDEV mouse-?
;;
@ -447,6 +447,13 @@ uk*)
chown root.operator uk$unit
chmod 640 uk$unit
;;
pctr)
rm -f pctr;
mknod pctr c 46 0
chown root.wheel pctr
chmod 0644 pctr
;;
local)
umask 0


Loading…
Cancel
Save