commit | 160d0fadaf7ce20e5bad26c8a955504b93c6a5ba | [log] [tgz] |
---|---|---|
author | Ben Dooks <ben@simtec.co.uk> | Mon Oct 19 23:49:04 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Oct 20 19:11:06 2009 -0700 |
tree | b1f45760cbde7a0b9d819333fef930685e1b67e9 | |
parent | 57dada6819160eb08f2945fb847045f173d3218d [diff] |
KS8851: Fix MAC address write order 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>