summaryrefslogtreecommitdiff
path: root/sys/arch/mvmeppc/dev/mainbus.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2004-05-14 20:38:33 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2004-05-14 20:38:33 +0000
commit40415f62a5f614d6d6b0b9a92882934895e42f1a (patch)
treef62ae144e85f5a31d99f62553c895dad2f92ce22 /sys/arch/mvmeppc/dev/mainbus.c
parent0d614b6af11e9dadea6b33f9766b03b9f388342b (diff)
Attach a working bugtty device - userland needs at least a console tty.
Diffstat (limited to 'sys/arch/mvmeppc/dev/mainbus.c')
-rw-r--r--sys/arch/mvmeppc/dev/mainbus.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/sys/arch/mvmeppc/dev/mainbus.c b/sys/arch/mvmeppc/dev/mainbus.c
index 8882258b435..a616cef8f0a 100644
--- a/sys/arch/mvmeppc/dev/mainbus.c
+++ b/sys/arch/mvmeppc/dev/mainbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mainbus.c,v 1.8 2004/01/29 21:33:10 miod Exp $ */
+/* $OpenBSD: mainbus.c,v 1.9 2004/05/14 20:38:32 miod Exp $ */
/*
* Copyright (c) 1994, 1995 Carnegie-Mellon University.
@@ -109,10 +109,17 @@ mbattach(struct device *parent, struct device *self, void *aux)
config_found(self, &nca, mbprint);
/*
+ * Attach the BUG terminal services if necessary.
+ */
+ nca.ca_name = "bugtty";
+ nca.ca_bus = &sc->sc_bus;
+ config_found(self, &nca, mbprint);
+
+ /*
* Find and attach the PCI Northbridge. It will find and attach
* everything.
*/
- nca.ca_name = "mpcpcibr";
+ nca.ca_name = "raven";
nca.ca_bus = &sc->sc_bus;
config_found(self, &nca, mbprint);
}