23 .name =
"Zorro II exp",
28 .name =
"Zorro II mem",
35 .name =
"Zorro III exp",
40 .name =
"Zorro III cfg",
48 static int __init amiga_init_bus(
void)
57 pdev = platform_device_register_simple(
"amiga-zorro", -1,
79 static inline int z_dev_present(
zorro_id id) {
return 0; }
84 static const struct resource a3000_scsi_resource __initconst = {
91 static const struct resource a4000t_scsi_resource __initconst = {
98 static const struct resource a1200_ide_resource __initconst = {
111 static const struct resource a4000_ide_resource __initconst = {
124 static const struct resource amiga_rtc_resource __initconst = {
131 static int __init amiga_init_devices(
void)
141 pdev = platform_device_register_simple(
"amiga-video", -1,
NULL,
144 return PTR_ERR(pdev);
150 pdev = platform_device_register_simple(
"amiga-audio", -1,
NULL,
153 return PTR_ERR(pdev);
159 pdev = platform_device_register_simple(
"amiga-floppy", -1,
162 return PTR_ERR(pdev);
166 pdev = platform_device_register_simple(
"amiga-a3000-scsi", -1,
167 &a3000_scsi_resource, 1);
169 return PTR_ERR(pdev);
173 pdev = platform_device_register_simple(
"amiga-a4000t-scsi", -1,
174 &a4000t_scsi_resource,
177 return PTR_ERR(pdev);
182 pdev = platform_device_register_simple(
"amiga-gayle-ide", -1,
183 &a1200_ide_resource, 1);
185 return PTR_ERR(pdev);
187 sizeof(a1200_ide_pdata));
193 pdev = platform_device_register_simple(
"amiga-gayle-ide", -1,
194 &a4000_ide_resource, 1);
196 return PTR_ERR(pdev);
198 sizeof(a4000_ide_pdata));
206 pdev = platform_device_register_simple(
"amiga-keyboard", -1,
209 return PTR_ERR(pdev);
213 pdev = platform_device_register_simple(
"amiga-mouse", -1,
NULL,
216 return PTR_ERR(pdev);
220 pdev = platform_device_register_simple(
"amiga-serial", -1,
223 return PTR_ERR(pdev);
227 pdev = platform_device_register_simple(
"amiga-parallel", -1,
230 return PTR_ERR(pdev);
236 pdev = platform_device_register_simple(
"rtc-msm6242", -1,
237 &amiga_rtc_resource, 1);
239 return PTR_ERR(pdev);
243 pdev = platform_device_register_simple(
"rtc-rp5c01", -1,
244 &amiga_rtc_resource, 1);
246 return PTR_ERR(pdev);