summaryrefslogtreecommitdiff
path: root/etc/etc.sparc64/MAKEDEV.md
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2012-12-19 20:30:24 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2012-12-19 20:30:24 +0000
commit4c6e7bec5893a6de9940f75418860718f9da7933 (patch)
tree264d2f625ef09fe71e497ead89f81a6b9771e543 /etc/etc.sparc64/MAKEDEV.md
parent254aac0523185181536019f973660487a0ba37aa (diff)
Make it easier to create more /dev/ldomN devices. As a bonus this stops
polluting ramdisks with devices that aren't needed there.
Diffstat (limited to 'etc/etc.sparc64/MAKEDEV.md')
-rw-r--r--etc/etc.sparc64/MAKEDEV.md21
1 files changed, 14 insertions, 7 deletions
diff --git a/etc/etc.sparc64/MAKEDEV.md b/etc/etc.sparc64/MAKEDEV.md
index e7ff5fdfbc6..b5b25a492ed 100644
--- a/etc/etc.sparc64/MAKEDEV.md
+++ b/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 <todd@OpenBSD.org>
@@ -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