diff options
Diffstat (limited to 'arch/sh/drivers/pci/fixups-sdk7780.c')
-rw-r--r-- | arch/sh/drivers/pci/fixups-sdk7780.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/arch/sh/drivers/pci/fixups-sdk7780.c b/arch/sh/drivers/pci/fixups-sdk7780.c index 250b0edd7365..0930f988ac29 100644 --- a/arch/sh/drivers/pci/fixups-sdk7780.c +++ b/arch/sh/drivers/pci/fixups-sdk7780.c | |||
@@ -31,22 +31,3 @@ int __init pcibios_map_platform_irq(struct pci_dev *pdev, u8 slot, u8 pin) | |||
31 | { | 31 | { |
32 | return sdk7780_irq_tab[pin-1][slot]; | 32 | return sdk7780_irq_tab[pin-1][slot]; |
33 | } | 33 | } |
34 | int pci_fixup_pcic(struct pci_channel *chan) | ||
35 | { | ||
36 | /* Enable all interrupts, so we know what to fix */ | ||
37 | pci_write_reg(chan, 0x0000C3FF, SH7780_PCIIMR); | ||
38 | |||
39 | /* Set up standard PCI config registers */ | ||
40 | pci_write_reg(chan, 0x08000000, SH7780_PCIMBAR0); /* PCI */ | ||
41 | pci_write_reg(chan, 0x08000000, SH4_PCILAR0); /* SHwy */ | ||
42 | pci_write_reg(chan, 0x07F00001, SH4_PCILSR0); /* size 128M w/ MBAR */ | ||
43 | |||
44 | pci_write_reg(chan, 0x00000000, SH7780_PCIMBAR1); | ||
45 | pci_write_reg(chan, 0x00000000, SH4_PCILAR1); | ||
46 | pci_write_reg(chan, 0x00000000, SH4_PCILSR1); | ||
47 | |||
48 | pci_write_reg(chan, 0xAB000801, SH7780_PCIIBAR); | ||
49 | pci_write_reg(chan, 0xA5000C01, SH4_PCICR); | ||
50 | |||
51 | return 0; | ||
52 | } | ||