From: vanjeff Date: Mon, 13 Jul 2009 05:53:48 +0000 (+0000) Subject: updated parameters name to match spec. X-Git-Tag: edk2-stable201903~17389 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=21d2b17f9864a9891c19299d58d56bcdcaf273a7 updated parameters name to match spec. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8920 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/IntelFrameworkModulePkg/Bus/Pci/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.c b/IntelFrameworkModulePkg/Bus/Pci/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.c index 9f81f1de3a..cebd63d11e 100644 --- a/IntelFrameworkModulePkg/Bus/Pci/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.c +++ b/IntelFrameworkModulePkg/Bus/Pci/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.c @@ -30,9 +30,9 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. typedef struct { UINT64 VendorId; UINT64 DeviceId; - UINT64 Revision; - UINT64 SubVendorId; - UINT64 SubDeviceId; + UINT64 RevisionId; + UINT64 SubsystemVendorId; + UINT64 SubsystemDeviceId; } EFI_PCI_DEVICE_HEADER_INFO; typedef struct { @@ -62,9 +62,9 @@ typedef struct { resource configuration requirements for an incompatible PCI device. @param This Pointer to the EFI_INCOMPATIBLE_PCI_DEVICE_SUPPORT_PROTOCOL instance. - @param VendorID A unique ID to identify the manufacturer of the PCI device. - @param DeviceID A unique ID to identify the particular PCI device. - @param RevisionID A PCI device-specific revision identifier. + @param VendorId A unique ID to identify the manufacturer of the PCI device. + @param DeviceId A unique ID to identify the particular PCI device. + @param RevisionId A PCI device-specific revision identifier. @param SubsystemVendorId Specifies the subsystem vendor ID. @param SubsystemDeviceId Specifies the subsystem device ID. @param Configuration A list of ACPI resource descriptors returned that detail @@ -82,7 +82,7 @@ PCheckDevice ( IN EFI_INCOMPATIBLE_PCI_DEVICE_SUPPORT_PROTOCOL *This, IN UINTN VendorId, IN UINTN DeviceId, - IN UINTN Revision, + IN UINTN RevisionId, IN UINTN SubVendorId, IN UINTN SubDeviceId, OUT VOID **Configuration @@ -227,9 +227,9 @@ IncompatiblePciDeviceSupportEntryPoint ( resource configuration requirements for an incompatible PCI device. @param This Pointer to the EFI_INCOMPATIBLE_PCI_DEVICE_SUPPORT_PROTOCOL instance. - @param VendorID A unique ID to identify the manufacturer of the PCI device. - @param DeviceID A unique ID to identify the particular PCI device. - @param RevisionID A PCI device-specific revision identifier. + @param VendorId A unique ID to identify the manufacturer of the PCI device. + @param DeviceId A unique ID to identify the particular PCI device. + @param RevisionId A PCI device-specific revision identifier. @param SubsystemVendorId Specifies the subsystem vendor ID. @param SubsystemDeviceId Specifies the subsystem device ID. @param Configuration A list of ACPI resource descriptors returned that detail @@ -247,9 +247,9 @@ PCheckDevice ( IN EFI_INCOMPATIBLE_PCI_DEVICE_SUPPORT_PROTOCOL *This, IN UINTN VendorId, IN UINTN DeviceId, - IN UINTN Revision, - IN UINTN SubVendorId, - IN UINTN SubDeviceId, + IN UINTN RevisionId, + IN UINTN SubsystemVendorId, + IN UINTN SubsystemDeviceId, OUT VOID **Configuration ) { @@ -298,20 +298,20 @@ PCheckDevice ( } } - if (Header->Revision != DEVICE_ID_NOCARE) { - if (Revision != Header->Revision) { + if (Header->RevisionId != DEVICE_ID_NOCARE) { + if (RevisionId != Header->RevisionId) { continue; } } - if (Header->SubVendorId != DEVICE_ID_NOCARE) { - if (SubVendorId != Header->SubVendorId) { + if (Header->SubsystemVendorId != DEVICE_ID_NOCARE) { + if (SubsystemVendorId != Header->SubsystemVendorId) { continue; } } - if (Header->SubDeviceId != DEVICE_ID_NOCARE) { - if (SubDeviceId != Header->SubDeviceId) { + if (Header->SubsystemDeviceId != DEVICE_ID_NOCARE) { + if (SubsystemDeviceId != Header->SubsystemDeviceId) { continue; } } diff --git a/IntelFrameworkPkg/Include/Protocol/IncompatiblePciDeviceSupport.h b/IntelFrameworkPkg/Include/Protocol/IncompatiblePciDeviceSupport.h index 287d7a9ea8..a763399395 100644 --- a/IntelFrameworkPkg/Include/Protocol/IncompatiblePciDeviceSupport.h +++ b/IntelFrameworkPkg/Include/Protocol/IncompatiblePciDeviceSupport.h @@ -44,9 +44,9 @@ typedef struct _EFI_INCOMPATIBLE_PCI_DEVICE_SUPPORT_PROTOCOL EFI_INCOMPATIBLE_PC resource configuration requirements for an incompatible PCI device. @param This Pointer to the EFI_INCOMPATIBLE_PCI_DEVICE_SUPPORT_PROTOCOL instance. - @param VendorID A unique ID to identify the manufacturer of the PCI device. - @param DeviceID A unique ID to identify the particular PCI device. - @param RevisionID A PCI device-specific revision identifier. + @param VendorId A unique ID to identify the manufacturer of the PCI device. + @param DeviceId A unique ID to identify the particular PCI device. + @param RevisionId A PCI device-specific revision identifier. @param SubsystemVendorId Specifies the subsystem vendor ID. @param SubsystemDeviceId Specifies the subsystem device ID. @param Configuration A list of ACPI resource descriptors that detail @@ -58,12 +58,12 @@ typedef struct _EFI_INCOMPATIBLE_PCI_DEVICE_SUPPORT_PROTOCOL EFI_INCOMPATIBLE_PC typedef EFI_STATUS (EFIAPI *EFI_INCOMPATIBLE_PCI_DEVICE_SUPPORT_CHECK_DEVICE)( - IN EFI_INCOMPATIBLE_PCI_DEVICE_SUPPORT_PROTOCOL *This, + IN EFI_INCOMPATIBLE_PCI_DEVICE_SUPPORT_PROTOCOL *This, IN UINTN VendorId, IN UINTN DeviceId, - IN UINTN Revision, - IN UINTN SubVendorId, - IN UINTN SubDeviceId, + IN UINTN RevisionId, + IN UINTN SubsystemVendorId, + IN UINTN SubsystemDeviceId, OUT VOID **Configuration );