Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 184281
b: refs/heads/master
c: 8ea7a37
h: refs/heads/master
i:
  184279: 9e927a3
v: v3
  • Loading branch information
Steven J. Magnani authored and David S. Miller committed Feb 17, 2010
1 parent a757474 commit 08168a2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c3b7c12cd78d5c8264c87c29dcd9a8f1819f8313
refs/heads/master: 8ea7a37c5a312bfee51ff7f12f78efe4fbc901cc
9 changes: 8 additions & 1 deletion trunk/drivers/net/ll_temac_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,13 @@ static int temac_set_mac_address(struct net_device *ndev, void *address)
return 0;
}

static int netdev_set_mac_address(struct net_device *ndev, void *p)
{
struct sockaddr *addr = p;

return temac_set_mac_address(ndev, addr->sa_data);
}

static void temac_set_multicast_list(struct net_device *ndev)
{
struct temac_local *lp = netdev_priv(ndev);
Expand Down Expand Up @@ -768,7 +775,7 @@ static const struct net_device_ops temac_netdev_ops = {
.ndo_open = temac_open,
.ndo_stop = temac_stop,
.ndo_start_xmit = temac_start_xmit,
.ndo_set_mac_address = temac_set_mac_address,
.ndo_set_mac_address = netdev_set_mac_address,
//.ndo_set_multicast_list = temac_set_multicast_list,
#ifdef CONFIG_NET_POLL_CONTROLLER
.ndo_poll_controller = temac_poll_controller,
Expand Down

0 comments on commit 08168a2

Please sign in to comment.