Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 May 2000 18:20:16 +0100 (BST)
From:      Nick Hibma <n_hibma@calcaphon.com>
To:        Adam <bsdx@looksharp.net>
Cc:        hackers@freebsd.org
Subject:   Re: modules and newbus
Message-ID:  <Pine.BSF.4.20.0005211816530.797-100000@localhost>
In-Reply-To: <Pine.BSF.4.21.0005180124080.55913-100000@turtle.looksharp.net>

next in thread | previous in thread | raw e-mail | index | archive | help

> I got the impression that newbus would make it easier to make kernel
> modules out of things.  What in general does it take to make something
> into a kld?  I'm thinking of pcm for example.  

In general all it takes is a good look at de-allocation of the resources
it allocates. Another point with some hardware is that you need to
deinitialise it and make it shut up / no longer produce interrupts.

Also the encapsulation of the driver into a MODULE needs to be done,
which should be fairly trivial or already done.

Be reminded that you cannot detach from all the busses, like for example
ISA.

Nick
--
n_hibma@webweaving.org
n_hibma@freebsd.org                                          USB project
http://www.etla.net/~n_hibma/



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.20.0005211816530.797-100000>