summaryrefslogtreecommitdiff
path: root/sys/arch/hppa/gsc/lpt_gsc.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1999-08-16 02:48:41 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1999-08-16 02:48:41 +0000
commit3725fbb09bcf70557774be9e6726ea2cbdc9cf7d (patch)
tree2d077254ad69786581e2183286bca389392d8bf1 /sys/arch/hppa/gsc/lpt_gsc.c
parentb446ebd37f35118779c1684f7f8824dd86fcb2c4 (diff)
evcnt count the interrupts, also optimize diagnostic printing
Diffstat (limited to 'sys/arch/hppa/gsc/lpt_gsc.c')
-rw-r--r--sys/arch/hppa/gsc/lpt_gsc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/hppa/gsc/lpt_gsc.c b/sys/arch/hppa/gsc/lpt_gsc.c
index 64777ea66d6..ecb52179d2d 100644
--- a/sys/arch/hppa/gsc/lpt_gsc.c
+++ b/sys/arch/hppa/gsc/lpt_gsc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lpt_gsc.c,v 1.4 1999/08/14 04:39:12 mickey Exp $ */
+/* $OpenBSD: lpt_gsc.c,v 1.5 1999/08/16 02:48:39 mickey Exp $ */
/*
* Copyright (c) 1998 Michael Shalayeff
@@ -174,6 +174,5 @@ lpt_gsc_attach(parent, self, aux)
bus_space_write_1(sc->sc_iot, sc->sc_ioh, lpt_control, LPC_NINIT);
sc->sc_ih = gsc_intr_establish((struct gsc_softc *)parent, IPL_TTY,
- ga->ga_irq, lptintr, sc,
- sc->sc_dev.dv_xname);
+ ga->ga_irq, lptintr, sc, &sc->sc_dev);
}