Module Name: src Committed By: msaitoh Date: Thu Dec 12 09:25:37 UTC 2019
Modified Files: src/sys/dev/mii: makphy.c makphyreg.h Log Message: - Remove ESSR_FIBER_LINK bit check in makphyattach(). This bit is valid only when the link is up, so it's not good to check in the attach function. - There is an environment that both copper and fiber bits are set in EXTSR but it support copper only. To resolve this problem, check the ESSR register's HWCFG_MODE bit and drop unsupported bits. - If the chip is in Fiber/Copper auto select mode, check which media is selected. Currently, the code supports 88E1011, 88E1111 and 88E1112 only. To support other chips documents are required. To generate a diff of this commit: cvs rdiff -u -r1.62 -r1.63 src/sys/dev/mii/makphy.c cvs rdiff -u -r1.9 -r1.10 src/sys/dev/mii/makphyreg.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.