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/sparc64 | |
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/sparc64')
-rw-r--r-- | sys/arch/sparc64/sparc64/conf.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 */ |