projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83cdbc7
)
net/macb: tx status is more than 8 bits now
author
Nicolas Ferre
<
[email protected]
>
Wed, 31 Oct 2012 06:04:54 +0000
(06:04 +0000)
committer
David S. Miller
<
[email protected]
>
Thu, 1 Nov 2012 15:45:57 +0000
(11:45 -0400)
On some revision of GEM, TSR status register has more information.
Signed-off-by: Nicolas Ferre <
[email protected]
>
Tested-by: Joachim Eastwood <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethernet/cadence/macb.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/cadence/macb.c
b/drivers/net/ethernet/cadence/macb.c
index 4db52f318efed2d4c27aba20c26af0f4d3fa6c7c..cd6d431ff2b47441a810c431ecab6b1682dc37d5 100644
(file)
--- 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 =
%02
lx\n", (unsigned long)status);
+ netdev_vdbg(bp->dev, "macb_tx status =
0x%03
lx\n", (unsigned long)status);
if (status & (MACB_BIT(UND) | MACB_BIT(TSR_RLE))) {
int i;