diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2015-10-23 15:10:54 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2015-10-23 15:10:54 +0000 |
commit | 8198e6d7522509800c26a6a045708e6e0cad691a (patch) | |
tree | bb8ce202e8fac4e8f910e9c729d4d41f85fe5b9b /sys/arch/luna88k | |
parent | da64f9f63c6d4403850bcac66dfe41b50e0c79ce (diff) |
Allocate a new major for tap(4) also note that pseudo-device tun is for tap
as well. OK dlg@ mpi@
Diffstat (limited to 'sys/arch/luna88k')
-rw-r--r-- | sys/arch/luna88k/luna88k/conf.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); |