[PATCH v9 17/60] PCI: Claim fixed resource during remove/rescan path

2015-12-10 Thread Yinghai Lu
During driver loading kernel will check if resources get reserved. so we need to make sure resources get reserved before pci_bus_add(). On remove/rescan path, we will leave those fixed resource not reserved. In that path, We don't call pcibios_resource_survery() before

[PATCH v9 17/60] PCI: Claim fixed resource during remove/rescan path

2015-12-10 Thread Yinghai Lu
During driver loading kernel will check if resources get reserved. so we need to make sure resources get reserved before pci_bus_add(). On remove/rescan path, we will leave those fixed resource not reserved. In that path, We don't call pcibios_resource_survery() before