diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2005-06-18 04:23:10 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2005-06-18 04:23:10 +0000 |
commit | de46c7b9675b0262ffde0f902ae73ccf2b631639 (patch) | |
tree | 81e7ea9acd056ebe8843dcef75460171798b06be | |
parent | 92b34c2b387145d75d803a1d5f17cba469c03827 (diff) |
though this doesn't work yet at least allow it to compile first.
-rw-r--r-- | sys/dev/pci/if_lge.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/pci/if_lge.c b/sys/dev/pci/if_lge.c index 0272f5e171a..ad61e017171 100644 --- a/sys/dev/pci/if_lge.c +++ b/sys/dev/pci/if_lge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_lge.c,v 1.19 2005/05/11 03:54:59 brad Exp $ */ +/* $OpenBSD: if_lge.c,v 1.20 2005/06/18 04:23:09 brad Exp $ */ /* * Copyright (c) 2001 Wind River Systems * Copyright (c) 1997, 1998, 1999, 2000, 2001 @@ -361,9 +361,8 @@ allmulti: ifp->if_flags |= IFF_ALLMULTI; goto allmulti; } - h = ( ether_crc32_be(enm->enm_addrlo, ETHER_ADDR_LEN) >> 26) & + h = (ether_crc32_be(enm->enm_addrlo, ETHER_ADDR_LEN) >> 26) & 0x0000003F; - h = lge_crc(sc, LLADDR((struct sockaddr_dl *)enm->enm_addrlo)); if (h < 32) hashes[0] |= (1 << h); else |