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...
*/
* 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;
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_PCICLKR));
+ outl(word, PCI_REG(SH7751_PCIPINT));
/*
* This code is unused for some boards as it is done in the
* TODO: add support for the internal error interrupts and
* DMA interrupts...
*/
-
+
#ifdef CONFIG_SH_RTS7751R2D
pci_fixup_pcic();
#endif