From f7a7cab9e771874451b7b5c527edec9cd1401e61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Sat, 3 Nov 2007 16:45:49 +0000 Subject: [PATCH] The promiscuous work-around is no longer needed; the MAC address is now set correctly in the filter, so that we can receive all of our packets. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22816 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/kernel/drivers/network/3com/pci/if_xl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/add-ons/kernel/drivers/network/3com/pci/if_xl.c b/src/add-ons/kernel/drivers/network/3com/pci/if_xl.c index d90e721ee1..9e5d69f624 100644 --- a/src/add-ons/kernel/drivers/network/3com/pci/if_xl.c +++ b/src/add-ons/kernel/drivers/network/3com/pci/if_xl.c @@ -2875,8 +2875,7 @@ xl_init_locked(struct xl_softc *sc) rxfilt |= XL_RXFILTER_INDIVIDUAL; /* If we want promiscuous mode, set the allframes bit. */ -// TODO: temporarily set IFF_PROMISC, as the driver doesn't seem to work with the usual filtering - if (1/*ifp->if_flags & IFF_PROMISC*/) { + if (ifp->if_flags & IFF_PROMISC) { rxfilt |= XL_RXFILTER_ALLFRAMES; CSR_WRITE_2(sc, XL_COMMAND, XL_CMD_RX_SET_FILT|rxfilt); } else {