summary refs log tree commit diff stats
path: root/tests/qapi-schema/test-qapi.py
diff options
context:
space:
mode:
authorFinn Thain <fthain@telegraphics.com.au>2020-01-29 20:27:49 +1100
committerJason Wang <jasowang@redhat.com>2020-03-03 18:04:47 +0800
commit083e21bbdde7dbd326baf29d21f49fc3f5614496 (patch)
tree163905f7179f9a453ae09e5da3fad29a393e8a4e /tests/qapi-schema/test-qapi.py
parent80b60673ea598869050c66d95d8339480e4cefd0 (diff)
downloadfocaccia-qemu-083e21bbdde7dbd326baf29d21f49fc3f5614496.tar.gz
focaccia-qemu-083e21bbdde7dbd326baf29d21f49fc3f5614496.zip
dp8393x: Don't reset Silicon Revision register
The jazzsonic driver in Linux uses the Silicon Revision register value
to probe the chip. The driver fails unless the SR register contains 4.
Unfortunately, reading this register in QEMU usually returns 0 because
the s->regs[] array gets wiped after a software reset.

Fixes: bd8f1ebce4 ("net/dp8393x: fix hardware reset")
Suggested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'tests/qapi-schema/test-qapi.py')
0 files changed, 0 insertions, 0 deletions