Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要 linuxpci_find_capability内核函数的 solaris 模拟。我/usr/src/寻找了一些相似之处,但没有找到任何接近它的东西。pci/pcie 驱动程序通常使用什么来查找设备支持的功能?谢谢。
pci_find_capability
/usr/src/
<sys/sunddi.h>有pcie_get_cap(),但除此之外,我所知道的驱动程序只需直接阅读 pci/pcie 设备配置空间,寻找他们所追求的信息。
<sys/sunddi.h>
pcie_get_cap()
你想在这里解决什么问题?