Commit 147f09f5 authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] fix t128 for new NCR5380

parent c07230ae
...@@ -95,7 +95,9 @@ int t128_abort(Scsi_Cmnd *); ...@@ -95,7 +95,9 @@ int t128_abort(Scsi_Cmnd *);
int t128_biosparam(Disk *, struct block_device *, int*); int t128_biosparam(Disk *, struct block_device *, int*);
int t128_detect(Scsi_Host_Template *); int t128_detect(Scsi_Host_Template *);
int t128_queue_command(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *)); int t128_queue_command(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *));
int t128_reset(Scsi_Cmnd *, unsigned int reset_flags); int t128_host_reset(Scsi_Cmnd *);
int t128_bus_reset(Scsi_Cmnd *);
int t128_device_reset(Scsi_Cmnd *);
int t128_proc_info (char *buffer, char **start, off_t offset, int t128_proc_info (char *buffer, char **start, off_t offset,
int length, int hostno, int inout); int length, int hostno, int inout);
...@@ -121,8 +123,10 @@ int t128_proc_info (char *buffer, char **start, off_t offset, ...@@ -121,8 +123,10 @@ int t128_proc_info (char *buffer, char **start, off_t offset,
name: "Trantor T128/T128F/T228", \ name: "Trantor T128/T128F/T228", \
detect: t128_detect, \ detect: t128_detect, \
queuecommand: t128_queue_command, \ queuecommand: t128_queue_command, \
abort: t128_abort, \ eh_abort_handler: t128_abort, \
reset: t128_reset, \ eh_bus_reset_handler: t128_bus_reset, \
eh_host_reset_handler: t128_host_reset, \
eh_device_reset_handler: t128_device_reset, \
bios_param: t128_biosparam, \ bios_param: t128_biosparam, \
can_queue: CAN_QUEUE, \ can_queue: CAN_QUEUE, \
this_id: 7, \ this_id: 7, \
...@@ -162,7 +166,9 @@ int t128_proc_info (char *buffer, char **start, off_t offset, ...@@ -162,7 +166,9 @@ int t128_proc_info (char *buffer, char **start, off_t offset,
#define do_NCR5380_intr do_t128_intr #define do_NCR5380_intr do_t128_intr
#define NCR5380_queue_command t128_queue_command #define NCR5380_queue_command t128_queue_command
#define NCR5380_abort t128_abort #define NCR5380_abort t128_abort
#define NCR5380_reset t128_reset #define NCR5380_host_reset t128_hostreset
#define NCR5380_device_reset t128_device_reset
#define NCR5380_bus_reset t128_bus_reset
#define NCR5380_proc_info t128_proc_info #define NCR5380_proc_info t128_proc_info
/* 15 14 12 10 7 5 3 /* 15 14 12 10 7 5 3
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment