diff options
author | hselasky <hselasky@FreeBSD.org> | 2012-08-15 15:42:57 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2012-08-15 15:42:57 +0000 |
commit | 2e74f8d2a5ec1615da87208faeb1c64735fc5c64 (patch) | |
tree | 99fdc32e57fe511a68b57a70585fea2b615a844d /contrib/diff | |
parent | 0f8b6a08b6cf5ed24bea18a23d546ae01738c2ef (diff) | |
download | FreeBSD-src-2e74f8d2a5ec1615da87208faeb1c64735fc5c64.zip FreeBSD-src-2e74f8d2a5ec1615da87208faeb1c64735fc5c64.tar.gz |
Revert r239178 and implement two new functions, namely
"device_free_softc()" and "device_claim_softc()",
to allow USB serial drivers refcounting the softc.
These functions are used to grab the softc from
auto-free and to free the softc back to the correct
malloc type, respectivly.
Discussed with: jhb
MFC after: 2 weeks
Diffstat (limited to 'contrib/diff')
0 files changed, 0 insertions, 0 deletions