]> Joshua Wise's Git repositories - netwatch.git/commitdiff
instrument time spent in network
authorJoshua Wise <joshua@nyus.joshuawise.com>
Thu, 4 Dec 2008 22:43:33 +0000 (17:43 -0500)
committerJoshua Wise <joshua@nyus.joshuawise.com>
Thu, 4 Dec 2008 22:43:33 +0000 (17:43 -0500)
net/3c90x.c

index 0e695ac868b03daa920bf8d134c8f332703c4776..64dd65549d96ca977e8cead947278cf713a7f4c9 100644 (file)
@@ -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));
This page took 0.028454 seconds and 4 git commands to generate.