summaryrefslogtreecommitdiff
path: root/sys/dev/ofw
diff options
context:
space:
mode:
authorDale S. Rahn <rahnds@cvs.openbsd.org>2000-01-15 17:17:46 +0000
committerDale S. Rahn <rahnds@cvs.openbsd.org>2000-01-15 17:17:46 +0000
commit8150ca0e3ee416eec526477af61a5237b6d8f289 (patch)
treee65f598a59d27e4d4524b8b37b0d7a312ac2b178 /sys/dev/ofw
parent01f3a3293bad0f5c130117d82810c2c14f249640 (diff)
use model instead of name, more constistant with determining machine type.
Diffstat (limited to 'sys/dev/ofw')
-rw-r--r--sys/dev/ofw/ofbus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ofw/ofbus.c b/sys/dev/ofw/ofbus.c
index 41e3fec1c84..bc25fee7439 100644
--- a/sys/dev/ofw/ofbus.c
+++ b/sys/dev/ofw/ofbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ofbus.c,v 1.6 1999/10/28 04:25:25 rahnds Exp $ */
+/* $OpenBSD: ofbus.c,v 1.7 2000/01/15 17:17:45 rahnds Exp $ */
/* $NetBSD: ofbus.c,v 1.3 1996/10/13 01:38:11 christos Exp $ */
/*
@@ -120,7 +120,7 @@ ofrattach(parent, dev, aux)
ofbprint(ofp, 0);
printf("\n");
- if ((l = OF_getprop(ofp->phandle, "name", ofname, sizeof ofname - 1)) < 0)
+ if ((l = OF_getprop(ofp->phandle, "model", ofname, sizeof ofname - 1)) < 0)
{
/* no system name? */
} else {