]> git.proxmox.com Git - mirror_edk2.git/commit - PcAtChipsetPkg/IsaAcpiDxe/PcatIsaAcpi.h
PcAtChipsetPkg/IsaAcpiDxe: Restore PCI attributes correctly
authorRuiyu Ni <ruiyu.ni@intel.com>
Thu, 2 Nov 2017 01:21:56 +0000 (09:21 +0800)
committerRuiyu Ni <ruiyu.ni@intel.com>
Wed, 8 Nov 2017 03:42:45 +0000 (11:42 +0800)
commitcb68247d5c47c5adb667ed7433c6610641edbf95
tree7b192dc43f46d98746f63c13defbb19435626621
parent7046610163d3dd0f6b410ae0b3a564917db4ed0a
PcAtChipsetPkg/IsaAcpiDxe: Restore PCI attributes correctly

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=405

The original code enables some BITs in PCI attributes in Start(),
but wrongly to disable these BITs in Stop().

The correct behavior is to save the original PCI attributes before
enables some BITs in Start(), and restore to original value
in Stop().

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
PcAtChipsetPkg/IsaAcpiDxe/PcatIsaAcpi.c
PcAtChipsetPkg/IsaAcpiDxe/PcatIsaAcpi.h