Re: [PATCH 0/4] ACPI: kill acpi_pci_root_start
From: Yinghai Lu
Date: Thu Oct 04 2012 - 16:14:47 EST
On Thu, Oct 4, 2012 at 12:44 PM, Bjorn Helgaas <bhelgaas@xxxxxxxxxx> 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/