summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2003-10-31 18:32:44 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2003-10-31 18:32:44 +0000
commit4e361f08f00d721ff779c559d60ba23c129c1207 (patch)
tree693c869466cd0a9a9ac0c759419c188a5f149313 /sys/arch
parentbe04e57b426cb3008dc80177a7e96d83dc304b18 (diff)
ifdef USELEDS on ledctl(); from hellmuth.michaelis@t-online.de
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/hppa/gsc/osiop_gsc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/hppa/gsc/osiop_gsc.c b/sys/arch/hppa/gsc/osiop_gsc.c
index 01dd188569a..725bdcf4a8c 100644
--- a/sys/arch/hppa/gsc/osiop_gsc.c
+++ b/sys/arch/hppa/gsc/osiop_gsc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: osiop_gsc.c,v 1.7 2003/08/07 19:47:33 mickey Exp $ */
+/* $OpenBSD: osiop_gsc.c,v 1.8 2003/10/31 18:32:43 mickey Exp $ */
/* $NetBSD: osiop_gsc.c,v 1.6 2002/10/02 05:17:50 thorpej Exp $ */
/*
@@ -196,7 +196,9 @@ osiop_gsc_intr(arg)
/* Deal with the interrupt */
osiop_intr(sc);
+#ifdef USELEDS
ledctl(PALED_DISK, 0, 0);
+#endif
return (1);
}