Date: Mon, 12 Jan 2009 16:28:19 +0000 (UTC) From: Jung-uk Kim <jkim@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r187101 - head/sys/boot/i386/libi386 Message-ID: <200901121628.n0CGSJQp070499@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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. */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901121628.n0CGSJQp070499>