Michael Wood wrote:
> 
> On Tue, Jun 05, 2001 at 08:57:25AM -0400, Kevin Lawton wrote:
> > I see in host-linux.c, that the devfs mods I integrated awhile
> > ago, call devfs_register/unregister in _addition_ to
> > register_chrdev/unregister_chrdev.
> >
> > Is this correct?  Do we need to call both pairs?  I would
> > think devfs would replace the old chrdev conventions.
> 
> >From a brief look through the Linux 2.4.4 source, I found this
> in linux/drivers/char/ip2main.c:
> #ifdef  CONFIG_DEVFS_FS
>         if (( err = devfs_register_chrdev ( IP2_IPL_MAJOR, pcIpl, &ip2_ipl )))
> #else
>         if ( ( err = register_chrdev ( IP2_IPL_MAJOR, pcIpl, &ip2_ipl ) ) )
> #endif
> 
> which seems to agree with my suspicions that one or the other
> should be sufficient.

>From this and Ulrich's email, I assume we should do something like
the code above.  devfs_* functions appear to do both calls in one
shot.

I'll change the host-linux.c code to do as above.

-Kevin

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Kevin Lawton                        [EMAIL PROTECTED]
MandrakeSoft, Inc.                  Plex86 developer
http://www.linux-mandrake.com/      http://www.plex86.org/

Reply via email to