Re: HEADSUP: Change of makedev() semantics.

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Mon, 29 Sep 2003 07:12:20 +0200
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.
Received on Sun Sep 28 2003 - 20:12:25 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:23 UTC