PATCH: make dmx1391 work with new 5380

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Tue Oct 08 2002 - 14:02:37 EST


diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.2.5.41/drivers/scsi/dmx3191d.h linux.2.5.41-ac1/drivers/scsi/dmx3191d.h
--- linux.2.5.41/drivers/scsi/dmx3191d.h 2002-07-20 20:11:20.000000000 +0100
+++ linux.2.5.41-ac1/drivers/scsi/dmx3191d.h 2002-10-06 23:19:44.000000000 +0100
@@ -27,7 +27,9 @@
 int dmx3191d_proc_info(char *, char **, off_t, int, int, int);
 int dmx3191d_queue_command(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *));
 int dmx3191d_release_resources(struct Scsi_Host *);
-int dmx3191d_reset(Scsi_Cmnd *, unsigned int);
+int dmx3191d_bus_reset(Scsi_Cmnd *);
+int dmx3191d_host_reset(Scsi_Cmnd *);
+int dmx3191d_device_reset(Scsi_Cmnd *);
 
 
 #define DMX3191D { \
@@ -37,8 +39,10 @@
         release: dmx3191d_release_resources, \
         info: dmx3191d_info, \
         queuecommand: dmx3191d_queue_command, \
- abort: dmx3191d_abort, \
- reset: dmx3191d_reset, \
+ eh_abort_handler: dmx3191d_abort, \
+ eh_bus_reset_handler: dmx3191d_bus_reset, \
+ eh_device_reset_handler:dmx3191d_device_reset, \
+ eh_host_reset_handler: dmx3191d_host_reset, \
         bios_param: NULL, \
         can_queue: 32, \
         this_id: 7, \
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:27 EST