Author: jkim Date: Mon Jan 12 16:28:19 2009 New Revision: 187101 URL: http://svn.freebsd.org/changeset/base/187101
Log: Allow VIA Nano processors to boot FreeBSD/amd64. PR: amd64/130303 MFC after: 1 week Modified: head/sys/boot/i386/libi386/bootinfo64.c Modified: head/sys/boot/i386/libi386/bootinfo64.c ============================================================================== --- head/sys/boot/i386/libi386/bootinfo64.c Mon Jan 12 16:07:03 2009 (r187100) +++ head/sys/boot/i386/libi386/bootinfo64.c Mon Jan 12 16:28:19 2009 (r187101) @@ -150,8 +150,9 @@ bi_checkcpu(void) cpu_vendor = (char *)vendor; /* Check for vendors that support AMD features. */ - if (strncmp(cpu_vendor, "GenuineIntel", 12) != 0 && - strncmp(cpu_vendor, "AuthenticAMD", 12) != 0) + if (strncmp(cpu_vendor, INTEL_VENDOR_ID, 12) != 0 && + strncmp(cpu_vendor, AMD_VENDOR_ID, 12) != 0 && + strncmp(cpu_vendor, CENTAUR_VENDOR_ID, 12) != 0) return (0); /* Has to support AMD features. */ _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"