diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2007-02-06 22:39:14 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2007-02-06 22:39:14 +0000 |
commit | edf6f88ae9200110423d88ff207347ffaaea31d2 (patch) | |
tree | 3f81faaf505bc642fcebdc16ddd048edf029635f /sys/arch/macppc | |
parent | 9ec0373c90abba62c24ecf1663b040d6515d5431 (diff) |
define the bio(4) cdev stuff in conf.h, rather than having a per machine
definition. switch amd64 and i386 to the conf.h version, and add it to
macppc.
original diff ok gwk@ tweaks and ok miod@
Diffstat (limited to 'sys/arch/macppc')
-rw-r--r-- | sys/arch/macppc/macppc/conf.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/macppc/macppc/conf.c b/sys/arch/macppc/macppc/conf.c index e237b6d7495..e2c1ef27218 100644 --- a/sys/arch/macppc/macppc/conf.c +++ b/sys/arch/macppc/macppc/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.28 2006/03/27 06:15:24 deraadt Exp $ */ +/* $OpenBSD: conf.c,v 1.29 2007/02/06 22:39:13 dlg Exp $ */ /* * Copyright (c) 1997 Per Fogelstrom @@ -149,6 +149,7 @@ cdev_decl(pci); #include "bktr.h" #include "hotplug.h" #include "gpio.h" +#include "bio.h" struct cdevsw cdevsw[] = { cdev_cn_init(1,cn), /* 0: virtual console */ @@ -243,6 +244,7 @@ struct cdevsw cdevsw[] = { cdev_ptm_init(NPTY,ptm), /* 77: pseudo-tty ptm device */ cdev_hotplug_init(NHOTPLUG,hotplug), /* 78: devices hot plugging */ cdev_gpio_init(NGPIO,gpio), /* 79: GPIO interface */ + cdev_bio_init(NBIO,bio), /* 80: ioctl tunnel */ }; int nchrdev = sizeof cdevsw / sizeof cdevsw[0]; |