summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorTodd T. Fries <todd@cvs.openbsd.org>2007-05-26 19:54:25 +0000
committerTodd T. Fries <todd@cvs.openbsd.org>2007-05-26 19:54:25 +0000
commitb74fd6e9c996487c209c24b8a0647fe8d92ca9eb (patch)
treeab21dd7a3709dcffdc5048818631d9d69e684ed7 /sys/arch
parent154073b242dff4bd7bdf0e293815b3e9f76353fb (diff)
prodded by marco, enable bio everywhere
grudgingly ok deraadt@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/alpha/alpha/conf.c5
-rw-r--r--sys/arch/amd64/conf/GENERIC3
-rw-r--r--sys/arch/arm/arm/conf.c11
-rw-r--r--sys/arch/aviion/aviion/conf.c5
-rw-r--r--sys/arch/hp300/hp300/conf.c5
-rw-r--r--sys/arch/hppa/hppa/conf.c5
-rw-r--r--sys/arch/hppa64/hppa64/conf.c5
-rw-r--r--sys/arch/i386/conf/GENERIC3
-rw-r--r--sys/arch/landisk/landisk/conf.c5
-rw-r--r--sys/arch/luna88k/luna88k/conf.c5
-rw-r--r--sys/arch/mac68k/mac68k/conf.c5
-rw-r--r--sys/arch/mvme68k/mvme68k/conf.c5
-rw-r--r--sys/arch/mvme88k/mvme88k/conf.c5
-rw-r--r--sys/arch/mvmeppc/mvmeppc/conf.c5
-rw-r--r--sys/arch/sgi/sgi/conf.c5
-rw-r--r--sys/arch/sparc/sparc/conf.c5
-rw-r--r--sys/arch/sparc64/sparc64/conf.c5
-rw-r--r--sys/arch/vax/vax/conf.c5
18 files changed, 57 insertions, 35 deletions
diff --git a/sys/arch/alpha/alpha/conf.c b/sys/arch/alpha/alpha/conf.c
index 9e45d42607f..8996e4b9a45 100644
--- a/sys/arch/alpha/alpha/conf.c
+++ b/sys/arch/alpha/alpha/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.51 2005/11/15 14:36:48 robert Exp $ */
+/* $OpenBSD: conf.c,v 1.52 2007/05/26 19:54:24 todd Exp $ */
/* $NetBSD: conf.c,v 1.16 1996/10/18 21:26:57 cgd Exp $ */
/*-
@@ -104,6 +104,7 @@ cdev_decl(music);
#include "spkr.h"
cdev_decl(spkr);
+#include "bio.h"
#include "lpt.h"
cdev_decl(lpt);
cdev_decl(prom); /* XXX XXX XXX */
@@ -178,7 +179,7 @@ struct cdevsw cdevsw[] =
cdev_midi_init(NMIDI,midi), /* 41: MIDI I/O */
cdev_midi_init(NSEQUENCER,sequencer), /* 42: sequencer I/O */
cdev_disk_init(NRAID,raid), /* 43: RAIDframe disk driver */
- cdev_notdef(), /* 44 */
+ cdev_bio_init(NBIO,bio), /* 44: ioctl tunnel */
cdev_usb_init(NUSB,usb), /* 45: USB controller */
cdev_usbdev_init(NUHID,uhid), /* 46: USB generic HID */
cdev_ulpt_init(NULPT,ulpt), /* 47: USB printer */
diff --git a/sys/arch/amd64/conf/GENERIC b/sys/arch/amd64/conf/GENERIC
index ccd00333035..9a0dbe0c977 100644
--- a/sys/arch/amd64/conf/GENERIC
+++ b/sys/arch/amd64/conf/GENERIC
@@ -1,4 +1,4 @@
-# $OpenBSD: GENERIC,v 1.182 2007/05/22 09:18:45 robert Exp $
+# $OpenBSD: GENERIC,v 1.183 2007/05/26 19:54:24 todd Exp $
#
# For further information on compiling OpenBSD kernels, see the config(8)
# man page.
@@ -517,7 +517,6 @@ owtemp* at onewire? # Temperature
pseudo-device sequencer 1
#pseudo-device raid 4 # RAIDframe disk driver
-pseudo-device bio 1 # ioctl multiplexing device
pseudo-device hotplug 1 # devices hot plugging
# mouse & keyboard multiplexor pseudo-devices
diff --git a/sys/arch/arm/arm/conf.c b/sys/arch/arm/arm/conf.c
index 4bed188dc0d..0568f3a77da 100644
--- a/sys/arch/arm/arm/conf.c
+++ b/sys/arch/arm/arm/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.13 2006/07/28 17:35:55 kettenis Exp $ */
+/* $OpenBSD: conf.c,v 1.14 2007/05/26 19:54:24 todd Exp $ */
/* $NetBSD: conf.c,v 1.10 2002/04/19 01:04:38 wiz Exp $ */
/*
@@ -113,6 +113,7 @@ cdev_decl(pci);
#include "ch.h"
#include "uk.h"
#include "ss.h"
+#include "bio.h"
/*
* Audio devices
@@ -390,7 +391,11 @@ struct cdevsw cdevsw[] = {
cdev_notdef(), /* 93: removed device */
cdev_notdef(), /* 94: removed device */
cdev_notdef(), /* 95: removed device */
+#ifdef __zaurus__
+ cdev_disk_init(NFLASH,flash), /* 96: flash ROM devices */
+#else
cdev_notdef(), /* 96: removed device */
+#endif
cdev_radio_init(NRADIO,radio), /* 97: generic radio I/O */
cdev_ptm_init(NPTY,ptm), /* 98: pseudo-tty ptm device */
cdev_spkr_init(NSPKR,spkr), /* 99: PC speaker */
@@ -532,7 +537,11 @@ int chrtoblktbl[] = {
/* 93 */ NODEV,
/* 94 */ NODEV,
/* 95 */ NODEV,
+#ifdef __zaurus__
+ /* 96 */ 96,
+#else
/* 96 */ NODEV,
+#endif
/* 97 */ NODEV,
};
int nchrtoblktbl = sizeof(chrtoblktbl) / sizeof(chrtoblktbl[0]);
diff --git a/sys/arch/aviion/aviion/conf.c b/sys/arch/aviion/aviion/conf.c
index 91e07922dc7..5335ba5367e 100644
--- a/sys/arch/aviion/aviion/conf.c
+++ b/sys/arch/aviion/aviion/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.1 2006/04/25 15:54:13 miod Exp $ */
+/* $OpenBSD: conf.c,v 1.2 2007/05/26 19:54:24 todd Exp $ */
/*-
* Copyright (c) 1991 The Regents of the University of California.
@@ -48,6 +48,7 @@
#include "ksyms.h"
#include "nvram.h"
#include "pf.h"
+#include "bio.h"
#include "pty.h"
#include "rd.h"
#include "sd.h"
@@ -96,7 +97,7 @@ 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_notdef(), /* 7: /dev/sramX */
+ cdev_bio_init(NBIO,bio), /* 7: ioctl tunnel */
cdev_disk_init(NSD,sd), /* 8: SCSI disk */
cdev_disk_init(NCD,cd), /* 9: SCSI CD-ROM */
cdev_mm_init(NNVRAM,nvram), /* 10: /dev/nvramX */
diff --git a/sys/arch/hp300/hp300/conf.c b/sys/arch/hp300/hp300/conf.c
index 6a388958fd0..cc2ef2924e8 100644
--- a/sys/arch/hp300/hp300/conf.c
+++ b/sys/arch/hp300/hp300/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.38 2005/12/31 18:13:44 miod Exp $ */
+/* $OpenBSD: conf.c,v 1.39 2007/05/26 19:54:24 todd Exp $ */
/* $NetBSD: conf.c,v 1.39 1997/05/12 08:17:53 thorpej Exp $ */
/*-
@@ -83,6 +83,7 @@ int nblkdev = sizeof(bdevsw) / sizeof(bdevsw[0]);
dev_init(c,n,write), dev_init(c,n,ioctl), (dev_type_stop((*))) nullop, \
0, (dev_type_poll((*))) enodev, (dev_type_mmap((*))) enodev }
+#include "bio.h"
#define mmread mmrw
#define mmwrite mmrw
cdev_decl(mm);
@@ -125,7 +126,7 @@ struct cdevsw cdevsw[] =
cdev_tape_init(NCT,ct), /* 7: cs80 cartridge tape */
cdev_disk_init(NSD,sd), /* 8: SCSI disk */
cdev_disk_init(NHD,hd), /* 9: HPIB disk */
- cdev_notdef(), /* 10: vas frame buffer */
+ cdev_bio_init(NBIO,bio), /* 10: ioctl tunnel */
cdev_ppi_init(NPPI,ppi), /* 11: printer/plotter interface */
cdev_tty_init(NDCA,dca), /* 12: built-in single-port serial */
cdev_notdef(), /* 13: was console terminal emulator */
diff --git a/sys/arch/hppa/hppa/conf.c b/sys/arch/hppa/hppa/conf.c
index 3a618fd2f88..ed401b552e9 100644
--- a/sys/arch/hppa/hppa/conf.c
+++ b/sys/arch/hppa/hppa/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.37 2007/04/18 19:49:53 todd Exp $ */
+/* $OpenBSD: conf.c,v 1.38 2007/05/26 19:54:24 todd Exp $ */
/*-
* Copyright (c) 1991 The Regents of the University of California.
@@ -81,6 +81,7 @@ struct bdevsw bdevsw[] =
int nblkdev = sizeof(bdevsw) / sizeof(bdevsw[0]);
#include "audio.h"
+#include "bio.h"
#include "pty.h"
#include "wsdisplay.h"
#include "wskbd.h"
@@ -169,7 +170,7 @@ struct cdevsw cdevsw[] =
cdev_systrace_init(NSYSTRACE,systrace), /* 34: system call tracing */
cdev_audio_init(NAUDIO,audio), /* 35: /dev/audio */
cdev_crypto_init(NCRYPTO,crypto), /* 36: /dev/crypto */
- cdev_notdef(), /* 37: */
+ cdev_bio_init(NBIO,bio), /* 37: ioctl tunnel */
cdev_ptm_init(NPTY,ptm), /* 38: pseudo-tty ptm device */
cdev_disk_init(NWD,wd), /* 39: ST506 disk */
cdev_usb_init(NUSB,usb), /* 40: USB controller */
diff --git a/sys/arch/hppa64/hppa64/conf.c b/sys/arch/hppa64/hppa64/conf.c
index 03ee84abc68..57fc58ba8d4 100644
--- a/sys/arch/hppa64/hppa64/conf.c
+++ b/sys/arch/hppa64/hppa64/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.3 2005/12/31 22:41:38 miod Exp $ */
+/* $OpenBSD: conf.c,v 1.4 2007/05/26 19:54:24 todd Exp $ */
/*-
* Copyright (c) 1991 The Regents of the University of California.
@@ -82,6 +82,7 @@ struct bdevsw bdevsw[] =
int nblkdev = sizeof(bdevsw) / sizeof(bdevsw[0]);
#include "audio.h"
+#include "bio.h"
#include "pty.h"
#include "wsdisplay.h"
#include "wskbd.h"
@@ -161,7 +162,7 @@ struct cdevsw cdevsw[] =
cdev_systrace_init(NSYSTRACE,systrace), /* 34: system call tracing */
cdev_audio_init(NAUDIO,audio), /* 35: /dev/audio */
cdev_crypto_init(NCRYPTO,crypto), /* 36: /dev/crypto */
- cdev_notdef(), /* 37 */
+ cdev_bio_init(NBIO,bio), /* 37: ioctl tunnel */
cdev_ptm_init(NPTY,ptm), /* 38: pseudo-tty ptm device */
cdev_disk_init(NWD,wd), /* 39: ST506 disk */
cdev_lkm_dummy(),
diff --git a/sys/arch/i386/conf/GENERIC b/sys/arch/i386/conf/GENERIC
index 2627af8be0e..f4d41507b3f 100644
--- a/sys/arch/i386/conf/GENERIC
+++ b/sys/arch/i386/conf/GENERIC
@@ -1,4 +1,4 @@
-# $OpenBSD: GENERIC,v 1.556 2007/05/22 09:18:44 robert Exp $
+# $OpenBSD: GENERIC,v 1.557 2007/05/26 19:54:24 todd Exp $
#
# For further information on compiling OpenBSD kernels, see the config(8)
# man page.
@@ -719,7 +719,6 @@ pseudo-device mtrr 1 # Memory range attributes control
pseudo-device nvram 1
pseudo-device sequencer 1
#pseudo-device raid 4 # RAIDframe disk driver
-pseudo-device bio 1 # ioctl multiplexing device
pseudo-device hotplug 1 # devices hot plugging
# mouse & keyboard multiplexor pseudo-devices
diff --git a/sys/arch/landisk/landisk/conf.c b/sys/arch/landisk/landisk/conf.c
index 0002a8da0ce..e6c55f6f68e 100644
--- a/sys/arch/landisk/landisk/conf.c
+++ b/sys/arch/landisk/landisk/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.3 2006/11/03 20:21:23 mickey Exp $ */
+/* $OpenBSD: conf.c,v 1.4 2007/05/26 19:54:24 todd Exp $ */
/*
* Copyright (c) 1994-1998 Mark Brinicombe.
@@ -70,6 +70,7 @@
*/
#include "bpfilter.h"
#include "pf.h"
+#include "bio.h"
#include "pty.h"
#include "tun.h"
#include "ksyms.h"
@@ -317,7 +318,7 @@ struct cdevsw cdevsw[] = {
cdev_lkm_init(NLKM,lkm), /* 35: loadable module driver */
cdev_audio_init(NAUDIO,audio), /* 36: generic audio I/O */
cdev_hotplug_init(NHOTPLUG,hotplug), /* 37: devices hot plugging*/
- cdev_notdef(), /* 38: removed cpu device */
+ cdev_bio_init(NBIO,bio), /* 38: removed cpu device */
cdev_lkm_dummy(), /* 39: reserved */
cdev_random_init(1,random), /* 40: random generator */
cdev_lkm_dummy(), /* 41: reserved */
diff --git a/sys/arch/luna88k/luna88k/conf.c b/sys/arch/luna88k/luna88k/conf.c
index bafce4aca60..f2957acd5f6 100644
--- a/sys/arch/luna88k/luna88k/conf.c
+++ b/sys/arch/luna88k/luna88k/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.4 2007/02/09 14:26:09 aoyama Exp $ */
+/* $OpenBSD: conf.c,v 1.5 2007/05/26 19:54:24 todd Exp $ */
/*-
* Copyright (c) 1991 The Regents of the University of California.
@@ -40,6 +40,7 @@
#include <machine/conf.h>
+#include "bio.h"
#include "pty.h"
#include "bpfilter.h"
#include "tun.h"
@@ -103,7 +104,7 @@ 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_notdef(), /* 7: */
+ cdev_bio_init(NBIO,bio), /* 7: ioctl tunnel */
cdev_disk_init(NSD,sd), /* 8: SCSI disk */
cdev_disk_init(NCD,cd), /* 9: SCSI CD-ROM */
cdev_lcd_init(NLCD,lcd), /* 10: /dev/lcd */
diff --git a/sys/arch/mac68k/mac68k/conf.c b/sys/arch/mac68k/mac68k/conf.c
index ea2e8766aec..b41839f7729 100644
--- a/sys/arch/mac68k/mac68k/conf.c
+++ b/sys/arch/mac68k/mac68k/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.36 2006/01/04 20:39:05 miod Exp $ */
+/* $OpenBSD: conf.c,v 1.37 2007/05/26 19:54:24 todd Exp $ */
/* $NetBSD: conf.c,v 1.41 1997/02/11 07:35:49 scottr Exp $ */
/*
@@ -79,6 +79,7 @@ int nblkdev = sizeof(bdevsw) / sizeof(bdevsw[0]);
#define mmread mmrw
#define mmwrite mmrw
cdev_decl(mm);
+#include "bio.h"
#include "pty.h"
#include "ss.h"
#include "uk.h"
@@ -114,7 +115,7 @@ 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_notdef(), /* 7 */
+ cdev_bio_init(NBIO,bio), /* 7: ioctl tunnel */
cdev_notdef(), /* 8 */
cdev_notdef(), /* 9 */
cdev_notdef(), /* 10 was GRF */
diff --git a/sys/arch/mvme68k/mvme68k/conf.c b/sys/arch/mvme68k/mvme68k/conf.c
index 1e22125c7ea..ea22077c05f 100644
--- a/sys/arch/mvme68k/mvme68k/conf.c
+++ b/sys/arch/mvme68k/mvme68k/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.38 2006/04/21 22:21:54 miod Exp $ */
+/* $OpenBSD: conf.c,v 1.39 2007/05/26 19:54:24 todd Exp $ */
/*-
* Copyright (c) 1995 Theo de Raadt
@@ -111,6 +111,7 @@ int nblkdev = sizeof(bdevsw) / sizeof(bdevsw[0]);
#include "nvram.h"
#include "flash.h"
+#include "bio.h"
#include "pty.h"
cdev_decl(fd);
@@ -167,7 +168,7 @@ struct cdevsw cdevsw[] =
cdev_mdev_init(NFLASH,flash), /* 11: /dev/flashX */
cdev_tty_init(NZS,zs), /* 12: SCC serial (tty[a-d]) */
cdev_tty_init(NCL,cl), /* 13: CL-CD2400 serial (tty0[0-3]) */
- cdev_notdef(), /* 14 */
+ cdev_bio_init(NBIO,bio), /* 14: ioctl tunnel */
cdev_notdef(), /* 15 */
cdev_notdef(), /* 16 */
cdev_disk_init(NCCD,ccd), /* 17: concatenated disk */
diff --git a/sys/arch/mvme88k/mvme88k/conf.c b/sys/arch/mvme88k/mvme88k/conf.c
index 6db7e728dba..a858cb4f6da 100644
--- a/sys/arch/mvme88k/mvme88k/conf.c
+++ b/sys/arch/mvme88k/mvme88k/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.31 2006/05/02 21:43:09 miod Exp $ */
+/* $OpenBSD: conf.c,v 1.32 2007/05/26 19:54:24 todd Exp $ */
/*-
* Copyright (c) 1991 The Regents of the University of California.
@@ -40,6 +40,7 @@
#include <machine/conf.h>
+#include "bio.h"
#include "pty.h"
#include "bpfilter.h"
#include "tun.h"
@@ -148,7 +149,7 @@ struct cdevsw cdevsw[] =
#endif /* notyet */
cdev_tty_init(NDART,dart), /* 12: MVME188 serial (tty[a-b]) */
cdev_tty_init(NCL,cl), /* 13: CL-CD1400 serial (tty0[0-3]) */
- cdev_notdef(), /* 14 */
+ cdev_bio_init(NBIO,bio), /* 14: ioctl tunnel */
cdev_tty_init(NVX,vx), /* 15: MVME332XT serial/lpt ttyv[0-7][a-i] */
cdev_notdef(), /* 16 */
cdev_disk_init(NCCD,ccd), /* 17: concatenated disk */
diff --git a/sys/arch/mvmeppc/mvmeppc/conf.c b/sys/arch/mvmeppc/mvmeppc/conf.c
index 88a5064fc7d..0f36a6a9012 100644
--- a/sys/arch/mvmeppc/mvmeppc/conf.c
+++ b/sys/arch/mvmeppc/mvmeppc/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.17 2004/02/10 01:31:21 millert Exp $ */
+/* $OpenBSD: conf.c,v 1.18 2007/05/26 19:54:24 todd Exp $ */
/*
* Copyright (c) 1997 Per Fogelstrom
@@ -84,6 +84,7 @@ struct bdevsw bdevsw[] = {
};
int nblkdev = sizeof bdevsw / sizeof bdevsw[0];
+#include "bio.h"
#include "pty.h"
#include "bugtty.h"
@@ -133,7 +134,7 @@ struct cdevsw cdevsw[] = {
cdev_disk_init(NCD,cd), /* 9: SCSI CD-ROM */
cdev_notdef(), /* 10: SCSI changer */
cdev_disk_init(NWD,wd), /* 11: ST506/ESDI/IDE disk */
- cdev_notdef(), /* 12 */
+ cdev_bio_init(NBIO,bio), /* 12: ioctl tunnel */
cdev_notdef(), /* 13 */
cdev_tty_init(NBUGTTY,bugtty), /* 14: BUGtty (ttyB) */
cdev_notdef(), /* 15 */
diff --git a/sys/arch/sgi/sgi/conf.c b/sys/arch/sgi/sgi/conf.c
index 1f16718ab6f..e39ed5b25ea 100644
--- a/sys/arch/sgi/sgi/conf.c
+++ b/sys/arch/sgi/sgi/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.9 2005/08/01 15:43:51 miod Exp $ */
+/* $OpenBSD: conf.c,v 1.10 2007/05/26 19:54:24 todd Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -93,6 +93,7 @@ int nblkdev = sizeof (bdevsw) / sizeof (bdevsw[0]);
#define mmwrite mmrw
dev_type_read(mmrw);
cdev_decl(mm);
+#include "bio.h"
#include "pty.h"
cdev_decl(fd);
#include "st.h"
@@ -141,7 +142,7 @@ struct cdevsw cdevsw[] =
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_notdef(), /* 14: */
+ cdev_bio_init(NBIO,bio), /* 14: ioctl tunnel */
cdev_notdef(), /* 15: */
cdev_lpt_init(NLPT,lpt), /* 16: Parallel printer interface */
cdev_tty_init(NCOM,com), /* 17: 16C450 serial interface */
diff --git a/sys/arch/sparc/sparc/conf.c b/sys/arch/sparc/sparc/conf.c
index eb7dce4505c..6f2848741e0 100644
--- a/sys/arch/sparc/sparc/conf.c
+++ b/sys/arch/sparc/sparc/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.43 2005/07/31 06:39:07 dlg Exp $ */
+/* $OpenBSD: conf.c,v 1.44 2007/05/26 19:54:24 todd Exp $ */
/* $NetBSD: conf.c,v 1.40 1996/04/11 19:20:03 thorpej Exp $ */
/*
@@ -51,6 +51,7 @@
#include <machine/conf.h>
+#include "bio.h"
#include "pty.h"
#include "bpfilter.h"
#include "tun.h"
@@ -134,7 +135,7 @@ struct cdevsw cdevsw[] =
cdev_notdef(), /* 1 */
cdev_ctty_init(1,ctty), /* 2: controlling terminal */
cdev_mm_init(1,mm), /* 3: /dev/{null,mem,kmem,...} */
- cdev_notdef(), /* 4 */
+ cdev_bio_init(NBIO,bio), /* 4: ioctl tunnel */
cdev_notdef(), /* 5 */
cdev_notdef(), /* 6 */
cdev_swap_init(1,sw), /* 7: /dev/drum (swap pseudo-device) */
diff --git a/sys/arch/sparc64/sparc64/conf.c b/sys/arch/sparc64/sparc64/conf.c
index c8d0a0cc6e6..9234161cc9c 100644
--- a/sys/arch/sparc64/sparc64/conf.c
+++ b/sys/arch/sparc64/sparc64/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.41 2007/02/28 18:48:35 miod Exp $ */
+/* $OpenBSD: conf.c,v 1.42 2007/05/26 19:54:24 todd Exp $ */
/* $NetBSD: conf.c,v 1.17 2001/03/26 12:33:26 lukem Exp $ */
/*
@@ -51,6 +51,7 @@
#include <machine/conf.h>
+#include "bio.h"
#include "pty.h"
#include "bpfilter.h"
#include "tun.h"
@@ -151,7 +152,7 @@ struct cdevsw cdevsw[] =
cdev_notdef(), /* 1: tapemaster tape */
cdev_ctty_init(1,ctty), /* 2: controlling terminal */
cdev_mm_init(1,mm), /* 3: /dev/{null,mem,kmem,...} */
- cdev_notdef(), /* 4 */
+ cdev_bio_init(NBIO,bio), /* 4: ioctl tunnel */
cdev_notdef(), /* 5: tapemaster tape */
cdev_notdef(), /* 6: systech/versatec */
cdev_swap_init(1,sw), /* 7: /dev/drum (swap pseudo-device) */
diff --git a/sys/arch/vax/vax/conf.c b/sys/arch/vax/vax/conf.c
index dde59a7f14c..65954d420ff 100644
--- a/sys/arch/vax/vax/conf.c
+++ b/sys/arch/vax/vax/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.49 2006/08/27 16:55:41 miod Exp $ */
+/* $OpenBSD: conf.c,v 1.50 2007/05/26 19:54:24 todd Exp $ */
/* $NetBSD: conf.c,v 1.44 1999/10/27 16:38:54 ragge Exp $ */
/*-
@@ -229,6 +229,7 @@ struct consdev constab[]={
#define mmread mmrw
#define mmwrite mmrw
cdev_decl(mm);
+#include "bio.h"
#include "pty.h"
cdev_decl(hp);
@@ -361,7 +362,7 @@ struct cdevsw cdevsw[] =
cdev_ctty_init(1,ctty), /* 2: controlling terminal */
cdev_mm_init(1,mm), /* 3: /dev/{null,mem,kmem,...} */
cdev_disk_init(NHP,hp), /* 4: Massbuss disk */
- cdev_notdef(), /* 5 */
+ cdev_bio_init(NBIO,bio), /* 5: ioctl tunnel */
cdev_plotter_init(NVP,vp), /* 6: Versatec plotter */
cdev_swap_init(1,sw), /* 7 */
cdev_cnstore_init(NCFL,cfl), /* 8: 11/780 console floppy */