diff options
author | David S. Miller <davem@davemloft.net> | 2009-08-12 20:44:53 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-08-12 20:44:53 -0400 |
commit | aa11d958d1a6572eda08214d7c6a735804fe48a5 (patch) | |
tree | d025b05270ad1e010660d17eeadc6ac3c1abbd7d /drivers/net/fealnx.c | |
parent | 07f6642ee9418e962e54cbc07471cfe2e559c568 (diff) | |
parent | 9799218ae36910af50f002a5db1802d576fffb43 (diff) |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts:
arch/microblaze/include/asm/socket.h
Diffstat (limited to 'drivers/net/fealnx.c')
-rw-r--r-- | drivers/net/fealnx.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/drivers/net/fealnx.c b/drivers/net/fealnx.c index b2d617206bd9..f66da84a9398 100644 --- a/drivers/net/fealnx.c +++ b/drivers/net/fealnx.c | |||
@@ -1210,17 +1210,20 @@ static void fealnx_tx_timeout(struct net_device *dev) | |||
1210 | unsigned long flags; | 1210 | unsigned long flags; |
1211 | int i; | 1211 | int i; |
1212 | 1212 | ||
1213 | printk(KERN_WARNING "%s: Transmit timed out, status %8.8x," | 1213 | printk(KERN_WARNING |
1214 | " resetting...\n", dev->name, ioread32(ioaddr + ISR)); | 1214 | "%s: Transmit timed out, status %8.8x, resetting...\n", |
1215 | dev->name, ioread32(ioaddr + ISR)); | ||
1215 | 1216 | ||
1216 | { | 1217 | { |
1217 | printk(KERN_DEBUG " Rx ring %p: ", np->rx_ring); | 1218 | printk(KERN_DEBUG " Rx ring %p: ", np->rx_ring); |
1218 | for (i = 0; i < RX_RING_SIZE; i++) | 1219 | for (i = 0; i < RX_RING_SIZE; i++) |
1219 | printk(" %8.8x", (unsigned int) np->rx_ring[i].status); | 1220 | printk(KERN_CONT " %8.8x", |
1220 | printk("\n" KERN_DEBUG " Tx ring %p: ", np->tx_ring); | 1221 | (unsigned int) np->rx_ring[i].status); |
1222 | printk(KERN_CONT "\n"); | ||
1223 | printk(KERN_DEBUG " Tx ring %p: ", np->tx_ring); | ||
1221 | for (i = 0; i < TX_RING_SIZE; i++) | 1224 | for (i = 0; i < TX_RING_SIZE; i++) |
1222 | printk(" %4.4x", np->tx_ring[i].status); | 1225 | printk(KERN_CONT " %4.4x", np->tx_ring[i].status); |
1223 | printk("\n"); | 1226 | printk(KERN_CONT "\n"); |
1224 | } | 1227 | } |
1225 | 1228 | ||
1226 | spin_lock_irqsave(&np->lock, flags); | 1229 | spin_lock_irqsave(&np->lock, flags); |