Problem in pmac PCI fixup

Benjamin Herrenschmidt benh at kernel.crashing.org
Mon Apr 29 01:16:09 EST 2002


>--- linux-2.4.19-pre6-lvm-gentoo/arch/ppc/kernel/pmac_pci.c     Sun Apr
>28 09:14:09 2002
>+++ linux-2.4.16-planb/arch/ppc/kernel/pmac_pci.c       Sun Apr
>28 17:18:39 2002
>@@ -493,8 +503,6 @@
>                unsigned char pin;
>                struct device_node* node;
>
>-               if (pci_read_config_byte(dev, PCI_INTERRUPT_PIN, &pin) ||
>!pin)
>-                       continue; /* No interrupt generated -> no fixup */
>                node = pci_device_to_OF_node(dev);
>                if (!node) {
>                        printk("No OF node for device %x:%x\n", dev->bus-
>>number, dev->devfn >> 3);
>
>Anybody have any problem with that approach?

No problem with that, it's actually what we do in chrp.

Ben.


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list