Commit 0127cd54 authored by Esben Haabendal's avatar Esben Haabendal Committed by David S. Miller

net: ll_temac: Enable multicast support

Multicast support have been tested and is working now.
Signed-off-by: default avatarEsben Haabendal <esben@geanix.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1b3fa5cf
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
* *
* TODO: * TODO:
* - Factor out locallink DMA code into separate driver * - Factor out locallink DMA code into separate driver
* - Fix multicast assignment.
* - Fix support for hardware checksumming. * - Fix support for hardware checksumming.
* - Testing. Lots and lots of testing. * - Testing. Lots and lots of testing.
* *
...@@ -1097,6 +1096,7 @@ static const struct net_device_ops temac_netdev_ops = { ...@@ -1097,6 +1096,7 @@ static const struct net_device_ops temac_netdev_ops = {
.ndo_open = temac_open, .ndo_open = temac_open,
.ndo_stop = temac_stop, .ndo_stop = temac_stop,
.ndo_start_xmit = temac_start_xmit, .ndo_start_xmit = temac_start_xmit,
.ndo_set_rx_mode = temac_set_multicast_list,
.ndo_set_mac_address = temac_set_mac_address, .ndo_set_mac_address = temac_set_mac_address,
.ndo_validate_addr = eth_validate_addr, .ndo_validate_addr = eth_validate_addr,
.ndo_do_ioctl = temac_ioctl, .ndo_do_ioctl = temac_ioctl,
...@@ -1162,7 +1162,6 @@ static int temac_probe(struct platform_device *pdev) ...@@ -1162,7 +1162,6 @@ static int temac_probe(struct platform_device *pdev)
platform_set_drvdata(pdev, ndev); platform_set_drvdata(pdev, ndev);
SET_NETDEV_DEV(ndev, &pdev->dev); SET_NETDEV_DEV(ndev, &pdev->dev);
ndev->flags &= ~IFF_MULTICAST; /* clear multicast */
ndev->features = NETIF_F_SG; ndev->features = NETIF_F_SG;
ndev->netdev_ops = &temac_netdev_ops; ndev->netdev_ops = &temac_netdev_ops;
ndev->ethtool_ops = &temac_ethtool_ops; ndev->ethtool_ops = &temac_ethtool_ops;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment