summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2009-01-12 16:28:19 +0000
committerjkim <jkim@FreeBSD.org>2009-01-12 16:28:19 +0000
commit353435eb1f13c7634b1c873b469e38bdfbe04ffe (patch)
tree563a0759b7297a937306f6e3ee0ce3efcfd1755e /sys/boot
parent2ae8269946f8aa6096f75a6060830d9b5962845b (diff)
downloadFreeBSD-src-353435eb1f13c7634b1c873b469e38bdfbe04ffe.zip
FreeBSD-src-353435eb1f13c7634b1c873b469e38bdfbe04ffe.tar.gz
Allow VIA Nano processors to boot FreeBSD/amd64.
PR: amd64/130303 MFC after: 1 week
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/i386/libi386/bootinfo64.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/boot/i386/libi386/bootinfo64.c b/sys/boot/i386/libi386/bootinfo64.c
index 5b2228c..0c6d077 100644
--- a/sys/boot/i386/libi386/bootinfo64.c
+++ b/sys/boot/i386/libi386/bootinfo64.c
@@ -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. */
OpenPOWER on IntegriCloud