Author: mcayland Date: Fri Apr 5 12:34:10 2013 New Revision: 1110 URL: http://tracker.coreboot.org/trac/openbios/changeset/1110
Log: pci: Set interrupts property only on newworld machines
Signed-off-by: Amadeusz Sławiński amade@asmblr.net Signed-off-by: Mark Cave-Ayland mark.cave-ayland@ilande.co.uk
Modified: trunk/openbios-devel/drivers/pci.c
Modified: trunk/openbios-devel/drivers/pci.c ============================================================================== --- trunk/openbios-devel/drivers/pci.c Fri Apr 5 12:33:57 2013 (r1109) +++ trunk/openbios-devel/drivers/pci.c Fri Apr 5 12:34:10 2013 (r1110) @@ -854,7 +854,7 @@ if (config->irq_pin) { OLDWORLD(set_int_property(dev, "AAPL,interrupts", config->irq_line)); - set_int_property(dev, "interrupts", config->irq_pin); + NEWWORLD(set_int_property(dev, "interrupts", config->irq_pin)); }
set_int_property(dev, "min-grant", pci_config_read8(addr, PCI_MIN_GNT));