From: Ben Gras Date: Thu, 4 Aug 2005 08:07:29 +0000 (+0000) Subject: #if VERBOSE X-Git-Tag: v3.1.0~460 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/Bv9ARM.ch10.html?a=commitdiff_plain;h=2be2bce18c0a8b05f42c4572ad603951021f094b;p=minix.git #if VERBOSE debug statements #endif --- diff --git a/drivers/fxp/fxp.c b/drivers/fxp/fxp.c index 45f995ced..cc48bd2d5 100644 --- a/drivers/fxp/fxp.c +++ b/drivers/fxp/fxp.c @@ -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 + ; }