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.
_______________________________________________
freebsd-arch_at_freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe_at_freebsd.org"
Received on Wed Oct 01 2003 - 17:32:57 UTC

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