diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2009-04-05 07:02:45 -0400 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2010-05-26 13:51:08 -0400 |
commit | c2a24a4ca1137473971842461612e56a654e7edb (patch) | |
tree | 0ed24e0553dc004d0729d22c7b4d9709f76e2621 /arch | |
parent | cf2ed279f915f36c84ce21a5933ad4bba9f81de8 (diff) |
m68k: amiga - A3000 SCSI platform device conversion
Acked-by: James Bottomley <James.Bottomley@suse.de>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/m68k/amiga/platform.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/m68k/amiga/platform.c b/arch/m68k/amiga/platform.c index 38f18bf14737..df1fae3c3729 100644 --- a/arch/m68k/amiga/platform.c +++ b/arch/m68k/amiga/platform.c | |||
@@ -58,6 +58,13 @@ subsys_initcall(amiga_init_bus); | |||
58 | #endif /* CONFIG_ZORRO */ | 58 | #endif /* CONFIG_ZORRO */ |
59 | 59 | ||
60 | 60 | ||
61 | static const struct resource a3000_scsi_resource __initconst = { | ||
62 | .start = 0xdd0000, | ||
63 | .end = 0xdd00ff, | ||
64 | .flags = IORESOURCE_MEM, | ||
65 | }; | ||
66 | |||
67 | |||
61 | static int __init amiga_init_devices(void) | 68 | static int __init amiga_init_devices(void) |
62 | { | 69 | { |
63 | if (!MACH_IS_AMIGA) | 70 | if (!MACH_IS_AMIGA) |
@@ -77,6 +84,10 @@ static int __init amiga_init_devices(void) | |||
77 | if (AMIGAHW_PRESENT(AMI_FLOPPY)) | 84 | if (AMIGAHW_PRESENT(AMI_FLOPPY)) |
78 | platform_device_register_simple("amiga-floppy", -1, NULL, 0); | 85 | platform_device_register_simple("amiga-floppy", -1, NULL, 0); |
79 | 86 | ||
87 | if (AMIGAHW_PRESENT(A3000_SCSI)) | ||
88 | platform_device_register_simple("amiga-a3000-scsi", -1, | ||
89 | &a3000_scsi_resource, 1); | ||
90 | |||
80 | return 0; | 91 | return 0; |
81 | } | 92 | } |
82 | 93 | ||