Revert to Fedora kernel-2.6.17-1.2187_FC5 patched with vs2.0.2.1; there are too many...
[linux-2.6.git] / drivers / ide / setup-pci.c
index eb09452..462ed30 100644 (file)
@@ -18,6 +18,7 @@
  *  configuration of all PCI IDE interfaces present in a system.  
  */
 
+#include <linux/config.h>
 #include <linux/module.h>
 #include <linux/types.h>
 #include <linux/kernel.h>
@@ -693,8 +694,13 @@ static int do_ide_setup_pci_device(struct pci_dev *dev, ide_pci_device_t *d,
                                goto out;
                }
                if (noisy)
+#ifdef __sparc__
+                       printk(KERN_INFO "%s: 100%% native mode on irq %s\n",
+                              d->name, __irq_itoa(pciirq));
+#else
                        printk(KERN_INFO "%s: 100%% native mode on irq %d\n",
                                d->name, pciirq);
+#endif
        }
 
        /* FIXME: silent failure can happen */