summaryrefslogtreecommitdiff
path: root/sys/arch/mvmeppc
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2008-04-08 14:31:55 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2008-04-08 14:31:55 +0000
commit34fe724f25d91e8ccb959ccc4dbe829541f8faa7 (patch)
tree43a4a33bfc77e60254dee1f810de5c8b9eef8add /sys/arch/mvmeppc
parentccf2ce30e45cf5040831618d665bbd74527afa1c (diff)
Split the cdev makro for bpftun into two seperate definitions. tun(4) and
bpf(4) are different enough so that the split makes sense -- this is necessary to make bpf(4) cloneable. requested deraadt@, OK thib@
Diffstat (limited to 'sys/arch/mvmeppc')
-rw-r--r--sys/arch/mvmeppc/mvmeppc/conf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/mvmeppc/mvmeppc/conf.c b/sys/arch/mvmeppc/mvmeppc/conf.c
index 20fb253a6d7..165baf95c67 100644
--- a/sys/arch/mvmeppc/mvmeppc/conf.c
+++ b/sys/arch/mvmeppc/mvmeppc/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.21 2007/06/01 23:14:07 deraadt Exp $ */
+/* $OpenBSD: conf.c,v 1.22 2008/04/08 14:31:54 claudio Exp $ */
/*
* Copyright (c) 1997 Per Fogelstrom
@@ -140,8 +140,8 @@ struct cdevsw cdevsw[] = {
cdev_disk_init(NVND,vnd), /* 19: vnode disk */
cdev_tape_init(NST,st), /* 20: SCSI tape */
cdev_fd_init(1,filedesc), /* 21: file descriptor pseudo-dev */
- cdev_bpftun_init(NBPFILTER,bpf),/* 22: berkeley packet filter */
- cdev_bpftun_init(NTUN,tun), /* 23: network tunnel */
+ cdev_bpf_init(NBPFILTER,bpf), /* 22: berkeley packet filter */
+ cdev_tun_init(NTUN,tun), /* 23: network tunnel */
cdev_lkm_init(NLKM,lkm), /* 24: loadable module driver */
cdev_notdef(), /* 25 */
cdev_notdef(), /* 26 */