diff options
author | David S. Miller <davem@davemloft.net> | 2009-09-02 03:32:56 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-09-02 03:32:56 -0400 |
commit | 6cdee2f96a97f6da26bd3759c3f8823332fbb438 (patch) | |
tree | ec79086f05ffc3bdf1aecc37e108ccfc3a95450d /drivers/net/tulip | |
parent | 0625491493d9000e4556bf566d205c28c8e7dc4e (diff) | |
parent | 2fbd3da3877ad8d923b055e5996f80b4d4a6daf4 (diff) |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts:
drivers/net/yellowfin.c
Diffstat (limited to 'drivers/net/tulip')
-rw-r--r-- | drivers/net/tulip/tulip_core.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/tulip/tulip_core.c b/drivers/net/tulip/tulip_core.c index 2a01f0e421ab..b89b73c0b30b 100644 --- a/drivers/net/tulip/tulip_core.c +++ b/drivers/net/tulip/tulip_core.c | |||
@@ -653,8 +653,9 @@ tulip_start_xmit(struct sk_buff *skb, struct net_device *dev) | |||
653 | int entry; | 653 | int entry; |
654 | u32 flag; | 654 | u32 flag; |
655 | dma_addr_t mapping; | 655 | dma_addr_t mapping; |
656 | unsigned long flags; | ||
656 | 657 | ||
657 | spin_lock_irq(&tp->lock); | 658 | spin_lock_irqsave(&tp->lock, flags); |
658 | 659 | ||
659 | /* Calculate the next Tx descriptor entry. */ | 660 | /* Calculate the next Tx descriptor entry. */ |
660 | entry = tp->cur_tx % TX_RING_SIZE; | 661 | entry = tp->cur_tx % TX_RING_SIZE; |
@@ -689,7 +690,7 @@ tulip_start_xmit(struct sk_buff *skb, struct net_device *dev) | |||
689 | /* Trigger an immediate transmit demand. */ | 690 | /* Trigger an immediate transmit demand. */ |
690 | iowrite32(0, tp->base_addr + CSR1); | 691 | iowrite32(0, tp->base_addr + CSR1); |
691 | 692 | ||
692 | spin_unlock_irq(&tp->lock); | 693 | spin_unlock_irqrestore(&tp->lock, flags); |
693 | 694 | ||
694 | dev->trans_start = jiffies; | 695 | dev->trans_start = jiffies; |
695 | 696 | ||