summaryrefslogtreecommitdiff
path: root/sys/arch/hppa/gsc/gscbus.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2000-02-09 05:04:23 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2000-02-09 05:04:23 +0000
commitd7448577ecabbda67295e79100a5e3f6d0d5e0c0 (patch)
treee457d18046108e8ca16226ac4c4e7d011f30b11b /sys/arch/hppa/gsc/gscbus.c
parentb8ec7e061c73cb42af7266973dfcbe8fee1c7f9e (diff)
heartbeat -- yeah we have a patch for that
Diffstat (limited to 'sys/arch/hppa/gsc/gscbus.c')
-rw-r--r--sys/arch/hppa/gsc/gscbus.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/hppa/gsc/gscbus.c b/sys/arch/hppa/gsc/gscbus.c
index 87168df5712..f324c12d334 100644
--- a/sys/arch/hppa/gsc/gscbus.c
+++ b/sys/arch/hppa/gsc/gscbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gscbus.c,v 1.8 1999/08/16 04:05:38 mickey Exp $ */
+/* $OpenBSD: gscbus.c,v 1.9 2000/02/09 05:04:22 mickey Exp $ */
/*
* Copyright (c) 1998 Michael Shalayeff
@@ -81,6 +81,7 @@
#include <machine/iomod.h>
#include <machine/autoconf.h>
+#include <machine/cpufunc.h>
#include <hppa/gsc/gscbusvar.h>
@@ -140,6 +141,9 @@ gscattach(parent, self, aux)
sc->sc_intrmask = 0;
bzero(sc->sc_intrvs, sizeof(sc->sc_intrvs));
+ if (machine_ledaddr)
+ printf(": %sleds", machine_ledword? "word" : "");
+
printf ("\n");
sc->sc_ih = cpu_intr_establish(IPL_IO, ga->ga_irq,