net: cadence_gem: Add macro with max number of descriptor words
authorEdgar E. Iglesias <edgar.iglesias@xilinx.com>
Thu, 11 Oct 2018 02:19:23 +0000 (04:19 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 16 Oct 2018 16:13:48 +0000 (17:13 +0100)
commit8568313f3bdf4bc1de7ace0eb5b92343fc19f3c8
tree9efd2a4129aa29ad5a1a95657ba4cc3060be3928
parentf02361822f73f28a4279783fdfb581c500660a36
net: cadence_gem: Add macro with max number of descriptor words

Add macro with max number of DMA descriptor words.
No functional change.

Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Message-id: 20181011021931.4249-5-edgar.iglesias@gmail.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/net/cadence_gem.c
include/hw/net/cadence_gem.h