Module Name:    src
Committed By:   martin
Date:           Mon Nov 25 16:47:16 UTC 2019

Modified Files:
        src/sys/dev/pci [netbsd-9]: if_vge.c

Log Message:
Pull up following revision(s) (requested by msaitoh in ticket #477):

        sys/dev/pci/if_vge.c: revision 1.76
        sys/dev/pci/if_vge.c: revision 1.77

 Fixes a bug that "ifmedia vge0 media 1000baseT-FDX" causes device timeout.

If the interface's media is NOT in the "best" mode (i.e. other than IFM_AUTO),
control VGE_DIAGCTL_GMII bit.

- Set duplex correctly when user setting is not IFM_AUTO.
- When the link is up, set VGE_DIAGCTL not from user media setting but from
  the current active link status.

To generate a diff of this commit:
cvs rdiff -u -r1.73.2.1 -r1.73.2.2 src/sys/dev/pci/if_vge.c

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

Reply via email to