diff options
| author | Warner Losh <imp@FreeBSD.org> | 2003-11-14 06:02:51 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2003-11-14 06:02:51 +0000 |
| commit | 01f5b32809d51daae610b354b729d2984d963bab (patch) | |
| tree | ba0e745e2e9c288c06dffbc30a2b0e7a63dde499 /sys/dev/usb | |
| parent | 3373489b491c4d9585572113db19053b192e2d52 (diff) | |
Notes
Diffstat (limited to 'sys/dev/usb')
| -rw-r--r-- | sys/dev/usb/if_cue.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/usb/if_cue.c b/sys/dev/usb/if_cue.c index d4e2d774e042..ad4442450ef8 100644 --- a/sys/dev/usb/if_cue.c +++ b/sys/dev/usb/if_cue.c @@ -116,7 +116,7 @@ Static void cue_watchdog(struct ifnet *); Static void cue_shutdown(device_ptr_t); Static void cue_setmulti(struct cue_softc *); -Static u_int32_t cue_mchash(caddr_t); +Static uint32_t cue_mchash(const uint8_t *); Static void cue_reset(struct cue_softc *); Static int cue_csr_read_1(struct cue_softc *, int); @@ -330,12 +330,12 @@ cue_getmac(struct cue_softc *sc, void *buf) #define CUE_POLY 0xEDB88320 #define CUE_BITS 9 -Static u_int32_t -cue_mchash(caddr_t addr) +Static uint32_t +cue_mchash(const uint8_t *addr) { - u_int32_t crc; + uint32_t crc; int idx, bit; - u_int8_t data; + uint8_t data; /* Compute CRC for the address value. */ crc = 0xFFFFFFFF; /* initial value */ |
