On Sun, 2004-11-14 at 15:40 +0100, J. Mayer wrote: + */ + pci_read_config_byte(pci_dev, PCI_INTERRUPT_PIN, &intpin); + if (intpin != 0) + pci_write_config_byte(pci_dev, PCI_INTERRUPT_LINE, pci_dev->irq); You don't need to read PCI_INTERRUPT_PIN, just unconditionally write to PCI_INTERRUPT_LINE... Ben.