Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Jan 2004 20:49:13 +0100
From:      Poul-Henning Kamp <phk@phk.freebsd.dk>
To:        current@freebsd.org
Subject:   HEADSUP: sound patch to eliminate makedev()
Message-ID:  <15379.1073850553@critter.freebsd.dk>

next in thread | raw e-mail | index | archive | help

http:phk.freebsd.dk/patch/sound.patch

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
not to.

Poul-Henning

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15379.1073850553>