mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Author: Alexander Graf <alex@csgraf.de>
Expose PCI controller information Linux tries to detect which PCI controller it's supposed to work with. On PPC32 there is fallback code that doesn't get compiled with CONFIG_PPC64, so we really have to expose a controller or we don't have pci config space accessor functions. Let's expose a un3-agp if we have a mac99 model, as that's what is supposed to be in there anyways. Signed-off-by: Alexander Graf <alex@csgraf.de> Signed-off-by: Laurent Vivier <Laurent@vivier.eu> git-svn-id: svn://coreboot.org/openbios/openbios-devel@466 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
committed by
Laurent Vivier
parent
4578c8ae20
commit
4702c219f3
@@ -566,6 +566,17 @@ arch_of_init( void )
|
||||
push_str("system-id");
|
||||
fword("property");
|
||||
|
||||
/* pci info */
|
||||
|
||||
if (machine_id == ARCH_MAC99) {
|
||||
push_str("/pci");
|
||||
fword("find-device");
|
||||
push_str("u3-agp");
|
||||
fword("encode-string");
|
||||
push_str("compatible");
|
||||
fword("property");
|
||||
}
|
||||
|
||||
/* memory info */
|
||||
|
||||
push_str("/memory");
|
||||
|
||||
Reference in New Issue
Block a user