summaryrefslogtreecommitdiffstats
path: root/drivers/net/cxgb3
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 /drivers/net/cxgb3
parentb5ddedc9cc01b1d86015af08c5f1694191804530 (diff)
downloadop-kernel-dev-43a944f37364e22fff4cbc1e12d227b196e47612.zip
op-kernel-dev-43a944f37364e22fff4cbc1e12d227b196e47612.tar.gz
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>
Diffstat (limited to 'drivers/net/cxgb3')
-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 cd9fcac..96c94a4 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,
OpenPOWER on IntegriCloud