aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/amd8111e.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/amd8111e.c')
-rw-r--r--drivers/net/amd8111e.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/net/amd8111e.c b/drivers/net/amd8111e.c
index 4e6359fff0e1..766aabfdfc75 100644
--- a/drivers/net/amd8111e.c
+++ b/drivers/net/amd8111e.c
@@ -1633,8 +1633,13 @@ static int amd8111e_enable_link_change(struct amd8111e_priv* lp)
1633 readl(lp->mmio + CMD7); 1633 readl(lp->mmio + CMD7);
1634 return 0; 1634 return 0;
1635} 1635}
1636/* This function is called when a packet transmission fails to complete within a resonable period, on the assumption that an interrupts have been failed or the interface is locked up. This function will reinitialize the hardware */
1637 1636
1637/*
1638 * This function is called when a packet transmission fails to complete
1639 * within a reasonable period, on the assumption that an interrupt have
1640 * failed or the interface is locked up. This function will reinitialize
1641 * the hardware.
1642 */
1638static void amd8111e_tx_timeout(struct net_device *dev) 1643static void amd8111e_tx_timeout(struct net_device *dev)
1639{ 1644{
1640 struct amd8111e_priv* lp = netdev_priv(dev); 1645 struct amd8111e_priv* lp = netdev_priv(dev);