bgmac: reset & enable Ethernet core before using it
authorRafał Miłecki <zajec5@gmail.com>
Tue, 12 Apr 2016 11:30:45 +0000 (13:30 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Apr 2016 21:15:55 +0000 (17:15 -0400)
commitb4dfd8e92956b396d3438212bc9a0be6267b8b34
tree9bb6a92ce21c41d1ce75975869df8c3d28ab7f41
parent97cc931fc928a5cef50b104c0c225975ff729fce
bgmac: reset & enable Ethernet core before using it

This fixes Ethernet on D-Link DIR-885L with BCM47094 SoC. Felix reported
similar fix was needed for his BCM4709 device (Buffalo WXR-1900DHP?).
I tested this for regressions on BCM4706, BCM4708A0 and BCM47081A0.

Cc: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bgmac.c