From nobody Sat Jan 29 21:18:05 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 7D01D19960A6; Sat, 29 Jan 2022 21:18:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JmRxn4dpNz4X1R; Sat, 29 Jan 2022 21:18:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643491086; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=i+mEen36QPcCFDrlGd3HlJ8oLhXKlwXGAnAQQQnAAmg=; b=VWUyY+brt9+mPFVmdoVtC67Cg0Bj6yyMXJC8XQfvMXexIQwyibV0ECRtbxzsD+m/9GGFLV 6KTULYoIPuiHmdYo+tKfSPceadRAGc7uVos9+qViQ5pFx3zJ0Xbp6EIRbM8BWY3NL6i6zu UXKu4ClCtVWCa3AnlNRTygrsMU21q99dDHfLdBB+fnHcangrQOiYV43wB89o32sjso4dj7 hc9WqYRMM6FEDKhg+HGpeTPQoD0AWHMSjvu1i1fJW32rVSvHVrN4YJX1gUrfnDkCSfc7Ck TY+J0Pk+9AfdH9Oh2kofRzg6CaNyn6/P8WoWX6h2zdrhx0/74nlTYF87+bIbNw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5D72F1CC13; Sat, 29 Jan 2022 21:18:05 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 20TLI5NF047028; Sat, 29 Jan 2022 21:18:05 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20TLI5bo047027; Sat, 29 Jan 2022 21:18:05 GMT (envelope-from git) Date: Sat, 29 Jan 2022 21:18:05 GMT Message-Id: <202201292118.20TLI5bo047027@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: git: d0b92c068e36 - main - ipheth.4: Fix examples List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: 0mp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d0b92c068e36bbaf06b6a7dc00cfc7d275878b6c Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643491086; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=i+mEen36QPcCFDrlGd3HlJ8oLhXKlwXGAnAQQQnAAmg=; b=k3xEpz7qzxq8/B+Qmc1kV55D2R8b7RKRLIctrZcyeEoW/DjkqmQyhnlzqctNhhAIv0zoLW fIwBaaEj9i2q3ktRCYO9mIlX41uaeRbQ9WP5vdGIyWbu70vEPmBXRSNoOqUoRPoOgtYmFI HZgv6ZHtbEkUckZBZQg1ACZSo27P18Qc67T01MvkXTRsZoKCn4nj/713zpfwhOrcv/k2BL /qV/wwjO/i2RPPkmCMOhdUmQgSVKf5KJtDG3vNhyoV+Fiu7qsE+V9ZFO9V41m1ynytuRo2 ZADgOcnvZyRpo6NjiMO9l4BqilImQ9HQRj0SNso/cmtOZQLNrkVu1ktXBXE97A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1643491086; a=rsa-sha256; cv=none; b=yqgfSkyMgOAhAZhR+fZhCr9JiKTZJ0FzL/1VYY/5vX3TJCBbVpu0Pwlxm4PIqPOEPYC7Sn HtOrsO6llxDcFcm9iQ69V9VS8f3dSfOEYKNijk84j9/NyH+5//p06zXQJzQh57abxuiNFb NvxQAswwMCfpIVB1Fz0uOZWVNp894LpBksU0VZpiIW87Yt2eCXBDh/zmWaEYr6MSrjrNoa a9wUtGSGaLMwXHs+a2+0ll9WLO1SD52kwQBe+Wf/mh8f+1XdnNu7Ww04M8ufqV3cnQYZbD DhKvzbGMIko24pwlTO6HLXZxBwd/FK2TFaX1Sr+1uoOaH7joHYDD+qbZyLGs/A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by 0mp (doc, ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=d0b92c068e36bbaf06b6a7dc00cfc7d275878b6c commit d0b92c068e36bbaf06b6a7dc00cfc7d275878b6c Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2022-01-29 21:13:42 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2022-01-29 21:13:42 +0000 ipheth.4: Fix examples It is now necessary to use the -d flag for some of the usbconfig(8) invocations. MFC after: 2 weeks --- share/man/man4/ipheth.4 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/share/man/man4/ipheth.4 b/share/man/man4/ipheth.4 index 893ef5bdb0c9..1446607a7784 100644 --- a/share/man/man4/ipheth.4 +++ b/share/man/man4/ipheth.4 @@ -27,7 +27,7 @@ .\" .\" $FreeBSD$ .\" -.Dd May 26, 2019 +.Dd January 29, 2022 .Dt IPHETH 4 .Os .Sh NAME @@ -98,7 +98,7 @@ and its configuration index is 0 .Pp Secondly, check what other configurations are available for the device: .Bd -literal -offset 2n -.Li # Ic usbconfig 0.2 dump_all_config_desc | awk '/^ Conf/{print} /iConf/{print}' +.Li # Ic usbconfig -d 0.2 dump_all_config_desc | awk '/^ Conf/{print} /iConf/{print}' Configuration index 0 iConfiguration = 0x0005 Configuration index 1 @@ -113,7 +113,7 @@ In this example, there are 4 different configurations available. The configuration with index 3 seems to be related to Ethernet. It is time to configure the device: .Bd -literal -offset 2n -.Li # Ic usbconfig 0.2 set_config 3 +.Li # Ic usbconfig -d 0.2 set_config 3 .Li # Ic usbconfig | grep 'Apple.*cfg=3' ugen0.2: at usbus0, cfg=3 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA) .Ed