Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 58749
b: refs/heads/master
c: 89c0d26
h: refs/heads/master
i:
  58747: 3153da7
v: v3
  • Loading branch information
Alexey Dobriyan authored and Jeff Garzik committed Jul 10, 2007
1 parent cb52343 commit d5aafe1
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 099575b6cb7eaf18211ba72de56264f67651b90b
refs/heads/master: 89c0d26be7037cd5bbce3bbf12580ba70ed8f382
3 changes: 1 addition & 2 deletions trunk/drivers/net/atl1/atl1_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -634,14 +634,13 @@ static void atl1_intr_tx(struct atl1_adapter *adapter)
struct atl1_buffer *buffer_info;
u16 sw_tpd_next_to_clean;
u16 cmb_tpd_next_to_clean;
u8 update = 0;

sw_tpd_next_to_clean = atomic_read(&tpd_ring->next_to_clean);
cmb_tpd_next_to_clean = le16_to_cpu(adapter->cmb.cmb->tpd_cons_idx);

while (cmb_tpd_next_to_clean != sw_tpd_next_to_clean) {
struct tx_packet_desc *tpd;
update = 1;

tpd = ATL1_TPD_DESC(tpd_ring, sw_tpd_next_to_clean);
buffer_info = &tpd_ring->buffer_info[sw_tpd_next_to_clean];
if (buffer_info->dma) {
Expand Down

0 comments on commit d5aafe1

Please sign in to comment.