Changed ACPI_DEFAULT_HANDLE to ACPI_DEFAULT_HANDLER to be consistant

with meaning and documentation PVCS error #9


date	99.10.06.19.13.00;	author rmosgrov;	state Exp;
This commit is contained in:
aystarik 2005-06-29 18:38:43 +00:00
parent e39ca69edf
commit d546892d46

View File

@ -210,8 +210,8 @@ BREAKPOINT3;
/* Install the default OpRegion handlers */
AcpiInstallAddressSpaceHandler (Gbl_RootObject, REGION_SystemMemory, ACPI_DEFAULT_HANDLE, NULL);
AcpiInstallAddressSpaceHandler (Gbl_RootObject, REGION_SystemIO, ACPI_DEFAULT_HANDLE, NULL);
AcpiInstallAddressSpaceHandler (Gbl_RootObject, REGION_SystemMemory, ACPI_DEFAULT_HANDLER, NULL);
AcpiInstallAddressSpaceHandler (Gbl_RootObject, REGION_SystemIO, ACPI_DEFAULT_HANDLER, NULL);
/*
Can't be any defaults till a device appears.
@ -224,22 +224,22 @@ BREAKPOINT3;
Status = AcpiPathnameToHandle("\\_SB_.PCI0", &BusHandle);
if(Status == AE_OK)
{
AcpiInstallAddressSpaceHandler (BusHandle, REGION_PCIConfig, ACPI_DEFAULT_HANDLE, (void *)0);
AcpiInstallAddressSpaceHandler (BusHandle, REGION_PCIConfig, ACPI_DEFAULT_HANDLER, (void *)0);
}
Status = AcpiPathnameToHandle("\\_SB_.PCI0.PCI3", &BusHandle);
if(Status == AE_OK)
{
AcpiInstallAddressSpaceHandler (BusHandle, REGION_PCIConfig, ACPI_DEFAULT_HANDLE, (void *)3);
AcpiInstallAddressSpaceHandler (BusHandle, REGION_PCIConfig, ACPI_DEFAULT_HANDLER, (void *)3);
}
Status = AcpiPathnameToHandle("\\_SB_.PCI1", &BusHandle);
if(Status == AE_OK)
{
AcpiInstallAddressSpaceHandler (BusHandle, REGION_PCIConfig, ACPI_DEFAULT_HANDLE, (void *)1);
AcpiInstallAddressSpaceHandler (BusHandle, REGION_PCIConfig, ACPI_DEFAULT_HANDLER, (void *)1);
}
Status = AcpiPathnameToHandle("\\_SB_.PCI2", &BusHandle);
if(Status == AE_OK)
{
AcpiInstallAddressSpaceHandler (BusHandle, REGION_PCIConfig, ACPI_DEFAULT_HANDLE, (void *)2);
AcpiInstallAddressSpaceHandler (BusHandle, REGION_PCIConfig, ACPI_DEFAULT_HANDLER, (void *)2);
}
return_ACPI_STATUS (Status);