diff options
author | Arnaud Patard \(Rtp\) <arnaud.patard@rtp-net.org> | 2013-07-29 19:56:48 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-07-31 02:32:36 (GMT) |
commit | 5445eaf309ff2868c77354016505fc7315947a35 (patch) | |
tree | e781a2e6b62715e3ff0e125182681f7be0b946fc /kernel/audit_watch.c | |
parent | aded09555b7a0748a692d0d644ac54c10c1c0757 (diff) | |
download | linux-fsl-qoriq-5445eaf309ff2868c77354016505fc7315947a35.tar.xz |
mvneta: Try to fix mvneta when compiled as module
When the mvneta driver is compiled as module, the clock is disabled before
it's loading. This will reset the registers values and all configuration
made by the bootloader.
This patch sets the "sgmii serdes configuration" register to a magical value
found in:
https://github.com/yellowback/ubuntu-precise-armadaxp/blob/master/arch/arm/mach-armadaxp/armada_xp_family/ctrlEnv/mvCtrlEnvLib.c
With this change, the interrupts are working/generated and ethernet is
working.
Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/audit_watch.c')
0 files changed, 0 insertions, 0 deletions