]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ARM: kirkwood: fix to retain gbe MAC addresses for DT kernels
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Wed, 30 Jan 2013 20:29:58 +0000 (21:29 +0100)
committerJason Cooper <jason@lakedaemon.net>
Fri, 8 Mar 2013 21:34:16 +0000 (21:34 +0000)
commit7bf5b408b419fc849578e6e9fbd221bf43638eb6
tree922b919e74b37b4e69fad926b68871842576f063
parent93fff4ce19f9978cc1c59db42760717477939249
ARM: kirkwood: fix to retain gbe MAC addresses for DT kernels

The ethernet controller used on kirkwood looses its MAC address
register contents when the corresponding clock is gated. As soon as
mv643xx_eth is built as module, the clock gets gated and when loading
the module, the MAC address is gone.

Proper DT support for the mv643xx_eth driver is expected soon, so we add
a workaround to always enable ge0/ge1 clocks on kirkwood. This workaround
is also already used on non-DT kirkwood kernels.

Reported-by: Simon Baatz <gmbnomis@gmail.com>
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Tested-by: Simon Baatz <gmbnomis@gmail.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/mach-kirkwood/board-dt.c