From 20fe1a4803ac1720b904d7cedf06fc8635faf7d7 Mon Sep 17 00:00:00 2001 From: kettenis <> Date: Wed, 19 Dec 2012 20:30:23 +0000 Subject: [PATCH] Make it easier to create more /dev/ldomN devices. As a bonus this stops polluting ramdisks with devices that aren't needed there. --- src/etc/etc.sparc64/MAKEDEV.md | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/src/etc/etc.sparc64/MAKEDEV.md b/src/etc/etc.sparc64/MAKEDEV.md index e7ff5fdf..b5b25a49 100644 --- a/src/etc/etc.sparc64/MAKEDEV.md +++ b/src/etc/etc.sparc64/MAKEDEV.md @@ -1,6 +1,6 @@ define(MACHINE,sparc64)dnl vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.69 2012/12/08 20:40:04 kettenis Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.70 2012/12/19 20:30:23 kettenis Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries @@ -47,6 +47,13 @@ dnl __devitem(uperf, uperf, Performance counters)dnl _mkdev(uperf, uperf, {-M uperf c major_uperf_c 0 664-})dnl dnl +__devitem(vldc_hvctl, hvctl, hypervisor control channel)dnl +_mkdev(vldc_hvctl, hvctl, {-M hvctl c major_vldc_hvctl_c 0 600-})dnl +__devitem(vldc_spds, spds, service processor domain services channel)dnl +_mkdev(vldc_spds, spds, {-M spds c major_vldc_spds_c 1 600-})dnl +__devitem(vldc_ldom, ldom*, logical domain services channels)dnl +_mkdev(vldc_ldom, ldom*, {-M ldom$U c major_vldc_ldom_c Add($U,32) 600-})dnl +dnl __devitem(vdsp, vdsp*, virtual disk server ports)dnl _mkdev(vdsp, vdsp*, {-M vdsp$U c major_vdsp_c $U 600-})dnl dnl @@ -122,6 +129,9 @@ _DEV(uk, 60) _DEV(uperf, 25) _DEV(vi, 44) _DEV(vscsi, 128) +_DEV(vldc_hvctl, 132) +_DEV(vldc_spds, 132) +_DEV(vldc_ldom, 132) _DEV(vdsp, 133) dnl divert(__mddivert)dnl @@ -134,12 +144,6 @@ ramdisk) _std(2, 3, 76, 16) M openprom c 70 0 640 kmem M mdesc c 70 1 640 kmem - M hvctl c 132 0 600 - M spds c 132 1 600 - M ldom0 c 132 32 600 - M ldom1 c 132 33 600 - M ldom2 c 132 34 600 - M ldom3 c 132 35 600 ;; dnl dnl *** sparc64 specific targets @@ -171,4 +175,7 @@ target(all, bthub, 0, 1, 2)dnl twrget(all, s64_tzs, tty, a, b, c, d)dnl twrget(all, s64_czs, cua, a, b, c, d)dnl twrget(all, vcc, ttyV, 0, 1, 2, 3)dnl +twrget(all, vldc_hvctl, hvctl)dnl +twrget(all, vldc_spds, spds)dnl +twrget(all, vldc_ldom, ldom, 0, 1, 2, 3)dnl target(all, vdsp, 0, 1, 2, 3, 4, 5, 6, 7)dnl