diff options
| author | Michal Meloun <mmel@FreeBSD.org> | 2026-09-11 11:47:30 +0000 |
|---|---|---|
| committer | Michal Meloun <mmel@FreeBSD.org> | 2026-09-11 14:09:36 +0000 |
| commit | 477c594d906328e210c30cf2c21d983152f21de3 (patch) | |
| tree | 498d57f8a317801b32e5b2d96d4f935ebb416525 /usr.bin/uuencode/(public-mirror) | |
| parent | b7541acacb662436591277977317072a4eaa6dc3 (diff) | |
Add support for hierarchical softc layout so that a leaf class and each
of its base classes owns a private softc region inside a single
allocation.
device_get_softc_class(dev, cls) returns a pointer to the softc that
belongs to the requested class. The classic device_get_softc() still
returns the leaf softc and remains fully compatible with existing
drivers.
Existing drivers are unaffected; they simply obtain a slightly larger
softc block when they inherit from base classes.
MFC after: 2 months
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D59115
Diffstat (limited to 'usr.bin/uuencode/(public-mirror)')
0 files changed, 0 insertions, 0 deletions
