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)
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>

No differences found