summaryrefslogtreecommitdiffstats
path: root/sys/sparc64/fhc/fhc_nexus.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sparc64/fhc/fhc_nexus.c')
-rw-r--r--sys/sparc64/fhc/fhc_nexus.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/sparc64/fhc/fhc_nexus.c b/sys/sparc64/fhc/fhc_nexus.c
index e989b5c..d62e189 100644
--- a/sys/sparc64/fhc/fhc_nexus.c
+++ b/sys/sparc64/fhc/fhc_nexus.c
@@ -121,5 +121,8 @@ fhc_nexus_attach(device_t dev)
sc->sc_bt[i] = rman_get_bustag(sc->sc_memres[i]);
sc->sc_bh[i] = rman_get_bushandle(sc->sc_memres[i]);
}
+
+ OF_getprop(node, "board#", &sc->sc_board, sizeof(sc->sc_board));
+
return (fhc_attach(dev));
}
OpenPOWER on IntegriCloud