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
This commit is contained in:
Warner Losh 2021-04-17 13:53:01 -06:00
parent 2e97826052
commit e81b14633b

View File

@ -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;