dev file

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

 



HI ,
we are implement a chrdev in linux
to register the device, we first use old-style dev file system register_chrdev() to do register
then , in order to let the dev file created automatically, we add devfs_register() after calling register_chrdev()
,with the same MAJOR_NUM and dev_file_name
currently, it works well
 
But is it proper to use both new style and old style dev file together?
can I just use devfs_register()? 
    
thanks a lot
 

[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