Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 210136
b: refs/heads/master
c: b2bc856
h: refs/heads/master
v: v3
  • Loading branch information
Dan Carpenter authored and David S. Miller committed Aug 24, 2010
1 parent 03c7526 commit f4878b1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 4f2c85106883bada5167e1d42a0409e063da8895
refs/heads/master: b2bc85631e72485b984bcd202a104591874babba
6 changes: 3 additions & 3 deletions trunk/drivers/net/pxa168_eth.c
Original file line number Diff line number Diff line change
Expand Up @@ -654,15 +654,15 @@ static void eth_port_start(struct net_device *dev)
/* Assignment of Tx CTRP of given queue */
tx_curr_desc = pep->tx_curr_desc_q;
wrl(pep, ETH_C_TX_DESC_1,
(u32) ((struct tx_desc *)pep->tx_desc_dma + tx_curr_desc));
(u32) (pep->tx_desc_dma + tx_curr_desc * sizeof(struct tx_desc)));

/* Assignment of Rx CRDP of given queue */
rx_curr_desc = pep->rx_curr_desc_q;
wrl(pep, ETH_C_RX_DESC_0,
(u32) ((struct rx_desc *)pep->rx_desc_dma + rx_curr_desc));
(u32) (pep->rx_desc_dma + rx_curr_desc * sizeof(struct rx_desc)));

wrl(pep, ETH_F_RX_DESC_0,
(u32) ((struct rx_desc *)pep->rx_desc_dma + rx_curr_desc));
(u32) (pep->rx_desc_dma + rx_curr_desc * sizeof(struct rx_desc)));

/* Clear all interrupts */
wrl(pep, INT_CAUSE, 0);
Expand Down

0 comments on commit f4878b1

Please sign in to comment.