diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2010-04-17 11:05:54 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2010-04-17 11:05:54 +0000 |
commit | 9f0aea654ca3ee11a57264a4b6489fe6a8f8e079 (patch) | |
tree | bc1465c37b84f9ca8041dbbe3e9fa47d9c0b63bd /sys/arch/sgi | |
parent | f0602065e653c21d7bd13dfb5a222717772c1de4 (diff) |
Do not forget to set nasid to the right value when trying to attach spdmem.
Diffstat (limited to 'sys/arch/sgi')
-rw-r--r-- | sys/arch/sgi/sgi/ip27_machdep.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/sgi/sgi/ip27_machdep.c b/sys/arch/sgi/sgi/ip27_machdep.c index e8c188bc3f8..c520a21a0af 100644 --- a/sys/arch/sgi/sgi/ip27_machdep.c +++ b/sys/arch/sgi/sgi/ip27_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip27_machdep.c,v 1.48 2010/04/06 19:15:29 miod Exp $ */ +/* $OpenBSD: ip27_machdep.c,v 1.49 2010/04/17 11:05:53 miod Exp $ */ /* * Copyright (c) 2008, 2009 Miodrag Vallat. @@ -337,9 +337,11 @@ ip27_attach_node(struct device *parent, int16_t nasid) uint dimm; void *match; + currentnasid = nasid; bzero(&u, sizeof u); if (ip35) { u.maa.maa_name = "spdmem"; + u.maa.maa_nasid = nasid; for (dimm = 0; dimm < L1_SPD_DIMM_MAX; dimm++) { u.saa.dimm = dimm; /* @@ -352,7 +354,7 @@ ip27_attach_node(struct device *parent, int16_t nasid) } } u.maa.maa_name = "xbow"; - u.maa.maa_nasid = currentnasid = nasid; + u.maa.maa_nasid = nasid; config_found(parent, &u, ip27_print); } |