Для MSI -X см. комментарии в acpi _pci _irq _проверка _запись ().
/*
* Type 1: Dynamic
* ---------------
* The 'source' field specifies the PCI interrupt link device used to
* configure the IRQ assigned to this slot|dev|pin. The 'source_index'
* indicates which resource descriptor in the resource template (of
* the link device) this interrupt is allocated from.
*
* NOTE: Don't query the Link Device for IRQ information at this time
* because Link Device enumeration may not have occurred yet
* (e.g. exists somewhere 'below' this _PRT entry in the ACPI
* namespace).
*/
/*
* Type 2: Static
* --------------
* The 'source' field is NULL, and the 'source_index' field specifies
* the IRQ value, which is hardwired to specific interrupt inputs on
* the interrupt controller.
*/
Более простой альтернативой является просмотр файлов с подсветкой синтаксиса. Это позволяет вам легче идентифицировать и игнорировать комментарии.
Я использую выделение:
highlight() {
command highlight -s base16/tomorrow-night -O truecolor "$1" || expand -t4 "$1"
}
cless() {
highlight "$@" | less
}
Заметьте, я дальтоник, так что не ругайте меня за мой выбор цветового стиля.