Browse Source

Add switch(4) cdev entry

ok deraadt@ yasuoka@ reyk@
OPENBSD_6_1
goda 8 years ago
parent
commit
25564e898f
15 changed files with 45 additions and 15 deletions
  1. +3
    -1
      src/etc/MAKEDEV.common
  2. +3
    -1
      src/etc/etc.alpha/MAKEDEV.md
  3. +3
    -1
      src/etc/etc.amd64/MAKEDEV.md
  4. +3
    -1
      src/etc/etc.armv7/MAKEDEV.md
  5. +3
    -1
      src/etc/etc.hppa/MAKEDEV.md
  6. +3
    -1
      src/etc/etc.i386/MAKEDEV.md
  7. +3
    -1
      src/etc/etc.landisk/MAKEDEV.md
  8. +3
    -1
      src/etc/etc.loongson/MAKEDEV.md
  9. +3
    -1
      src/etc/etc.luna88k/MAKEDEV.md
  10. +3
    -1
      src/etc/etc.macppc/MAKEDEV.md
  11. +3
    -1
      src/etc/etc.octeon/MAKEDEV.md
  12. +3
    -1
      src/etc/etc.sgi/MAKEDEV.md
  13. +3
    -1
      src/etc/etc.socppc/MAKEDEV.md
  14. +3
    -1
      src/etc/etc.sparc64/MAKEDEV.md
  15. +3
    -1
      src/etc/etc.zaurus/MAKEDEV.md

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

@ -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 <todd@OpenBSD.org>
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


+ 3
- 1
src/etc/etc.alpha/MAKEDEV.md View File

@ -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 <todd@OpenBSD.org>
@ -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

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

@ -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 <todd@OpenBSD.org>
@ -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

+ 3
- 1
src/etc/etc.armv7/MAKEDEV.md View File

@ -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 <todd@OpenBSD.org>
@ -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

+ 3
- 1
src/etc/etc.hppa/MAKEDEV.md View File

@ -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 <todd@OpenBSD.org>
@ -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

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

@ -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 <todd@OpenBSD.org>
@ -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

+ 3
- 1
src/etc/etc.landisk/MAKEDEV.md View File

@ -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 <todd@OpenBSD.org>
@ -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

+ 3
- 1
src/etc/etc.loongson/MAKEDEV.md View File

@ -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 <todd@OpenBSD.org>
@ -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


+ 3
- 1
src/etc/etc.luna88k/MAKEDEV.md View File

@ -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 <todd@OpenBSD.org>
@ -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


+ 3
- 1
src/etc/etc.macppc/MAKEDEV.md View File

@ -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 <todd@OpenBSD.org>
@ -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


+ 3
- 1
src/etc/etc.octeon/MAKEDEV.md View File

@ -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 <todd@OpenBSD.org>
@ -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


+ 3
- 1
src/etc/etc.sgi/MAKEDEV.md View File

@ -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 <todd@OpenBSD.org>
@ -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


+ 3
- 1
src/etc/etc.socppc/MAKEDEV.md View File

@ -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 <todd@OpenBSD.org>
@ -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


+ 3
- 1
src/etc/etc.sparc64/MAKEDEV.md View File

@ -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 <todd@OpenBSD.org>
@ -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


+ 3
- 1
src/etc/etc.zaurus/MAKEDEV.md View File

@ -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 <todd@OpenBSD.org>
@ -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

Loading…
Cancel
Save