Module Name: src Committed By: msaitoh Date: Sun Jun 16 06:29:09 UTC 2013
Modified Files: src/sys/dev/mii: atphy.c brgphy.c mii.h mii_physubr.c rgephy.c Log Message: The bit location of link ability is different between 1000Base-X and others (See annex 28B.2 and 28D). The old mii.h defined ANAR_X_PAUSE_* macros. Those macros were named for 1000Base-X, but the bit definitions were not for 1000Base-X but for others (e.g. 1000BaseT). So there was bug in auto negotiation for 1000Base-X, but there was no bug for other media. Define new macro named ANAR_PAUSE_* and ANLPAR_PAUSE_* for other than 1000Base-X and fix the bit definitions of ANAR_X_PAUSE_* and ANLPPAR_X_*. Change some PHY drivers to use true macro. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/sys/dev/mii/atphy.c cvs rdiff -u -r1.65 -r1.66 src/sys/dev/mii/brgphy.c cvs rdiff -u -r1.16 -r1.17 src/sys/dev/mii/mii.h cvs rdiff -u -r1.78 -r1.79 src/sys/dev/mii/mii_physubr.c cvs rdiff -u -r1.32 -r1.33 src/sys/dev/mii/rgephy.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.