Comment by trelane
1 year ago
You may find https://en.wikipedia.org/wiki/Devicetree
It discusses this, alongside an interesting history of it, and the current state.
1 year ago
You may find https://en.wikipedia.org/wiki/Devicetree
It discusses this, alongside an interesting history of it, and the current state.
It just doesn't mention the actually interesting stuff. Like, take PCI, for example: there is a way [0] to enumerate all the devices, and it also supports PCI-to-PCI bridges. Nice! And I also understand where the information comes from: the introspection. With the device tree the info apparently (judging from the sibling comments) comes from the vendor who baked it into whatever storage and apparently it's static.
[0] https://en.wikipedia.org/wiki/PCI_configuration_space#Bus_en...