Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 127778
b: refs/heads/master
c: 79994c9
h: refs/heads/master
v: v3
  • Loading branch information
Stephen Hemminger authored and David S. Miller committed Jan 7, 2009
1 parent 9afb3ad commit 522da94
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 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: d442ad4ab1c86b453e0f44fb3de0932f386ab3e6
refs/heads/master: 79994c990674edd9a1e8b2aad21e8eb8e3b43748
16 changes: 10 additions & 6 deletions trunk/drivers/ieee1394/eth1394.c
Original file line number Diff line number Diff line change
Expand Up @@ -516,16 +516,20 @@ static const struct header_ops ether1394_header_ops = {
.parse = ether1394_header_parse,
};

static const struct net_device_ops ether1394_netdev_ops = {
.ndo_open = ether1394_open,
.ndo_stop = ether1394_stop,
.ndo_start_xmit = ether1394_tx,
.ndo_get_stats = ether1394_stats,
.ndo_tx_timeout = ether1394_tx_timeout,
.ndo_change_mtu = ether1394_change_mtu,
};

static void ether1394_init_dev(struct net_device *dev)
{
dev->open = ether1394_open;
dev->stop = ether1394_stop;
dev->hard_start_xmit = ether1394_tx;
dev->get_stats = ether1394_stats;
dev->tx_timeout = ether1394_tx_timeout;
dev->change_mtu = ether1394_change_mtu;

dev->header_ops = &ether1394_header_ops;
dev->netdev_ops = &ether1394_netdev_ops;

SET_ETHTOOL_OPS(dev, &ethtool_ops);

Expand Down

0 comments on commit 522da94

Please sign in to comment.