art_zh, we develop different systems.
Sadly, you're right.
That's because we think very different concepts.
You work on Kolibri-A branch and think from a perspective of an embedded system with fixed PCI/PCI-e hardware. Indeed, such a system doesn't need to re-enumerate PCI bus at every startup.
It is one of minor
reasons; let me mention the other ones:
- I know my code will barely work on every machine smoothly;
- I expect my user is experienced, responsible and clever enough to configure his computer properly;
- the user can be helped by an external device_enumerator (by Linux or MS) if our own one fails;
- the user needs to have a chance to edit/modify his configuration settings when necessary;
- I don't want to spend the rest of my life answering stupid questions like "why is it not working(detected) on my machine?" and fixing all the countless bugs related.
But again, those were minor reasons.
The main reason is: what we can get following PnP-mainstream is yet another flavour of Linux
However, even Kolibri-A needs PnP capability e.g. for USB.
What I actually need is hotplug
One can manage hotplug hw_detection in a runtime process, and do it better and safer.
In some special cases (i.e. flash disks plugging) the system can be silently restarted after hotplug reconfiguring.
That takes shorter than start-up enumeration, and will follow the spirit of KolibriOS.