Apply known workarounds for modern MacBooks.
The legacy USB circuit tends to give trouble on MacBook. While the original report covered MacBook, extend the fix preemptively for the newer MacBookPro too. PR: 191693 Reviewed by: emaste MFC after: 5 days
This commit is contained in:
parent
89fac384c8
commit
11db54f172
@ -250,9 +250,11 @@ cpu_startup(dummy)
|
||||
if (sysenv != NULL) {
|
||||
if (strncmp(sysenv, "MacBook1,1", 10) == 0 ||
|
||||
strncmp(sysenv, "MacBook3,1", 10) == 0 ||
|
||||
strncmp(sysenv, "MacBook4,1", 10) == 0 ||
|
||||
strncmp(sysenv, "MacBookPro1,1", 13) == 0 ||
|
||||
strncmp(sysenv, "MacBookPro1,2", 13) == 0 ||
|
||||
strncmp(sysenv, "MacBookPro3,1", 13) == 0 ||
|
||||
strncmp(sysenv, "MacBookPro4,1", 13) == 0 ||
|
||||
strncmp(sysenv, "Macmini1,1", 10) == 0) {
|
||||
if (bootverbose)
|
||||
printf("Disabling LEGACY_USB_EN bit on "
|
||||
|
@ -273,9 +273,11 @@ cpu_startup(dummy)
|
||||
if (sysenv != NULL) {
|
||||
if (strncmp(sysenv, "MacBook1,1", 10) == 0 ||
|
||||
strncmp(sysenv, "MacBook3,1", 10) == 0 ||
|
||||
strncmp(sysenv, "MacBook4,1", 10) == 0 ||
|
||||
strncmp(sysenv, "MacBookPro1,1", 13) == 0 ||
|
||||
strncmp(sysenv, "MacBookPro1,2", 13) == 0 ||
|
||||
strncmp(sysenv, "MacBookPro3,1", 13) == 0 ||
|
||||
strncmp(sysenv, "MacBookPro4,1", 13) == 0 ||
|
||||
strncmp(sysenv, "Macmini1,1", 10) == 0) {
|
||||
if (bootverbose)
|
||||
printf("Disabling LEGACY_USB_EN bit on "
|
||||
|
Loading…
Reference in New Issue
Block a user