summaryrefslogtreecommitdiffstats
path: root/sys/dev/fxp
diff options
context:
space:
mode:
authoryongari <yongari@FreeBSD.org>2010-05-07 16:43:00 +0000
committeryongari <yongari@FreeBSD.org>2010-05-07 16:43:00 +0000
commit7b9871fb1a204bb3ff15c06f23cf67abbeabef55 (patch)
tree58ffb5dbd0e15d729cc201d09db3761cda5eab8e /sys/dev/fxp
parente3935c934a1ea85c57b744bcc9e31c43d9d4b0a0 (diff)
downloadFreeBSD-src-7b9871fb1a204bb3ff15c06f23cf67abbeabef55.zip
FreeBSD-src-7b9871fb1a204bb3ff15c06f23cf67abbeabef55.tar.gz
It seems controller has two types of promiscuous control, one for
unicast and the other for multicast. To receive multicast frames that host didn't join in promiscuous mode, driver have to set promiscuous mode for multicast frames as well. The Open Source Software Developer Manual for i8255x was not clear how to handle promiscuous mode. PR: kern/145905 MFC after: 5 days
Diffstat (limited to 'sys/dev/fxp')
-rw-r--r--sys/dev/fxp/if_fxp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c
index a480e7c..4be525d 100644
--- a/sys/dev/fxp/if_fxp.c
+++ b/sys/dev/fxp/if_fxp.c
@@ -2345,7 +2345,7 @@ fxp_init_body(struct fxp_softc *sc)
cbp->force_fdx = 0; /* (don't) force full duplex */
cbp->fdx_pin_en = 1; /* (enable) FDX# pin */
cbp->multi_ia = 0; /* (don't) accept multiple IAs */
- cbp->mc_all = ifp->if_flags & IFF_ALLMULTI ? 1 : 0;
+ cbp->mc_all = ifp->if_flags & IFF_ALLMULTI ? 1 : prm;
cbp->gamla_rx = sc->flags & FXP_FLAG_EXT_RFA ? 1 : 0;
cbp->vlan_strip_en = ((sc->flags & FXP_FLAG_EXT_RFA) != 0 &&
(ifp->if_capenable & IFCAP_VLAN_HWTAGGING) != 0) ? 1 : 0;
OpenPOWER on IntegriCloud