HEADSUP: Change of makedev() semantics.
Poul-Henning Kamp
phk at phk.freebsd.dk
Sun Sep 28 22:12:25 PDT 2003
In message <20030928230008.GF11520 at wantadilla.lemis.com>, "Greg 'groggy' Lehey"
writes:
>
>--yRA+Bmk8aPhU85Qt
>Content-Type: text/plain; charset=us-ascii
>Content-Disposition: inline
>
>On Sunday, 28 September 2003 at 23:22:07 +0200, Poul-Henning Kamp wrote:
>> Basically:
>>
>> 3. If you do a "normal" device driver, cache the result
>> from when you call make_dev().
>> ...
>>
>> ./dev/vinum
>> Failure to cache result of make_dev() ?
>
>Where should this be cached? Can you point to example code?
Almost any other device driver. It is usually stored in the softc
structure.
--
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-arch
mailing list