diff options
author | imp <imp@FreeBSD.org> | 2005-01-20 19:39:33 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2005-01-20 19:39:33 +0000 |
commit | 6193b800a7f300567ec09c58a90a968508d8fc37 (patch) | |
tree | c6022259f2ff57d41973259f33e2d6b32277e235 /sys/dev/ep/if_ep.c | |
parent | 3afb2ac5309053fcf72759aacfa54654aed0323b (diff) | |
download | FreeBSD-src-6193b800a7f300567ec09c58a90a968508d8fc37.zip FreeBSD-src-6193b800a7f300567ec09c58a90a968508d8fc37.tar.gz |
u_intXX_t -> uintXX_t while I'm here.
Diffstat (limited to 'sys/dev/ep/if_ep.c')
-rw-r--r-- | sys/dev/ep/if_ep.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/ep/if_ep.c b/sys/dev/ep/if_ep.c index 7cb2573..a860502 100644 --- a/sys/dev/ep/if_ep.c +++ b/sys/dev/ep/if_ep.c @@ -128,7 +128,7 @@ eeprom_rdy(struct ep_softc *sc) * before */ int -get_e(struct ep_softc *sc, u_int16_t offset, u_int16_t *result) +get_e(struct ep_softc *sc, uint16_t offset, uint16_t *result) { if (eeprom_rdy(sc)) @@ -149,11 +149,11 @@ int ep_get_macaddr(struct ep_softc *sc, u_char *addr) { int i; - u_int16_t result; + uint16_t result; int error; - u_int16_t *macaddr; + uint16_t *macaddr; - macaddr = (u_int16_t *) addr; + macaddr = (uint16_t *) addr; GO_WINDOW(sc, 0); for (i = EEPROM_NODE_ADDR_0; i <= EEPROM_NODE_ADDR_2; i++) { @@ -172,7 +172,7 @@ ep_alloc(device_t dev) struct ep_softc *sc = device_get_softc(dev); int rid; int error = 0; - u_int16_t result; + uint16_t result; rid = 0; sc->iobase = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid, @@ -221,7 +221,7 @@ bad: void ep_get_media(struct ep_softc *sc) { - u_int16_t config; + uint16_t config; GO_WINDOW(sc, 0); config = CSR_READ_2(sc, EP_W0_CONFIG_CTRL); |