Name

pci_check_and_unmask_intx — unmask INTx if no interrupt is pending

Synopsis

bool pci_check_and_unmask_intx (struct pci_dev * dev);
 

Arguments

struct pci_dev * dev

the PCI device to operate on

Description

Check if the device dev has its INTx line asserted, unmask it if not and return true. False is returned and the mask remains active if there was still an interrupt pending.