diff options
| author | tsutsui <tsutsui@NetBSD.org> | 2003-07-05 19:00:16 +0000 |
|---|---|---|
| committer | tsutsui <tsutsui@NetBSD.org> | 2003-07-05 19:00:16 +0000 |
| commit | 6615ddefa96c216d0ef53193e6aeaffc16fc1294 (patch) | |
| tree | b72c2d1ae9f9f887ccd9b4a0cb4d3610a8aa302a /sys/dev/ic | |
| parent | 443eeab7de4b080394bc2a82862af0d7f470b40a (diff) | |
Rename some MI mb89352 functions for consistency:
spcintr() -> spc_intr()
spcattach() -> spc_attach()
Diffstat (limited to 'sys/dev/ic')
| -rw-r--r-- | sys/dev/ic/mb89352.c | 14 | ||||
| -rw-r--r-- | sys/dev/ic/mb89352var.h | 6 |
2 files changed, 10 insertions, 10 deletions
diff --git a/sys/dev/ic/mb89352.c b/sys/dev/ic/mb89352.c index 5fb19ab7ff6..0b69c7969db 100644 --- a/sys/dev/ic/mb89352.c +++ b/sys/dev/ic/mb89352.c @@ -1,4 +1,4 @@ -/* $NetBSD: mb89352.c,v 1.16 2003/07/05 18:56:55 tsutsui Exp $ */ +/* $NetBSD: mb89352.c,v 1.17 2003/07/05 19:00:16 tsutsui Exp $ */ /* NecBSD: mb89352.c,v 1.4 1998/03/14 07:31:20 kmatsuda Exp */ /*- @@ -70,7 +70,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: mb89352.c,v 1.16 2003/07/05 18:56:55 tsutsui Exp $"); +__KERNEL_RCSID(0, "$NetBSD: mb89352.c,v 1.17 2003/07/05 19:00:16 tsutsui Exp $"); #ifdef DDB #define integrate @@ -233,11 +233,11 @@ spc_find(iot, ioh, bdid) } void -spcattach(sc) +spc_attach(sc) struct spc_softc *sc; { - SPC_TRACE(("spcattach ")); + SPC_TRACE(("spc_attach ")); sc->sc_state = SPC_INIT; sc->sc_freq = 20; /* XXXX Assume 20 MHz. */ @@ -573,7 +573,7 @@ spc_poll(sc, xs, count) * have got an interrupt? */ if (bus_space_read_1(iot, ioh, INTS) != 0) - spcintr(sc); + spc_intr(sc); if ((xs->xs_status & XS_STS_DONE) != 0) return 0; delay(1000); @@ -1619,7 +1619,7 @@ phasechange: * 1) always uses programmed I/O */ int -spcintr(arg) +spc_intr(arg) void *arg; { struct spc_softc *sc = arg; @@ -1637,7 +1637,7 @@ spcintr(arg) bus_space_write_1(iot, ioh, SCTL, bus_space_read_1(iot, ioh, SCTL) & ~SCTL_INTR_ENAB); - SPC_TRACE(("spcintr ")); + SPC_TRACE(("spc_intr ")); loop: /* diff --git a/sys/dev/ic/mb89352var.h b/sys/dev/ic/mb89352var.h index edb57c53405..d7b9bdcb542 100644 --- a/sys/dev/ic/mb89352var.h +++ b/sys/dev/ic/mb89352var.h @@ -1,4 +1,4 @@ -/* $NetBSD: mb89352var.h,v 1.3 2001/04/25 17:53:33 bouyer Exp $ */ +/* $NetBSD: mb89352var.h,v 1.4 2003/07/05 19:00:16 tsutsui Exp $ */ /* NecBSD: mb89352var.h,v 1.4 1998/03/14 07:31:22 kmatsuda Exp */ /*- @@ -199,8 +199,8 @@ extern int spc_debug; /* SPC_SHOWSTART|SPC_SHOWMISC|SPC_SHOWTRACE; */ #define SPC_TRACE(s) SPC_PRINT(SPC_SHOWTRACE, s) #define SPC_START(s) SPC_PRINT(SPC_SHOWSTART, s) -void spcattach __P((struct spc_softc *)); -int spcintr __P((void *)); +void spc_attach __P((struct spc_softc *)); +int spc_intr __P((void *)); int spc_find __P((bus_space_tag_t, bus_space_handle_t, int)); void spc_init __P((struct spc_softc *)); void spc_sched __P((struct spc_softc *)); |
