summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/dev/fhc.c
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2004-09-27 18:32:36 +0000
committerJason Wright <jason@cvs.openbsd.org>2004-09-27 18:32:36 +0000
commit02454f88b0b85996acba961741273c33823922e4 (patch)
treefe3d77af105111eb9abc129d593170e3e55492d8 /sys/arch/sparc64/dev/fhc.c
parentaf48c30b9ae79597b2b945d233acc77c86902eca (diff)
compute the board number of each fhc
Diffstat (limited to 'sys/arch/sparc64/dev/fhc.c')
-rw-r--r--sys/arch/sparc64/dev/fhc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/sparc64/dev/fhc.c b/sys/arch/sparc64/dev/fhc.c
index 0df9cfade7e..c83a7eccc50 100644
--- a/sys/arch/sparc64/dev/fhc.c
+++ b/sys/arch/sparc64/dev/fhc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fhc.c,v 1.6 2004/09/27 18:15:32 jason Exp $ */
+/* $OpenBSD: fhc.c,v 1.7 2004/09/27 18:32:35 jason Exp $ */
/*
* Copyright (c) 2004 Jason L. Wright (jason@thought.net)
@@ -64,7 +64,8 @@ fhc_attach(struct fhc_softc *sc)
int node0, node;
u_int32_t ctrl;
- printf(": %s\n", getpropstring(sc->sc_node, "board-model"));
+ printf(" board %d: %s\n", sc->sc_board,
+ getpropstring(sc->sc_node, "board-model"));
sc->sc_cbt = fhc_alloc_bus_tag(sc);