This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / arch / sh / drivers / pci / pci-sh7751.c
index 6d4c9f2..1a5a883 100644 (file)
@@ -33,8 +33,6 @@
 static unsigned int pci_probe = PCI_PROBE_CONF1;
 extern int pci_fixup_pcic(void);
 
-void pcibios_fixup_irqs(void) __attribute__ ((weak));
-
 /*
  * Direct access to PCI hardware...
  */
@@ -160,6 +158,7 @@ static int __init pci_check_direct(void)
  *  Handle bus scanning and fixups ....
  */
 
+#if !defined(CONFIG_SH_HS7751RVOIP) && !defined(CONFIG_SH_RTS7751R2D)
 static void __init pci_fixup_ide_bases(struct pci_dev *d)
 {
        int i;
@@ -257,7 +256,7 @@ int __init sh7751_pcic_init(struct sh7751_pci_address_map *map)
        outl(0, PCI_REG(SH7751_PCICLKR));
        /* Clear Powerdown IRQ's (not done in reset) */
        word = SH7751_PCIPINT_D3 | SH7751_PCIPINT_D0;
-       outl(word, PCI_REG(SH7751_PCIPINT));
+       outl(word, PCI_REG(SH7751_PCICLKR));
 
        /*
         * This code is unused for some boards as it is done in the
@@ -362,7 +361,7 @@ int __init sh7751_pcic_init(struct sh7751_pci_address_map *map)
         * TODO: add support for the internal error interrupts and
         * DMA interrupts...
         */
-
+        
 #ifdef CONFIG_SH_RTS7751R2D
        pci_fixup_pcic();
 #endif