From 6bbb3f38917de86fd250db11e1bea396a4146e72 Mon Sep 17 00:00:00 2001 From: Joshua Wise Date: Thu, 4 Dec 2008 17:43:33 -0500 Subject: [PATCH] instrument time spent in network --- net/3c90x.c | 2 ++ 1 file changed, 2 insertions(+) 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)); -- 2.39.2