diff options
author | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-02-23 23:17:06 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-02-23 23:17:06 +0000 |
commit | c860b4634da0194f9bd41fa942066cd4110726f8 (patch) | |
tree | 195f8f826b3e06d1f35eb13540b5d8edfcd056b1 /PcAtChipsetPkg/IsaAcpiDxe/PcatIsaAcpi.c | |
parent | a9fd67211ea2caa8007e49eaa6bd4f4ed3be5262 (diff) | |
download | edk2-platforms-c860b4634da0194f9bd41fa942066cd4110726f8.tar.xz |
Minor clean-up. Change PCI Device ID check from 7110 to 7000-7FFF.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7622 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'PcAtChipsetPkg/IsaAcpiDxe/PcatIsaAcpi.c')
-rw-r--r-- | PcAtChipsetPkg/IsaAcpiDxe/PcatIsaAcpi.c | 34 |
1 files changed, 12 insertions, 22 deletions
diff --git a/PcAtChipsetPkg/IsaAcpiDxe/PcatIsaAcpi.c b/PcAtChipsetPkg/IsaAcpiDxe/PcatIsaAcpi.c index a0f4cdfd40..9de878fb1c 100644 --- a/PcAtChipsetPkg/IsaAcpiDxe/PcatIsaAcpi.c +++ b/PcAtChipsetPkg/IsaAcpiDxe/PcatIsaAcpi.c @@ -1,26 +1,16 @@ -/*++
-
-Copyright (c) 2006, Intel Corporation
-All rights reserved. This program and the accompanying materials
-are licensed and made available under the terms and conditions of the BSD License
-which accompanies this distribution. The full text of the license may be found at
-http://opensource.org/licenses/bsd-license.php
-
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
-
+/** @file
+ EFI PCAT ISA ACPI Driver for a Generic PC Platform
-Module Name:
-
- PcatIsaAcpi.c
-
-Abstract:
+ Copyright (c) 2006, 2009, Intel Corporation
+ All rights reserved. This program and the accompanying materials
+ are licensed and made available under the terms and conditions of the BSD License
+ which accompanies this distribution. The full text of the license may be found at
+ http://opensource.org/licenses/bsd-license.php
- EFI PCAT ISA ACPI Driver for a Generic PC Platform
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
-Revision History
-
---*/
+**/
#include "PcatIsaAcpi.h"
@@ -107,7 +97,7 @@ Returns: 0,
sizeof(Pci) / sizeof(UINT32),
&Pci);
-
+
if (!EFI_ERROR (Status)) {
Status = EFI_UNSUPPORTED;
if ((Pci.Hdr.Command & 0x03) == 0x03) {
@@ -124,7 +114,7 @@ Returns: //
if (Pci.Hdr.ClassCode[1] == PCI_CLASS_BRIDGE_ISA_PDECODE &&
Pci.Hdr.VendorId == 0x8086 &&
- Pci.Hdr.DeviceId == 0x7110) {
+ (Pci.Hdr.DeviceId & 0xF000) == 0x7000) {
Status = EFI_SUCCESS;
}
}
|