diff options
author | 2010-04-17 11:05:53 +0000 | |
---|---|---|
committer | 2010-04-17 11:05:53 +0000 | |
commit | 907532d9333b1576c9cb0b324d3dfbe31b0b7183 (patch) | |
tree | ca379904b26180e91acc73fca61badb36e92854a | |
parent | regen (diff) | |
download | wireguard-openbsd-907532d9333b1576c9cb0b324d3dfbe31b0b7183.tar.xz wireguard-openbsd-907532d9333b1576c9cb0b324d3dfbe31b0b7183.zip |
Do not forget to set nasid to the right value when trying to attach spdmem.
-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); } |