aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k/amiga
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2009-04-05 07:05:50 -0400
committerGeert Uytterhoeven <geert@linux-m68k.org>2010-05-26 13:51:09 -0400
commita24a6b22254bca8d54be6c8b7d8730d09f1058cc (patch)
tree4c7c71125efbc22f2f6302fc96538ce1d2b9f55a /arch/m68k/amiga
parent2b21d5e47bb9b07f90cf213c885867cf11f99976 (diff)
m68k: amiga - A4000T 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/m68k/amiga')
-rw-r--r--arch/m68k/amiga/platform.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/m68k/amiga/platform.c b/arch/m68k/amiga/platform.c
index df1fae3c3729..027e4cae88ff 100644
--- a/arch/m68k/amiga/platform.c
+++ b/arch/m68k/amiga/platform.c
@@ -65,6 +65,13 @@ static const struct resource a3000_scsi_resource __initconst = {
65}; 65};
66 66
67 67
68static const struct resource a4000t_scsi_resource __initconst = {
69 .start = 0xdd0000,
70 .end = 0xdd0fff,
71 .flags = IORESOURCE_MEM,
72};
73
74
68static int __init amiga_init_devices(void) 75static int __init amiga_init_devices(void)
69{ 76{
70 if (!MACH_IS_AMIGA) 77 if (!MACH_IS_AMIGA)
@@ -88,6 +95,10 @@ static int __init amiga_init_devices(void)
88 platform_device_register_simple("amiga-a3000-scsi", -1, 95 platform_device_register_simple("amiga-a3000-scsi", -1,
89 &a3000_scsi_resource, 1); 96 &a3000_scsi_resource, 1);
90 97
98 if (AMIGAHW_PRESENT(A4000_SCSI))
99 platform_device_register_simple("amiga-a4000t-scsi", -1,
100 &a4000t_scsi_resource, 1);
101
91 return 0; 102 return 0;
92} 103}
93 104