summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/cadence/macb.c
diff options
context:
space:
mode:
authorNicolas Ferre <nicolas.ferre@atmel.com>2012-10-31 07:04:54 +0100
committerDavid S. Miller <davem@davemloft.net>2012-11-01 16:45:57 +0100
commitcde30a857ca10b8ba55a441193864aa04a4832f7 (patch)
treec9b040fe2884a5666a9dbe404d5a1cff781788b2 /drivers/net/ethernet/cadence/macb.c
parentnet/macb: remove macb_get_drvinfo() (diff)
downloadlinux-cde30a857ca10b8ba55a441193864aa04a4832f7.tar.xz
linux-cde30a857ca10b8ba55a441193864aa04a4832f7.zip
net/macb: tx status is more than 8 bits now
On some revision of GEM, TSR status register has more information. Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com> Tested-by: Joachim Eastwood <manabian@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cadence/macb.c')
-rw-r--r--drivers/net/ethernet/cadence/macb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/cadence/macb.c b/drivers/net/ethernet/cadence/macb.c
index 4db52f318efe..cd6d431ff2b4 100644
--- a/drivers/net/ethernet/cadence/macb.c
+++ b/drivers/net/ethernet/cadence/macb.c
@@ -314,7 +314,7 @@ static void macb_tx(struct macb *bp)
status = macb_readl(bp, TSR);
macb_writel(bp, TSR, status);
- netdev_vdbg(bp->dev, "macb_tx status = %02lx\n", (unsigned long)status);
+ netdev_vdbg(bp->dev, "macb_tx status = 0x%03lx\n", (unsigned long)status);
if (status & (MACB_BIT(UND) | MACB_BIT(TSR_RLE))) {
int i;