#if VERBOSE
debug statements #endif
This commit is contained in:
parent
3f28baac83
commit
2be2bce18c
1 changed files with 5 additions and 0 deletions
|
@ -1822,7 +1822,9 @@ timer_t *tp;
|
||||||
/* Check the link status. */
|
/* Check the link status. */
|
||||||
if (fxp_link_changed(fp))
|
if (fxp_link_changed(fp))
|
||||||
{
|
{
|
||||||
|
#if VERBOSE
|
||||||
printf("fxp_watchdog_f: link changed\n");
|
printf("fxp_watchdog_f: link changed\n");
|
||||||
|
#endif
|
||||||
fp->fxp_report_link= TRUE;
|
fp->fxp_report_link= TRUE;
|
||||||
fp->fxp_got_int= TRUE;
|
fp->fxp_got_int= TRUE;
|
||||||
interrupt(fxp_tasknr);
|
interrupt(fxp_tasknr);
|
||||||
|
@ -2100,9 +2102,12 @@ fxp_t *fp;
|
||||||
}
|
}
|
||||||
|
|
||||||
resspeed:
|
resspeed:
|
||||||
|
#if VERBOSE
|
||||||
printf("%s: link up, %d Mbps, %s duplex\n",
|
printf("%s: link up, %d Mbps, %s duplex\n",
|
||||||
fp->fxp_name, (scr & MII_SCR_100) ? 100 : 10,
|
fp->fxp_name, (scr & MII_SCR_100) ? 100 : 10,
|
||||||
(scr & MII_SCR_FD) ? "full" : "half");
|
(scr & MII_SCR_FD) ? "full" : "half");
|
||||||
|
#endif
|
||||||
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue