Hm, now that it looks like this is going to be necessary for cPCI
hotplug drivers, could you make up a 2.5 version of it?
The code should only be compiled in if CONFIG_HOTPLUG_PCI_CPCI is
enabled, and hopefully with the splitup of the PCI code in the 2.5 tree,
you should be able to contain it to one file, much like this patch has.
One small comment:
> @@ -2031,6 +2031,10 @@
> struct pci_dev *dev;
>
> pcibios_init();
> +
> +#ifdef CONFIG_HOTPLUG_PCI
> + pci_hp_reserve_resources();
> +#endif
Move this #ifdef to a header file file, so it doesn't show up in the .c
file.
thanks,
greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/