Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 133833
b: refs/heads/master
c: 2171dc1
h: refs/heads/master
i:
  133831: 9ad12b3
v: v3
  • Loading branch information
Frank Blaschka authored and David S. Miller committed Jan 21, 2009
1 parent 9a1060e commit 51467cf
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: 4edd73b5cf466ab2c9d406fd6768cb3203abfbe5
refs/heads/master: 2171dc1815fcc5cc08d227155d65bb268070f6a5
14 changes: 9 additions & 5 deletions trunk/drivers/s390/net/claw.c
Original file line number Diff line number Diff line change
Expand Up @@ -2816,22 +2816,26 @@ claw_free_netdevice(struct net_device * dev, int free_dev)
* Initialize everything of the net device except the name and the
* channel structs.
*/
static const struct net_device_ops claw_netdev_ops = {
.ndo_open = claw_open,
.ndo_stop = claw_release,
.ndo_get_stats = claw_stats,
.ndo_start_xmit = claw_tx,
.ndo_change_mtu = claw_change_mtu,
};

static void
claw_init_netdevice(struct net_device * dev)
{
CLAW_DBF_TEXT(2, setup, "init_dev");
CLAW_DBF_TEXT_(2, setup, "%s", dev->name);
dev->mtu = CLAW_DEFAULT_MTU_SIZE;
dev->hard_start_xmit = claw_tx;
dev->open = claw_open;
dev->stop = claw_release;
dev->get_stats = claw_stats;
dev->change_mtu = claw_change_mtu;
dev->hard_header_len = 0;
dev->addr_len = 0;
dev->type = ARPHRD_SLIP;
dev->tx_queue_len = 1300;
dev->flags = IFF_POINTOPOINT | IFF_NOARP;
dev->netdev_ops = &claw_netdev_ops;
CLAW_DBF_TEXT(2, setup, "initok");
return;
}
Expand Down

0 comments on commit 51467cf

Please sign in to comment.