summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/dev/fhc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc64/dev/fhc.c')
-rw-r--r--sys/arch/sparc64/dev/fhc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/sparc64/dev/fhc.c b/sys/arch/sparc64/dev/fhc.c
index 384f19abf2c..2aef68cc418 100644
--- a/sys/arch/sparc64/dev/fhc.c
+++ b/sys/arch/sparc64/dev/fhc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fhc.c,v 1.15 2008/01/17 22:53:18 kettenis Exp $ */
+/* $OpenBSD: fhc.c,v 1.16 2008/03/09 13:27:47 kettenis Exp $ */
/*
* Copyright (c) 2004 Jason L. Wright (jason@thought.net)
@@ -96,6 +96,9 @@ fhc_attach(struct fhc_softc *sc)
for (node = node0; node; node = nextsibling(node)) {
struct fhc_attach_args fa;
+ if (!checkstatus(node))
+ continue;
+
bzero(&fa, sizeof(fa));
fa.fa_node = node;