/* Read interrupt line and base address registers. The architecture-dependent code can tweak these, of course.  */
static void pci_read_irq(struct pci_dev *dev)
/* Read interrupt line and base address registers. The architecture-dependent code can tweak these, of course.  */
static void pci_read_irq(struct pci_dev *dev)
{
	unsigned char irq;
	pci_read_config_byte(dev, PCI_INTERRUPT_PIN, &irq);
	dev->pin = irq;
	if (irq)
		pci_read_config_byte(dev, PCI_INTERRUPT_LINE, &irq);
	dev->irq = irq;
}