KS8851: Fix MAC address write order
authorBen Dooks <ben@simtec.co.uk>
Mon, 19 Oct 2009 23:49:04 +0000 (23:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Oct 2009 02:11:06 +0000 (19:11 -0700)
The MAC address register was being written in the wrong order, so add
a new address macro to convert mac-address byte to register address and
a ks8851_wrreg8() function to write each byte without having to worry
about any difficult byte swapping.

Fixes a bug reported by Doong, Ping of Micrel.

Signed-off-by: Ben Dooks <ben@simtec.co.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found