diff options
author | Jay Cliburn <jacliburn@bellsouth.net> | 2007-07-19 19:45:10 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-07-24 16:28:40 -0400 |
commit | e6a7ff4a617ad3f6a59e2576d430b9292299d067 (patch) | |
tree | 17754a667c17893940010804ae60512916e8b334 /drivers/net/atl1/atl1_main.c | |
parent | 583aae1094d28aa1d58360318388c11d2ae7ed9c (diff) |
atl1: change tpd_avail function name
Change tpd_avail() to atl1_tpd_avail().
Signed-off-by: Jay Cliburn <jacliburn@bellsouth.net>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/atl1/atl1_main.c')
-rw-r--r-- | drivers/net/atl1/atl1_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/atl1/atl1_main.c b/drivers/net/atl1/atl1_main.c index fd1e156f1747..79d60e14775c 100644 --- a/drivers/net/atl1/atl1_main.c +++ b/drivers/net/atl1/atl1_main.c | |||
@@ -1422,7 +1422,7 @@ static void atl1_intr_tx(struct atl1_adapter *adapter) | |||
1422 | netif_wake_queue(adapter->netdev); | 1422 | netif_wake_queue(adapter->netdev); |
1423 | } | 1423 | } |
1424 | 1424 | ||
1425 | static u16 tpd_avail(struct atl1_tpd_ring *tpd_ring) | 1425 | static u16 atl1_tpd_avail(struct atl1_tpd_ring *tpd_ring) |
1426 | { | 1426 | { |
1427 | u16 next_to_clean = atomic_read(&tpd_ring->next_to_clean); | 1427 | u16 next_to_clean = atomic_read(&tpd_ring->next_to_clean); |
1428 | u16 next_to_use = atomic_read(&tpd_ring->next_to_use); | 1428 | u16 next_to_use = atomic_read(&tpd_ring->next_to_use); |
@@ -1708,7 +1708,7 @@ static int atl1_xmit_frame(struct sk_buff *skb, struct net_device *netdev) | |||
1708 | return NETDEV_TX_LOCKED; | 1708 | return NETDEV_TX_LOCKED; |
1709 | } | 1709 | } |
1710 | 1710 | ||
1711 | if (tpd_avail(&adapter->tpd_ring) < count) { | 1711 | if (atl1_tpd_avail(&adapter->tpd_ring) < count) { |
1712 | /* not enough descriptors */ | 1712 | /* not enough descriptors */ |
1713 | netif_stop_queue(netdev); | 1713 | netif_stop_queue(netdev); |
1714 | spin_unlock_irqrestore(&adapter->lock, flags); | 1714 | spin_unlock_irqrestore(&adapter->lock, flags); |