diff options
Diffstat (limited to 'drivers/net/ethernet/marvell')
-rw-r--r-- | drivers/net/ethernet/marvell/mv643xx_eth.c | 1 | ||||
-rw-r--r-- | drivers/net/ethernet/marvell/pxa168_eth.c | 1 | ||||
-rw-r--r-- | drivers/net/ethernet/marvell/sky2.c | 4 |
3 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/ethernet/marvell/mv643xx_eth.c b/drivers/net/ethernet/marvell/mv643xx_eth.c index 5e1ca0f05090..c8950da60e6b 100644 --- a/drivers/net/ethernet/marvell/mv643xx_eth.c +++ b/drivers/net/ethernet/marvell/mv643xx_eth.c | |||
@@ -1665,6 +1665,7 @@ static const struct ethtool_ops mv643xx_eth_ethtool_ops = { | |||
1665 | .get_strings = mv643xx_eth_get_strings, | 1665 | .get_strings = mv643xx_eth_get_strings, |
1666 | .get_ethtool_stats = mv643xx_eth_get_ethtool_stats, | 1666 | .get_ethtool_stats = mv643xx_eth_get_ethtool_stats, |
1667 | .get_sset_count = mv643xx_eth_get_sset_count, | 1667 | .get_sset_count = mv643xx_eth_get_sset_count, |
1668 | .get_ts_info = ethtool_op_get_ts_info, | ||
1668 | }; | 1669 | }; |
1669 | 1670 | ||
1670 | 1671 | ||
diff --git a/drivers/net/ethernet/marvell/pxa168_eth.c b/drivers/net/ethernet/marvell/pxa168_eth.c index efec6b60b327..1db023b075a1 100644 --- a/drivers/net/ethernet/marvell/pxa168_eth.c +++ b/drivers/net/ethernet/marvell/pxa168_eth.c | |||
@@ -1456,6 +1456,7 @@ static const struct ethtool_ops pxa168_ethtool_ops = { | |||
1456 | .set_settings = pxa168_set_settings, | 1456 | .set_settings = pxa168_set_settings, |
1457 | .get_drvinfo = pxa168_get_drvinfo, | 1457 | .get_drvinfo = pxa168_get_drvinfo, |
1458 | .get_link = ethtool_op_get_link, | 1458 | .get_link = ethtool_op_get_link, |
1459 | .get_ts_info = ethtool_op_get_ts_info, | ||
1459 | }; | 1460 | }; |
1460 | 1461 | ||
1461 | static const struct net_device_ops pxa168_eth_netdev_ops = { | 1462 | static const struct net_device_ops pxa168_eth_netdev_ops = { |
diff --git a/drivers/net/ethernet/marvell/sky2.c b/drivers/net/ethernet/marvell/sky2.c index c9b504e2dfc3..7732474263da 100644 --- a/drivers/net/ethernet/marvell/sky2.c +++ b/drivers/net/ethernet/marvell/sky2.c | |||
@@ -4816,14 +4816,14 @@ static int __devinit sky2_test_msi(struct sky2_hw *hw) | |||
4816 | 4816 | ||
4817 | init_waitqueue_head(&hw->msi_wait); | 4817 | init_waitqueue_head(&hw->msi_wait); |
4818 | 4818 | ||
4819 | sky2_write32(hw, B0_IMSK, Y2_IS_IRQ_SW); | ||
4820 | |||
4821 | err = request_irq(pdev->irq, sky2_test_intr, 0, DRV_NAME, hw); | 4819 | err = request_irq(pdev->irq, sky2_test_intr, 0, DRV_NAME, hw); |
4822 | if (err) { | 4820 | if (err) { |
4823 | dev_err(&pdev->dev, "cannot assign irq %d\n", pdev->irq); | 4821 | dev_err(&pdev->dev, "cannot assign irq %d\n", pdev->irq); |
4824 | return err; | 4822 | return err; |
4825 | } | 4823 | } |
4826 | 4824 | ||
4825 | sky2_write32(hw, B0_IMSK, Y2_IS_IRQ_SW); | ||
4826 | |||
4827 | sky2_write8(hw, B0_CTST, CS_ST_SW_IRQ); | 4827 | sky2_write8(hw, B0_CTST, CS_ST_SW_IRQ); |
4828 | sky2_read8(hw, B0_CTST); | 4828 | sky2_read8(hw, B0_CTST); |
4829 | 4829 | ||