aboutsummaryrefslogtreecommitdiff
path: root/hw/net/pcnet.h
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2019-10-17 17:31:48 +0200
committerMarc-André Lureau <marcandre.lureau@redhat.com>2020-01-07 17:24:29 +0400
commit4cc76287d81036909e43e29a7a42e8d9852041db (patch)
treeb0f34e334f89abded6505d540d6fe4e6e0f942d6 /hw/net/pcnet.h
parent0fe4bb3241110fc9fbd1c5c457d58191fcdca5d3 (diff)
downloadqemu-4cc76287d81036909e43e29a7a42e8d9852041db.zip
qemu-4cc76287d81036909e43e29a7a42e8d9852041db.tar.gz
qemu-4cc76287d81036909e43e29a7a42e8d9852041db.tar.bz2
lance: replace PROP_PTR with PROP_LINK
The device remains non-user creatable since it is a sysbus device. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'hw/net/pcnet.h')
-rw-r--r--hw/net/pcnet.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/pcnet.h b/hw/net/pcnet.h
index 28d19a5..f49b213 100644
--- a/hw/net/pcnet.h
+++ b/hw/net/pcnet.h
@@ -50,7 +50,7 @@ struct PCNetState_st {
uint8_t *buf, int len, int do_bswap);
void (*phys_mem_write)(void *dma_opaque, hwaddr addr,
uint8_t *buf, int len, int do_bswap);
- void *dma_opaque;
+ DeviceState *dma_opaque;
int tx_busy;
int looptest;
};