blob: 87a5002c5ead9f3a83ae0c350357cc79966c1885 [file] [log] [blame]
Yinghai Lu13f1c2a2005-07-08 02:49:49 +00001#ifndef DEVICE_PCIEXP_H
2#define DEVICE_PCIEXP_H
3/* (c) 2005 Linux Networx GPL see COPYING for details */
4
Duncan Laurie90dcdd42011-10-25 14:15:11 -07005enum aspm_type {
6 PCIE_ASPM_NONE = 0,
7 PCIE_ASPM_L0S = 1,
8 PCIE_ASPM_L1 = 2,
9 PCIE_ASPM_BOTH = 3,
10};
11
Uwe Hermannd453dd02010-10-18 00:00:57 +000012unsigned int pciexp_scan_bus(struct bus *bus, unsigned int min_devfn,
13 unsigned int max_devfn, unsigned int max);
Yinghai Lu13f1c2a2005-07-08 02:49:49 +000014unsigned int pciexp_scan_bridge(device_t dev, unsigned int max);
15
16extern struct device_operations default_pciexp_ops_bus;
17
18#endif /* DEVICE_PCIEXP_H */