Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance VoodooI2CDeviceNub #468

Merged
merged 6 commits into from
Sep 7, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Print logs for valid APIC interrupt pins
  • Loading branch information
williambj1 committed Sep 6, 2021
commit 19f3c0836f30edbce12075deaee5e67844409cee
1 change: 1 addition & 0 deletions VoodooI2C/VoodooI2C/VoodooI2CDevice/VoodooI2CDeviceNub.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ IOReturn VoodooI2CDeviceNub::validateAPICInterrupt() {
(interrupt_pin = reinterpret_cast<const UInt16*>(interrupt_data->getBytesNoCopy(0, 1)))) {
if (*interrupt_pin <= 0x2f) {
has_apic_interrupts = true;
IOLog("%s::%s Found valid APIC interrupt pin (0x%x)\n", getName(), acpi_device->getName(), *interrupt_pin);
return kIOReturnSuccess;
}
IOLog("%s::%s Warning: Incompatible APIC interrupt pin (0x%x > 0x2f)\n", getName(), acpi_device->getName(), *interrupt_pin);
Expand Down