Make the MacBook3,1 boot again.

Approved by:	re (kib)
This commit is contained in:
Ed Schouten 2009-08-02 11:26:23 +00:00
parent a743684e60
commit 61fb73de41
2 changed files with 2 additions and 0 deletions

View File

@ -214,6 +214,7 @@ cpu_startup(dummy)
sysenv = getenv("smbios.system.product");
if (sysenv != NULL) {
if (strncmp(sysenv, "MacBook1,1", 10) == 0 ||
strncmp(sysenv, "MacBook3,1", 10) == 0 ||
strncmp(sysenv, "MacBookPro1,1", 13) == 0 ||
strncmp(sysenv, "MacBookPro1,2", 13) == 0 ||
strncmp(sysenv, "Macmini1,1", 10) == 0) {

View File

@ -258,6 +258,7 @@ cpu_startup(dummy)
sysenv = getenv("smbios.system.product");
if (sysenv != NULL) {
if (strncmp(sysenv, "MacBook1,1", 10) == 0 ||
strncmp(sysenv, "MacBook3,1", 10) == 0 ||
strncmp(sysenv, "MacBookPro1,1", 13) == 0 ||
strncmp(sysenv, "MacBookPro1,2", 13) == 0 ||
strncmp(sysenv, "Macmini1,1", 10) == 0) {