summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/macppc/dev/uni_n.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/macppc/dev/uni_n.c b/sys/arch/macppc/dev/uni_n.c
index 6de710fb511..4c25ac357de 100644
--- a/sys/arch/macppc/dev/uni_n.c
+++ b/sys/arch/macppc/dev/uni_n.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uni_n.c,v 1.9 2003/10/16 03:54:48 deraadt Exp $ */
+/* $OpenBSD: uni_n.c,v 1.10 2005/09/26 19:53:41 kettenis Exp $ */
/*
* Copyright (c) 1998-2001 Dale Rahn.
@@ -78,7 +78,7 @@ memcattach(struct device *parent, struct device *self, void *aux)
if (len > 0)
name[len] = 0;
- if (strcmp (name, "uni-n")== 0)
+ if (strcmp(name, "uni-n") == 0 || strcmp(name, "u3") == 0)
sc->baseaddr = uni_n_config(ca->ca_node);
printf (": %s\n", name);
@@ -94,7 +94,7 @@ uni_n_config(int handle)
if (OF_getprop(handle, "name", name, sizeof name) > 0) {
/* sanity test */
- if (!strcmp (name, "uni-n")) {
+ if (strcmp (name, "uni-n") == 0 || strcmp (name, "u3") == 0) {
if (OF_getprop(handle, "reg", &address,
sizeof address) > 0) {
baseaddr = mapiodev(address, NBPG);