|
@@ -1397,6 +1397,9 @@ static void bcm_sysport_netif_start(struct net_device *dev)
|
|
|
/* Enable NAPI */
|
|
|
napi_enable(&priv->napi);
|
|
|
|
|
|
+ /* Enable RX interrupt and TX ring full interrupt */
|
|
|
+ intrl2_0_mask_clear(priv, INTRL2_0_RDMA_MBDONE | INTRL2_0_TX_RING_FULL);
|
|
|
+
|
|
|
phy_start(priv->phydev);
|
|
|
|
|
|
/* Enable TX interrupts for the 32 TXQs */
|
|
@@ -1499,9 +1502,6 @@ static int bcm_sysport_open(struct net_device *dev)
|
|
|
if (ret)
|
|
|
goto out_free_rx_ring;
|
|
|
|
|
|
- /* Enable RX interrupt and TX ring full interrupt */
|
|
|
- intrl2_0_mask_clear(priv, INTRL2_0_RDMA_MBDONE | INTRL2_0_TX_RING_FULL);
|
|
|
-
|
|
|
/* Turn on TDMA */
|
|
|
ret = tdma_enable_set(priv, 1);
|
|
|
if (ret)
|
|
@@ -1885,9 +1885,6 @@ static int bcm_sysport_resume(struct device *d)
|
|
|
|
|
|
netif_device_attach(dev);
|
|
|
|
|
|
- /* Enable RX interrupt and TX ring full interrupt */
|
|
|
- intrl2_0_mask_clear(priv, INTRL2_0_RDMA_MBDONE | INTRL2_0_TX_RING_FULL);
|
|
|
-
|
|
|
/* RX pipe enable */
|
|
|
topctrl_writel(priv, 0, RX_FLUSH_CNTL);
|
|
|
|