qemu-patch-raspberry4/hw/ide
Igor V. Kovalenko 70ae65f5d9 cmd646: pass pci_dev as it needs it
Instead of doing tricks to get the pci_dev, just pass it in the 1st
place.  Patch is a bit longer that reverting the pci_dev field, but it
states more clearly (IMHO) what we are doing.

It also fixes the bm test, now that you told me that ->unit is not
always valid.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
2010-05-01 19:44:43 +00:00
..
cmd646.c cmd646: pass pci_dev as it needs it 2010-05-01 19:44:43 +00:00
core.c Fix build 2010-03-27 06:58:53 +00:00
internal.h cmd646: pass pci_dev as it needs it 2010-05-01 19:44:43 +00:00
isa.c IDE: Fix reset handling 2009-11-07 14:13:05 +00:00
macio.c Compile ide/macio only once 2010-03-29 19:23:57 +00:00
microdrive.c Add "static" to please Sparse 2009-12-04 20:44:44 +00:00
mmio.c IDE: Fix reset handling 2009-11-07 14:13:05 +00:00
pci.c ide save/restore current transfer fields 2010-01-26 15:42:02 -06:00
pci.h ide: port pci ide to vmstate 2009-10-27 12:28:46 -05:00
piix.c cmd646: pass pci_dev as it needs it 2010-05-01 19:44:43 +00:00
qdev.c block: add topology qdev properties 2010-02-10 16:53:25 -06:00