diff options
author | imp <imp@FreeBSD.org> | 2003-10-19 17:38:04 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2003-10-19 17:38:04 +0000 |
commit | 92be84c4b4e0691dbe7240560994ba729c799024 (patch) | |
tree | 568eadf5c912cb9a7ec7ed8ae29cf13065d35ddc /sys/dev/ep/if_epvar.h | |
parent | d16b904dfe5cef78a4c849fb16a6264b1325a896 (diff) | |
download | FreeBSD-src-92be84c4b4e0691dbe7240560994ba729c799024.zip FreeBSD-src-92be84c4b4e0691dbe7240560994ba729c799024.tar.gz |
Finish the removal of the bst/bsh confusion.
Diffstat (limited to 'sys/dev/ep/if_epvar.h')
-rw-r--r-- | sys/dev/ep/if_epvar.h | 20 |
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) |