summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2008-07-04 18:48:46 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2008-07-04 18:48:46 +0000
commitf664e3bda8ba8eb8d43ca40bae934aeb5acaa806 (patch)
tree5f6cc59c33ab2b9c7e77788afb2237f45b489013 /sys
parent6501723f3fdcbd55b0183572ccad30ac7d46355e (diff)
Add a little hack to recognize the boot device on the v1280.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sparc64/sparc64/autoconf.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/sparc64/sparc64/autoconf.c b/sys/arch/sparc64/sparc64/autoconf.c
index 0cdff89424e..dfdc7b5fa83 100644
--- a/sys/arch/sparc64/sparc64/autoconf.c
+++ b/sys/arch/sparc64/sparc64/autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.c,v 1.92 2008/07/04 17:20:27 kettenis Exp $ */
+/* $OpenBSD: autoconf.c,v 1.93 2008/07/04 18:48:45 kettenis Exp $ */
/* $NetBSD: autoconf.c,v 1.51 2001/07/24 19:32:11 eeh Exp $ */
/*
@@ -1205,6 +1205,12 @@ device_register(struct device *dev, void *aux)
if (bp == NULL)
return;
+ /*
+ * XXX Skip 'ssm' until we have a real driver for it.
+ */
+ if (strcmp(bp->name, "ssm") == 0)
+ bp = bootpath_store(1, bp + 1);
+
DPRINTF(ACDB_BOOTDEV,
("\n%s: device_register: devname %s(%s) component %s\n",
dev->dv_xname, devname, dev->dv_xname, bp->name));