9 #include <linux/module.h>
11 #include <linux/device.h>
15 #include <linux/slab.h>
29 .name =
"MVME16x NCR53c710 SCSI",
30 .proc_name =
"MVME16x",
48 "SCSI chip not present\n");
53 if (hostdata ==
NULL) {
55 "Failed to allocate host data\n");
72 "board configuration problem?\n");
85 volatile unsigned long v;
89 v = (v & ~0xff) | 0x10 | 4;
93 platform_set_drvdata(dev, host);
109 struct Scsi_Host *host = platform_get_drvdata(dev);
114 volatile unsigned long v;
130 .name =
"mvme16x-scsi",
133 .probe = mvme16x_probe,
137 static int __init mvme16x_scsi_init(
void)
145 mvme16x_scsi_device = platform_device_register_simple(
"mvme16x-scsi",
147 if (IS_ERR(mvme16x_scsi_device)) {
149 return PTR_ERR(mvme16x_scsi_device);
155 static void __exit mvme16x_scsi_exit(
void)