From 05c89c7f0cd8417d7131d9714ed561f398972512 Mon Sep 17 00:00:00 2001 From: jljusten Date: Mon, 13 Aug 2012 15:41:43 +0000 Subject: OvmfPkg: have PlatformBdsLib::PciInitialization conform to the _PRS Also set some INTLN values, informatively. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek Reviewed-by: Jordan Justen git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13627 6f19259b-4bc3-4df7-8a09-765794883524 --- OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'OvmfPkg/Library') diff --git a/OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c b/OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c index 738fdce9a1..cd09b2781e 100644 --- a/OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c +++ b/OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c @@ -723,10 +723,10 @@ PciInitialization ( // Bus 0, Device 1, Function 0 - PCI to ISA Bridge // PciWrite8 (PCI_LIB_ADDRESS (0, 1, 0, 0x3c), 0x00); - PciWrite8 (PCI_LIB_ADDRESS (0, 1, 0, 0x60), 0x0b); - PciWrite8 (PCI_LIB_ADDRESS (0, 1, 0, 0x61), 0x09); - PciWrite8 (PCI_LIB_ADDRESS (0, 1, 0, 0x62), 0x0b); - PciWrite8 (PCI_LIB_ADDRESS (0, 1, 0, 0x63), 0x09); + PciWrite8 (PCI_LIB_ADDRESS (0, 1, 0, 0x60), 0x0b); // LNKA routing target + PciWrite8 (PCI_LIB_ADDRESS (0, 1, 0, 0x61), 0x0b); // LNKB routing target + PciWrite8 (PCI_LIB_ADDRESS (0, 1, 0, 0x62), 0x0a); // LNKC routing target + PciWrite8 (PCI_LIB_ADDRESS (0, 1, 0, 0x63), 0x0a); // LNKD routing target // // Bus 0, Device 1, Function 1 - IDE Controller @@ -737,8 +737,8 @@ PciInitialization ( // // Bus 0, Device 1, Function 3 - Power Managment Controller // - PciWrite8 (PCI_LIB_ADDRESS (0, 1, 3, 0x3c), 0x0b); - PciWrite8 (PCI_LIB_ADDRESS (0, 1, 3, 0x3d), 0x01); + PciWrite8 (PCI_LIB_ADDRESS (0, 1, 3, 0x3c), 0x09); + PciWrite8 (PCI_LIB_ADDRESS (0, 1, 3, 0x3d), 0x01); // INTA // // Bus 0, Device 2, Function 0 - Video Controller @@ -748,14 +748,14 @@ PciInitialization ( // // Bus 0, Device 3, Function 0 - Network Controller // - PciWrite8 (PCI_LIB_ADDRESS (0, 3, 0, 0x3c), 0x0b); - PciWrite8 (PCI_LIB_ADDRESS (0, 3, 0, 0x3d), 0x01); + PciWrite8 (PCI_LIB_ADDRESS (0, 3, 0, 0x3c), 0x0a); + PciWrite8 (PCI_LIB_ADDRESS (0, 3, 0, 0x3d), 0x01); // INTA (-> LNKC) // // Bus 0, Device 5, Function 0 - RAM Memory // - PciWrite8 (PCI_LIB_ADDRESS (0, 5, 0, 0x3c), 0x09); - PciWrite8 (PCI_LIB_ADDRESS (0, 5, 0, 0x3d), 0x01); + PciWrite8 (PCI_LIB_ADDRESS (0, 5, 0, 0x3c), 0x0b); + PciWrite8 (PCI_LIB_ADDRESS (0, 5, 0, 0x3d), 0x01); // INTA (-> LNKA) } -- cgit v1.2.3