summaryrefslogtreecommitdiff
path: root/sys/dev/hyperv
diff options
context:
space:
mode:
authormsaitoh <msaitoh@NetBSD.org>2019-11-25 05:35:26 +0000
committermsaitoh <msaitoh@NetBSD.org>2019-11-25 05:35:26 +0000
commit4bb3b1494844d47872a97d902d63a01ec755fbc5 (patch)
treea191ef358602b56d305401d5eeda76a6bb496674 /sys/dev/hyperv
parent087635b81632323b08019a5340b25c9eb860b261 (diff)
Modify PHY initialization code. This change fix a bug that SK-9D21 doesn't
detect MII PHY. - Add error check to bge_miibus_writereg(). - Change return value of bge_miibus_readreg() when a read error occurred. It also add error message using with aprint_debug_dev(). This error occurs on some devices while detecting MII devices. - Move the location of BGE_MI_MODE register's initialization to next to bge_chipinit(). - Set BGE_MAC_MODE before calling ifmedia_init() and/or mii_attach(). - Add retry code for mii_attach() failed. Same as FreeBSD.
Diffstat (limited to 'sys/dev/hyperv')
0 files changed, 0 insertions, 0 deletions