imx_fec: Add support for multiple Tx DMA rings
commitf93f961c40a31228e3f66e66d99a68937aa242c5
authorAndrey Smirnov <andrew.smirnov@gmail.com>
Thu, 11 Jan 2018 13:25:37 +0000 (11 13:25 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 11 Jan 2018 13:25:37 +0000 (11 13:25 +0000)
treeeaff3b523586075b9d06e444893e320f2ab8b825
parentebdd8cddb9e657ef75024b4cc9057dd4ce397a55
imx_fec: Add support for multiple Tx DMA rings

More recent version of the IP block support more than one Tx DMA ring,
so add the code implementing that feature.

Cc: Peter Maydell <peter.maydell@linaro.org>
Cc: Jason Wang <jasowang@redhat.com>
Cc: Philippe Mathieu-Daudé <f4bug@amsat.org>
Cc: qemu-devel@nongnu.org
Cc: qemu-arm@nongnu.org
Cc: yurovsky@gmail.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/net/imx_fec.c
include/hw/net/imx_fec.h