summaryrefslogtreecommitdiff
path: root/sys/arch/alpha
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/alpha
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/alpha')
-rw-r--r--sys/arch/alpha/alpha/conf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/alpha/alpha/conf.c b/sys/arch/alpha/alpha/conf.c
index 747d3eea299..044e6550370 100644
--- a/sys/arch/alpha/alpha/conf.c
+++ b/sys/arch/alpha/alpha/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.55 2007/06/20 18:28:56 miod Exp $ */
+/* $OpenBSD: conf.c,v 1.56 2008/04/08 14:31:54 claudio Exp $ */
/* $NetBSD: conf.c,v 1.16 1996/10/18 21:26:57 cgd Exp $ */
/*-
@@ -143,11 +143,11 @@ struct cdevsw cdevsw[] =
cdev_tty_init(NPTY,pts), /* 4: pseudo-tty slave */
cdev_ptc_init(NPTY,ptc), /* 5: pseudo-tty master */
cdev_log_init(1,log), /* 6: /dev/klog */
- cdev_bpftun_init(NTUN,tun), /* 7: network tunnel */
+ cdev_tun_init(NTUN,tun), /* 7: network tunnel */
cdev_disk_init(NSD,sd), /* 8: SCSI disk */
cdev_disk_init(NVND,vnd), /* 9: vnode disk driver */
cdev_fd_init(1,filedesc), /* 10: file descriptor pseudo-dev */
- cdev_bpftun_init(NBPFILTER,bpf),/* 11: Berkeley packet filter */
+ cdev_bpf_init(NBPFILTER,bpf), /* 11: Berkeley packet filter */
cdev_tape_init(NST,st), /* 12: SCSI tape */
cdev_disk_init(NCD,cd), /* 13: SCSI CD-ROM */
cdev_ch_init(NCH,ch), /* 14: SCSI autochanger */