Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/dev

Module Name:    src
Committed By:   msaitoh
Date:           Fri Feb 28 05:13:19 UTC 2020

Modified Files:
        src/sys/dev/mii: etphy.c
        src/sys/dev/pci: if_et.c

Log Message:
 Move PHY_RESET() in the media change path from if_et.c to etphy.c.

 I don't know if the reset is required or not. I tested some media
transitions without the reset and it worked. It might be OK to remove
but Linux does it only in et1011c_config_aneg(). So move the reset to
etphy_service(,,MII_MEDIACHG)'s autonego case. This change is also
required for future locking changes.

To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/dev/mii/etphy.c
cvs rdiff -u -r1.30 -r1.31 src/sys/dev/pci/if_et.c

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

Home | Main Index | Thread Index | Old Index