summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/t520/mainboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/lenovo/t520/mainboard.c')
-rw-r--r--src/mainboard/lenovo/t520/mainboard.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mainboard/lenovo/t520/mainboard.c b/src/mainboard/lenovo/t520/mainboard.c
index c37e6b981f..8b1aa0d02a 100644
--- a/src/mainboard/lenovo/t520/mainboard.c
+++ b/src/mainboard/lenovo/t520/mainboard.c
@@ -158,12 +158,11 @@ static void mainboard_init(device_t dev)
pc_keyboard_init();
/* Enable expresscard hotplug events. */
- pci_write_config32(dev_find_slot(0, PCI_DEVFN(0x1c, 2)),
+ pci_write_config32(dev_find_slot(0, PCI_DEVFN(0x1c, 3)),
0xd8,
- pci_read_config32(dev_find_slot(0, PCI_DEVFN(0x1c, 2)), 0xd8)
+ pci_read_config32(dev_find_slot(0, PCI_DEVFN(0x1c, 3)), 0xd8)
| (1 << 30));
-
- pci_write_config16(dev_find_slot(0, PCI_DEVFN(0x1c, 2)),
+ pci_write_config16(dev_find_slot(0, PCI_DEVFN(0x1c, 3)),
0x42, 0x142);
}