]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Minor clean-up. Change PCI Device ID check from 7110 to 7000-7FFF.
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 23 Feb 2009 23:17:06 +0000 (23:17 +0000)
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 23 Feb 2009 23:17:06 +0000 (23:17 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7622 6f19259b-4bc3-4df7-8a09-765794883524

PcAtChipsetPkg/IsaAcpiDxe/PcatIsaAcpi.c

index a0f4cdfd40a0df99cc57d04552843ae072737709..9de878fb1c74ac4595b45f290cf0563f42e86125 100644 (file)
@@ -1,26 +1,16 @@
-/*++\r
-\r
-Copyright (c) 2006, Intel Corporation                                                         \r
-All rights reserved. This program and the accompanying materials                          \r
-are 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
-\r
+/** @file\r
+  EFI PCAT ISA ACPI Driver for a Generic PC Platform\r
 \r
-Module Name:\r
-\r
-    PcatIsaAcpi.c\r
-    \r
-Abstract:\r
+  Copyright (c) 2006, 2009, Intel Corporation                                                         \r
+  All rights reserved. This program and the accompanying materials\r
+  are 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
-    EFI PCAT ISA ACPI Driver for a Generic PC Platform\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
 \r
-Revision History\r
-\r
---*/\r
+**/\r
 \r
 #include "PcatIsaAcpi.h"\r
 \r
@@ -107,7 +97,7 @@ Returns:
                     0,\r
                     sizeof(Pci) / sizeof(UINT32), \r
                     &Pci);\r
-  \r
+\r
   if (!EFI_ERROR (Status)) {\r
     Status = EFI_UNSUPPORTED;\r
     if ((Pci.Hdr.Command & 0x03) == 0x03) {\r
@@ -124,7 +114,7 @@ Returns:
         //\r
         if (Pci.Hdr.ClassCode[1] == PCI_CLASS_BRIDGE_ISA_PDECODE &&\r
             Pci.Hdr.VendorId == 0x8086 && \r
-            Pci.Hdr.DeviceId == 0x7110) {\r
+            (Pci.Hdr.DeviceId & 0xF000) == 0x7000) {\r
           Status = EFI_SUCCESS;\r
         }\r
       } \r