-----Original Message----- From: coreboot-bounces@coreboot.org [mailto:coreboot-bounces@coreboot.org] On Behalf Of Mart Raudsepp
Also, what if we had the possibility to run code for disabled devices - then the vpci hiding could cleanly happen when the device is disabled instead of checks from northbridge code. Like a .disable functor in device_ops?
We do. If you run it in phase2 it runs independent of the enabled flag, and could use that to do any disabling that was needed. It's a little confusing to put the device in the tree then, though, because it will never show up in lspci.
Thanks, Myles