Close PR# 19904: remember to call sf_setmulti() when initializing the

interface so the multicast filter will be programmed correctly.
This commit is contained in:
Bill Paul 2000-07-14 19:11:02 +00:00
parent 6484396e99
commit eddceb0d2b
2 changed files with 10 additions and 0 deletions

View File

@ -1183,6 +1183,11 @@ static void sf_init(xsc)
SF_CLRBIT(sc, SF_RXFILT, SF_RXFILT_BROAD);
}
/*
* Load the multicast filter.
*/
sf_setmulti(sc);
/* Init the completion queue indexes */
csr_write_4(sc, SF_CQ_CONSIDX, 0);
csr_write_4(sc, SF_CQ_PRODIDX, 0);

View File

@ -1183,6 +1183,11 @@ static void sf_init(xsc)
SF_CLRBIT(sc, SF_RXFILT, SF_RXFILT_BROAD);
}
/*
* Load the multicast filter.
*/
sf_setmulti(sc);
/* Init the completion queue indexes */
csr_write_4(sc, SF_CQ_CONSIDX, 0);
csr_write_4(sc, SF_CQ_PRODIDX, 0);