aboutsummaryrefslogtreecommitdiff
path: root/hw/xio3130_downstream.c
diff options
context:
space:
mode:
authorIsaku Yamahata <yamahata@valinux.co.jp>2010-12-22 15:14:35 +0900
committerMichael S. Tsirkin <mst@redhat.com>2010-12-22 09:01:53 +0200
commit0ead87c8debaf12bf4e8cf5130e4e7fb83dbf126 (patch)
tree851fbd24dd47cfa05405ac732ccb31fcc3384fe7 /hw/xio3130_downstream.c
parent362dd48c16728a656c1ef75f8160838127fd76d5 (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/xio3130_downstream.c')
-rw-r--r--hw/xio3130_downstream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xio3130_downstream.c b/hw/xio3130_downstream.c
index 1a2d258bd2..5aa6a6b149 100644
--- a/hw/xio3130_downstream.c
+++ b/hw/xio3130_downstream.c
@@ -89,7 +89,7 @@ static int xio3130_downstream_initfn(PCIDevice *d)
if (rc < 0) {
goto err_msi;
}
- pcie_cap_flr_init(d); /* TODO: implement FLR */
+ pcie_cap_flr_init(d);
pcie_cap_deverr_init(d);
pcie_cap_slot_init(d, s->slot);
pcie_chassis_create(s->chassis);