Finish the removal of the bst/bsh confusion.
This commit is contained in:
parent
6fb826df1c
commit
0f08d52a60
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user