Hi. I'll commit the following diff to -current in this weekend:
http://www.netbsd.org/~msaitoh/miiphy-20190117-0.dif This diff changes all of Ethernet driver which use mii(4) and all mii drivers. This change is not complicated, but more than a hundred files are modified. It might result in adding bugs. The following drivers are tested: axe+ukphy axe+rgephy axen+rgephy wm+atphy wm+ukphy wm+igphy wm+ihphy wm+makphy sk+makphy sk+brgphy sk+gentbi msk+makphy sip+icsphy sip+ukphy re+rgephy bge+brgphy bnx+brgphy gsip+gphyter rtk+rlphy fxp+inphy tlp+acphy epic+qsphy (MAC & PHY combination is not important) The following drivers are not tested yet: For MAC side: arm:at91emac arm:cemac arm:epe arm:geminigmac arm:enet arm:cpsw arm:emac(omac) arm:emac(sunxi) arm:npe evbppc:temac macppc:bm macppc:gm mips:aumac mips:ae mips:cnmac mips:reth mips:sbmac playstation2:smap powerpc:tsec powerpc:emac(ibm4xx) sgimips:mec sparc:be sf ne(ax88190, dl10019) awge ep gem hme smsh mtd sm age alc ale bce cas et jme lii nfe pcn ste stge tl vge vr vte xi aue mue smsc udav url MII PHY side: amhphy bmtphy ciphy dmphy etphy glxtphy ikphy iophy lxtphy nsphyter pnaphy rdcphy* sqphy tlphy tqphy urlphy If you have a time and can test with the above untested device, please test and report the result. It would be enough to check: if the dmesg is not changed if ifconfig show the media status correctly when the link is up. See also: http://mail-index.netbsd.org/tech-net/2018/12/25/msg007201.html -- ----------------------------------------------- SAITOH Masanobu (msai...@execsw.org msai...@netbsd.org)