Add support for enabling PCIe Common Clock and ASPM
[coreboot.git] / src / include / device / pciexp.h
1 #ifndef DEVICE_PCIEXP_H
2 #define DEVICE_PCIEXP_H
3 /* (c) 2005 Linux Networx GPL see COPYING for details */
4
5 enum aspm_type {
6         PCIE_ASPM_NONE = 0,
7         PCIE_ASPM_L0S  = 1,
8         PCIE_ASPM_L1   = 2,
9         PCIE_ASPM_BOTH = 3,
10 };
11
12 unsigned int pciexp_scan_bus(struct bus *bus, unsigned int min_devfn,
13                              unsigned int max_devfn, unsigned int max);
14 unsigned int pciexp_scan_bridge(device_t dev, unsigned int max);
15
16 extern struct device_operations default_pciexp_ops_bus;
17
18 #endif /* DEVICE_PCIEXP_H */