From 2be2bce18c0a8b05f42c4572ad603951021f094b Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Thu, 4 Aug 2005 08:07:29 +0000 Subject: [PATCH] #if VERBOSE debug statements #endif --- drivers/fxp/fxp.c | 5 +++++ 1 file changed, 5 insertions(+) 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 + ; } -- 2.44.0