Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Mostly simple overlapping changes. For example, David Ahern's adjacency list revamp in 'net-next' conflicted with an adjacency list traversal bug fix in 'net'. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -1021,14 +1021,18 @@ void emac_mac_down(struct emac_adapter *adpt)
|
||||
napi_disable(&adpt->rx_q.napi);
|
||||
|
||||
phy_stop(adpt->phydev);
|
||||
phy_disconnect(adpt->phydev);
|
||||
|
||||
/* disable mac irq */
|
||||
/* Interrupts must be disabled before the PHY is disconnected, to
|
||||
* avoid a race condition where adjust_link is null when we get
|
||||
* an interrupt.
|
||||
*/
|
||||
writel(DIS_INT, adpt->base + EMAC_INT_STATUS);
|
||||
writel(0, adpt->base + EMAC_INT_MASK);
|
||||
synchronize_irq(adpt->irq.irq);
|
||||
free_irq(adpt->irq.irq, &adpt->irq);
|
||||
|
||||
phy_disconnect(adpt->phydev);
|
||||
|
||||
emac_mac_reset(adpt);
|
||||
|
||||
emac_tx_q_descs_free(adpt);
|
||||
|
@@ -568,6 +568,7 @@ static const struct of_device_id emac_dt_match[] = {
|
||||
},
|
||||
{}
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, emac_dt_match);
|
||||
|
||||
#if IS_ENABLED(CONFIG_ACPI)
|
||||
static const struct acpi_device_id emac_acpi_match[] = {
|
||||
|
Reference in New Issue
Block a user