diff options
| author | Isaku Yamahata <yamahata@valinux.co.jp> | 2011-04-03 20:32:46 +0900 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2011-04-07 13:51:48 +0200 |
| commit | 757179038c4884dc43c2ecd0f4da3facb24f262c (patch) | |
| tree | 76dd8c9d36c5324187b4650d672edb7fb9edb967 /hw/ide.h | |
| parent | e2982c3a27ab4c0879e61de3c9c57b838f7d0966 (diff) | |
| download | focaccia-qemu-757179038c4884dc43c2ecd0f4da3facb24f262c.tar.gz focaccia-qemu-757179038c4884dc43c2ecd0f4da3facb24f262c.zip | |
ide: consolidate drive_get(IF_IDE)
factor out ide initialization to call drive_get(IF_IDE) Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/ide.h')
| -rw-r--r-- | hw/ide.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/ide.h b/hw/ide.h index 73fb550574..34d9394bcc 100644 --- a/hw/ide.h +++ b/hw/ide.h @@ -28,4 +28,7 @@ void mmio_ide_init (target_phys_addr_t membase, target_phys_addr_t membase2, void ide_get_bs(BlockDriverState *bs[], BusState *qbus); +/* ide/core.c */ +void ide_drive_get(DriveInfo **hd, int max_bus); + #endif /* HW_IDE_H */ |