summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/device/pciexp_device.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/device/pciexp_device.c b/src/device/pciexp_device.c
index 2bc991cd4b..5e1f114162 100644
--- a/src/device/pciexp_device.c
+++ b/src/device/pciexp_device.c
@@ -241,20 +241,17 @@ static void pciexp_L1_substate_commit(device_t root, device_t dev,
pcie_update_cfg(root, root_cap + 0x08, ~0xe3ff0000,
(1 << 21) | (1 << 23) | (1 << 30));
- pcie_update_cfg(root, root_cap + 0x08, ~0xf,
+ pcie_update_cfg(root, root_cap + 0x08, ~0x1f,
L1SubStateSupport);
for (dev_t = dev; dev_t; dev_t = dev_t->sibling) {
- pcie_update_cfg(dev_t, end_cap + 0x08, ~0xff00,
- (comm_mode_rst_time << 8));
-
pcie_update_cfg(dev_t, end_cap + 0x0c , 0xffffff04,
(endp_power_on_value << 3) | (power_on_scale));
pcie_update_cfg(dev_t, end_cap + 0x08, ~0xe3ff0000,
(1 << 21) | (1 << 23) | (1 << 30));
- pcie_update_cfg(dev_t, end_cap + 0x08, ~0xf,
+ pcie_update_cfg(dev_t, end_cap + 0x08, ~0x1f,
L1SubStateSupport);
pciexp_enable_ltr(dev_t);