2 * linux/arch/arm/mach-shark/pci.c
4 * PCI bios-type initialisation for PCI machines
6 * Bits taken from various places.
8 #include <linux/kernel.h>
10 #include <linux/init.h>
11 #include <video/vga.h>
14 #include <asm/mach/pci.h>
15 #include <asm/mach-types.h>
17 static int __init
shark_map_irq(const struct pci_dev
*dev
, u8 slot
, u8 pin
)
19 if (dev
->bus
->number
== 0)
28 extern void __init
via82c505_preinit(void);
30 static struct hw_pci shark_pci __initdata
= {
31 .setup
= via82c505_setup
,
32 .swizzle
= pci_std_swizzle
,
33 .map_irq
= shark_map_irq
,
35 .scan
= via82c505_scan_bus
,
36 .preinit
= via82c505_preinit
,
39 static int __init
shark_pci_init(void)
41 if (!machine_is_shark())
44 pcibios_min_io
= 0x6000;
45 pcibios_min_mem
= 0x50000000;
46 vga_base
= 0xe8000000;
48 pci_common_init(&shark_pci
);
53 subsys_initcall(shark_pci_init
);