Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 62814
b: refs/heads/master
c: e6a7ff4
h: refs/heads/master
v: v3
  • Loading branch information
Jay Cliburn authored and Jeff Garzik committed Jul 24, 2007
1 parent 88a094b commit 28d4ada
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: 583aae1094d28aa1d58360318388c11d2ae7ed9c
refs/heads/master: e6a7ff4a617ad3f6a59e2576d430b9292299d067
4 changes: 2 additions & 2 deletions trunk/drivers/net/atl1/atl1_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1422,7 +1422,7 @@ static void atl1_intr_tx(struct atl1_adapter *adapter)
netif_wake_queue(adapter->netdev);
}

static u16 tpd_avail(struct atl1_tpd_ring *tpd_ring)
static u16 atl1_tpd_avail(struct atl1_tpd_ring *tpd_ring)
{
u16 next_to_clean = atomic_read(&tpd_ring->next_to_clean);
u16 next_to_use = atomic_read(&tpd_ring->next_to_use);
Expand Down Expand Up @@ -1708,7 +1708,7 @@ static int atl1_xmit_frame(struct sk_buff *skb, struct net_device *netdev)
return NETDEV_TX_LOCKED;
}

if (tpd_avail(&adapter->tpd_ring) < count) {
if (atl1_tpd_avail(&adapter->tpd_ring) < count) {
/* not enough descriptors */
netif_stop_queue(netdev);
spin_unlock_irqrestore(&adapter->lock, flags);
Expand Down

0 comments on commit 28d4ada

Please sign in to comment.