summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2017-12-13 00:12:03 +0000
committerdlg <dlg@openbsd.org>2017-12-13 00:12:03 +0000
commitf0aa7c202673fe831c07ad6cb3a1c5751e682a37 (patch)
treef2e82ab2b51487f2d3d1ddc48ed1e254a9727530
parentAdd more Allwinner A80 clocks. (diff)
downloadwireguard-openbsd-f0aa7c202673fe831c07ad6cb3a1c5751e682a37.tar.xz
wireguard-openbsd-f0aa7c202673fe831c07ad6cb3a1c5751e682a37.zip
report Oracle as the vendor is the produce starts with ORCL,
makes it consistent with reporting Sun or Fujitsu based on produce prefixes. ok kettenis@
-rw-r--r--sys/arch/sparc64/sparc64/autoconf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/sparc64/sparc64/autoconf.c b/sys/arch/sparc64/sparc64/autoconf.c
index fee9fbc8b89..b9e92593c2a 100644
--- a/sys/arch/sparc64/sparc64/autoconf.c
+++ b/sys/arch/sparc64/sparc64/autoconf.c
@@ -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