Messages in this thread | | | Date | Thu, 4 Oct 2012 13:14:52 -0700 | Subject | Re: [PATCH 0/4] ACPI: kill acpi_pci_root_start | From | Yinghai Lu <> |
| |
On Thu, Oct 4, 2012 at 12:44 PM, Bjorn Helgaas <bhelgaas@google.com> wrote: > > To answer your specific question, yes, I do think drivers that are > statically built in probably should be registered before devices are > enumerated. That way, the boot-time case is more similar to the > hot-add case. > > Obviously, for drivers that can be modules, the reverse must work as > well (enumerate devices, then load and register the driver). And then > the other order (register driver, then enumerate device) must also > work so future hot-adds of the same device type work.
so you will have to handle two paths instead one.
current booting path sequence are tested more than hot add path.
| |