|
|
@@ -24,7 +24,7 @@ Signed-off-by: Phil Elwell <[email protected]>
|
|
|
|
|
|
--- a/drivers/net/ethernet/broadcom/genet/bcmgenet.c
|
|
|
+++ b/drivers/net/ethernet/broadcom/genet/bcmgenet.c
|
|
|
-@@ -2790,7 +2790,7 @@ static void bcmgenet_set_hw_addr(struct
|
|
|
+@@ -2791,7 +2791,7 @@ static void bcmgenet_set_hw_addr(struct
|
|
|
}
|
|
|
|
|
|
/* Returns a reusable dma control register value */
|
|
|
@@ -33,7 +33,7 @@ Signed-off-by: Phil Elwell <[email protected]>
|
|
|
{
|
|
|
unsigned int i;
|
|
|
u32 reg;
|
|
|
-@@ -2815,6 +2815,14 @@ static u32 bcmgenet_dma_disable(struct b
|
|
|
+@@ -2816,6 +2816,14 @@ static u32 bcmgenet_dma_disable(struct b
|
|
|
udelay(10);
|
|
|
bcmgenet_umac_writel(priv, 0, UMAC_TX_FLUSH);
|
|
|
|
|
|
@@ -48,9 +48,9 @@ Signed-off-by: Phil Elwell <[email protected]>
|
|
|
return dma_ctrl;
|
|
|
}
|
|
|
|
|
|
-@@ -2916,8 +2924,8 @@ static int bcmgenet_open(struct net_devi
|
|
|
- bcmgenet_ext_writel(priv, reg, EXT_EXT_PWR_MGMT);
|
|
|
- }
|
|
|
+@@ -2911,8 +2919,8 @@ static int bcmgenet_open(struct net_devi
|
|
|
+
|
|
|
+ bcmgenet_set_hw_addr(priv, dev->dev_addr);
|
|
|
|
|
|
- /* Disable RX/TX DMA and flush TX queues */
|
|
|
- dma_ctrl = bcmgenet_dma_disable(priv);
|
|
|
@@ -59,7 +59,7 @@ Signed-off-by: Phil Elwell <[email protected]>
|
|
|
|
|
|
/* Reinitialize TDMA and RDMA and SW housekeeping */
|
|
|
ret = bcmgenet_init_dma(priv);
|
|
|
-@@ -3677,7 +3685,7 @@ static int bcmgenet_resume(struct device
|
|
|
+@@ -3665,7 +3673,7 @@ static int bcmgenet_resume(struct device
|
|
|
bcmgenet_power_up(priv, GENET_POWER_WOL_MAGIC);
|
|
|
|
|
|
/* Disable RX/TX DMA and flush TX queues */
|