On Fri, Apr 08, 2016 at 01:44:11PM +0200, Patrick Wildt wrote: > Hi, > > with the feedback received on the fdt bus, the fdt stuff will now be > replacing the mainbus. [..snip..] > > Patrick > > [..snip..]
Hi, have you planned ahead which route you are going to take with regards to how drivers will be written in the future? i see two options, do it all in some kind of mainbus(per soc?) and feed driver _attach() args(i'd prefer), or infest all of the drivers with fdt node lookups and linux/fbsd-like code/logic. i think it's a design question that all of you should agree upon as early as possible to avoid cruft. as a result of my own incompetence i have rewritten each and every armv7 driver xxx_match() a few times. ;D -Artturi
