summaryrefslogtreecommitdiff
path: root/sys/arch
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
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')
-rw-r--r--sys/arch/alpha/alpha/conf.c6
-rw-r--r--sys/arch/amd64/amd64/conf.c6
-rw-r--r--sys/arch/arm/arm/conf.c6
-rw-r--r--sys/arch/aviion/aviion/conf.c6
-rw-r--r--sys/arch/hp300/hp300/conf.c6
-rw-r--r--sys/arch/hppa/hppa/conf.c6
-rw-r--r--sys/arch/hppa64/hppa64/conf.c6
-rw-r--r--sys/arch/i386/i386/conf.c6
-rw-r--r--sys/arch/landisk/landisk/conf.c6
-rw-r--r--sys/arch/luna88k/luna88k/conf.c6
-rw-r--r--sys/arch/mac68k/mac68k/conf.c6
-rw-r--r--sys/arch/macppc/macppc/conf.c6
-rw-r--r--sys/arch/mvme68k/mvme68k/conf.c6
-rw-r--r--sys/arch/mvme88k/mvme88k/conf.c6
-rw-r--r--sys/arch/mvmeppc/mvmeppc/conf.c6
-rw-r--r--sys/arch/sgi/sgi/conf.c6
-rw-r--r--sys/arch/sparc/sparc/conf.c6
-rw-r--r--sys/arch/sparc64/sparc64/conf.c6
-rw-r--r--sys/arch/vax/vax/conf.c6
19 files changed, 57 insertions, 57 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 */
diff --git a/sys/arch/amd64/amd64/conf.c b/sys/arch/amd64/amd64/conf.c
index eed892fe3b6..0d0cfbd60ad 100644
--- a/sys/arch/amd64/amd64/conf.c
+++ b/sys/arch/amd64/amd64/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.17 2007/11/25 17:11:12 oga Exp $ */
+/* $OpenBSD: conf.c,v 1.18 2008/04/08 14:31:54 claudio Exp $ */
/*
* Copyright (c) 1994, 1995 Charles M. Hannum. All rights reserved.
@@ -213,7 +213,7 @@ struct cdevsw cdevsw[] =
cdev_uk_init(NUK,uk), /* 20: unknown SCSI */
cdev_notdef(), /* 21 */
cdev_fd_init(1,filedesc), /* 22: file descriptor pseudo-device */
- cdev_bpftun_init(NBPFILTER,bpf),/* 23: Berkeley packet filter */
+ cdev_bpf_init(NBPFILTER,bpf), /* 23: Berkeley packet filter */
cdev_notdef(), /* 24 */
#if 0
cdev_ocis_init(NPCMCIA,pcmcia), /* 25: PCMCIA Bus */
@@ -234,7 +234,7 @@ struct cdevsw cdevsw[] =
cdev_notdef(), /* 37: Extended PS/2 mouse */
cdev_tty_init(NCY,cy), /* 38: Cyclom serial port */
cdev_disk_init(NMCD,mcd), /* 39: Mitsumi CD-ROM */
- cdev_bpftun_init(NTUN,tun), /* 40: network tunnel */
+ cdev_tun_init(NTUN,tun), /* 40: network tunnel */
cdev_disk_init(NVND,vnd), /* 41: vnode disk driver */
cdev_audio_init(NAUDIO,audio), /* 42: generic audio I/O */
#ifdef COMPAT_SVR4
diff --git a/sys/arch/arm/arm/conf.c b/sys/arch/arm/arm/conf.c
index 47ea6e3f789..321f37c289e 100644
--- a/sys/arch/arm/arm/conf.c
+++ b/sys/arch/arm/arm/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.16 2007/05/28 22:26:03 todd Exp $ */
+/* $OpenBSD: conf.c,v 1.17 2008/04/08 14:31:54 claudio Exp $ */
/* $NetBSD: conf.c,v 1.10 2002/04/19 01:04:38 wiz Exp $ */
/*
@@ -309,7 +309,7 @@ struct cdevsw cdevsw[] = {
cdev_disk_init(NVND,vnd), /* 19: vnode disk driver */
cdev_lkm_dummy(), /* 20: */
cdev_disk_init(NCCD,ccd), /* 21: concatenated disk driver */
- cdev_bpftun_init(NBPFILTER,bpf), /* 22: Berkeley packet filter */
+ cdev_bpf_init(NBPFILTER,bpf), /* 22: Berkeley packet filter */
cdev_lkm_dummy(), /* 23: */
cdev_disk_init(NSD,sd), /* 24: SCSI disk */
cdev_tape_init(NST,st), /* 25: SCSI tape */
@@ -320,7 +320,7 @@ struct cdevsw cdevsw[] = {
cdev_lkm_dummy(), /* 30: */
cdev_lkm_dummy(), /* 31: */
cdev_lkm_dummy(), /* 32: */
- cdev_bpftun_init(NTUN,tun), /* 33: network tunnel */
+ cdev_tun_init(NTUN,tun), /* 33: network tunnel */
cdev_apm_init(NAPM,apm), /* 34: APM interface */
cdev_lkm_init(NLKM,lkm), /* 35: loadable module driver */
cdev_audio_init(NAUDIO,audio), /* 36: generic audio I/O */
diff --git a/sys/arch/aviion/aviion/conf.c b/sys/arch/aviion/aviion/conf.c
index ba0dc2bb36a..892a52af789 100644
--- a/sys/arch/aviion/aviion/conf.c
+++ b/sys/arch/aviion/aviion/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.4 2007/05/28 22:26:03 todd Exp $ */
+/* $OpenBSD: conf.c,v 1.5 2008/04/08 14:31:54 claudio Exp $ */
/*-
* Copyright (c) 1991 The Regents of the University of California.
@@ -112,8 +112,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: XD disk */
diff --git a/sys/arch/hp300/hp300/conf.c b/sys/arch/hp300/hp300/conf.c
index b3749fc57bc..8ffe6900093 100644
--- a/sys/arch/hp300/hp300/conf.c
+++ b/sys/arch/hp300/hp300/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.41 2007/05/28 22:26:03 todd Exp $ */
+/* $OpenBSD: conf.c,v 1.42 2008/04/08 14:31:54 claudio Exp $ */
/* $NetBSD: conf.c,v 1.39 1997/05/12 08:17:53 thorpej Exp $ */
/*-
@@ -138,8 +138,8 @@ struct cdevsw cdevsw[] =
cdev_disk_init(NVND,vnd), /* 19: vnode disk driver */
cdev_tape_init(NST,st), /* 20: SCSI tape */
cdev_fd_init(1,filedesc), /* 21: file descriptor pseudo-device */
- 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_lkm_dummy(), /* 25 */
cdev_lkm_dummy(), /* 26 */
diff --git a/sys/arch/hppa/hppa/conf.c b/sys/arch/hppa/hppa/conf.c
index 91c095d22e1..1e5e15eafd5 100644
--- a/sys/arch/hppa/hppa/conf.c
+++ b/sys/arch/hppa/hppa/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.41 2007/07/15 19:25:49 kettenis Exp $ */
+/* $OpenBSD: conf.c,v 1.42 2008/04/08 14:31:54 claudio Exp $ */
/*-
* Copyright (c) 1991 The Regents of the University of California.
@@ -141,8 +141,8 @@ struct cdevsw cdevsw[] =
cdev_ss_init(NSS,ss), /* 14: SCSI scanner */
cdev_uk_init(NUK,uk), /* 15: SCSI unknown */
cdev_fd_init(1,filedesc), /* 16: file descriptor pseudo-device */
- cdev_bpftun_init(NBPFILTER,bpf),/* 17: Berkeley packet filter */
- cdev_bpftun_init(NTUN,tun), /* 18: network tunnel */
+ cdev_bpf_init(NBPFILTER,bpf), /* 17: Berkeley packet filter */
+ cdev_tun_init(NTUN,tun), /* 18: network tunnel */
cdev_lkm_init(NLKM,lkm), /* 19: loadable module driver */
cdev_random_init(1,random), /* 20: random generator */
cdev_pf_init(NPF,pf), /* 21: packet filter */
diff --git a/sys/arch/hppa64/hppa64/conf.c b/sys/arch/hppa64/hppa64/conf.c
index 8f3f59a612a..e0e9b9f98ce 100644
--- a/sys/arch/hppa64/hppa64/conf.c
+++ b/sys/arch/hppa64/hppa64/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.6 2007/05/28 22:26:03 todd Exp $ */
+/* $OpenBSD: conf.c,v 1.7 2008/04/08 14:31:54 claudio Exp $ */
/*-
* Copyright (c) 1991 The Regents of the University of California.
@@ -133,8 +133,8 @@ struct cdevsw cdevsw[] =
cdev_ss_init(NSS,ss), /* 14: SCSI scanner */
cdev_uk_init(NUK,uk), /* 15: SCSI unknown */
cdev_fd_init(1,filedesc), /* 16: file descriptor pseudo-device */
- cdev_bpftun_init(NBPFILTER,bpf),/* 17: Berkeley packet filter */
- cdev_bpftun_init(NTUN,tun), /* 18: network tunnel */
+ cdev_bpf_init(NBPFILTER,bpf), /* 17: Berkeley packet filter */
+ cdev_tun_init(NTUN,tun), /* 18: network tunnel */
cdev_lkm_init(NLKM,lkm), /* 19: loadable module driver */
cdev_random_init(1,random), /* 20: random generator */
cdev_pf_init(NPF,pf), /* 21: packet filter */
diff --git a/sys/arch/i386/i386/conf.c b/sys/arch/i386/i386/conf.c
index 0d3063e9f0f..28722f5eeac 100644
--- a/sys/arch/i386/i386/conf.c
+++ b/sys/arch/i386/i386/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.122 2007/11/28 23:37:34 oga Exp $ */
+/* $OpenBSD: conf.c,v 1.123 2008/04/08 14:31:54 claudio Exp $ */
/* $NetBSD: conf.c,v 1.75 1996/05/03 19:40:20 christos Exp $ */
/*
@@ -228,7 +228,7 @@ struct cdevsw cdevsw[] =
cdev_uk_init(NUK,uk), /* 20: unknown SCSI */
cdev_acpiapm_init(1,acpiapm), /* 21: Power Management stuff */
cdev_fd_init(1,filedesc), /* 22: file descriptor pseudo-device */
- cdev_bpftun_init(NBPFILTER,bpf),/* 23: Berkeley packet filter */
+ cdev_bpf_init(NBPFILTER,bpf), /* 23: Berkeley packet filter */
cdev_notdef(), /* 24 */
#if 0
cdev_ocis_init(NPCMCIA,pcmcia), /* 25: PCMCIA Bus */
@@ -249,7 +249,7 @@ struct cdevsw cdevsw[] =
cdev_notdef(), /* 37: Extended PS/2 mouse */
cdev_tty_init(NCY,cy), /* 38: Cyclom serial port */
cdev_disk_init(NMCD,mcd), /* 39: Mitsumi CD-ROM */
- cdev_bpftun_init(NTUN,tun), /* 40: network tunnel */
+ cdev_tun_init(NTUN,tun), /* 40: network tunnel */
cdev_disk_init(NVND,vnd), /* 41: vnode disk driver */
cdev_audio_init(NAUDIO,audio), /* 42: generic audio I/O */
#ifdef COMPAT_SVR4
diff --git a/sys/arch/landisk/landisk/conf.c b/sys/arch/landisk/landisk/conf.c
index 773e6da1746..a4040816ea9 100644
--- a/sys/arch/landisk/landisk/conf.c
+++ b/sys/arch/landisk/landisk/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.6 2007/05/28 22:26:03 todd Exp $ */
+/* $OpenBSD: conf.c,v 1.7 2008/04/08 14:31:54 claudio Exp $ */
/*
* Copyright (c) 1994-1998 Mark Brinicombe.
@@ -302,7 +302,7 @@ struct cdevsw cdevsw[] = {
cdev_disk_init(NVND,vnd), /* 19: vnode disk driver */
cdev_lkm_dummy(), /* 20: */
cdev_disk_init(NCCD,ccd), /* 21: concatenated disk driver */
- cdev_bpftun_init(NBPFILTER,bpf), /* 22: Berkeley packet filter */
+ cdev_bpf_init(NBPFILTER,bpf), /* 22: Berkeley packet filter */
cdev_lkm_dummy(), /* 23: */
cdev_disk_init(NSD,sd), /* 24: SCSI disk */
cdev_tape_init(NST,st), /* 25: SCSI tape */
@@ -313,7 +313,7 @@ struct cdevsw cdevsw[] = {
cdev_lkm_dummy(), /* 30: */
cdev_lkm_dummy(), /* 31: */
cdev_lkm_dummy(), /* 32: */
- cdev_bpftun_init(NTUN,tun), /* 33: network tunnel */
+ cdev_tun_init(NTUN,tun), /* 33: network tunnel */
cdev_apm_init(NAPM,apm), /* 34: APM interface */
cdev_lkm_init(NLKM,lkm), /* 35: loadable module driver */
cdev_audio_init(NAUDIO,audio), /* 36: generic audio I/O */
diff --git a/sys/arch/luna88k/luna88k/conf.c b/sys/arch/luna88k/luna88k/conf.c
index 9101d501f43..5eca138aeca 100644
--- a/sys/arch/luna88k/luna88k/conf.c
+++ b/sys/arch/luna88k/luna88k/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.7 2007/05/28 22:26:03 todd Exp $ */
+/* $OpenBSD: conf.c,v 1.8 2008/04/08 14:31:54 claudio Exp $ */
/*-
* Copyright (c) 1991 The Regents of the University of California.
@@ -121,8 +121,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 */
diff --git a/sys/arch/mac68k/mac68k/conf.c b/sys/arch/mac68k/mac68k/conf.c
index 5b4f75bc933..23b10b77762 100644
--- a/sys/arch/mac68k/mac68k/conf.c
+++ b/sys/arch/mac68k/mac68k/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.39 2007/05/28 22:26:03 todd Exp $ */
+/* $OpenBSD: conf.c,v 1.40 2008/04/08 14:31:54 claudio Exp $ */
/* $NetBSD: conf.c,v 1.41 1997/02/11 07:35:49 scottr Exp $ */
/*
@@ -130,9 +130,9 @@ struct cdevsw cdevsw[] =
cdev_disk_init(NVND,vnd), /* 19: vnode disk driver */
cdev_disk_init(NCCD,ccd), /* 20: concatenated disk driver */
cdev_fd_init(1,filedesc), /* 21: file descriptor pseudo-device */
- cdev_bpftun_init(NBPFILTER,bpf),/* 22: Berkeley packet filter */
+ cdev_bpf_init(NBPFILTER,bpf), /* 22: Berkeley packet filter */
cdev_notdef(), /* 23 was ADB */
- cdev_bpftun_init(NTUN,tun), /* 24: network tunnel */
+ cdev_tun_init(NTUN,tun), /* 24: network tunnel */
cdev_lkm_init(NLKM,lkm), /* 25: loadable module driver */
cdev_lkm_dummy(), /* 26 */
cdev_lkm_dummy(), /* 27 */
diff --git a/sys/arch/macppc/macppc/conf.c b/sys/arch/macppc/macppc/conf.c
index bf64f90c367..3141cfca3a6 100644
--- a/sys/arch/macppc/macppc/conf.c
+++ b/sys/arch/macppc/macppc/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.33 2007/11/12 19:23:26 kettenis Exp $ */
+/* $OpenBSD: conf.c,v 1.34 2008/04/08 14:31:54 claudio Exp $ */
/*
* Copyright (c) 1997 Per Fogelstrom
@@ -165,8 +165,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_apm_init(NAPM,apm), /* 25: APM interface */
cdev_tty_init(NCOM,com), /* 26: Serial Ports via com(4) */
diff --git a/sys/arch/mvme68k/mvme68k/conf.c b/sys/arch/mvme68k/mvme68k/conf.c
index 7f00e569bb0..8f3dae671a6 100644
--- a/sys/arch/mvme68k/mvme68k/conf.c
+++ b/sys/arch/mvme68k/mvme68k/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.41 2007/05/28 22:26:03 todd Exp $ */
+/* $OpenBSD: conf.c,v 1.42 2008/04/08 14:31:54 claudio Exp $ */
/*-
* Copyright (c) 1995 Theo de Raadt
@@ -176,8 +176,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 */
#ifdef notyet
diff --git a/sys/arch/mvme88k/mvme88k/conf.c b/sys/arch/mvme88k/mvme88k/conf.c
index 398593f6e36..3e92fe44f97 100644
--- a/sys/arch/mvme88k/mvme88k/conf.c
+++ b/sys/arch/mvme88k/mvme88k/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.34 2007/05/28 22:26:03 todd Exp $ */
+/* $OpenBSD: conf.c,v 1.35 2008/04/08 14:31:54 claudio Exp $ */
/*-
* Copyright (c) 1991 The Regents of the University of California.
@@ -157,8 +157,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 */
#ifdef notyet
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 */
diff --git a/sys/arch/sgi/sgi/conf.c b/sys/arch/sgi/sgi/conf.c
index fb80c7fae33..8e8773b6412 100644
--- a/sys/arch/sgi/sgi/conf.c
+++ b/sys/arch/sgi/sgi/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.13 2007/05/29 07:23:20 deraadt Exp $ */
+/* $OpenBSD: conf.c,v 1.14 2008/04/08 14:31:54 claudio Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -140,8 +140,8 @@ struct cdevsw cdevsw[] =
cdev_disk_init(NSD,sd), /* 9: SCSI disk */
cdev_tape_init(NST,st), /* 10: SCSI tape */
cdev_disk_init(NVND,vnd), /* 11: vnode disk */
- cdev_bpftun_init(NBPFILTER,bpf),/* 12: berkeley packet filter */
- cdev_bpftun_init(NTUN,tun), /* 13: network tunnel */
+ cdev_bpf_init(NBPFILTER,bpf), /* 12: berkeley packet filter */
+ cdev_tun_init(NTUN,tun), /* 13: network tunnel */
cdev_notdef(), /* 14 */
cdev_notdef(), /* 15: */
cdev_lpt_init(NLPT,lpt), /* 16: Parallel printer interface */
diff --git a/sys/arch/sparc/sparc/conf.c b/sys/arch/sparc/sparc/conf.c
index 7daac55f50b..e7edf20f81c 100644
--- a/sys/arch/sparc/sparc/conf.c
+++ b/sys/arch/sparc/sparc/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.46 2007/05/28 22:26:03 todd Exp $ */
+/* $OpenBSD: conf.c,v 1.47 2008/04/08 14:31:54 claudio Exp $ */
/* $NetBSD: conf.c,v 1.40 1996/04/11 19:20:03 thorpej Exp $ */
/*
@@ -245,13 +245,13 @@ struct cdevsw cdevsw[] =
cdev_tty_init(NSTTY,stty), /* 102: spif */
cdev_gen_init(NSBPP,sbpp), /* 103: spif */
cdev_bpp_init(NBPP,bpp), /* 104: bpp */
- cdev_bpftun_init(NBPFILTER,bpf),/* 105: packet filter */
+ cdev_bpf_init(NBPFILTER,bpf), /* 105: packet filter */
cdev_disk_init(NRD,rd), /* 106: ram disk driver */
cdev_scf_init(NSCF,scf), /* 107: sysconfig regs */
cdev_flash_init(NFLASH,flash), /* 108: flash memory */
cdev_notdef(), /* 109: was /dev/tcx */
cdev_disk_init(NVND,vnd), /* 110: vnode disk driver */
- cdev_bpftun_init(NTUN,tun), /* 111: network tunnel */
+ cdev_tun_init(NTUN,tun), /* 111: network tunnel */
cdev_lkm_init(NLKM,lkm), /* 112: loadable module driver */
cdev_lkm_dummy(), /* 113 */
cdev_lkm_dummy(), /* 114 */
diff --git a/sys/arch/sparc64/sparc64/conf.c b/sys/arch/sparc64/sparc64/conf.c
index ccbaf4b0cbb..36e5f816987 100644
--- a/sys/arch/sparc64/sparc64/conf.c
+++ b/sys/arch/sparc64/sparc64/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.45 2008/03/09 00:23:17 kettenis Exp $ */
+/* $OpenBSD: conf.c,v 1.46 2008/04/08 14:31:54 claudio Exp $ */
/* $NetBSD: conf.c,v 1.17 2001/03/26 12:33:26 lukem Exp $ */
/*
@@ -263,13 +263,13 @@ struct cdevsw cdevsw[] =
cdev_notdef(), /* 102 */
cdev_notdef(), /* 103 */
cdev_notdef(), /* 104 */
- cdev_bpftun_init(NBPFILTER,bpf),/* 105: packet filter */
+ cdev_bpf_init(NBPFILTER,bpf), /* 105: packet filter */
cdev_notdef(), /* 106 */
cdev_bpp_init(NBPP,bpp), /* 107: on-board parallel port */
cdev_tty_init(NSTTY,stty), /* 108: spif serial ports */
cdev_gen_init(NSBPP,sbpp), /* 109: spif parallel ports */
cdev_disk_init(NVND,vnd), /* 110: vnode disk driver */
- cdev_bpftun_init(NTUN,tun), /* 111: network tunnel */
+ cdev_tun_init(NTUN,tun), /* 111: network tunnel */
cdev_lkm_init(NLKM,lkm), /* 112: loadable module driver */
cdev_lkm_dummy(), /* 113 */
cdev_lkm_dummy(), /* 114 */
diff --git a/sys/arch/vax/vax/conf.c b/sys/arch/vax/vax/conf.c
index aab914b62b5..f92e3001733 100644
--- a/sys/arch/vax/vax/conf.c
+++ b/sys/arch/vax/vax/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.52 2007/05/28 22:26:03 todd Exp $ */
+/* $OpenBSD: conf.c,v 1.53 2008/04/08 14:31:54 claudio Exp $ */
/* $NetBSD: conf.c,v 1.44 1999/10/27 16:38:54 ragge Exp $ */
/*-
@@ -413,8 +413,8 @@ struct cdevsw cdevsw[] =
cdev_fd_init(1,filedesc), /* 53: file descriptor pseudo-device */
cdev_disk_init(NCCD,ccd), /* 54: concatenated disk driver */
cdev_disk_init(NVND,vnd), /* 55: vnode disk driver */
- cdev_bpftun_init(NBPFILTER,bpf),/* 56: berkeley packet filter */
- cdev_bpftun_init(NTUN,tun), /* 57: tunnel filter */
+ cdev_bpf_init(NBPFILTER,bpf), /* 56: berkeley packet filter */
+ cdev_tun_init(NTUN,tun), /* 57: tunnel filter */
cdev_disk_init(NHD,hd), /* 58: HDC9224/RD?? */
cdev_disk_init(NSD,sd), /* 59: SCSI disk */
cdev_tape_init(NST,st), /* 60: SCSI tape */