\r
Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
\r
- This program and the accompanying materials are\r
- licensed and made available under the terms and conditions of the BSD License\r
- which accompanies this distribution. The full text of the license may be found at\r
- http://opensource.org/licenses/bsd-license.php\r
-\r
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+ SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
**/\r
\r
*VgaHandle = NULL;\r
\r
//\r
- // Initialize variable states. Ths is important for selecting the VGA device\r
- // if multiple devices exist behind a single bridge.\r
+ // Initialize variable states. This is important for selecting the VGA\r
+ // device if multiple devices exist behind a single bridge.\r
//\r
HandleCount = 0;\r
HandleBuffer = NULL;\r
Status = gBS->HandleProtocol (HandleBuffer[Index], &gEfiPciIoProtocolGuid, (VOID**)&PciIo);\r
if (!EFI_ERROR (Status)) {\r
//\r
- // Detemine if this is in the correct bus range.\r
+ // Determine if this is in the correct bus range.\r
//\r
Status = PciIo->GetLocation (PciIo, &Segment, &Bus, &Device, &Function);\r
if (EFI_ERROR(Status) || (Bus < MinBus || Bus > MaxBus)) {\r
if (!IS_PCI_VGA (&Pci)) {\r
continue;\r
}\r
- DEBUG ((EFI_D_INFO,\r
+ DEBUG ((DEBUG_INFO,\r
"PCI VGA: 0x%04x:0x%04x\n",\r
Pci.Hdr.VendorId,\r
Pci.Hdr.DeviceId\r
\r
//\r
// Be sure to only fill out correct information based on platform\r
- // configureation.\r
+ // configuration.\r
//\r
HddInfo[HddIndex].Status |= HDD_PRIMARY;\r
HddInfo[HddIndex].Bus = (UINT32)Bus;\r
if (PirqData == 0) {\r
\r
//\r
- // No unused interrpts, so start reusing them.\r
+ // No unused interrupts, so start reusing them.\r
//\r
MatchData = (UINT8) (~MatchData);\r
}\r