]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r260050, r261528
authormarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 25 Apr 2014 21:32:34 +0000 (21:32 +0000)
committermarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 25 Apr 2014 21:32:34 +0000 (21:32 +0000)
commit109c310ad00b566165038becf8d3514dac9723a7
tree4e9b919ef9620388fac4c034c293f124f5e4f25c
parent197d9b6f5ccc17abe5d7117d564e0f35cf05e16b
MFC: r260050, r261528

- Switch to using the common MII bitbang'ing code instead of duplicating it.
- Based on lessons learnt with dc(4) (see r185750), add bus space barriers to
  the MII bitbang read and write functions as well as to instances of page
  switching.
- Add missing locking to ed_ifmedia_{upd,sts}().
- Canonicalize some messages.
- Based on actual functionality, ED_TC5299J_MII_DIROUT should be rather named
  ED_TC5299J_MII_DIRIN.
- Remove unused headers.
- Use DEVMETHOD_END.
- Use NULL instead of 0 for pointers.

git-svn-id: svn://svn.freebsd.org/base/stable/10@264942 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/ed/if_ed.c
sys/dev/ed/if_ed_3c503.c
sys/dev/ed/if_ed_hpp.c
sys/dev/ed/if_ed_pccard.c
sys/dev/ed/if_ed_rtl80x9.c
sys/dev/ed/if_edreg.h
sys/dev/ed/if_edvar.h
sys/dev/ed/tc5299jreg.h