From 8198e6d7522509800c26a6a045708e6e0cad691a Mon Sep 17 00:00:00 2001 From: Claudio Jeker Date: Fri, 23 Oct 2015 15:10:54 +0000 Subject: Allocate a new major for tap(4) also note that pseudo-device tun is for tap as well. OK dlg@ mpi@ --- sys/arch/luna88k/luna88k/conf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/arch/luna88k') diff --git a/sys/arch/luna88k/luna88k/conf.c b/sys/arch/luna88k/luna88k/conf.c index c6d045d4636..7b35998f008 100644 --- a/sys/arch/luna88k/luna88k/conf.c +++ b/sys/arch/luna88k/luna88k/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.26 2015/03/03 23:50:37 aoyama Exp $ */ +/* $OpenBSD: conf.c,v 1.27 2015/10/23 15:10:52 claudio Exp $ */ /*- * Copyright (c) 1991 The Regents of the University of California. @@ -156,6 +156,7 @@ struct cdevsw cdevsw[] = cdev_vscsi_init(NVSCSI,vscsi), /* 53: vscsi */ cdev_disk_init(1,diskmap), /* 54: disk mapper */ cdev_pppx_init(NPPPX,pppx), /* 55: pppx */ + cdev_tun_init(NTUN,tap), /* 56: Ethernet network tunnel */ }; int nchrdev = nitems(cdevsw); -- cgit v1.2.3