X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fsh%2Fdrivers%2Fpci%2Fpci-sh7751.c;h=6d4c9f2b31e426b40bda100fd33313a70a8ed8e4;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=1a5a883ad01c55a80aa08be9b1cafb5ce42e665e;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/arch/sh/drivers/pci/pci-sh7751.c b/arch/sh/drivers/pci/pci-sh7751.c index 1a5a883ad..6d4c9f2b3 100644 --- a/arch/sh/drivers/pci/pci-sh7751.c +++ b/arch/sh/drivers/pci/pci-sh7751.c @@ -33,6 +33,8 @@ 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... */ @@ -158,7 +160,6 @@ 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; @@ -256,7 +257,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_PCICLKR)); + outl(word, PCI_REG(SH7751_PCIPINT)); /* * This code is unused for some boards as it is done in the @@ -361,7 +362,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