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/arc | |
parent | 120b5e87b31cf3a2eceace158d775a3b4f350d50 (diff) |
convert to new timeouts
Diffstat (limited to 'sys/arch/arc')
-rw-r--r-- | sys/arch/arc/dev/lpt_lbus.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/sys/arch/arc/dev/lpt_lbus.c b/sys/arch/arc/dev/lpt_lbus.c index fad7e1c3244..e793fe28941 100644 --- a/sys/arch/arc/dev/lpt_lbus.c +++ b/sys/arch/arc/dev/lpt_lbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lpt_lbus.c,v 1.3 1997/04/10 16:29:17 pefo Exp $ */ +/* $OpenBSD: lpt_lbus.c,v 1.4 2000/07/21 17:41:05 mickey Exp $ */ /* * Copyright (c) 1993, 1994 Charles Hannum. @@ -140,16 +140,12 @@ lpt_localbus_attach(parent, self, aux) { struct lpt_softc *sc = (void *)self; struct confargs *ca = aux; - bus_space_tag_t iot; - bus_space_handle_t ioh; - - printf("\n"); sc->sc_state = 0; - iot = sc->sc_iot = &arc_bus_io; + sc->sc_iot = &arc_bus_io; sc->sc_ioh = (bus_space_handle_t)BUS_CVTADDR(ca); - bus_space_write_1(iot, ioh, lpt_control, LPC_NINIT); + lpt_attach_common(sc); BUS_INTR_ESTABLISH(ca, lptintr, sc); } |