diff options
author | marius <marius@FreeBSD.org> | 2010-03-31 22:19:00 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2010-03-31 22:19:00 +0000 |
commit | 566747b32e713b58e2eb2057e6ed8e2a68351c46 (patch) | |
tree | 25e9eda34fe3a4f814c3122261908ec0ecbcfac6 /sys/sparc64/sbus | |
parent | 07a4075f12377212e8bb32e0419ab0c75643c96a (diff) | |
download | FreeBSD-src-566747b32e713b58e2eb2057e6ed8e2a68351c46.zip FreeBSD-src-566747b32e713b58e2eb2057e6ed8e2a68351c46.tar.gz |
- Take advantage of the INTCLR_* macros.
- Right-justify the backslashes as per style(9).
Diffstat (limited to 'sys/sparc64/sbus')
-rw-r--r-- | sys/sparc64/sbus/sbus.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/sparc64/sbus/sbus.c b/sys/sparc64/sbus/sbus.c index 0c4b509..597d382 100644 --- a/sys/sparc64/sbus/sbus.c +++ b/sys/sparc64/sbus/sbus.c @@ -171,9 +171,9 @@ struct sbus_softc { void *sc_pf_ihand; }; -#define SYSIO_READ8(sc, off) \ +#define SYSIO_READ8(sc, off) \ bus_read_8((sc)->sc_sysio_res, (off)) -#define SYSIO_WRITE8(sc, off, v) \ +#define SYSIO_WRITE8(sc, off, v) \ bus_write_8((sc)->sc_sysio_res, (off), (v)) static device_probe_t sbus_probe; @@ -697,7 +697,7 @@ sbus_intr_clear(void *arg) struct intr_vector *iv = arg; struct sbus_icarg *sica = iv->iv_icarg; - SYSIO_WRITE8(sica->sica_sc, sica->sica_clr, 0); + SYSIO_WRITE8(sica->sica_sc, sica->sica_clr, INTCLR_IDLE); } static int |