diff options
| author | Alistair Francis | 2017-04-20 18:32:29 +0200 |
|---|---|---|
| committer | Peter Maydell | 2017-04-20 18:39:17 +0200 |
| commit | a5517666b21b85f1a02c7accf297938acb720699 (patch) | |
| tree | 292423259d251359e4e0289193ff5a12acc22a51 /include | |
| parent | cadence_gem: Correct the interupt logic (diff) | |
| download | qemu-a5517666b21b85f1a02c7accf297938acb720699.tar.gz qemu-a5517666b21b85f1a02c7accf297938acb720699.tar.xz qemu-a5517666b21b85f1a02c7accf297938acb720699.zip | |
cadence_gem: Make the revision a property
Expose the Cadence GEM revision as a property.
Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 541324373cf87b50f8be0439a0cb89f5028b016f.1491947224.git.alistair.francis@xilinx.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/hw/net/cadence_gem.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/net/cadence_gem.h b/include/hw/net/cadence_gem.h index c469ffe69b..35de622063 100644 --- a/include/hw/net/cadence_gem.h +++ b/include/hw/net/cadence_gem.h @@ -50,6 +50,7 @@ typedef struct CadenceGEMState { uint8_t num_priority_queues; uint8_t num_type1_screeners; uint8_t num_type2_screeners; + uint32_t revision; /* GEM registers backing store */ uint32_t regs[CADENCE_GEM_MAXREG]; |
