summaryrefslogtreecommitdiff
path: root/hw/ide/internal.h
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-08-23 20:18:50 +0200
committerAndreas Färber <afaerber@suse.de>2013-08-30 20:14:39 +0200
commitc6baf942e084e0bc40ee37c8d8672ac9c5ea270b (patch)
tree1386a03bcb0fd5248b3316043088675d81f45d7d /hw/ide/internal.h
parent77cbb28a5b90dbd183e1139734bcc2ac9ecbdd6a (diff)
downloadqemu-c6baf942e084e0bc40ee37c8d8672ac9c5ea270b.tar.gz
qemu-c6baf942e084e0bc40ee37c8d8672ac9c5ea270b.tar.bz2
qemu-c6baf942e084e0bc40ee37c8d8672ac9c5ea270b.zip
ide: Pass size to ide_bus_new()
To be passed to qbus_create_inplace(). Reviewed-by: Wenchao Xia <xiawenc@linux.vnet.ibm.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'hw/ide/internal.h')
-rw-r--r--hw/ide/internal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/ide/internal.h b/hw/ide/internal.h
index 048a052143..5d1cf87742 100644
--- a/hw/ide/internal.h
+++ b/hw/ide/internal.h
@@ -576,7 +576,8 @@ void ide_atapi_cmd(IDEState *s);
void ide_atapi_cmd_reply_end(IDEState *s);
/* hw/ide/qdev.c */
-void ide_bus_new(IDEBus *idebus, DeviceState *dev, int bus_id, int max_units);
+void ide_bus_new(IDEBus *idebus, size_t idebus_size, DeviceState *dev,
+ int bus_id, int max_units);
IDEDevice *ide_create_drive(IDEBus *bus, int unit, DriveInfo *drive);
#endif /* HW_IDE_INTERNAL_H */