linux内核nvme驱动程序
时间: 2023-10-11 09:07:23 浏览: 198
Linux内核中的NVMe驱动程序是一种用于支持NVMe(Non-Volatile Memory Express)固态硬盘的驱动程序。该驱动程序通过调用内核函数pci_register_driver,注册了一个名为nvme_driver的pci_driver。该驱动程序的功能包括PCI总线的注册和初始化、创建NVMe块设备、处理NVMe设备的IO流程等。启动时,该驱动程序会将设备的class code设置为010802h,以便与PCI Bus进行匹配。注册到PCI Bus后,NVMe驱动程序会调用probe函数nvme_probe()来加载设备并进行处理。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [驱动 | Linux | NVMe - 1. 内核驱动](https://blog.csdn.net/MissMango0820/article/details/127659201)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *3* [Linux中nvme驱动详解](https://blog.csdn.net/weixin_42135462/article/details/116606103)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文