freebsd-dev/sys/arm
Emmanuel Vadot c6110e7514 if_awg: mark the first tx descriptor as ready only after all the other tx descriptors are set up
In a multi segment frame, if the first tx descriptor is marked with TX_DESC_CTL
but not all tx descriptors for the other segments in the frame are set up,
the TX DMA may transmit an incomplete frame.
To prevent this, set TX_DESC_CTL for the first tx descriptor only when done
with all the other segments.

Also, don't bother cleaning transmitted tx descriptors since TX_DESC_CTL
is cleared for them by the hardware and they will be reprogrammed before
TX_DESC_CTL is reenabled for them.

Submitted by:	Guy Yur <guyyur@gmail.com>
Differential Revision:	https://reviews.freebsd.org/D13030
2017-11-18 20:42:48 +00:00
..
allwinner if_awg: mark the first tx descriptor as ready only after all the other tx descriptors are set up 2017-11-18 20:42:48 +00:00
altera/socfpga Tag all armv7 kernels as such in their machine config line. 2017-10-05 23:01:50 +00:00
amlogic/aml8726 Tag all armv7 kernels as such in their machine config line. 2017-10-05 23:01:50 +00:00
annapurna/alpine Tag all armv7 kernels as such in their machine config line. 2017-10-05 23:01:50 +00:00
arm spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
at91 Defer attaching and probing iicbus and its children until interrupts are 2017-09-13 16:54:27 +00:00
broadcom/bcm2835 arm: rpi2: Fix cpufreq(4) 2017-11-13 18:53:41 +00:00
cavium/cns11xx
cloudabi32 Move struct syscall_args syscall arguments parameters container into 2017-06-12 21:03:23 +00:00
conf Update several more URLs 2017-10-29 08:17:03 +00:00
freescale Fix imx6 hdmi init after r323553, which used a config_intrhook to defer the 2017-10-08 18:38:22 +00:00
include spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
lpc
mv Tag all armv7 kernels as such in their machine config line. 2017-10-05 23:01:50 +00:00
nvidia tegra: Do not define early printf function 2017-10-19 20:52:17 +00:00
qemu Tag all armv7 kernels as such in their machine config line. 2017-10-05 23:01:50 +00:00
ralink
rockchip Tag all armv7 kernels as such in their machine config line. 2017-10-05 23:01:50 +00:00
samsung/exynos Tag all armv7 kernels as such in their machine config line. 2017-10-05 23:01:50 +00:00
ti Tag all armv7 kernels as such in their machine config line. 2017-10-05 23:01:50 +00:00
versatile Move the simple armv6 only timer drivers to require MULTIDELAY to help 2017-07-04 18:07:09 +00:00
xilinx Tag all armv7 kernels as such in their machine config line. 2017-10-05 23:01:50 +00:00
xscale i81342 is little endian, not big endian. 2017-09-19 20:33:22 +00:00