]> git.karo-electronics.de Git - karo-tx-linux.git/commit
r8169: fix broken register writes
authorFrancois Romieu <romieu@fr.zoreil.com>
Sun, 28 Mar 2010 02:35:46 +0000 (19:35 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 12 May 2010 21:57:12 +0000 (14:57 -0700)
commitef68673a14ca255dcdbfff9eae28fbc44d98cb6d
tree5483ef9d052314c1b82655ad1679d5bd031a317f
parent0c03e80e912e9332a8167b9172fd74d1323f3e9b
r8169: fix broken register writes

commit 78f1cd02457252e1ffbc6caa44a17424a45286b8 upstream.

This is quite similar to b39fe41f481d20c201012e4483e76c203802dda7
though said registers are not even documented as 64-bit registers
- as opposed to the initial TxDescStartAddress ones - but as single
bytes which must be combined into 32 bits at the MMIO read/write
level before being merged into a 64 bit logical entity.

Credits go to Ben Hutchings <ben@decadent.org.uk> for the MAR
registers (aka "multicast is broken for ages on ARM) and to
Timo Teräs <timo.teras@iki.fi> for the MAC registers.

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/r8169.c