Re: question about misc char devices, and relationship with udev

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

 



>  also, the ELDD book claims that misc_register() calls the kernel
> routine class_device_create().  i'm looking at the entire
> kernel implementation for misc drivers in drivers/char/misc.c, and
> what i see is a call to device_create() instead.  i suspect i should
> start following the flow of control here, but i'm still curious as to
> how that /dev file came into existence without any obvious help
> from udev.

In linux 2.6.20,kernel still use class_device_create().
After linux 2.6.22(maybe,I can't remember),kernel use device_create()
instead of class_device_create().

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux