diff options
author | Kazuya Goda <goda@cvs.openbsd.org> | 2016-09-02 17:06:15 +0000 |
---|---|---|
committer | Kazuya Goda <goda@cvs.openbsd.org> | 2016-09-02 17:06:15 +0000 |
commit | bde26d8769313496a8220d5c07b5d624af1f29bf (patch) | |
tree | 13b302e43e0d777562e3d182416e80bb7a1adab2 /sys/arch/alpha | |
parent | 06977ccc557d20e79ca68325775662be832962ec (diff) |
Add switch(4) cdev entry
ok deraadt@ yasuoka@ reyk@
Diffstat (limited to 'sys/arch/alpha')
-rw-r--r-- | sys/arch/alpha/alpha/conf.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/alpha/alpha/conf.c b/sys/arch/alpha/alpha/conf.c index dbdd31fcd54..625ba1a4819 100644 --- a/sys/arch/alpha/alpha/conf.c +++ b/sys/arch/alpha/alpha/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.81 2016/04/25 20:09:14 tedu Exp $ */ +/* $OpenBSD: conf.c,v 1.82 2016/09/02 17:06:12 goda Exp $ */ /* $NetBSD: conf.c,v 1.16 1996/10/18 21:26:57 cgd Exp $ */ /*- @@ -124,6 +124,7 @@ cdev_decl(pci); #include "vscsi.h" #include "pppx.h" #include "fuse.h" +#include "switch.h" struct cdevsw cdevsw[] = { @@ -200,6 +201,7 @@ struct cdevsw cdevsw[] = cdev_notdef(), /* 66: was USB scanners */ cdev_fuse_init(NFUSE,fuse), /* 67: fuse */ cdev_tun_init(NTUN,tap), /* 68: Ethernet network tunnel */ + cdev_switch_init(NSWITCH,switch), /* 69: switch(4) control interface */ }; int nchrdev = nitems(cdevsw); |