Major/Minor number allocation for serial core interface routine drivers
Hello,
I have noticed that almost all driver registered with serial_core.c in linux source tree have a predefined major number value. Is there a way or kernel function that can be used to dynamically find an unavailble major and minor number which does not conflicts with other serial drivers? Something like the alloc_chrdev_region() in char drivers.
Regards
|