summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2003-10-19 17:38:04 +0000
committerimp <imp@FreeBSD.org>2003-10-19 17:38:04 +0000
commit92be84c4b4e0691dbe7240560994ba729c799024 (patch)
tree568eadf5c912cb9a7ec7ed8ae29cf13065d35ddc /sys
parentd16b904dfe5cef78a4c849fb16a6264b1325a896 (diff)
downloadFreeBSD-src-92be84c4b4e0691dbe7240560994ba729c799024.zip
FreeBSD-src-92be84c4b4e0691dbe7240560994ba729c799024.tar.gz
Finish the removal of the bst/bsh confusion.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ep/if_epvar.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/sys/dev/ep/if_epvar.h b/sys/dev/ep/if_epvar.h
index 40cde2a..122b0b8 100644
--- a/sys/dev/ep/if_epvar.h
+++ b/sys/dev/ep/if_epvar.h
@@ -81,21 +81,21 @@ void ep_intr(void *);
int get_e(struct ep_softc *, u_int16_t, u_int16_t *);
int ep_get_macaddr(struct ep_softc *, u_char *);
-#define EP_READ_1(sc, off) (bus_space_read_1((sc)->bsh, (sc)->bst, off))
-#define EP_READ_2(sc, off) (bus_space_read_2((sc)->bsh, (sc)->bst, off))
+#define EP_READ_1(sc, off) (bus_space_read_1((sc)->bst, (sc)->bsh, off))
+#define EP_READ_2(sc, off) (bus_space_read_2((sc)->bst, (sc)->bsh, off))
#define EP_WRITE_1(sc, off, val) \
- bus_space_write_1(sc->bsh, sc->bst, off, val)
+ bus_space_write_1(sc->bst, sc->bsh, off, val)
#define EP_WRITE_2(sc, off, val) \
- bus_space_write_2(sc->bsh, sc->bst, off, val)
+ bus_space_write_2(sc->bst, sc->bsh, off, val)
#define EP_WRITE_MULTI_1(sc, off, addr, count) \
- bus_space_write_multi_1(sc->bsh, sc->bst, off, addr, count)
+ bus_space_write_multi_1(sc->bst, sc->bsh, off, addr, count)
#define EP_WRITE_MULTI_2(sc, off, addr, count) \
- bus_space_write_multi_2(sc->bsh, sc->bst, off, addr, count)
+ bus_space_write_multi_2(sc->bst, sc->bsh, off, addr, count)
#define EP_WRITE_MULTI_4(sc, off, addr, count) \
- bus_space_write_multi_4(sc->bsh, sc->bst, off, addr, count)
+ bus_space_write_multi_4(sc->bst, sc->bsh, off, addr, count)
#define EP_READ_MULTI_1(sc, off, addr, count) \
- bus_space_read_multi_1(sc->bsh, sc->bst, off, addr, count)
+ bus_space_read_multi_1(sc->bst, sc->bsh, off, addr, count)
#define EP_READ_MULTI_2(sc, off, addr, count) \
- bus_space_read_multi_2(sc->bsh, sc->bst, off, addr, count)
+ bus_space_read_multi_2(sc->bst, sc->bsh, off, addr, count)
#define EP_READ_MULTI_4(sc, off, addr, count) \
- bus_space_read_multi_4(sc->bsh, sc->bst, off, addr, count)
+ bus_space_read_multi_4(sc->bst, sc->bsh, off, addr, count)
OpenPOWER on IntegriCloud