* [PATCH] xen/netback: add {set, validate}_mac_address ops
[not found] <#>
@ 2010-12-15 10:36 ` Ian Campbell
0 siblings, 0 replies; only message in thread
From: Ian Campbell @ 2010-12-15 10:36 UTC (permalink / raw)
To: xen-devel; +Cc: jeremy, Ian Campbell
use the default implementation.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
---
drivers/xen/netback/interface.c | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/drivers/xen/netback/interface.c b/drivers/xen/netback/interface.c
index 2e8508a..6532fe0 100644
--- a/drivers/xen/netback/interface.c
+++ b/drivers/xen/netback/interface.c
@@ -252,11 +252,13 @@ static struct ethtool_ops network_ethtool_ops =
static struct net_device_ops netback_ops =
{
- .ndo_start_xmit = netif_be_start_xmit,
- .ndo_get_stats = netif_be_get_stats,
- .ndo_open = net_open,
- .ndo_stop = net_close,
- .ndo_change_mtu = netbk_change_mtu,
+ .ndo_start_xmit = netif_be_start_xmit,
+ .ndo_get_stats = netif_be_get_stats,
+ .ndo_open = net_open,
+ .ndo_stop = net_close,
+ .ndo_change_mtu = netbk_change_mtu,
+ .ndo_set_mac_address = eth_mac_addr,
+ .ndo_validate_addr = eth_validate_addr,
};
struct xen_netif *netif_alloc(struct device *parent, domid_t domid, unsigned int handle)
--
1.5.6.5
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-12-15 10:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <#>
2010-12-15 10:36 ` [PATCH] xen/netback: add {set, validate}_mac_address ops Ian Campbell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).