diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2008-04-08 14:31:55 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2008-04-08 14:31:55 +0000 |
commit | 34fe724f25d91e8ccb959ccc4dbe829541f8faa7 (patch) | |
tree | 43a4a33bfc77e60254dee1f810de5c8b9eef8add /sys/arch/arm | |
parent | ccf2ce30e45cf5040831618d665bbd74527afa1c (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/arm')
-rw-r--r-- | sys/arch/arm/arm/conf.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 */ |