summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2015-07-19 00:33:37 +0000
committerJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2015-07-19 00:33:37 +0000
commit10a2ae8a65ccd0232bfe475d75e4762fafc41d60 (patch)
tree0981cacd3c6d5a7845e44e00ae9f5e7d0da3f35c /sys/arch
parenta26602b3a6eea7932b8e2dbfc094ed3affb8dfab (diff)
set usb vendor string to 'Octeon' instead of ''
ok pirofti@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/octeon/dev/octdwctwo.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/octeon/dev/octdwctwo.c b/sys/arch/octeon/dev/octdwctwo.c
index de684865248..c5125bb7411 100644
--- a/sys/arch/octeon/dev/octdwctwo.c
+++ b/sys/arch/octeon/dev/octdwctwo.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: octdwctwo.c,v 1.7 2015/07/03 16:33:07 miod Exp $ */
+/* $OpenBSD: octdwctwo.c,v 1.8 2015/07/19 00:33:36 jasper Exp $ */
/*
* Copyright (c) 2015 Masao Uebayashi <uebayasi@tombiinc.com>
@@ -200,6 +200,8 @@ octdwctwo_attach(struct device *parent, struct device *self, void *aux)
octdwctwo_reg_set(sc, USBN_CLK_CTL_OFFSET, USBN_CLK_CTL_ENABLE);
delay(1);
+ strlcpy(sc->sc_dwc2.sc_vendor, "Octeon", sizeof(sc->sc_dwc2.sc_vendor));
+
rc = dwc2_init(&sc->sc_dwc2);
if (rc != 0)
return;