diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2000-07-21 17:41:07 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2000-07-21 17:41:07 +0000 |
commit | 7e8db0cf80ffef34a376325ca354af247366f3e4 (patch) | |
tree | 53e68852e1d5fa26316a25f80e56770fc1834e28 /sys/arch/hppa | |
parent | 120b5e87b31cf3a2eceace158d775a3b4f350d50 (diff) |
convert to new timeouts
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r-- | sys/arch/hppa/gsc/lpt_gsc.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/arch/hppa/gsc/lpt_gsc.c b/sys/arch/hppa/gsc/lpt_gsc.c index ecb52179d2d..12e2903d1d5 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.5 1999/08/16 02:48:39 mickey Exp $ */ +/* $OpenBSD: lpt_gsc.c,v 1.6 2000/07/21 17:41:06 mickey Exp $ */ /* * Copyright (c) 1998 Michael Shalayeff @@ -165,13 +165,10 @@ lpt_gsc_attach(parent, self, aux) /* sc->sc_flags |= LPT_POLLED; */ sc->sc_state = 0; - sc->sc_iot = ga->ga_iot; sc->sc_ioh = ga->ga_hpa + LPTGSC_OFFSET; - printf("\n"); - - bus_space_write_1(sc->sc_iot, sc->sc_ioh, lpt_control, LPC_NINIT); + lpt_attach_common(sc); sc->sc_ih = gsc_intr_establish((struct gsc_softc *)parent, IPL_TTY, ga->ga_irq, lptintr, sc, &sc->sc_dev); |