qemu-e2k/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
macio.c Compile ide/macio only once 2010-03-29 19:23:57 +00:00
microdrive.c
mmio.c
pci.c
pci.h
piix.c cmd646: pass pci_dev as it needs it 2010-05-01 19:44:43 +00:00
qdev.c