From 21d2b17f9864a9891c19299d58d56bcdcaf273a7 Mon Sep 17 00:00:00 2001 From: vanjeff Date: Mon, 13 Jul 2009 05:53:48 +0000 Subject: updated parameters name to match spec. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8920 6f19259b-4bc3-4df7-8a09-765794883524 --- .../IncompatiblePciDeviceSupport.c | 38 +++++++++++----------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'IntelFrameworkModulePkg') diff --git a/IntelFrameworkModulePkg/Bus/Pci/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.c b/IntelFrameworkModulePkg/Bus/Pci/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.c index 9f81f1d..cebd63d 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; } } -- cgit v1.1