Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic PR 56948: fix multicast hash filter setup
details: https://anonhg.NetBSD.org/src/rev/cc4b77d599c6
branches: trunk
changeset: 368807:cc4b77d599c6
user: martin <martin%NetBSD.org@localhost>
date: Sat Aug 06 17:53:49 2022 +0000
description:
PR 56948: fix multicast hash filter setup
diffstat:
sys/dev/ic/dwc_eqos.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r f80c606bca8e -r cc4b77d599c6 sys/dev/ic/dwc_eqos.c
--- a/sys/dev/ic/dwc_eqos.c Sat Aug 06 15:38:42 2022 +0000
+++ b/sys/dev/ic/dwc_eqos.c Sat Aug 06 17:53:49 2022 +0000
@@ -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 <jmcneill%invisible.ca@localhost>
@@ -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 @@
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]);
Home |
Main Index |
Thread Index |
Old Index