mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 21:21:37 +00:00
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>
This commit is contained in:
parent
b1c0eaac11
commit
488feef852
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue