Project

General

Profile

Bug #1799 ยป if_re.patch

pinkfluid, 08/05/2010 02:17 PM

View differences:

sys/dev/netif/re/if_re.c
* order for those devices.
*/
if (sc->re_caps & RE_C_PCIE) {
CSR_WRITE_4(sc, RE_MAR0, bswap32(hashes[0]));
CSR_WRITE_4(sc, RE_MAR4, bswap32(hashes[1]));
CSR_WRITE_4(sc, RE_MAR0, bswap32(hashes[1]));
CSR_WRITE_4(sc, RE_MAR4, bswap32(hashes[0]));
} else {
CSR_WRITE_4(sc, RE_MAR0, hashes[0]);
CSR_WRITE_4(sc, RE_MAR4, hashes[1]);
    (1-1/1)