diff options
author | adrian <adrian@FreeBSD.org> | 2015-10-30 23:59:52 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2015-10-30 23:59:52 +0000 |
commit | be517d7ef4b35b437627b44fb261226345da148e (patch) | |
tree | 5cc6c833bebfa42c71ffe022ab72991c80feabd5 /lib/libc/stdio/wbuf.c | |
parent | 722c2df320caf9959053959e4afc5feabdb44d13 (diff) | |
download | FreeBSD-src-be517d7ef4b35b437627b44fb261226345da148e.zip FreeBSD-src-be517d7ef4b35b437627b44fb261226345da148e.tar.gz |
arge_mdio: fix barriers; correctly check MII indicator register.
* use barriers in a slightly better fashion. You can blame this
glass of whiskey on putting barriers in the wrong spot. Grr adrian.
* steal/rewrite the mdio busy check from ag7100 from openwrt and
refactor the existing code out. This is .. more correct.
This seems to fix the boot-to-boot variation that I've been seeing
and it quietens the switch port status flapping.
Tested:
* QCA9558 SoC (AP135.)
Obtained from: Linux OpenWRT
Diffstat (limited to 'lib/libc/stdio/wbuf.c')
0 files changed, 0 insertions, 0 deletions