diff options
author | Isaku Yamahata <yamahata@valinux.co.jp> | 2010-12-22 15:14:35 +0900 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2010-12-22 09:01:53 +0200 |
commit | 0ead87c8debaf12bf4e8cf5130e4e7fb83dbf126 (patch) | |
tree | 851fbd24dd47cfa05405ac732ccb31fcc3384fe7 /hw/pci.h | |
parent | 362dd48c16728a656c1ef75f8160838127fd76d5 (diff) |
pcie: add flr support
Support flr: trigger device reset on flr config write.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/pci.h')
-rw-r--r-- | hw/pci.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -237,6 +237,7 @@ void pci_bus_hotplug(PCIBus *bus, pci_hotplug_fn hotplug, DeviceState *dev); PCIBus *pci_register_bus(DeviceState *parent, const char *name, pci_set_irq_fn set_irq, pci_map_irq_fn map_irq, void *irq_opaque, int devfn_min, int nirq); +void pci_device_reset(PCIDevice *dev); void pci_bus_reset(PCIBus *bus); void pci_bus_set_mem_base(PCIBus *bus, target_phys_addr_t base); |