summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/include/autoconf.h
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2001-09-26 20:21:05 +0000
committerJason Wright <jason@cvs.openbsd.org>2001-09-26 20:21:05 +0000
commit0ccfb0dc34bb07d622fc6e61e51834706a5b948f (patch)
treef4c0d9f46148850198ca63732f724ede230f4a20 /sys/arch/sparc64/include/autoconf.h
parent969a85f9ed594a739164d6f5e497169852454ec5 (diff)
grab the "compatible" prom property and use that for searching the device
tree as well as the "name". This allows us to differentiate 'sd' and 'wd' pretty easily (and makes it less ambiguous).
Diffstat (limited to 'sys/arch/sparc64/include/autoconf.h')
-rw-r--r--sys/arch/sparc64/include/autoconf.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/sparc64/include/autoconf.h b/sys/arch/sparc64/include/autoconf.h
index f98d419b5fe..b9166043b06 100644
--- a/sys/arch/sparc64/include/autoconf.h
+++ b/sys/arch/sparc64/include/autoconf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.h,v 1.4 2001/08/31 15:12:05 jason Exp $ */
+/* $OpenBSD: autoconf.h,v 1.5 2001/09/26 20:21:04 jason Exp $ */
/* $NetBSD: autoconf.h,v 1.10 2001/07/24 19:32:11 eeh Exp $ */
/*-
@@ -157,6 +157,7 @@ char *clockfreq __P((long freq));
/* Openprom V2 style boot path */
struct bootpath {
char name[16]; /* name of this node */
+ char compatible[16]; /* "compatible" name of this node */
int val[3]; /* up to three optional values */
struct device *dev; /* device that recognised this component */
};