Module Name:    src
Committed By:   msaitoh
Date:           Wed Dec  4 05:19:11 UTC 2019

Modified Files:
        src/sys/arch/mips/adm5120/dev: if_admsw.c

Log Message:
Fix admsw_mediachange(). Not tested.

 ifmedia_change() is used to change the device's media setting from
user-selected media. The user-selected media is not
sc->sc_ifmedia[port]->ifm_media but sc->sc_ifmedia[port].ifm_cur->ifm_media.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/mips/adm5120/dev/if_admsw.c

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

Reply via email to