From 10a2ae8a65ccd0232bfe475d75e4762fafc41d60 Mon Sep 17 00:00:00 2001 From: Jasper Lievisse Adriaanse Date: Sun, 19 Jul 2015 00:33:37 +0000 Subject: set usb vendor string to 'Octeon' instead of '' ok pirofti@ --- sys/arch/octeon/dev/octdwctwo.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/arch') 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 @@ -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; -- cgit v1.2.3