summaryrefslogtreecommitdiff
path: root/sys/arch/macppc/dev/uni_n.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2005-11-13 19:17:27 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2005-11-13 19:17:27 +0000
commitc940445be43581f2bc09ec986d47741e95ed9a54 (patch)
treeeaea0cc477178bc4a2a1d175b242370c3d662b5b /sys/arch/macppc/dev/uni_n.c
parent9f5ff11c4e25dbd494e84457d5d6eaf82efebe84 (diff)
Attach children for matched controllers, not just u3.
ok deraadt@
Diffstat (limited to 'sys/arch/macppc/dev/uni_n.c')
-rw-r--r--sys/arch/macppc/dev/uni_n.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/macppc/dev/uni_n.c b/sys/arch/macppc/dev/uni_n.c
index 1d89c48dad3..c472218d27a 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.11 2005/10/23 16:50:30 drahn Exp $ */
+/* $OpenBSD: uni_n.c,v 1.12 2005/11/13 19:17:26 kettenis Exp $ */
/*
* Copyright (c) 1998-2001 Dale Rahn.
@@ -88,8 +88,7 @@ memcattach(struct device *parent, struct device *self, void *aux)
printf (": %s\n", name);
- if (strcmp(name, "u3") == 0)
- memc_attach_children(sc, ca->ca_node);
+ memc_attach_children(sc, ca->ca_node);
}
void