Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 39421
b: refs/heads/master
c: b21606a
h: refs/heads/master
i:
  39419: 7f1dc4e
v: v3
  • Loading branch information
Linas Vepstas authored and Jeff Garzik committed Oct 11, 2006
1 parent b12848e commit a0bdad7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 98b9040c747e50fe02ad616c9d5fee9aa4017cd1
refs/heads/master: b21606a773faffc2b3ec326325c433bdf37ecbdf
4 changes: 3 additions & 1 deletion trunk/drivers/net/spider_net.c
Original file line number Diff line number Diff line change
Expand Up @@ -1628,8 +1628,10 @@ spider_net_open(struct net_device *netdev)
if (spider_net_init_chain(card, &card->tx_chain, card->descr,
PCI_DMA_TODEVICE, card->tx_desc))
goto alloc_tx_failed;

/* rx_chain is after tx_chain, so offset is descr + tx_count */
if (spider_net_init_chain(card, &card->rx_chain,
card->descr + card->rx_desc,
card->descr + card->tx_desc,
PCI_DMA_FROMDEVICE, card->rx_desc))
goto alloc_rx_failed;

Expand Down

0 comments on commit a0bdad7

Please sign in to comment.