From 25564e898f904a46def7b63190c26a377bc3ce98 Mon Sep 17 00:00:00 2001 From: goda <> Date: Fri, 2 Sep 2016 17:06:14 +0000 Subject: [PATCH] Add switch(4) cdev entry ok deraadt@ yasuoka@ reyk@ --- src/etc/MAKEDEV.common | 4 +++- src/etc/etc.alpha/MAKEDEV.md | 4 +++- src/etc/etc.amd64/MAKEDEV.md | 4 +++- src/etc/etc.armv7/MAKEDEV.md | 4 +++- src/etc/etc.hppa/MAKEDEV.md | 4 +++- src/etc/etc.i386/MAKEDEV.md | 4 +++- src/etc/etc.landisk/MAKEDEV.md | 4 +++- src/etc/etc.loongson/MAKEDEV.md | 4 +++- src/etc/etc.luna88k/MAKEDEV.md | 4 +++- src/etc/etc.macppc/MAKEDEV.md | 4 +++- src/etc/etc.octeon/MAKEDEV.md | 4 +++- src/etc/etc.sgi/MAKEDEV.md | 4 +++- src/etc/etc.socppc/MAKEDEV.md | 4 +++- src/etc/etc.sparc64/MAKEDEV.md | 4 +++- src/etc/etc.zaurus/MAKEDEV.md | 4 +++- 15 files changed, 45 insertions(+), 15 deletions(-) diff --git a/src/etc/MAKEDEV.common b/src/etc/MAKEDEV.common index 56d0572d..c5f82ce5 100644 --- a/src/etc/MAKEDEV.common +++ b/src/etc/MAKEDEV.common @@ -1,4 +1,4 @@ -vers(a, {-$OpenBSD: MAKEDEV.common,v 1.89 2016/05/26 16:29:51 deraadt Exp $-})dnl +vers(a, {-$OpenBSD: MAKEDEV.common,v 1.90 2016/09/02 17:06:13 goda Exp $-})dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries dnl @@ -452,10 +452,12 @@ _mkdev(bpf, bpf, {-M bpf c major_bpf_c 0 600 M bpf0 c major_bpf_c 0 600-})dnl _mkdev(tun, {-tun*-}, {-M tun$U c major_tun_c $U 600-}, 600)dnl _mkdev(tap, {-tap*-}, {-M tap$U c major_tap_c $U 600-}, 600)dnl +_mkdev(switch, {-switch*-}, {-M switch$U c major_switch_c $U 600-}, 600)dnl __devitem(speak, speaker, PC speaker,spkr)dnl _mkdev(speak, speaker, {-M speaker c major_speak_c 0 600-})dnl __devitem(tun, tun*, Network tunnel driver)dnl __devitem(tap, tap*, Ethernet tunnel driver)dnl +__devitem(switch, switch*, Switch driver)dnl __devitem(rnd, *random, In-kernel random data source,random)dnl _mkdev(rnd, *random, {-n=0 for pre in " " s u a diff --git a/src/etc/etc.alpha/MAKEDEV.md b/src/etc/etc.alpha/MAKEDEV.md index f1f32e85..ab95c3f2 100644 --- a/src/etc/etc.alpha/MAKEDEV.md +++ b/src/etc/etc.alpha/MAKEDEV.md @@ -1,6 +1,6 @@ define(MACHINE,alpha)dnl vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.67 2016/04/28 18:17:30 natano Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.68 2016/09/02 17:06:13 goda Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries @@ -80,6 +80,7 @@ _DEV(tuner, 58) _DEV(uk, 33) _DEV(vi, 44) _DEV(vscsi, 61) +_DEV(switch, 69) dnl divert(__mddivert)dnl dnl @@ -119,4 +120,5 @@ target(all, rd, 0)dnl target(all, cd, 0, 1)dnl target(all, sd, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9)dnl target(all, vnd, 0, 1, 2, 3)dnl +target(all, switch, 0, 1, 2, 3)dnl target(ramd, ttyB, 0, 1)dnl diff --git a/src/etc/etc.amd64/MAKEDEV.md b/src/etc/etc.amd64/MAKEDEV.md index 6f624ac0..07f24afb 100644 --- a/src/etc/etc.amd64/MAKEDEV.md +++ b/src/etc/etc.amd64/MAKEDEV.md @@ -1,6 +1,6 @@ define(MACHINE,amd64)dnl vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.66 2016/04/28 18:17:30 natano Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.67 2016/09/02 17:06:13 goda Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries @@ -93,6 +93,7 @@ _DEV(vi, 44) _DEV(vmm, 10) _DEV(vscsi, 89) _DEV(pvbus, 95) +_DEV(switch, 97) dnl divert(__mddivert)dnl dnl @@ -133,5 +134,6 @@ target(all, nvram)dnl target(all, drm, 0, 1, 2, 3)dnl target(all, ttyVI, 00, 10, 20, 30, 40)dnl target(all, ipmi, 0)dnl +target(all, switch, 0, 1, 2, 3)dnl twrget(ramd, wsdisp, ttyC, 0)dnl target(ramd, fd, 0)dnl diff --git a/src/etc/etc.armv7/MAKEDEV.md b/src/etc/etc.armv7/MAKEDEV.md index 3316b914..dfe3145b 100644 --- a/src/etc/etc.armv7/MAKEDEV.md +++ b/src/etc/etc.armv7/MAKEDEV.md @@ -1,6 +1,6 @@ define(MACHINE,armv7)dnl vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.12 2016/05/21 21:30:22 kettenis Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.13 2016/09/02 17:06:13 goda Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2004 Todd T. Fries @@ -85,6 +85,7 @@ _DEV(uk, 28) _DEV(tuner, 75) _DEV(vi, 38) _DEV(vscsi, 100) +_DEV(switch, 105) dnl divert(__mddivert)dnl dnl @@ -113,4 +114,5 @@ target(all, rd, 0)dnl target(all, cd, 0, 1)dnl target(all, sd, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9)dnl target(all, vnd, 0, 1, 2, 3)dnl +target(all, switch, 0, 1, 2, 3)dnl target(all, gpio, 0, 1, 2, 3, 4, 5, 6, 7, 8)dnl diff --git a/src/etc/etc.hppa/MAKEDEV.md b/src/etc/etc.hppa/MAKEDEV.md index db2bb196..998c4593 100644 --- a/src/etc/etc.hppa/MAKEDEV.md +++ b/src/etc/etc.hppa/MAKEDEV.md @@ -1,6 +1,6 @@ define(MACHINE,hppa)dnl vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.58 2016/04/28 18:17:31 natano Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.59 2016/09/02 17:06:13 goda Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries @@ -74,6 +74,7 @@ _DEV(tap, 59) _DEV(uk, 15) _DEV(vi, 33) _DEV(vscsi, 54) +_DEV(switch, 60) dnl divert(__mddivert)dnl dnl @@ -103,5 +104,6 @@ target(all, rd, 0)dnl target(all, cd, 0, 1)dnl target(all, sd, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9)dnl target(all, vnd, 0, 1, 2, 3)dnl +target(all, switch, 0, 1, 2, 3)dnl target(ramd, pty, 0)dnl target(ramd, hil)dnl diff --git a/src/etc/etc.i386/MAKEDEV.md b/src/etc/etc.i386/MAKEDEV.md index e71049c7..97c73eb6 100644 --- a/src/etc/etc.i386/MAKEDEV.md +++ b/src/etc/etc.i386/MAKEDEV.md @@ -1,6 +1,6 @@ define(MACHINE,i386)dnl vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.80 2016/04/28 18:17:31 natano Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.81 2016/09/02 17:06:13 goda Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries @@ -95,6 +95,7 @@ _DEV(vi, 44) _DEV(vmm, 10) _DEV(vscsi, 90) _DEV(pvbus, 95) +_DEV(switch, 97) dnl divert(__mddivert)dnl dnl @@ -135,4 +136,5 @@ target(all, nvram)dnl target(all, drm, 0, 1, 2, 3)dnl target(all, amdmsr)dnl target(all, ipmi, 0)dnl +target(all, switch, 0, 1, 2, 3)dnl twrget(ramd, wsdisp, ttyC, 0)dnl diff --git a/src/etc/etc.landisk/MAKEDEV.md b/src/etc/etc.landisk/MAKEDEV.md index 8fe6fe53..b3ef8675 100644 --- a/src/etc/etc.landisk/MAKEDEV.md +++ b/src/etc/etc.landisk/MAKEDEV.md @@ -1,6 +1,6 @@ define(MACHINE,landisk)dnl vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.40 2016/04/28 18:17:31 natano Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.41 2016/09/02 17:06:13 goda Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2004 Todd T. Fries @@ -88,6 +88,7 @@ dnl _DEV(tuner, 75) _DEV(uk, 28) _DEV(vi, 77) _DEV(vscsi, 99) +_DEV(switch, 105) dnl divert(__mddivert)dnl dnl @@ -116,4 +117,5 @@ target(all, xy, 0, 1, 2, 3)dnl target(all, rd, 0)dnl target(all, cd, 0, 1)dnl target(all, sd, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9)dnl +target(all, switch, 0, 1, 2, 3)dnl target(all, vnd, 0, 1, 2, 3)dnl diff --git a/src/etc/etc.loongson/MAKEDEV.md b/src/etc/etc.loongson/MAKEDEV.md index 270af57d..7bdc1b1a 100644 --- a/src/etc/etc.loongson/MAKEDEV.md +++ b/src/etc/etc.loongson/MAKEDEV.md @@ -1,6 +1,6 @@ define(MACHINE,loongson)dnl vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.24 2016/04/28 18:17:31 natano Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.25 2016/09/02 17:06:13 goda Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries @@ -79,6 +79,7 @@ _DEV(tap, 74) _DEV(uk, 32) _DEV(vi, 45) _DEV(vscsi, 69) +_DEV(switch, 75) dnl divert(__mddivert)dnl dnl @@ -102,6 +103,7 @@ target(all, rd, 0)dnl target(all, cd, 0, 1)dnl target(all, sd, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9)dnl target(all, vnd, 0, 1, 2, 3)dnl +target(all, switch, 0, 1, 2, 3)dnl target(ramd, pty, 0)dnl target(ramd, bio)dnl target(ramd, diskmap)dnl diff --git a/src/etc/etc.luna88k/MAKEDEV.md b/src/etc/etc.luna88k/MAKEDEV.md index 0a03a330..cb051c22 100644 --- a/src/etc/etc.luna88k/MAKEDEV.md +++ b/src/etc/etc.luna88k/MAKEDEV.md @@ -1,6 +1,6 @@ define(MACHINE,luna88k)dnl vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.28 2016/04/28 18:17:31 natano Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.29 2016/09/02 17:06:13 goda Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries @@ -51,6 +51,7 @@ target(all, cd, 0, 1)dnl target(all, sd, 0, 1, 2, 3, 4)dnl target(all, uk, 0)dnl target(all, vnd, 0, 1, 2, 3)dnl +target(all, switch, 0, 1, 2, 3)dnl twrget(all, sio, tty, a)dnl twrget(all, lcd, lcd)dnl twrget(all, au, audio, 0)dnl @@ -108,6 +109,7 @@ _DEV(tun, 23) _DEV(tap, 56) _DEV(uk, 41) _DEV(vscsi, 53) +_DEV(switch, 57) dnl divert(__mddivert)dnl dnl diff --git a/src/etc/etc.macppc/MAKEDEV.md b/src/etc/etc.macppc/MAKEDEV.md index 44c195db..d6ad75e0 100644 --- a/src/etc/etc.macppc/MAKEDEV.md +++ b/src/etc/etc.macppc/MAKEDEV.md @@ -1,6 +1,6 @@ define(MACHINE,macppc)dnl vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.67 2016/04/28 18:17:31 natano Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.68 2016/09/02 17:06:13 goda Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries @@ -95,6 +95,7 @@ _DEV(tuner, 75) _DEV(uk, 41) _DEV(vi, 45) _DEV(vscsi, 83) +_DEV(switch, 89) dnl divert(__mddivert)dnl dnl @@ -125,6 +126,7 @@ target(all, vnd, 0, 1, 2, 3)dnl target(all, gpio, 0, 1, 2)dnl target(all, bio)dnl target(all, drm, 0, 1, 2, 3)dnl +target(all, switch, 0, 1, 2, 3)dnl target(ramd, ttya, 0, 1)dnl target(ramd, ttyb, 0, 1)dnl target(ramd, pty, 0)dnl diff --git a/src/etc/etc.octeon/MAKEDEV.md b/src/etc/etc.octeon/MAKEDEV.md index 0c1a0cc8..b761da48 100644 --- a/src/etc/etc.octeon/MAKEDEV.md +++ b/src/etc/etc.octeon/MAKEDEV.md @@ -1,6 +1,6 @@ define(MACHINE,octeon)dnl vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.11 2016/07/05 12:55:32 visa Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.12 2016/09/02 17:06:14 goda Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries @@ -82,6 +82,7 @@ _DEV(tap, 74) _DEV(uk, 32) _DEV(vi, 45) _DEV(vscsi, 69) +_DEV(switch, 75) dnl divert(__mddivert)dnl dnl @@ -104,6 +105,7 @@ target(all, cd, 0, 1)dnl target(all, sd, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9)dnl target(all, vnd, 0, 1, 2, 3)dnl target(all, octcf, 0)dnl +target(all, switch, 0, 1, 2, 3)dnl target(ramd, pty, 0)dnl target(ramd, bio)dnl target(ramd, diskmap)dnl diff --git a/src/etc/etc.sgi/MAKEDEV.md b/src/etc/etc.sgi/MAKEDEV.md index d96a3383..886e487d 100644 --- a/src/etc/etc.sgi/MAKEDEV.md +++ b/src/etc/etc.sgi/MAKEDEV.md @@ -1,6 +1,6 @@ define(MACHINE,sgi)dnl vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.46 2016/04/28 18:17:31 natano Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.47 2016/09/02 17:06:14 goda Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries @@ -87,6 +87,7 @@ _DEV(tap, 74) _DEV(uk, 32) _DEV(vi, 45) _DEV(vscsi, 68) +_DEV(switch, 75) dnl divert(__mddivert)dnl dnl @@ -107,6 +108,7 @@ target(all, rd, 0)dnl target(all, cd, 0, 1)dnl target(all, sd, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9)dnl target(all, vnd, 0, 1, 2, 3)dnl +target(all, switch, 0, 1, 2, 3)dnl twrget(all, zs, tty, a, b)dnl twrget(wscons, wscons, ttyD, cfg, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b)dnl twrget(wscons, wscons, ttyE, cfg, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b)dnl diff --git a/src/etc/etc.socppc/MAKEDEV.md b/src/etc/etc.socppc/MAKEDEV.md index e932754a..92c5f34d 100644 --- a/src/etc/etc.socppc/MAKEDEV.md +++ b/src/etc/etc.socppc/MAKEDEV.md @@ -1,6 +1,6 @@ define(MACHINE,socppc)dnl vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.29 2016/04/28 18:17:31 natano Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.30 2016/09/02 17:06:14 goda Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries @@ -75,6 +75,7 @@ dnl _DEV(tuner, 75) dnl _DEV(uk, 41) _DEV(vi, 44) _DEV(vscsi, 78) +_DEV(switch, 87) dnl divert(__mddivert)dnl dnl @@ -95,6 +96,7 @@ target(all, rd, 0)dnl target(all, cd, 0, 1)dnl target(all, sd, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9)dnl target(all, vnd, 0, 1, 2, 3)dnl +target(all, switch, 0, 1, 2, 3)dnl dnl target(all, gpio, 0, 1, 2)dnl dnl target(all, bio)dnl target(ramd, diskmap)dnl diff --git a/src/etc/etc.sparc64/MAKEDEV.md b/src/etc/etc.sparc64/MAKEDEV.md index d66153c7..6fcdb20c 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.84 2016/04/28 18:17:31 natano Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.85 2016/09/02 17:06:14 goda Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries @@ -130,6 +130,7 @@ _DEV(vldc_hvctl, 132) _DEV(vldc_spds, 132) _DEV(vldc_ldom, 132) _DEV(vdsp, 133) +_DEV(switch, 136) dnl divert(__mddivert)dnl dnl @@ -169,6 +170,7 @@ target(all, sd, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9)dnl target(all, vnd, 0, 1, 2, 3)dnl target(all, bpp, 0)dnl target(all, drm, 0, 1, 2, 3)dnl +target(all, switch, 0, 1, 2, 3)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, 4, 5, 6, 7)dnl diff --git a/src/etc/etc.zaurus/MAKEDEV.md b/src/etc/etc.zaurus/MAKEDEV.md index 6c5f9bd6..78470387 100644 --- a/src/etc/etc.zaurus/MAKEDEV.md +++ b/src/etc/etc.zaurus/MAKEDEV.md @@ -1,6 +1,6 @@ define(MACHINE,zaurus)dnl vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.43 2016/04/28 18:17:31 natano Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.44 2016/09/02 17:06:14 goda Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2004 Todd T. Fries @@ -83,6 +83,7 @@ _DEV(tuner, 75) _DEV(uk, 28) _DEV(vi, 38) _DEV(vscsi, 100) +_DEV(switch, 105) dnl divert(__mddivert)dnl dnl @@ -111,4 +112,5 @@ target(all, rd, 0)dnl target(all, cd, 0, 1)dnl target(all, sd, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9)dnl target(all, vnd, 0, 1, 2, 3)dnl +target(all, switch, 0, 1, 2, 3)dnl target(all, ttyC, 0, 1)dnl