On Fri, Nov 19, 2010 at 2:56 AM, Alexander Graf <ag...@suse.de> wrote: > So far we have C preprocessor defines for target and host config > options, but we're lacking any information on which devices are > available. > > We do need that information at times though, for example in the > ahci patch where we need to call a legacy init function depending > on whether we have support compiled in or not.
That does not seem right. Devices should not care about what other devices may exist. Perhaps stub style approach would be better.