summaryrefslogtreecommitdiff
path: root/EdkModulePkg
diff options
context:
space:
mode:
authormikewuping <mikewuping@6f19259b-4bc3-4df7-8a09-765794883524>2006-10-16 09:39:41 +0000
committermikewuping <mikewuping@6f19259b-4bc3-4df7-8a09-765794883524>2006-10-16 09:39:41 +0000
commitc5986ece6722efa7bf596966ec2d0586d8c2d660 (patch)
treecdeaba0e67414a0bd711240f344248e6cb0fa45a /EdkModulePkg
parentc639781ef01dcfa4a66ac00cc0eb79bb34ef911b (diff)
downloadedk2-platforms-c5986ece6722efa7bf596966ec2d0586d8c2d660.tar.xz
Fix a bug by the check-in of 1738, which programs SATA interrupt line wrongly and will block booting from SATA disk.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1762 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkModulePkg')
-rw-r--r--EdkModulePkg/Bus/Pci/PciBus/Dxe/PciDeviceSupport.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/EdkModulePkg/Bus/Pci/PciBus/Dxe/PciDeviceSupport.c b/EdkModulePkg/Bus/Pci/PciBus/Dxe/PciDeviceSupport.c
index 77e7cbaa82..b1cee26c0a 100644
--- a/EdkModulePkg/Bus/Pci/PciBus/Dxe/PciDeviceSupport.c
+++ b/EdkModulePkg/Bus/Pci/PciBus/Dxe/PciDeviceSupport.c
@@ -305,7 +305,6 @@ Returns:
UINTN PlatformOpRomSize;
UINT8 PciExpressCapRegOffset;
EFI_PCI_IO_PROTOCOL *PciIo;
- UINT8 Data8;
//
// Install the pciio protocol, device path protocol
@@ -340,8 +339,8 @@ Returns:
// Force Interrupt line to zero for cards that come up randomly
//
PciIo = &(PciIoDevice->PciIo);
- Data8 = 0xFF;
- PciIo->Pci.Write (PciIo, EfiPciIoWidthUint8, 0x3C, 1, &Data8);
+ PciIo->Pci.Write (PciIo, EfiPciIoWidthUint8, 0x3C, 1, &gAllZero);
+
//
// Process Platform OpRom
//