On Thu, Jan 21, 2016 at 3:41 PM, Cao jin <caoj.f...@cn.fujitsu.com> wrote: > Hi, > > IMHO, I think maybe modification on i801_smbus driver is easier. > > Because when i801_smbus request_irq using pci_dev->irq, this > pci_dev->irq seems still holds the value read from register( > pci_setup_device->pci_read_irq), if the value is 255, it is invalid in > register,
Right. Which is why the PCI core should not leak it into the driver's ->probe callback. Thanks, Rafael