Up to [local] / prex-old / conf / arm
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: HEAD
Revision 1.5 / (download) - annotate - [select for diffs], Fri Aug 8 12:37:11 2008 UTC (16 years ago) by nbrk
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -0 lines
Diff to previous 1.4 (unified)
Heads up! Implement universal device attachment and autoconfiguration machinery. This is somewhat similar to traditional BSD autoconf but much more simple. Three basic data structures involved in autoconfiguration process are: struct device, which represents abstract device and its private (driver softc) data; struct driver, which holds {attach,match,detach} entries, name and softc size; struct attachment, which tells us how drivers are interacted with each other. Attachment basically describes how to attach devices in system. Machine specified part should export arrays config_table[] and *drivers[] for config. This might have broken i386 & gba tree, but there is only a question of time.