summaryrefslogtreecommitdiff
path: root/OvmfPkg
diff options
context:
space:
mode:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2012-08-13 15:41:43 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2012-08-13 15:41:43 +0000
commit05c89c7f0cd8417d7131d9714ed561f398972512 (patch)
tree929a21354a485becda1a91566f3fc0d848b4c914 /OvmfPkg
parenta5595b1e0eee3d541f17c054ae3af83f11c17465 (diff)
downloadedk2-platforms-05c89c7f0cd8417d7131d9714ed561f398972512.tar.xz
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 <lersek@redhat.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13627 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'OvmfPkg')
-rw-r--r--OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c20
1 files changed, 10 insertions, 10 deletions
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)
}