diff options
| author | David E. O'Brien <obrien@FreeBSD.org> | 2003-12-08 07:54:15 +0000 |
|---|---|---|
| committer | David E. O'Brien <obrien@FreeBSD.org> | 2003-12-08 07:54:15 +0000 |
| commit | a55a017f42cd3f75d68f3a79b0a8f051b37435b8 (patch) | |
| tree | a76375ea757ab61d6de7a0c5ec2362d2e15d403f /sys/dev/lge | |
| parent | a5b5101f5eb625051381e7cd74ec05aa5f431842 (diff) | |
Notes
Diffstat (limited to 'sys/dev/lge')
| -rw-r--r-- | sys/dev/lge/if_lge.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/lge/if_lge.c b/sys/dev/lge/if_lge.c index df84d49f38f8..e9fd5e604578 100644 --- a/sys/dev/lge/if_lge.c +++ b/sys/dev/lge/if_lge.c @@ -149,7 +149,7 @@ static int lge_miibus_writereg(device_t, int, int, int); static void lge_miibus_statchg(device_t); static void lge_setmulti(struct lge_softc *); -static u_int32_t lge_mchash(caddr_t); +static uint32_t lge_mchash(const uint8_t *); static void lge_reset(struct lge_softc *); static int lge_list_rx_init(struct lge_softc *); static int lge_list_tx_init(struct lge_softc *); @@ -367,13 +367,13 @@ lge_miibus_statchg(dev) return; } -static u_int32_t +static uint32_t lge_mchash(addr) - caddr_t addr; + const uint8_t *addr; { - u_int32_t crc, carry; - int idx, bit; - u_int8_t data; + uint32_t crc, carry; + int idx, bit; + uint8_t data; /* Compute CRC for the address value. */ crc = 0xFFFFFFFF; /* initial value */ |
