Re: HEADSUP: Change of makedev() semantics.

From: Poul-Henning Kamp (phk_at_phk.freebsd.dk)
Date: 09/29/03

  • Next message: Bernd Walter: "Re: HEADSUP: Change of makedev() semantics."
    To: "Greg 'groggy' Lehey" <grog@FreeBSD.org>
    Date: Mon, 29 Sep 2003 07:12:20 +0200
    
    

    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"
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
    

  • Next message: Bernd Walter: "Re: HEADSUP: Change of makedev() semantics."

    Relevant Pages