Source-Changes archive

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

Re: CVS commit: [mjf-devfs2] src/sys

On Thu, Mar 20, 2008 at 02:45:21PM +0000, Andrew Doran wrote:
> On Thu, Mar 20, 2008 at 12:11:07PM +0000, Matt Fleming wrote:
> > Log Message:
> > - Make device drivers that technically never get attached and need device
> >   nodes (mem, zero, null) provide an initialisation function, which gets
> >   an entry in a table of init functions that devsw_init() calls when the
> >   device switch tables are initialised.
> Why not have them attached like any other pseudo device?
> Andrew

I assumed that because they weren't already done that way, there was
some reason. I'm not particularly attacehd to the way this is done now.
I'm under some time constraints at the moment (this is a university
project), but this can be changed in the future.

Does anyone know if there actually is a reason that they weren't
attached as pseudo-devices already?


Home | Main Index | Thread Index | Old Index