On Tue, Nov 29, 2011 at 9:25 PM, Miod Vallat <m...@online.fr> wrote: >> # grep -rw mem_range_softc /sys/arch/i386 >> >> [...] >> /sys/arch/i386/i386/mem.c:struct mem_range_softc mem_range_softc; >> [...] >
That's no that complicated to find dependencies as it may seem. Carefully read the kernel config file and man pages. For example there is mainbus. mainbus0 is installed on root, therefore the config line looks like mainbus0 at root Then there is bios. Where is the bios? Sure it's on the mainbus, the config line then will look like bios0 at mainbus0 It means that bios depends on the mainbus. Further, there is acpi installed on bios, i.e. acpi depends on bios, thus the config line looks like acpi0 at bios? All this together looks beautifully like: mainbus0 at root bios0 at mainbus0 acpi0 at bios? Do you see this beautiful harmony of the UNIX music? :) Moreover there are manual pages for all these devices: man mainbus man bios man acpi and so forth... and in the man pages you can see such recommendations as, for example SEE ALSO apm(4), intro(4) which you can admit as a cross reference (to a possible dependency). Vitali