summaryrefslogtreecommitdiff
path: root/sys/arch/arm64
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@cvs.openbsd.org>2019-07-03 21:04:27 +0000
committerPatrick Wildt <patrick@cvs.openbsd.org>2019-07-03 21:04:27 +0000
commita1ef113bcca9bad0272aec4f4219d272817e8cee (patch)
treecec3bb6084cf09d7ad3a8a25f16fc33cd90f7a89 /sys/arch/arm64
parentf063ac3cbe721eb92512c87b11f9434bf6385d68 (diff)
Allocate a new major for tap(4) also note that pseudo-device tun is for tap
as well. This was done for all archs but was not part of the arm64 import. ok bluhm@
Diffstat (limited to 'sys/arch/arm64')
-rw-r--r--sys/arch/arm64/arm64/conf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/arm64/arm64/conf.c b/sys/arch/arm64/arm64/conf.c
index 3b1ea3fec06..d2af487d447 100644
--- a/sys/arch/arm64/arm64/conf.c
+++ b/sys/arch/arm64/arm64/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.6 2019/01/23 09:57:36 phessler Exp $ */
+/* $OpenBSD: conf.c,v 1.7 2019/07/03 21:04:26 patrick Exp $ */
/*
* Copyright (c) 1994, 1995 Charles M. Hannum. All rights reserved.
@@ -250,7 +250,7 @@ struct cdevsw cdevsw[] =
cdev_disk_init(1,diskmap), /* 90: disk mapper */
cdev_pppx_init(NPPPX,pppx), /* 91: pppx */
cdev_fuse_init(NFUSE,fuse), /* 92: fuse */
- cdev_notdef(), /* 93 */
+ cdev_tun_init(NTUN,tap), /* 93: Ethernet network tunnel */
cdev_notdef(), /* 94 */
cdev_notdef(), /* 95 */
cdev_notdef(), /* 96 */