if_re.patch

pinkfluid, 08/05/2010 02:17 PM

Download (566 Bytes)

View differences:

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