Skip to contentSkip to conversation

cxgb3 - set hard_xmit in the netdev_ops

PATCH Applied Divy Le Ray 2 participants 2 messages Nov 26, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/4 cxgb3 - set hard_xmit in the netdev_ops

From: Divy Le Ray <[email protected]>

Fix t3_eth_xmit() missing into the netdev_ops structure.

---

 drivers/net/cxgb3/cxgb3_main.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/net/cxgb3/cxgb3_main.c +1 -0
index cd9fcac..96c94a4 100644
@@ -2831,6 +2831,7 @@ static void __devinit print_port_info(struct adapter *adap,
 static const struct net_device_ops cxgb_netdev_ops = {
 	.ndo_open		= cxgb_open,
 	.ndo_stop		= cxgb_close,
+	.ndo_start_xmit		= t3_eth_xmit,
 	.ndo_get_stats		= cxgb_get_stats,
 	.ndo_validate_addr	= eth_validate_addr,
 	.ndo_set_multicast_list	= cxgb_set_rxmode,