qemu-patch-raspberry4/hw/ide
Gerd Hoffmann feef310217 ide/pci: convert to qdev.
With this patch applied ide drives (when attached to a pci adapter) can
be created via -device, like this:

  -drive if=none,id=mydisk,file=/path/to/disk.img
  -device ide-drive,drive=mydisk,bus=ide.0,unit=0

Note that creating a master on ide1 doesn't work that way.  That is a
side effect of qemu creating a cdrom automagically even if you don't
ask for it.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
2009-09-15 20:04:24 +00:00
..
core.c split away drive init from ide_init2() 2009-09-15 19:23:30 +00:00
internal.h ide/qdev: add ide bus. 2009-09-15 19:23:34 +00:00
isa.c ide: pass down DriveInfo instead of BlockDriverState 2009-09-04 09:37:27 -05:00
macio.c ide: move cmd+irq from IDEState to IDEBus. 2009-09-04 09:37:27 -05:00
microdrive.c ide: pass down DriveInfo instead of BlockDriverState 2009-09-04 09:37:27 -05:00
mmio.c ide: pass down DriveInfo instead of BlockDriverState 2009-09-04 09:37:27 -05:00
pci.c ide/pci: convert to qdev. 2009-09-15 20:04:24 +00:00
qdev.c ide/qdev: add ide bus. 2009-09-15 19:23:34 +00:00