So at first glance the static device tree seems to be pretty usable so now I am investigating what needs to happen to merge the device trees.
There is one large area of mismatch though that I don't know if I want to do something about or not. Currently the static device tree is by chip. And the dynamic tree is by logical device.
Where this becomes challenging is on chips like the 8131 or the 8111 which have multiple busses hanging off of them. Or even for the simple amdk8 processor which has 3 HT links hanging off of it. And I don't want to mix the children of various busses.
For the arima/hdama my static device tree currently like:
cpu k8 "cpu0" register "up" = "{.chip = &amd8131, .ht_width=16, .ht_speed=600}" southbridge amd/amd8131 "amd8131" end southbridge amd/amd8111 "amd8111" superio NSC/pc87360 register "com1" = "{1}" register "lpt" = "{1}" end end end
cpu k8 "cpu1" end
Now that I have something to start with I am busily brainstorming how to glue all this together and make it work.
The new configuration tool seems to be doing a good job so far.
Eric
On 8 Aug 2003, Eric W. Biederman wrote:
cpu k8 "cpu0" register "up" = "{.chip = &amd8131, .ht_width=16, .ht_speed=600}" southbridge amd/amd8131 "amd8131" end southbridge amd/amd8111 "amd8111" superio NSC/pc87360 register "com1" = "{1}" register "lpt" = "{1}" end end end
nice, that's how we hoped it would look.
The new configuration tool seems to be doing a good job so far.
you just made my day.
ron