* Darmawan Salihun darmawan.salihun@gmail.com [070716 06:52]:
Anyway, there's an issue regarding the PCI library that I'm aware just recently. Which one is the following approach is better?
- Let windows detect the PCI devices in the system and just parse the
data that it presents.
or
- Detect the PCI devices in the system ourself by doing direct I/O (PCI
detection) in the driver. This way, the code will detect the device using libpci that's ported to kernel mode driver.
In general, letting the OS do the detection sounds more solid. So if there's no big advantage in doing it yourself, Windows should do it.