svn commit: r196390 - in head/sys: amd64/amd64 i386/i386
Ed Schouten
ed at FreeBSD.org
Wed Aug 19 20:39:34 UTC 2009
Author: ed
Date: Wed Aug 19 20:39:33 2009
New Revision: 196390
URL: http://svn.freebsd.org/changeset/base/196390
Log:
Make the MacBookPro3,1 hardware boot again.
Tested by: Patrick Lamaiziere <patfbsd davenulle org>
Approved by: re (kib)
Modified:
head/sys/amd64/amd64/machdep.c
head/sys/i386/i386/machdep.c
Modified: head/sys/amd64/amd64/machdep.c
==============================================================================
--- head/sys/amd64/amd64/machdep.c Wed Aug 19 20:17:36 2009 (r196389)
+++ head/sys/amd64/amd64/machdep.c Wed Aug 19 20:39:33 2009 (r196390)
@@ -217,6 +217,7 @@ cpu_startup(dummy)
strncmp(sysenv, "MacBook3,1", 10) == 0 ||
strncmp(sysenv, "MacBookPro1,1", 13) == 0 ||
strncmp(sysenv, "MacBookPro1,2", 13) == 0 ||
+ strncmp(sysenv, "MacBookPro3,1", 13) == 0 ||
strncmp(sysenv, "Macmini1,1", 10) == 0) {
if (bootverbose)
printf("Disabling LEGACY_USB_EN bit on "
Modified: head/sys/i386/i386/machdep.c
==============================================================================
--- head/sys/i386/i386/machdep.c Wed Aug 19 20:17:36 2009 (r196389)
+++ head/sys/i386/i386/machdep.c Wed Aug 19 20:39:33 2009 (r196390)
@@ -261,6 +261,7 @@ cpu_startup(dummy)
strncmp(sysenv, "MacBook3,1", 10) == 0 ||
strncmp(sysenv, "MacBookPro1,1", 13) == 0 ||
strncmp(sysenv, "MacBookPro1,2", 13) == 0 ||
+ strncmp(sysenv, "MacBookPro3,1", 13) == 0 ||
strncmp(sysenv, "Macmini1,1", 10) == 0) {
if (bootverbose)
printf("Disabling LEGACY_USB_EN bit on "
More information about the svn-src-all
mailing list