diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2005-11-13 21:49:16 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2005-11-13 21:49:16 +0000 |
commit | 7fc922283bbb9d585224428c1a56c35674f7c8e6 (patch) | |
tree | 10f6a0ab001678f1366fae15f44bcdc315a10cd2 /sys/arch/macppc/dev | |
parent | 53c29d5cfacdc0044f407baebec328c13d3f777f (diff) |
match u4
Diffstat (limited to 'sys/arch/macppc/dev')
-rw-r--r-- | sys/arch/macppc/dev/uni_n.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/arch/macppc/dev/uni_n.c b/sys/arch/macppc/dev/uni_n.c index c472218d27a..06e5a165c35 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.12 2005/11/13 19:17:26 kettenis Exp $ */ +/* $OpenBSD: uni_n.c,v 1.13 2005/11/13 21:49:15 drahn Exp $ */ /* * Copyright (c) 1998-2001 Dale Rahn. @@ -83,7 +83,8 @@ memcattach(struct device *parent, struct device *self, void *aux) if (len > 0) name[len] = 0; - if (strcmp(name, "uni-n") == 0 || strcmp(name, "u3") == 0) + if (strcmp(name, "uni-n") == 0 || strcmp(name, "u3") == 0 + || strcmp(name, "u4") == 0) sc->baseaddr = uni_n_config(ca->ca_node); printf (": %s\n", name); @@ -148,7 +149,8 @@ uni_n_config(int handle) if (OF_getprop(handle, "name", name, sizeof name) > 0) { /* sanity test */ - if (strcmp (name, "uni-n") == 0 || strcmp (name, "u3") == 0) { + if (strcmp (name, "uni-n") == 0 || strcmp (name, "u3") == 0 + || strcmp (name, "u4") == 0) { if (OF_getprop(handle, "reg", &address, sizeof address) > 0) { baseaddr = mapiodev(address, NBPG); |