report Oracle as the vendor is the produce starts with ORCL,
authordlg <dlg@openbsd.org>
Wed, 13 Dec 2017 00:12:03 +0000 (00:12 +0000)
committerdlg <dlg@openbsd.org>
Wed, 13 Dec 2017 00:12:03 +0000 (00:12 +0000)
makes it consistent with reporting Sun or Fujitsu based on produce
prefixes.

ok kettenis@

sys/arch/sparc64/sparc64/autoconf.c

index fee9fbc..b9e9259 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: autoconf.c,v 1.129 2017/12/06 16:20:53 kettenis Exp $ */
+/*     $OpenBSD: autoconf.c,v 1.130 2017/12/13 00:12:03 dlg Exp $      */
 /*     $NetBSD: autoconf.c,v 1.51 2001/07/24 19:32:11 eeh Exp $ */
 
 /*
@@ -947,6 +947,8 @@ extern bus_space_tag_t mainbus_space_tag;
                        hw_vendor = "Tadpole";
                if (strncmp(buf, "NATE,", 5) == 0)
                        hw_vendor = "Naturetech";
+               if (strncmp(buf, "ORCL,", 5) == 0)
+                       hw_vendor = "Oracle";
 
                /*
                 * The Momentum Leopard-V advertises itself as