Probe PCI link devices early so that we turn them all off via _DIS before
we start turning any of them back on again. This works around a bug in some BIOSen that alias two different link devices for APIC vs ATPIC modes onto the same physical hardware link. Submitted by: njl Tested by: Antoine Brodin antoine dot brodin at laposte dot net
This commit is contained in:
parent
f781b7b493
commit
b460c6f86b
@ -1495,6 +1495,7 @@ acpi_probe_order(ACPI_HANDLE handle, int *order)
|
||||
/*
|
||||
* 1. I/O port and memory system resource holders
|
||||
* 2. Embedded controllers (to handle early accesses)
|
||||
* 3. PCI Link Devices
|
||||
*/
|
||||
ret = 0;
|
||||
if (acpi_MatchHid(handle, "PNP0C01") || acpi_MatchHid(handle, "PNP0C02")) {
|
||||
@ -1503,6 +1504,9 @@ acpi_probe_order(ACPI_HANDLE handle, int *order)
|
||||
} else if (acpi_MatchHid(handle, "PNP0C09")) {
|
||||
*order = 2;
|
||||
ret = 1;
|
||||
} else if (acpi_MatchHid(handle, "PNP0C0F")) {
|
||||
*order = 3;
|
||||
ret = 1;
|
||||
}
|
||||
|
||||
return (ret);
|
||||
|
Loading…
Reference in New Issue
Block a user