diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-07-05 02:40:45 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-07-05 02:40:45 +0000 |
commit | 19d81b39343f8984385993dbba9444e159fb5313 (patch) | |
tree | 75c680a07d0d650f8613a9c64acbdc3bb294b89f | |
parent | 803d496d8055f981e6d270992273e38147fca3a5 (diff) |
add iop
-rw-r--r-- | sys/arch/alpha/alpha/conf.c | 5 | ||||
-rw-r--r-- | sys/arch/powerpc/powerpc/conf.c | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/sys/arch/alpha/alpha/conf.c b/sys/arch/alpha/alpha/conf.c index 5d7b3b13d15..77f1bd426db 100644 --- a/sys/arch/alpha/alpha/conf.c +++ b/sys/arch/alpha/alpha/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.28 2001/06/27 06:16:39 angelos Exp $ */ +/* $OpenBSD: conf.c,v 1.29 2001/07/05 02:40:43 mickey Exp $ */ /* $NetBSD: conf.c,v 1.16 1996/10/18 21:26:57 cgd Exp $ */ /*- @@ -95,6 +95,7 @@ cdev_decl(sw); #include "tun.h" dev_type_open(filedescopen); #include "bpfilter.h" +#include "iop.h" #include "ch.h" #include "scc.h" cdev_decl(scc); @@ -108,7 +109,6 @@ cdev_decl(com); #include "lpt.h" cdev_decl(lpt); cdev_decl(rd); -cdev_decl(raid); cdev_decl(prom); /* XXX XXX XXX */ cdev_decl(wd); #include "cy.h" @@ -206,6 +206,7 @@ struct cdevsw cdevsw[] = cdev_notdef(), #endif cdev_altq_init(NALTQ, altq), /* 53: ALTQ control interface */ + cdev_iop_init(NIOP, iop), /* 54: I2O IOP control interface */ }; int nchrdev = sizeof (cdevsw) / sizeof (cdevsw[0]); diff --git a/sys/arch/powerpc/powerpc/conf.c b/sys/arch/powerpc/powerpc/conf.c index abc93c780ba..fe78f96c084 100644 --- a/sys/arch/powerpc/powerpc/conf.c +++ b/sys/arch/powerpc/powerpc/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.23 2001/06/27 06:56:29 kjc Exp $ */ +/* $OpenBSD: conf.c,v 1.24 2001/07/05 02:40:44 mickey Exp $ */ /* * Copyright (c) 1997 Per Fogelstrom @@ -133,7 +133,7 @@ cdev_decl(vnd); cdev_decl(ccd); cdev_decl(rd); #include "raid.h" -cdev_decl(raid); +#include "iop.h" #include <wd.h> cdev_decl(wd); @@ -277,6 +277,7 @@ struct cdevsw cdevsw[] = { cdev_notdef(), #endif cdev_altq_init(NALTQ,altq), /* 72: ALTQ control interface */ + cdev_iop_init(NIOP,iop), /* 73: I2O IOP control interface */ }; int nchrdev = sizeof cdevsw / sizeof cdevsw[0]; |