Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 202898
b: refs/heads/master
c: ee4f56b
h: refs/heads/master
v: v3
  • Loading branch information
Jonas Bonn authored and David S. Miller committed Jun 11, 2010
1 parent 2b9586e commit 11ca93b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: f8555ad0cfb0ba6cbc8729f337341fb11c82db89
refs/heads/master: ee4f56b990391f0ea333121ebc0e9fba28619b52
4 changes: 2 additions & 2 deletions trunk/drivers/net/ethoc.c
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,8 @@ static int ethoc_init_ring(struct ethoc *dev, void* mem_start)
dev->dty_tx = 0;
dev->cur_rx = 0;

ethoc_write(dev, TX_BD_NUM, dev->num_tx);

/* setup transmission buffers */
bd.addr = mem_start;
bd.stat = TX_BD_IRQ | TX_BD_CRC;
Expand Down Expand Up @@ -676,8 +678,6 @@ static int ethoc_open(struct net_device *dev)
if (ret)
return ret;

ethoc_write(priv, TX_BD_NUM, priv->num_tx);

ethoc_init_ring(priv, (void*)dev->mem_start);
ethoc_reset(priv);

Expand Down

0 comments on commit 11ca93b

Please sign in to comment.