On Tuesday 21 September 2004 2:52 am, Kenji Kaneshige wrote: > + * This function undoes the effect of one call to acpi_register_gsi(). > + * If this matches the last regstration, any IRQ resources for gsi s/regstration/registration/ (also other occurrences below). > +void > +acpi_pci_irq_disable ( > + struct pci_dev *dev) > +{ > + unsigned char irq_disabled, irq; pci_dev.irq is unsigned int, not unsigned char, so irq_disabled should be unsigned int as well. > + * dev->irq is cleared by BIOS-assigned IRQ set during boot. > + */ > + pci_read_config_byte(dev, PCI_INTERRUPT_PIN, &irq); > + if (irq) > + pci_read_config_byte(dev, PCI_INTERRUPT_LINE, &irq); > + dev->irq = irq; Why do we need to fiddle with dev->irq? I think it should just be undefined after acpi_pci_irq_disable(). - To unsubscribe from this list: send the line "unsubscribe linux-ia64" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.htmlReceived on Tue Sep 21 10:58:40 2004
This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:30 EST