summaryrefslogtreecommitdiff
path: root/sys/arch/hppa/dev/asp.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2003-02-18 09:40:44 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2003-02-18 09:40:44 +0000
commitd637fbbaf4c0986863dda51be180135eb809c994 (patch)
tree6e51c7063db2c0861a240978952392b5dc7f8bac /sys/arch/hppa/dev/asp.c
parent0497b0d24e2826bb5e1bc715f30436799bdea49c (diff)
Let kernels compile without DDB, USELEDS, and DIAGNOSTIC.
For future intallation media.
Diffstat (limited to 'sys/arch/hppa/dev/asp.c')
-rw-r--r--sys/arch/hppa/dev/asp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/hppa/dev/asp.c b/sys/arch/hppa/dev/asp.c
index 40c5ac92f91..57909236b28 100644
--- a/sys/arch/hppa/dev/asp.c
+++ b/sys/arch/hppa/dev/asp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: asp.c,v 1.9 2002/12/18 23:52:45 mickey Exp $ */
+/* $OpenBSD: asp.c,v 1.10 2003/02/18 09:40:40 miod Exp $ */
/*
* Copyright (c) 1998-2002 Michael Shalayeff
@@ -177,8 +177,10 @@ aspattach(parent, self, aux)
sc->sc_trs = (struct asp_trs *)ASP_CHPA;
sc->sc_hw = (struct asp_hwr *)ca->ca_hpa;
+#ifdef USELEDS
machine_ledaddr = &sc->sc_trs->asp_cled;
machine_ledword = asp_spus[sc->sc_trs->asp_spu].ledword;
+#endif
/* reset ASP */
/* sc->sc_hw->asp_reset = 1; */