HEADSUP: sound patch to eliminate makedev()
phk at phk.freebsd.dk
Sun Jan 11 11:49:17 PST 2004
This patch has been posted previously, it is written by cg@ and I
have been sitting on it for a long time.
Now with 5.2 out of the door, it's time to get it in.
This patch eliminates the use of makedev() in the sound code,
instead relying on keeping track of the dev_t's created, just
like all other nice playing code.
Once this is committed, and any other remaining stray makedev()
calls have been converted, we can start to refcount dev_t's which
amongst other things will make it a lot easier to figure out when
drivers can safely be unloaded.
I'll commit this patch next sunday, unless there are reasons
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the freebsd-current