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
This commit is contained in:
		@@ -305,7 +305,6 @@ Returns:
 | 
				
			|||||||
  UINTN               PlatformOpRomSize;
 | 
					  UINTN               PlatformOpRomSize;
 | 
				
			||||||
  UINT8               PciExpressCapRegOffset;
 | 
					  UINT8               PciExpressCapRegOffset;
 | 
				
			||||||
  EFI_PCI_IO_PROTOCOL *PciIo;
 | 
					  EFI_PCI_IO_PROTOCOL *PciIo;
 | 
				
			||||||
  UINT8               Data8;
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
  //
 | 
					  //
 | 
				
			||||||
  // Install the pciio protocol, device path protocol
 | 
					  // Install the pciio protocol, device path protocol
 | 
				
			||||||
@@ -340,8 +339,8 @@ Returns:
 | 
				
			|||||||
  // Force Interrupt line to zero for cards that come up randomly
 | 
					  // Force Interrupt line to zero for cards that come up randomly
 | 
				
			||||||
  //
 | 
					  //
 | 
				
			||||||
  PciIo = &(PciIoDevice->PciIo);
 | 
					  PciIo = &(PciIoDevice->PciIo);
 | 
				
			||||||
  Data8 = 0xFF;
 | 
					  PciIo->Pci.Write (PciIo, EfiPciIoWidthUint8, 0x3C, 1, &gAllZero);
 | 
				
			||||||
  PciIo->Pci.Write (PciIo, EfiPciIoWidthUint8, 0x3C, 1, &Data8);
 | 
					  
 | 
				
			||||||
  //
 | 
					  //
 | 
				
			||||||
  // Process Platform OpRom
 | 
					  // Process Platform OpRom
 | 
				
			||||||
  //
 | 
					  //
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user