From 0ead87c8debaf12bf4e8cf5130e4e7fb83dbf126 Mon Sep 17 00:00:00 2001 From: Isaku Yamahata Date: Wed, 22 Dec 2010 15:14:35 +0900 Subject: pcie: add flr support Support flr: trigger device reset on flr config write. Signed-off-by: Isaku Yamahata Signed-off-by: Michael S. Tsirkin --- hw/xio3130_downstream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/xio3130_downstream.c') diff --git a/hw/xio3130_downstream.c b/hw/xio3130_downstream.c index 1a2d258bd..5aa6a6b14 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); -- cgit v1.2.3