]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r281337
authormarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 5 Jul 2015 20:16:38 +0000 (20:16 +0000)
committermarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 5 Jul 2015 20:16:38 +0000 (20:16 +0000)
commit6f63ca7929bf103c63e93417a1eda889e728eb6e
treec99776893e4d8b1c3f448ceef0bb12017df979c8
parenta46d8fe9b75d00110d99ec83f89516225d28b98c
MFC: r281337

Don't enable RX and TX before their initial configuration is done, i. e.
after setting up interrupt moderation but before turning interrupts on.
This matches what Realtek's r8168 Linux driver does as of version 8.039.00
and fixes problems with certain incarnations of certain MAC revisions
like the interface requiring an extra up/down-cycle after boot to start
working or DMA configuration not being adhered to.

PR: 193743, 197535
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/stable/10@285177 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/re/if_re.c