updated parameters name to match spec.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8920 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
vanjeff 2009-07-13 05:53:48 +00:00
parent 1252ae4c42
commit 21d2b17f98
2 changed files with 26 additions and 26 deletions

View File

@ -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;
}
}

View File

@ -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
@ -61,9 +61,9 @@ EFI_STATUS
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
);