Patch by Hans Petter Selasky
ref: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194727#c27
Part-of:
ef8fa7c99 oss: support hot-unplug on FreeBSD
src/modules/oss/module-oss.c | 58 +++++++++++++++++++++++++++----------------
src/modules/oss/oss-util.c | 59 ++++++++++++++++++++++----------------------
2 files changed, 66 insertions(+), 51 deletions(-)
Upstream: cgit.freedesktop.org