diff options
author | Robin Getz <rgetz@blackfin.uclinux.org> | 2009-08-24 10:33:39 -0400 |
---|---|---|
committer | Ben Warren <biggerbadderben@gmail.com> | 2009-08-25 13:35:54 -0700 |
commit | 488feef85229c08cd3aa1fa183bc8f483d2ae832 (patch) | |
tree | def6bd27988266f6225d672b6b773035bc64d14e | |
parent | b1c0eaac110bc919e5b4e88821348e714493f266 (diff) | |
download | u-boot-imx-488feef85229c08cd3aa1fa183bc8f483d2ae832.zip u-boot-imx-488feef85229c08cd3aa1fa183bc8f483d2ae832.tar.gz u-boot-imx-488feef85229c08cd3aa1fa183bc8f483d2ae832.tar.bz2 |
Add debug message for Blackfin Ethernet Rx function.
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>
-rw-r--r-- | drivers/net/bfin_mac.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/bfin_mac.c b/drivers/net/bfin_mac.c index 12d98c2..ec45b63 100644 --- 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); |