summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDivy Le Ray <divy@chelsio.com>2008-11-26 15:35:26 -0800
committerDavid S. Miller <davem@davemloft.net>2008-11-26 15:35:26 -0800
commit43a944f37364e22fff4cbc1e12d227b196e47612 (patch)
tree97714c1bb51c2944582ebf58f7f67d613d3c364b
parentb5ddedc9cc01b1d86015af08c5f1694191804530 (diff)
downloadlinux-3.10-43a944f37364e22fff4cbc1e12d227b196e47612.tar.gz
linux-3.10-43a944f37364e22fff4cbc1e12d227b196e47612.tar.bz2
linux-3.10-43a944f37364e22fff4cbc1e12d227b196e47612.zip
cxgb3: set hard_xmit in the netdev_ops
Fix t3_eth_xmit() missing into the netdev_ops structure. Signed-off-by: Divy Le Ray <divy@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/cxgb3/cxgb3_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/cxgb3/cxgb3_main.c b/drivers/net/cxgb3/cxgb3_main.c
index cd9fcaca70f..96c94a46848 100644
--- a/drivers/net/cxgb3/cxgb3_main.c
+++ b/drivers/net/cxgb3/cxgb3_main.c
@@ -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,