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.
嗨,我正在为使用 DDI8 mp 接口的串行 PCI/PCIe 卡编写 openserver-6 SCO 操作系统的驱动程序。我在 PCIe 卡上遇到中断时遇到问题。尽管驱动程序在 PCI 卡上正常工作。PCIe 卡是否需要任何不同的配置?
PCIe 有两种不同的中断机制: 1. 传统中断。这些是由设备认为 INTx 消息发出的信号。这些有时被称为电平触发中断,因为它们实际上再现了 PCI 传统 2。消息信号中断 (MSI) 及其扩展 (MSI-X)。这些由主机特定地址的 MWr 数据包发出信号。
您可以通过查看设备配置空间来判断正在使用哪种模式。如果您的平台上有可用的 pciutils,lspci -vvv 将为您转储它。