cadence_gem: Add support for screening
commite8e4994313b7f9fa41c9867c2b507cf24ef78789
authorAlistair Francis <alistair.francis@xilinx.com>
Thu, 22 Sep 2016 17:13:07 +0000 (22 18:13 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 22 Sep 2016 17:13:07 +0000 (22 18:13 +0100)
treeba02234055c1544c5d0d7782dab4cf89f765ba75
parent2bf57f73e3a324ecdfac338e050eca381aa2216c
cadence_gem: Add support for screening

The Cadence GEM hardware allows incoming data to be 'screened' based on some
register values. Add support for these screens.

We also need to increase the max regs to avoid compilation failures. These new
registers are implemented in the next patch.

Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 73e69a8ad9fa2763e9f68f71eaf2469dd5744fcc.1469727764.git.alistair.francis@xilinx.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/net/cadence_gem.c
include/hw/net/cadence_gem.h