use llvdbg because vdbg can cause suspension

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1616 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2009-03-15 21:47:00 +00:00
parent 01a703c321
commit 32aaa6634c

View File

@ -942,7 +942,11 @@ static int ez80emac_transmit(struct ez80emac_driver_s *priv)
irqstate_t flags;
ubyte regval;
nvdbg("ENTRY: txnext=%p {%06x, %u, %04x} trp=%02x%02x\n",
/* Careful: This function can be called from outside of the interrupt
* handler and, therefore, may be suspended when debug output is generated!
*/
nllvdbg("ENTRY: txnext=%p {%06x, %u, %04x} trp=%02x%02x\n",
priv->txnext, priv->txnext->np, priv->txnext->pktsize, priv->txnext->stat,
inp(EZ80_EMAC_TRP_H), inp(EZ80_EMAC_TRP_L));
@ -1021,9 +1025,9 @@ static int ez80emac_transmit(struct ez80emac_driver_s *priv)
outp(EZ80_EMAC_PTMR, EMAC_PTMR);
irqrestore(flags);
nvdbg("EXIT: txdesc=%p {%06x, %u, %04x}\n",
nllvdbg("EXIT: txdesc=%p {%06x, %u, %04x}\n",
txdesc, txdesc->np, txdesc->pktsize, txdesc->stat);
nvdbg(" txnext=%p {%06x, %u, %04x} trp=%02x%02x\n",
nllvdbg(" txnext=%p {%06x, %u, %04x} trp=%02x%02x\n",
txnext, txnext->np, txnext->pktsize, txnext->stat,
inp(EZ80_EMAC_TRP_H), inp(EZ80_EMAC_TRP_L));