mirror of
https://github.com/acidanthera/OpenCorePkg.git
synced 2025-12-08 19:25:01 +00:00
OcAppleKernelLib: Fixed XhciPortLimit on 10.12.6
This commit is contained in:
parent
d43b086452
commit
c8c9ee5608
@ -21,6 +21,7 @@ OpenCore Changelog
|
||||
- Updated builtin firmware versions for SMBIOS and the rest
|
||||
- Fixed patching of ACPI tables in low memory
|
||||
- Fixed macOS 11.0 DMG recovery loading without hotplug
|
||||
- Fixed `XhciPortLimit` quirk on 10.12.6 and possibly other versions
|
||||
|
||||
#### v0.6.0
|
||||
- Fixed sound corruption with AudioDxe
|
||||
|
||||
@ -2219,7 +2219,7 @@ blocking.
|
||||
\texttt{ThirdPartyDrives}\\
|
||||
\textbf{Type}: \texttt{plist\ boolean}\\
|
||||
\textbf{Failsafe}: \texttt{false}\\
|
||||
\textbf{Requirement}: 10.6 (not required for older)\\
|
||||
\textbf{Requirement}: 10.6 (64-bit, not required for older)\\
|
||||
\textbf{Description}: Apply vendor patches to IOAHCIBlockStorage.kext to enable
|
||||
native features for third-party drives, such as TRIM on SSDs or hibernation
|
||||
support on 10.15 and newer.
|
||||
@ -2234,7 +2234,7 @@ blocking.
|
||||
\texttt{XhciPortLimit}\\
|
||||
\textbf{Type}: \texttt{plist\ boolean}\\
|
||||
\textbf{Failsafe}: \texttt{false}\\
|
||||
\textbf{Requirement}: FIXME\\
|
||||
\textbf{Requirement}: 10.11 (not required for older)\\
|
||||
\textbf{Description}: Patch various kexts (AppleUSBXHCI.kext, AppleUSBXHCIPCI.kext,
|
||||
IOUSBHostFamily.kext) to remove USB port count limit of 15 ports.
|
||||
|
||||
|
||||
@ -541,7 +541,7 @@ mRemoveUsbLimitV1Patch = {
|
||||
.Size = sizeof (mRemoveUsbLimitV1Replace),
|
||||
.Count = 1,
|
||||
.Skip = 0,
|
||||
.Limit = 4096
|
||||
.Limit = 8192
|
||||
};
|
||||
|
||||
STATIC
|
||||
@ -703,9 +703,9 @@ PatchUsbXhciPortLimit3 (
|
||||
//
|
||||
Status = PatcherApplyGenericPatch (Patcher, &mRemoveUsbLimitV1Patch);
|
||||
if (EFI_ERROR (Status)) {
|
||||
DEBUG ((DEBUG_INFO, "OCAK: Failed to apply patch com.apple.driver.usb.AppleUSBXHCIPCI - %r\n", Status));
|
||||
DEBUG ((DEBUG_INFO, "OCAK: Failed to apply legacy port patch AppleUSBXHCIPCI - %r\n", Status));
|
||||
} else {
|
||||
DEBUG ((DEBUG_INFO, "OCAK: Patch success com.apple.driver.usb.AppleUSBXHCIPCI\n"));
|
||||
DEBUG ((DEBUG_INFO, "OCAK: Patch success apply legacy port AppleUSBXHCIPCI\n"));
|
||||
}
|
||||
|
||||
//
|
||||
@ -713,7 +713,7 @@ PatchUsbXhciPortLimit3 (
|
||||
//
|
||||
if (EFI_ERROR (Status)
|
||||
&& OcMatchDarwinVersion (KernelVersion, KERNEL_VERSION_HIGH_SIERRA_MIN, KERNEL_VERSION_HIGH_SIERRA_MAX)) {
|
||||
DEBUG ((DEBUG_INFO, "OCAK: Assuming success for AppleUSBXHCIPCI on %u\n", KernelVersion));
|
||||
DEBUG ((DEBUG_INFO, "OCAK: Assuming success for legacy port AppleUSBXHCIPCI on %u\n", KernelVersion));
|
||||
return EFI_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user