|
@@ -365,7 +365,7 @@ static irqreturn_t xgbe_isr(int irq, void *data)
|
|
|
|
|
|
/* Restart the device on a Fatal Bus Error */
|
|
/* Restart the device on a Fatal Bus Error */
|
|
if (XGMAC_GET_BITS(dma_ch_isr, DMA_CH_SR, FBE))
|
|
if (XGMAC_GET_BITS(dma_ch_isr, DMA_CH_SR, FBE))
|
|
- queue_work(pdata->dev_workqueue, &pdata->restart_work);
|
|
|
|
|
|
+ schedule_work(&pdata->restart_work);
|
|
|
|
|
|
/* Clear all interrupt signals */
|
|
/* Clear all interrupt signals */
|
|
XGMAC_DMA_IOWRITE(channel, DMA_CH_SR, dma_ch_isr);
|
|
XGMAC_DMA_IOWRITE(channel, DMA_CH_SR, dma_ch_isr);
|
|
@@ -1537,7 +1537,7 @@ static void xgbe_tx_timeout(struct net_device *netdev)
|
|
struct xgbe_prv_data *pdata = netdev_priv(netdev);
|
|
struct xgbe_prv_data *pdata = netdev_priv(netdev);
|
|
|
|
|
|
netdev_warn(netdev, "tx timeout, device restarting\n");
|
|
netdev_warn(netdev, "tx timeout, device restarting\n");
|
|
- queue_work(pdata->dev_workqueue, &pdata->restart_work);
|
|
|
|
|
|
+ schedule_work(&pdata->restart_work);
|
|
}
|
|
}
|
|
|
|
|
|
static struct rtnl_link_stats64 *xgbe_get_stats64(struct net_device *netdev,
|
|
static struct rtnl_link_stats64 *xgbe_get_stats64(struct net_device *netdev,
|