1 #include <linux/kernel.h>
2 #include <linux/types.h>
19 printk(
"PCI: Bad IRQ mapping request for slot %d\n", slot);
24 #define PCIMCR_MRSET_OFF 0xBFFFFFFF
25 #define PCIMCR_RFSH_OFF 0xFFFFFFFB
31 #define PCIC_WRITE(x,v) writel((v), PCI_REG(x))
32 #define PCIC_READ(x) readl(PCI_REG(x))
40 unsigned long bcr1, wcr1, wcr2, wcr3, mcr;
55 mcr = (*(
volatile unsigned long*)(
SH7751_MCR));
57 bcr1 = bcr1 | 0x00080000;
60 bcr1 = bcr1 | 0x40080000;
103 PCIC_WRITE(SH7751_PCIMBR, chan->resources[1].start);
106 PCIC_WRITE(SH7751_PCIIOBR, (chan->resources[0].start & SH7751_PCIIOBR_MASK));
109 printk(
"SH7751 PCI: Finished initialization of the PCI controller\n");