Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 133807
b: refs/heads/master
c: c86d874
h: refs/heads/master
i:
  133805: 763d065
  133803: b28a047
  133799: 77f048c
  133791: f493a68
v: v3
  • Loading branch information
Stephen Hemminger authored and David S. Miller committed Jan 21, 2009
1 parent 36e110a commit a6e7b75
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 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: 9fd3238e95046b61d518ddacaa767fa09f31b0d0
refs/heads/master: c86d87402966dc3f1996d17ef6bc2b676b46bb60
14 changes: 9 additions & 5 deletions trunk/drivers/net/tokenring/ibmtr.c
Original file line number Diff line number Diff line change
Expand Up @@ -815,17 +815,21 @@ static unsigned char __devinit get_sram_size(struct tok_info *adapt_info)

/*****************************************************************************/

static const struct net_device_ops trdev_netdev_ops = {
.ndo_open = tok_open,
.ndo_stop = tok_close,
.ndo_start_xmit = tok_send_packet,
.ndo_set_multicast_list = tok_set_multicast_list,
.ndo_change_mtu = ibmtr_change_mtu,
};

static int __devinit trdev_init(struct net_device *dev)
{
struct tok_info *ti = netdev_priv(dev);

SET_PAGE(ti->srb_page);
ti->open_failure = NO ;
dev->open = tok_open;
dev->stop = tok_close;
dev->hard_start_xmit = tok_send_packet;
dev->set_multicast_list = tok_set_multicast_list;
dev->change_mtu = ibmtr_change_mtu;
dev->netdev_ops = &trdev_netdev_ops;

return 0;
}
Expand Down

0 comments on commit a6e7b75

Please sign in to comment.