linux/drivers/net/ethernet/marvell
Arnaud Patard \(Rtp\) 5445eaf309 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>
2013-07-30 19:32:36 -07:00
..
Kconfig Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2013-04-22 20:32:51 -04:00
Makefile mv643xx_eth: convert to use the Marvell Orion MDIO driver 2013-03-22 10:25:15 -04:00
mv643xx_eth.c net: mv643xx_eth: do not use port number as platform device id 2013-07-09 12:51:47 -07:00
mvmdio.c net: mvmdio: get and enable optional clock 2013-04-08 16:55:26 -04:00
mvneta.c mvneta: Try to fix mvneta when compiled as module 2013-07-30 19:32:36 -07:00
pxa168_eth.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2013-07-03 14:55:13 -07:00
skge.c net: pass info struct via netdevice notifier 2013-05-28 13:11:01 -07:00
skge.h
sky2.c net: pass info struct via netdevice notifier 2013-05-28 13:11:01 -07:00
sky2.h sky2: Receive Overflows not counted 2013-03-29 14:53:19 -04:00