summaryrefslogtreecommitdiffstats
path: root/sys/sparc64/sbus
diff options
context:
space:
mode:
authortmm <tmm@FreeBSD.org>2004-03-27 22:39:47 +0000
committertmm <tmm@FreeBSD.org>2004-03-27 22:39:47 +0000
commit8516fa3a52881c636b975c107defeef52dc28358 (patch)
treefec0b8aadf8214ee99dc125c36d18f1eadb64273 /sys/sparc64/sbus
parent22c6f74458bca082b10d211aa9f02187b09fc38c (diff)
downloadFreeBSD-src-8516fa3a52881c636b975c107defeef52dc28358.zip
FreeBSD-src-8516fa3a52881c636b975c107defeef52dc28358.tar.gz
The compatibility specification property is named "compatible", not
"compat". Spotted by: Marius Strobl <marius@alchemy.franken.de>
Diffstat (limited to 'sys/sparc64/sbus')
-rw-r--r--sys/sparc64/sbus/sbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sparc64/sbus/sbus.c b/sys/sparc64/sbus/sbus.c
index 705dcb6..d1afc8e 100644
--- a/sys/sparc64/sbus/sbus.c
+++ b/sys/sparc64/sbus/sbus.c
@@ -460,7 +460,7 @@ sbus_setup_dinfo(struct sbus_softc *sc, phandle_t node, char *name)
resource_list_init(&sdi->sdi_rl);
sdi->sdi_name = name;
sdi->sdi_node = node;
- OF_getprop_alloc(node, "compat", 1, (void **)&sdi->sdi_compat);
+ OF_getprop_alloc(node, "compatible", 1, (void **)&sdi->sdi_compat);
OF_getprop_alloc(node, "device_type", 1, (void **)&sdi->sdi_type);
slot = -1;
nreg = OF_getprop_alloc(node, "reg", sizeof(*reg), (void **)&reg);
OpenPOWER on IntegriCloud