| * linux/arch/sh/drivers/pci/ops-sh03.c |
| * PCI initialization for the Interface CTP/PCI-SH03 board |
| #include <linux/kernel.h> |
| * Description: This function sets up and initializes the pcic, sets |
| * up the BARS, maps the DRAM into the address space etc, etc. |
| int __init pcibios_init_platform(void) |
| __set_io_port_base(SH7751_PCI_IO_BASE); |
| static struct resource sh7751_io_resource = { |
| .start = SH7751_PCI_IO_BASE, |
| .end = SH7751_PCI_IO_BASE + SH7751_PCI_IO_SIZE - 1, |
| static struct resource sh7751_mem_resource = { |
| .start = SH7751_PCI_MEMORY_BASE, |
| .end = SH7751_PCI_MEMORY_BASE + SH7751_PCI_MEM_SIZE - 1, |
| extern struct pci_ops sh4_pci_ops; |
| struct pci_channel board_pci_channels[] = { |
| { &sh4_pci_ops, &sh7751_io_resource, &sh7751_mem_resource, 0, 0xff }, |
| { NULL, NULL, NULL, 0, 0 }, |