cadence_gem: Read the correct queue descriptor
commit75b7760212b2cfa86977704a2c19a0d8daced5be
authorAlistair Francis <alistair.francis@xilinx.com>
Thu, 20 Apr 2017 16:32:29 +0000 (20 17:32 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 20 Apr 2017 16:39:17 +0000 (20 17:39 +0100)
treee29aa3b0fe9a5efafe57cbf131f2df36beb8e5eb
parent0493a139c976e6e3436c7ea905f046db00a41ae3
cadence_gem: Read the correct queue descriptor

Read the correct descriptor instead of hardcoding the first (q=0).

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: 988b183dcf951856d8b3379f7e911ec95233bbf4.1491947224.git.alistair.francis@xilinx.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/net/cadence_gem.c