... USB Device Driver USB 从设备驱动程序 USB Host Driver USB 主设备驱动程序 Serial Driver 串口(UART0)的驱动程序 ...
基于130个网页-相关网页
当它们被访问时,内核 通过 devfs 设备名称映射到合适的设备驱动程序,而不是通过主设备号。
When they are accessed, the kernel maps to the appropriate device driver by devfs device name, rather than by major number.
那么,设备驱动程序开发人员为调用register _——? dev提供的主设备号应该是什么呢?
So, what major number does the device driver developer supply with the call to register_? Dev ?
让特殊文件到内核驱动程序的映射成为可能的是主设备号,而不是真实的设备名称(它和非 devfs 系统无关)。
The mapping from special file to kernel driver is made possible by the major number, not the actual device name, which is irrelevant to a non-devfs system.
应用推荐