slot = (*swizzle)(dev, &pin);
irq = (*map_irq)(dev, slot, pin);
+#if 0 //+Bing modified 01132005
if (irq == -1)
irq = 0;
+#endif
dev->irq = irq;
- DBGC((KERN_ERR "PCI fixup irq: (%s) got %d\n", dev->name, dev->irq));
-
+ //DBGC((KERN_ERR "PCI fixup irq: (%s) got %d\n", dev->name, dev->irq));
+ printk("PCI fixup irq: (%s) got %d\n", dev->name, dev->irq);
/* Always tell the device, so the driver knows what is
the real IRQ to use; the device does not use it. */
+#if 0 //+Bing modified 01132005
+ pcibios_update_irq(dev, irq);
+#else
+ if( irq != -1)
pcibios_update_irq(dev, irq);
+#endif
}
void __init