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
This commit is contained in:
Axel Dörfler 2007-11-03 16:45:49 +00:00
parent e25593c034
commit f7a7cab9e7
1 changed files with 1 additions and 2 deletions

View File

@ -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 {