Browse Source

Add /dev/pvbus0 (mode 0640) to MAKEDEV on i386 and amd64.

Needed for the key-value interface that has been added to pvbus(4).
OK mikeb@
OPENBSD_5_9
reyk 8 years ago
parent
commit
3e71c28b38
3 changed files with 8 additions and 3 deletions
  1. +4
    -1
      src/etc/MAKEDEV.common
  2. +2
    -1
      src/etc/etc.amd64/MAKEDEV.md
  3. +2
    -1
      src/etc/etc.i386/MAKEDEV.md

+ 4
- 1
src/etc/MAKEDEV.common View File

@ -1,4 +1,4 @@
vers(a, {-$OpenBSD: MAKEDEV.common,v 1.83 2015/12/21 22:15:53 sf Exp $-})dnl
vers(a, {-$OpenBSD: MAKEDEV.common,v 1.84 2016/01/27 09:09:28 reyk Exp $-})dnl
dnl dnl
dnl Copyright (c) 2001-2006 Todd T. Fries <todd@OpenBSD.org> dnl Copyright (c) 2001-2006 Todd T. Fries <todd@OpenBSD.org>
dnl dnl
@ -168,6 +168,7 @@ target(all, hotplug)dnl
target(all, pppx)dnl target(all, pppx)dnl
target(all, fuse)dnl target(all, fuse)dnl
target(all, vmm)dnl target(all, vmm)dnl
target(all, pvbus, 0)dnl
dnl dnl
_mkdev(all, {-all-}, {-dnl _mkdev(all, {-all-}, {-dnl
show_target(all)dnl show_target(all)dnl
@ -527,4 +528,6 @@ __devitem(gpio, gpio*, General Purpose Input/Output)dnl
_mcdev(gpio, gpio*, gpio, {-major_gpio_c-}, 600)dnl _mcdev(gpio, gpio*, gpio, {-major_gpio_c-}, 600)dnl
__devitem(vmm, vmm, Virtual Machine Monitor)dnl __devitem(vmm, vmm, Virtual Machine Monitor)dnl
_mkdev(vmm, vmm, {-M vmm c major_vmm_c 0 600-})dnl _mkdev(vmm, vmm, {-M vmm c major_vmm_c 0 600-})dnl
__devitem(pvbus, pvbus*, paravirtual device tree root)dnl
_mkdev(pvbus, {-pvbus*-}, {-M pvbus$U c major_pvbus_c $U 640-}, 640)dnl
_mkdev(local, local, {-test -s $T.local && sh $T.local-})dnl _mkdev(local, local, {-test -s $T.local && sh $T.local-})dnl

+ 2
- 1
src/etc/etc.amd64/MAKEDEV.md View File

@ -1,6 +1,6 @@
define(MACHINE,amd64)dnl define(MACHINE,amd64)dnl
vers(__file__, vers(__file__,
{-$OpenBSD: MAKEDEV.md,v 1.62 2015/12/21 22:15:53 sf Exp $-},
{-$OpenBSD: MAKEDEV.md,v 1.63 2016/01/27 09:09:29 reyk Exp $-},
etc.MACHINE)dnl etc.MACHINE)dnl
dnl dnl
dnl Copyright (c) 2001-2006 Todd T. Fries <todd@OpenBSD.org> dnl Copyright (c) 2001-2006 Todd T. Fries <todd@OpenBSD.org>
@ -92,6 +92,7 @@ _DEV(uk, 20)
_DEV(vi, 44) _DEV(vi, 44)
_DEV(vmm, 10) _DEV(vmm, 10)
_DEV(vscsi, 89) _DEV(vscsi, 89)
_DEV(pvbus, 95)
dnl dnl
divert(__mddivert)dnl divert(__mddivert)dnl
dnl dnl


+ 2
- 1
src/etc/etc.i386/MAKEDEV.md View File

@ -1,6 +1,6 @@
define(MACHINE,i386)dnl define(MACHINE,i386)dnl
vers(__file__, vers(__file__,
{-$OpenBSD: MAKEDEV.md,v 1.76 2015/11/10 21:42:28 sthen Exp $-},
{-$OpenBSD: MAKEDEV.md,v 1.77 2016/01/27 09:09:29 reyk Exp $-},
etc.MACHINE)dnl etc.MACHINE)dnl
dnl dnl
dnl Copyright (c) 2001-2006 Todd T. Fries <todd@OpenBSD.org> dnl Copyright (c) 2001-2006 Todd T. Fries <todd@OpenBSD.org>
@ -94,6 +94,7 @@ _DEV(uk, 20)
_DEV(vi, 44) _DEV(vi, 44)
_DEV(vmm, 10) _DEV(vmm, 10)
_DEV(vscsi, 90) _DEV(vscsi, 90)
_DEV(pvbus, 95)
dnl dnl
divert(__mddivert)dnl divert(__mddivert)dnl
dnl dnl


Loading…
Cancel
Save