]> err.no Git - linux-2.6/commit
uli526x: fix endianness issues in the setup frame
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Tue, 29 Apr 2008 15:53:18 +0000 (19:53 +0400)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 6 May 2008 16:02:26 +0000 (12:02 -0400)
commite284e5c6601cbb16e48854be26aa57a8fa844e35
tree895f1e83792f51065a6d3ede0cb77e7f9fbc3c51
parentafd8e39919c913993ac2f9984af8a9ba21c63d27
uli526x: fix endianness issues in the setup frame

This patch fixes uli526x driver's issues on a PowerPC boards: uli chip
is unable to receive the packets.

It appears that send_frame_filter prepares the setup frame in the
endianness unsafe manner. On a big endian machines we should shift
the address nibble by two bytes.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/tulip/uli526x.c