summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_lge.c
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2005-06-18 04:23:10 +0000
committerBrad Smith <brad@cvs.openbsd.org>2005-06-18 04:23:10 +0000
commitde46c7b9675b0262ffde0f902ae73ccf2b631639 (patch)
tree81e7ea9acd056ebe8843dcef75460171798b06be /sys/dev/pci/if_lge.c
parent92b34c2b387145d75d803a1d5f17cba469c03827 (diff)
though this doesn't work yet at least allow it to compile first.
Diffstat (limited to 'sys/dev/pci/if_lge.c')
-rw-r--r--sys/dev/pci/if_lge.c5
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