Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/kern
On Mon, Jul 27, 2009 at 06:34:47PM +0200, Marc Balmer wrote:
> Am 27.07.2009 um 18:08 schrieb Matthias Drochner:
>
> >
> >lacombar%gmail.com@localhost said:
> >>Am I the only one to find that attaching a pseudo-device in main() is
> >>not the right way to go ?
> >
> >No. This looks like a case for "defpseudodev". You'll find a couple
> >of examples in the tree. (Or I can help if necessary.)
>
> yes, please mail me some hints, I find it gross myself, but did not
> yet find a better way.
Or attach it as a module - see sys/modules/example. It doesn't need to be
built as a .kmod for that to work.
Home |
Main Index |
Thread Index |
Old Index