diff options
author | Isaku Yamahata <yamahata@valinux.co.jp> | 2011-01-20 16:21:38 +0900 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2011-01-20 15:33:05 +0200 |
commit | 4c92325b5196ebd34886174a80d2f9fac35a004f (patch) | |
tree | 573ee0ee5eadb2aab5af35f4231e6943bbca1b9d /hw/pci.h | |
parent | 2991181aaa026d8b1444bfaa9c4bcd82065ba5a3 (diff) |
pci: deassert intx on reset.
deassert intx on device reset.
So far pci_device_reset() is used for system reset.
In that case, interrupt controller is reset at the same time so that
all irq is are deasserted.
But now pci bus reset/flr is supported, and in that case irq needs to be
disabled explicitly.
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 | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -264,6 +264,8 @@ void do_pci_info_print(Monitor *mon, const QObject *data); void do_pci_info(Monitor *mon, QObject **ret_data); void pci_bridge_update_mappings(PCIBus *b); +void pci_device_deassert_intx(PCIDevice *dev); + static inline void pci_set_byte(uint8_t *config, uint8_t val) { |