summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2003-11-14 06:02:51 +0000
committerimp <imp@FreeBSD.org>2003-11-14 06:02:51 +0000
commit1eb704d38caee0be48f04cb74b8aafae420993f5 (patch)
treeba0e745e2e9c288c06dffbc30a2b0e7a63dde499
parent8ee23ef523b36afd5f65865e4985044ca4f0a838 (diff)
downloadFreeBSD-src-1eb704d38caee0be48f04cb74b8aafae420993f5.zip
FreeBSD-src-1eb704d38caee0be48f04cb74b8aafae420993f5.tar.gz
Despam the const poisoning
Despam the u_->u change
-rw-r--r--sys/dev/usb/if_cue.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/usb/if_cue.c b/sys/dev/usb/if_cue.c
index d4e2d77..ad44424 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 */
OpenPOWER on IntegriCloud