diff options
author | Paul Brook | 2009-05-14 23:35:07 +0200 |
---|---|---|
committer | Paul Brook | 2009-05-14 23:35:07 +0200 |
commit | 9d07d7579bcaf01e05c511c63d091ed2ac310091 (patch) | |
tree | 20ed00454b9ddabf62cc673b14d1234cbc078287 /hw/qdev.h | |
parent | LSI SCSI qdev conversion (diff) | |
download | qemu-9d07d7579bcaf01e05c511c63d091ed2ac310091.tar.gz qemu-9d07d7579bcaf01e05c511c63d091ed2ac310091.tar.xz qemu-9d07d7579bcaf01e05c511c63d091ed2ac310091.zip |
PCI network qdev conversion
Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'hw/qdev.h')
-rw-r--r-- | hw/qdev.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -24,6 +24,7 @@ struct DeviceState int num_gpio_in; qemu_irq *gpio_in; ChildBusList *child_bus; + NICInfo *nd; }; /*** Board API. This should go away once we have a machine config file. ***/ @@ -34,6 +35,7 @@ void qdev_init(DeviceState *dev); /* Set properties between creation and init. */ void qdev_set_prop_int(DeviceState *dev, const char *name, int value); void qdev_set_prop_ptr(DeviceState *dev, const char *name, void *value); +void qdev_set_netdev(DeviceState *dev, NICInfo *nd); qemu_irq qdev_get_irq_sink(DeviceState *dev, int n); qemu_irq qdev_get_gpio_in(DeviceState *dev, int n); |