unsigned int have_resources : 1; /* Set if we have read the devices' resources. */
Can we think of a new name that makes it clear that this tells if the resources have been read, not if there are resources?
I don't like read_resources because it's unclear that it should be past tense.
Thanks, Myles