10 #include <linux/pci.h>
17 #include <asm/addrspace.h>
19 static void __init init_sh03_IRQ(
void)
27 static void __init sh03_setup(
char **cmdline_p)
32 static struct resource cf_ide_resources[] = {
39 .start = 0x1f0 + 0x206,
40 .end = 0x1f0 +8 + 0x206 + 8,
50 .name =
"pata_platform",
53 .resource = cf_ide_resources,
56 static struct resource heartbeat_resources[] = {
67 .num_resources =
ARRAY_SIZE(heartbeat_resources),
68 .resource = heartbeat_resources,
76 static int __init sh03_devices_setup(
void)
79 unsigned long paddrbase;
87 printk(
"allocate_cf_area : can't open CF I/O window!\n");
92 cf_ide_resources[0].
start += (
unsigned long)cf_ide_base;
93 cf_ide_resources[0].
end += (
unsigned long)cf_ide_base;
94 cf_ide_resources[1].
start += (
unsigned long)cf_ide_base;
95 cf_ide_resources[1].
end += (
unsigned long)cf_ide_base;
102 .mv_name =
"Interface (CTP/PCI-SH03)",
103 .mv_setup = sh03_setup,
104 .mv_init_irq = init_sh03_IRQ,