summaryrefslogtreecommitdiff
path: root/sys/dev/microcode
diff options
context:
space:
mode:
authormsaitoh <msaitoh@NetBSD.org>2019-11-20 08:50:59 +0000
committermsaitoh <msaitoh@NetBSD.org>2019-11-20 08:50:59 +0000
commit231acd6bc724d9a07d7138f4e72e28b5a4447c39 (patch)
tree51a4bfe37ae3b8251d5bc1fbe790dcbfd0e545a6 /sys/dev/microcode
parentc028a4b040ed139d3dfa8d0a6227f9b3dd4f919b (diff)
Fix a bug that atphy(4) can't negotiate correctly when the media setting is
neither auto nor 1000baseT. Use correct index for mii_media_table[]. History: mii_anar() is first added in OpenBSD and ported to NetBSD. On NetBSD, only atphy(4) use this function. mii_physubr.c rev. 1.75 changed mii_anar() for simplify. It changed the argument from the ifmedia word to ifm_data used in our MII API, but the caller have not been changed. And then, PR kern/50206 was reported and the caller was modified by me to prevent panic but it was not correct fix.
Diffstat (limited to 'sys/dev/microcode')
0 files changed, 0 insertions, 0 deletions