From owner-dev-commits-src-all@freebsd.org Sat Apr 17 19:56:48 2021 Return-Path: Delivered-To: dev-commits-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B78905E17FB; Sat, 17 Apr 2021 19:56:48 +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 4FN3kS4tlhz3HnY; Sat, 17 Apr 2021 19:56:48 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 9A6971E490; Sat, 17 Apr 2021 19:56:48 +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 13HJumn3008206; Sat, 17 Apr 2021 19:56:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 13HJumXa008205; Sat, 17 Apr 2021 19:56:48 GMT (envelope-from git) Date: Sat, 17 Apr 2021 19:56:48 GMT Message-Id: <202104171956.13HJumXa008205@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: e81b14633b0b - main - newbus: Minor update fix. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e81b14633b0ba66d9e03cae693c03e247510ca11 Auto-Submitted: auto-generated X-BeenThere: dev-commits-src-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the src repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Apr 2021 19:56:48 -0000 The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=e81b14633b0ba66d9e03cae693c03e247510ca11 commit e81b14633b0ba66d9e03cae693c03e247510ca11 Author: Warner Losh AuthorDate: 2021-04-17 19:53:01 +0000 Commit: Warner Losh CommitDate: 2021-04-17 19:56:28 +0000 newbus: Minor update fix. driver_t was supposed to just be a quick hack for 4.x compatibility. However, it's been documented now as the preferred API rather than the replacement kobj_class_t. Drop the note about 4.x since it's clear we're a bit late to retiring its use through the tree with almost 1500 references to driver_t. Sponsored by: Netflix --- sys/sys/bus.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/sys/bus.h b/sys/sys/bus.h index 11c8086d7107..668201ffbcd5 100644 --- a/sys/sys/bus.h +++ b/sys/sys/bus.h @@ -164,8 +164,9 @@ typedef void (*dev_lookup_fn)(void *arg, const char *name, EVENTHANDLER_DECLARE(dev_lookup, dev_lookup_fn); /** - * @brief A device driver (included mainly for compatibility with - * FreeBSD 4.x). + * @brief A device driver. + * + * Provides an abstraction layer for driver dispatch. */ typedef struct kobj_class driver_t;