a2091.c (1da177e4c3f41524e886b7f1b8a0c1fc7321cac2) a2091.c (68b3aa7c9805aee9005a8ca53c5e99177961fbb9)
1#include <linux/types.h>
2#include <linux/mm.h>
3#include <linux/blkdev.h>
4#include <linux/sched.h>
5#include <linux/version.h>
6#include <linux/init.h>
7#include <linux/interrupt.h>
8

--- 207 unchanged lines hidden (view full) ---

216 }
217
218 return num_a2091;
219}
220
221static int a2091_bus_reset(Scsi_Cmnd *cmd)
222{
223 /* FIXME perform bus-specific reset */
1#include <linux/types.h>
2#include <linux/mm.h>
3#include <linux/blkdev.h>
4#include <linux/sched.h>
5#include <linux/version.h>
6#include <linux/init.h>
7#include <linux/interrupt.h>
8

--- 207 unchanged lines hidden (view full) ---

216 }
217
218 return num_a2091;
219}
220
221static int a2091_bus_reset(Scsi_Cmnd *cmd)
222{
223 /* FIXME perform bus-specific reset */
224
225 spin_lock_irq(cmd->device->host->host_lock);
224 wd33c93_host_reset(cmd);
226 wd33c93_host_reset(cmd);
227 spin_unlock_irq(cmd->device->host->host_lock);
228
225 return SUCCESS;
226}
227
228#define HOSTS_C
229
230static Scsi_Host_Template driver_template = {
231 .proc_name = "A2901",
232 .name = "Commodore A2091/A590 SCSI",

--- 28 unchanged lines hidden ---
229 return SUCCESS;
230}
231
232#define HOSTS_C
233
234static Scsi_Host_Template driver_template = {
235 .proc_name = "A2901",
236 .name = "Commodore A2091/A590 SCSI",

--- 28 unchanged lines hidden ---