]> Zhao Yanbai Git Server - minix.git/commitdiff
#if VERBOSE
authorBen Gras <ben@minix3.org>
Thu, 4 Aug 2005 08:07:29 +0000 (08:07 +0000)
committerBen Gras <ben@minix3.org>
Thu, 4 Aug 2005 08:07:29 +0000 (08:07 +0000)
debug statements
#endif

drivers/fxp/fxp.c

index 45f995ced306e353b30ed32773ff3724db34e746..cc48bd2d5abdb8f11ebcd8c76480717d10930588 100644 (file)
@@ -1822,7 +1822,9 @@ timer_t *tp;
                        /* Check the link status. */
                        if (fxp_link_changed(fp))
                        {
+#if VERBOSE
                                printf("fxp_watchdog_f: link changed\n");
+#endif
                                fp->fxp_report_link= TRUE;
                                fp->fxp_got_int= TRUE;
                                interrupt(fxp_tasknr);
@@ -2100,9 +2102,12 @@ fxp_t *fp;
        }
 
 resspeed:
+#if VERBOSE
        printf("%s: link up, %d Mbps, %s duplex\n",
                fp->fxp_name, (scr & MII_SCR_100) ? 100 : 10,
                (scr & MII_SCR_FD) ? "full" : "half");
+#endif
+       ;
 }