DragonFly users List (threaded) for 2009-08
DragonFly BSD
DragonFly users List (threaded) for 2009-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: is dev_ops_add() permanently removed ?


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 13 Aug 2009 15:13:03 -0700 (PDT)

:Hi,
:
:I have a question.
:
:By recent change
:(http://gitweb.dragonflybsd.org/dragonfly.git/commit/3e82b46c18bc48fdb3c1d60729c7661b3a0bf6bf)
:dev_ops_add()
: is no longer existing in sys/device.h.
:Can someone give me a clue what is a substitute, or any recovery plan
:it will be back soon ?
:
:I'm using dev_ops_add() in kqemu module modevent() routine.
:
:thank you,
:-Naoya

    Yes, its gone.  It is no longer needed because its functionality
    has been added to make_dev().

    Prior to DEVFS both dev_ops_add() and make_dev() were called.

    Post-DEVFS only make_dev() is called.

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]