summaryrefslogtreecommitdiffstats
path: root/sys/sparc64/sbus/lsi64854var.h
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2005-04-17 12:45:20 +0000
committermarius <marius@FreeBSD.org>2005-04-17 12:45:20 +0000
commit8e70077beaf3c2ff4ed66cd4294a064468967475 (patch)
tree8fb51c36f807263b534105b015e4276e4f296567 /sys/sparc64/sbus/lsi64854var.h
parent1fac4f5794c790dc22c2c096f1addc2300a6431f (diff)
downloadFreeBSD-src-8e70077beaf3c2ff4ed66cd4294a064468967475.zip
FreeBSD-src-8e70077beaf3c2ff4ed66cd4294a064468967475.tar.gz
Re-commit the following changes which were committed to these files
at their old location in sys/dev/esp after they were repo-copied to sys/sparc64/sbus at rev. 1.1: sys/dev/esp/lsi64854.c rev. 1.2 sys/dev/esp/lsi64854var.h rev. 1.2 Add some style(9) touch ups; style(9) states that new code should follow these conventions and, well, this is a new driver. Tested on: i386, sparc64 Reviewed by: scottl
Diffstat (limited to 'sys/sparc64/sbus/lsi64854var.h')
-rw-r--r--sys/sparc64/sbus/lsi64854var.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sparc64/sbus/lsi64854var.h b/sys/sparc64/sbus/lsi64854var.h
index 04b2297..03e1d7d 100644
--- a/sys/sparc64/sbus/lsi64854var.h
+++ b/sys/sparc64/sbus/lsi64854var.h
@@ -93,7 +93,7 @@ struct lsi64854_softc {
#define DMA_ISACTIVE(sc) ((sc)->sc_active)
#define DMA_ENINTR(sc) do { \
- u_int32_t csr = L64854_GCSR(sc); \
+ uint32_t csr = L64854_GCSR(sc); \
csr |= L64854_INT_EN; \
L64854_SCSR(sc, csr); \
} while (0)
@@ -101,7 +101,7 @@ struct lsi64854_softc {
#define DMA_ISINTR(sc) (L64854_GCSR(sc) & (D_INT_PEND|D_ERR_PEND))
#define DMA_GO(sc) do { \
- u_int32_t csr = L64854_GCSR(sc); \
+ uint32_t csr = L64854_GCSR(sc); \
csr |= D_EN_DMA; \
L64854_SCSR(sc, csr); \
sc->sc_active = 1; \
OpenPOWER on IntegriCloud