Re: multicast hash incorrect on big endian archs

From: David S. Miller (davem@redhat.com)
Date: Sun Jun 03 2001 - 21:24:18 EST


Manfred Spraul writes:
> I noticed that the multicast hash calculations assumed little endian
> byte ordering in the winbond-840 driver, and it seems that several other
> drivers are also affected:
>
> 8139too, epic100, fealnx, pci-skeleton, sis900, starfile, sundance,
> via-rhine, yellowfin
> perhaps drivers/net/pcmcia/xircom_tulip_cb

Many big-endian systems already need to provide little-endian bitops,
for ext2's sake for example.

We should formalize this, with {set,clear,change,test}_le_bit which
technically every port has implemented in some for or another already.

Later,
David S. Miller
davem@redhat.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jun 07 2001 - 21:00:26 EST