Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Conflicts: net/sched/act_police.c net/sched/sch_drr.c net/sched/sch_hfsc.c net/sched/sch_prio.c net/sched/sch_red.c net/sched/sch_tbf.c In net-next the drop methods of the packet schedulers got removed, so the bug fixes to them in 'net' are irrelevant. A packet action unload crash fix conflicts with the addition of the new firstuse timestamp. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -156,7 +156,7 @@ static void dwmac4_set_filter(struct mac_device_info *hw,
|
||||
struct netdev_hw_addr *ha;
|
||||
|
||||
netdev_for_each_uc_addr(ha, dev) {
|
||||
dwmac4_set_umac_addr(ioaddr, ha->addr, reg);
|
||||
dwmac4_set_umac_addr(hw, ha->addr, reg);
|
||||
reg++;
|
||||
}
|
||||
}
|
||||
|
@@ -3450,8 +3450,6 @@ int stmmac_resume(struct device *dev)
|
||||
if (!netif_running(ndev))
|
||||
return 0;
|
||||
|
||||
spin_lock_irqsave(&priv->lock, flags);
|
||||
|
||||
/* Power Down bit, into the PM register, is cleared
|
||||
* automatically as soon as a magic packet or a Wake-up frame
|
||||
* is received. Anyway, it's better to manually clear
|
||||
@@ -3459,7 +3457,9 @@ int stmmac_resume(struct device *dev)
|
||||
* from another devices (e.g. serial console).
|
||||
*/
|
||||
if (device_may_wakeup(priv->device)) {
|
||||
spin_lock_irqsave(&priv->lock, flags);
|
||||
priv->hw->mac->pmt(priv->hw, 0);
|
||||
spin_unlock_irqrestore(&priv->lock, flags);
|
||||
priv->irq_wake = 0;
|
||||
} else {
|
||||
pinctrl_pm_select_default_state(priv->device);
|
||||
@@ -3473,6 +3473,8 @@ int stmmac_resume(struct device *dev)
|
||||
|
||||
netif_device_attach(ndev);
|
||||
|
||||
spin_lock_irqsave(&priv->lock, flags);
|
||||
|
||||
priv->cur_rx = 0;
|
||||
priv->dirty_rx = 0;
|
||||
priv->dirty_tx = 0;
|
||||
|
Reference in New Issue
Block a user