switch-coreboot/include
Ronald G. Minnich b520f3201e Some serious changes to get qemu working with pci.
Also added comments. 

A big change is in the dts. In OFW trees, the hierarchy seems to be:
/root/cpu/northbridge 
          south
          other pci

note that the north is in the hierarchy under the south. This hierarchy
makes no sense on systems with a shared frontside bus, or at least I
don't see how it can. In those systems, it's easier to think about 
the CPUs AND northbridges as children of the front side bus. 

in LinuxBIOS, it has always been this:
/root/cpu/whatever
/root/northbridge/
                  south
                  other pci

There have been many discussions over how it ought to be, for 8 years
now, and we've always come back to how LB does it. So I have changed the 
dts for qemu for now to match LB's way of doing things. Note that the
new system is flexible enough that, on K8, we CAN do things as above:
/cpu@0/amd8knorthbridge/etc.
/cpu@1/amd8knorthbridge/etc.

But on qemu, for now, the root is the mainboard, and the CPU and
northbridge are siblings. 

I've added some informational printks, cleaned up pci_ops, and done
other things so that it builds and all seems to work -- until it hangs
hard in enumeration in i440bx ...

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@160 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-28 19:17:59 +00:00
..
console Some serious changes to get qemu working with pci. 2007-02-28 19:17:59 +00:00
cpu/generic/x86 Some serious changes to get qemu working with pci. 2007-02-28 19:17:59 +00:00
device This one is going to break all your changes, but fix up a lot of code. 2007-02-27 14:03:20 +00:00
elf.h This one is going to break all your changes, but fix up a lot of code. 2007-02-27 14:03:20 +00:00
elf_boot.h This one is going to break all your changes, but fix up a lot of code. 2007-02-27 14:03:20 +00:00
lar.h Add the author of the respective changes by coresystems GmbH. 2007-02-27 21:49:28 +00:00
lib.h Lots of changes here, build broken, but people need to see this. 2007-02-27 06:02:52 +00:00
linuxbios_tables.h This one is going to break all your changes, but fix up a lot of code. 2007-02-27 14:03:20 +00:00
string.h clean up headers as requested. drop some dead code. 2007-02-24 17:03:53 +00:00
tables.h Large patch but trivial: Fix Copright error. 2007-02-26 23:17:40 +00:00
uart8250.h For some files: 2007-01-30 13:15:04 +00:00