Date: Mon, 29 Sep 2003 07:12:20 +0200 From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: "Greg 'groggy' Lehey" <grog@FreeBSD.org> Cc: current@FreeBSD.org Subject: Re: HEADSUP: Change of makedev() semantics. Message-ID: <4322.1064812340@critter.freebsd.dk> In-Reply-To: Your message of "Mon, 29 Sep 2003 08:30:08 %2B0930." <20030928230008.GF11520@wantadilla.lemis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <20030928230008.GF11520@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@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@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-arch To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4322.1064812340>