Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 133789
b: refs/heads/master
c: 004b322
h: refs/heads/master
i:
  133787: aa48b08
v: v3
  • Loading branch information
Stephen Hemminger authored and David S. Miller committed Jan 21, 2009
1 parent a42a1f2 commit 9d10053
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 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: 162619e59ab456aa689080726cb2ada24c1dfddd
refs/heads/master: 004b3225c016efc90cbfe43cdf69c6331462bc56
20 changes: 11 additions & 9 deletions trunk/net/atm/lec.c
Original file line number Diff line number Diff line change
Expand Up @@ -667,17 +667,19 @@ static void lec_set_multicast_list(struct net_device *dev)
return;
}

static const struct net_device_ops lec_netdev_ops = {
.ndo_open = lec_open,
.ndo_stop = lec_close,
.ndo_start_xmit = lec_start_xmit,
.ndo_change_mtu = lec_change_mtu,
.ndo_tx_timeout = lec_tx_timeout,
.ndo_set_multicast_list = lec_set_multicast_list,
};


static void lec_init(struct net_device *dev)
{
dev->change_mtu = lec_change_mtu;
dev->open = lec_open;
dev->stop = lec_close;
dev->hard_start_xmit = lec_start_xmit;
dev->tx_timeout = lec_tx_timeout;

dev->get_stats = lec_get_stats;
dev->set_multicast_list = lec_set_multicast_list;
dev->do_ioctl = NULL;
dev->netdev_ops = &lec_netdev_ops;
printk("%s: Initialized!\n", dev->name);
}

Expand Down

0 comments on commit 9d10053

Please sign in to comment.