diff options
author | Warner Losh <imp@FreeBSD.org> | 2021-04-17 19:53:01 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2021-04-17 19:56:28 +0000 |
commit | e81b14633b0ba66d9e03cae693c03e247510ca11 (patch) | |
tree | 02d07448a138d5cfb6f93893af57da255ddcb1ed | |
parent | 2e97826052d169f6e2e1d2f87b086f56d1cf2b0b (diff) | |
download | src-e81b14633b0ba66d9e03cae693c03e247510ca11.tar.gz src-e81b14633b0ba66d9e03cae693c03e247510ca11.zip |
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
-rw-r--r-- | sys/sys/bus.h | 5 |
1 files 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; |