MAJOR, MINOR, MKDEV - macros to manipulate device major/minor numbers
#define MAJOR(dev)
#define MINOR(dev)
#define MKDEV(major, minor)
The MKDEV macro assembles a device number from the supplied major and minor numbers.
In later kernels (Linux 2.1 and later) there is movement towards using 64bit device numbers. Although it is generally a good idea to not presume to know how device numbers are constructed, it is during this period of transition fundamentally important that you ONLY use these functions to manipulate device numbers.
Also list some source files for the kernel that implement the functions of the page.
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |