Module Name: src Committed By: martin Date: Sat Aug 6 17:53:49 UTC 2022
Modified Files: src/sys/dev/ic: dwc_eqos.c Log Message: PR 56948: fix multicast hash filter setup To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/dev/ic/dwc_eqos.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/ic/dwc_eqos.c diff -u src/sys/dev/ic/dwc_eqos.c:1.8 src/sys/dev/ic/dwc_eqos.c:1.9 --- src/sys/dev/ic/dwc_eqos.c:1.8 Thu Jul 21 18:12:24 2022 +++ src/sys/dev/ic/dwc_eqos.c Sat Aug 6 17:53:49 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: dwc_eqos.c,v 1.8 2022/07/21 18:12:24 martin Exp $ */ +/* $NetBSD: dwc_eqos.c,v 1.9 2022/08/06 17:53:49 martin Exp $ */ /*- * Copyright (c) 2022 Jared McNeill <jmcne...@invisible.ca> @@ -33,7 +33,7 @@ #include "opt_net_mpsafe.h" #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: dwc_eqos.c,v 1.8 2022/07/21 18:12:24 martin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: dwc_eqos.c,v 1.9 2022/08/06 17:53:49 martin Exp $"); #include <sys/param.h> #include <sys/bus.h> @@ -493,8 +493,8 @@ eqos_setup_rxfilter(struct eqos_softc *s WR4(sc, GMAC_MAC_ADDRESS0_LOW, val); /* Multicast hash filters */ - WR4(sc, GMAC_MAC_HASH_TABLE_REG0, hash[1]); - WR4(sc, GMAC_MAC_HASH_TABLE_REG1, hash[0]); + WR4(sc, GMAC_MAC_HASH_TABLE_REG0, hash[0]); + WR4(sc, GMAC_MAC_HASH_TABLE_REG1, hash[1]); DPRINTF(EDEB_NOTE, "writing new packet filter config " "%08x, hash[1]=%08x, hash[0]=%08x\n", pfil, hash[1], hash[0]);