On Mo, 2014-04-07 at 13:59 +0300, Marcel Apfelbaum wrote:
If a pci-2-pci bridge supports hot-plug functionality but there are no devices connected to it, reserve IO/mem in order to be able to attach devices later. Do not waste space, use minimum allowed.
Makes sense.
u8 shpc_cap = pci_find_capability(s->bus_dev, PCI_CAP_ID_SHPC);
Should we also check for hotplug-capable pci express ports while being at it?
cheers, Gerd