Module Name:    src
Committed By:   maxv
Date:           Wed Jul  3 17:40:30 UTC 2019

Modified Files:
        src/sys/dev/mii: makphy.c

Log Message:
Check the return value of PHY_READ(). Because, if it fails, 'reg' is not
initialized. On Qemu, this read systematically fails.

Print an error in this case, and act as if there was no fiber. Maybe there
is a smarter way to fix this kind of things.


To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 src/sys/dev/mii/makphy.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Reply via email to