From: Joshua Wise Date: Thu, 4 Dec 2008 22:43:33 +0000 (-0500) Subject: instrument time spent in network X-Git-Url: http://git.joshuawise.com/netwatch.git/commitdiff_plain/6bbb3f38917de86fd250db11e1bea396a4146e72 instrument time spent in network --- diff --git a/net/3c90x.c b/net/3c90x.c index 0e695ac..64dd655 100644 --- a/net/3c90x.c +++ b/net/3c90x.c @@ -480,8 +480,10 @@ a3c90x_transmit(unsigned int size, const char *pkt) if (stillwaiting) { + outputf("Waiting for network completion..."); while (!(inw(INF_3C90X.IOAddr + regCommandIntStatus_w) & INT_TXCOMPLETE) && oneshot_running()) ; + outputf("Done"); if (!(inw(INF_3C90X.IOAddr + regCommandIntStatus_w) & INT_TXCOMPLETE)) { outputf("3c90x: tx timeout? txstat %02x", inb(INF_3C90X.IOAddr + regTxStatus_b));