summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Bus/Pci/EhciDxe/EhciReg.c
diff options
context:
space:
mode:
authoreric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>2009-10-14 06:22:49 +0000
committereric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>2009-10-14 06:22:49 +0000
commit739802e49c6ae401534d3ed3d743cb2d82ff8c62 (patch)
tree1543fb8b090cee090fe2c041226d406c7558c051 /MdeModulePkg/Bus/Pci/EhciDxe/EhciReg.c
parent62b658dd7fc1a617b2bfc81b58d168a6ecb10608 (diff)
downloadedk2-platforms-739802e49c6ae401534d3ed3d743cb2d82ff8c62.tar.xz
update code to eliminate the wrong assumption that pci address is equal to host address in all archs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9339 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Bus/Pci/EhciDxe/EhciReg.c')
-rw-r--r--MdeModulePkg/Bus/Pci/EhciDxe/EhciReg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Bus/Pci/EhciDxe/EhciReg.c b/MdeModulePkg/Bus/Pci/EhciDxe/EhciReg.c
index eca9b0b272..9a5c76f098 100644
--- a/MdeModulePkg/Bus/Pci/EhciDxe/EhciReg.c
+++ b/MdeModulePkg/Bus/Pci/EhciDxe/EhciReg.c
@@ -561,7 +561,7 @@ EhcInitHC (
// Allocate the periodic frame and associated memeory
// management facilities if not already done.
//
- if (Ehc->PeriodFrame != NULL) {
+ if (Ehc->PeriodFrameHost != NULL) {
EhcFreeSched (Ehc);
}