diff options
Diffstat (limited to 'src/device/pciexp_device.c')
-rw-r--r-- | src/device/pciexp_device.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/device/pciexp_device.c b/src/device/pciexp_device.c index 8cd39e4554..44b5100742 100644 --- a/src/device/pciexp_device.c +++ b/src/device/pciexp_device.c @@ -275,7 +275,7 @@ static void pciexp_L1_substate_commit(struct device *root, struct device *dev, pci_update_config32(root, root_cap + 0x08, ~0xff00, (comm_mode_rst_time << 8)); - pci_update_config32(root, root_cap + 0x0c , 0xffffff04, + pci_update_config32(root, root_cap + 0x0c, 0xffffff04, (endp_power_on_value << 3) | (power_on_scale)); /* TODO: 0xa0, 2 are values that work on some chipsets but really @@ -291,7 +291,7 @@ static void pciexp_L1_substate_commit(struct device *root, struct device *dev, L1SubStateSupport); for (dev_t = dev; dev_t; dev_t = dev_t->sibling) { - pci_update_config32(dev_t, end_cap + 0x0c , 0xffffff04, + pci_update_config32(dev_t, end_cap + 0x0c, 0xffffff04, (endp_power_on_value << 3) | (power_on_scale)); pci_update_config32(dev_t, end_cap + 0x08, |