projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1c0eaa
)
Add debug message for Blackfin Ethernet Rx function.
author
Robin Getz
<rgetz@blackfin.uclinux.org>
Mon, 24 Aug 2009 14:33:39 +0000
(10:33 -0400)
committer
Ben Warren
<biggerbadderben@gmail.com>
Tue, 25 Aug 2009 20:35:54 +0000
(13:35 -0700)
Add a simple print for the Blackfin's Ethernet Rx function,
so we can debug incomming Ethernet functions easier.
Signed-off-by: Robin Getz <rgetz@blackfin.uclinux.org>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
drivers/net/bfin_mac.c
patch
|
blob
|
history
diff --git
a/drivers/net/bfin_mac.c
b/drivers/net/bfin_mac.c
index 12d98c2df551e887d861bc0bb41d577cb7d4a4ca..ec45b6355a61ee927644a8e5044d59183ae32f55 100644
(file)
--- a/
drivers/net/bfin_mac.c
+++ b/
drivers/net/bfin_mac.c
@@
-186,6
+186,9
@@
static int bfin_EMAC_recv(struct eth_device *dev)
printf("Ethernet: bad frame\n");
break;
}
+
+ debug("%s: len = %d\n", __func__, length - 4);
+
NetRxPackets[rxIdx] =
(volatile uchar *)(rxbuf[rxIdx]->FrmData->Dest);
NetReceive(NetRxPackets[rxIdx], length - 4);