summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2013-10-23 09:35:37 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2013-10-23 09:35:37 +0000
commit14e6eb75fff5b96950832ec33edd2fa22c98ddcd (patch)
treed152ab9ff04aa2c29ff9ed3a45281073f9fdaa70 /sys
parent5acd67a1825ceac44f4ee68cf80edf9f8af47a0a (diff)
Do not print the higher address of the muticast range in debug mode,
since in this case it is always the same as the lower address (not a real range). ok pirofti@, jasper@, bcallah@
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/octeon/dev/cn30xxgmx.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/sys/arch/octeon/dev/cn30xxgmx.c b/sys/arch/octeon/dev/cn30xxgmx.c
index c9f9a1096a3..ec8c43060fa 100644
--- a/sys/arch/octeon/dev/cn30xxgmx.c
+++ b/sys/arch/octeon/dev/cn30xxgmx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cn30xxgmx.c,v 1.8 2013/10/22 14:06:08 bcallah Exp $ */
+/* $OpenBSD: cn30xxgmx.c,v 1.9 2013/10/23 09:35:36 mpi Exp $ */
/*
* Copyright (c) 2007 Internet Initiative Japan, Inc.
@@ -1120,15 +1120,11 @@ cn30xxgmx_rgmii_set_filter(struct cn30xxgmx_port_softc *sc)
while (enm != NULL) {
int i;
- dprintf("%d: lo(%02x:%02x:%02x:%02x:%02x:%02x) - "
- "hi(%02x:%02x:%02x:%02x:%02x:%02x)\n",
+ dprintf("%d: %02x:%02x:%02x:%02x:%02x:%02x\n"
multi + 1,
enm->enm_addrlo[0], enm->enm_addrlo[1],
enm->enm_addrlo[2], enm->enm_addrlo[3],
- enm->enm_addrlo[4], enm->enm_addrlo[5],
- enm->enm_addrhi[0], enm->enm_addrhi[1],
- enm->enm_addrhi[2], enm->enm_addrhi[3],
- enm->enm_addrhi[4], enm->enm_addrhi[5]);
+ enm->enm_addrlo[4], enm->enm_addrlo[5]);
multi++;
SET(cam_en, 1ULL << multi); /* XXX */