Commit 32ec26d7 authored by Doug Ledford's avatar Doug Ledford

Fix for scsi host struct change

parent 9ccb0cb5
...@@ -248,15 +248,12 @@ extern void x_scsi_taskmgmt_bh(void *); ...@@ -248,15 +248,12 @@ extern void x_scsi_taskmgmt_bh(void *);
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,1) #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,1)
#define MPT_SCSIHOST { \ #define MPT_SCSIHOST { \
next: NULL, \
PROC_SCSI_DECL \ PROC_SCSI_DECL \
name: "MPT SCSI Host", \ name: "MPT SCSI Host", \
detect: x_scsi_detect, \ detect: x_scsi_detect, \
release: x_scsi_release, \ release: x_scsi_release, \
info: x_scsi_info, \ info: x_scsi_info, \
command: NULL, \
queuecommand: x_scsi_queuecommand, \ queuecommand: x_scsi_queuecommand, \
eh_strategy_handler: NULL, \
eh_abort_handler: x_scsi_abort, \ eh_abort_handler: x_scsi_abort, \
eh_device_reset_handler: x_scsi_dev_reset, \ eh_device_reset_handler: x_scsi_dev_reset, \
eh_bus_reset_handler: x_scsi_bus_reset, \ eh_bus_reset_handler: x_scsi_bus_reset, \
...@@ -275,19 +272,15 @@ extern void x_scsi_taskmgmt_bh(void *); ...@@ -275,19 +272,15 @@ extern void x_scsi_taskmgmt_bh(void *);
#else /* LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,1) */ #else /* LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,1) */
#define MPT_SCSIHOST { \ #define MPT_SCSIHOST { \
next: NULL, \
PROC_SCSI_DECL \ PROC_SCSI_DECL \
name: "MPT SCSI Host", \ name: "MPT SCSI Host", \
detect: x_scsi_detect, \ detect: x_scsi_detect, \
release: x_scsi_release, \ release: x_scsi_release, \
info: x_scsi_info, \ info: x_scsi_info, \
command: NULL, \
queuecommand: x_scsi_queuecommand, \ queuecommand: x_scsi_queuecommand, \
eh_strategy_handler: NULL, \
eh_abort_handler: x_scsi_abort, \ eh_abort_handler: x_scsi_abort, \
eh_device_reset_handler: x_scsi_dev_reset, \ eh_device_reset_handler: x_scsi_dev_reset, \
eh_bus_reset_handler: x_scsi_bus_reset, \ eh_bus_reset_handler: x_scsi_bus_reset, \
eh_host_reset_handler: NULL, \
bios_param: x_scsi_bios_param, \ bios_param: x_scsi_bios_param, \
can_queue: MPT_SCSI_CAN_QUEUE, \ can_queue: MPT_SCSI_CAN_QUEUE, \
this_id: -1, \ this_id: -1, \
...@@ -303,13 +296,11 @@ extern void x_scsi_taskmgmt_bh(void *); ...@@ -303,13 +296,11 @@ extern void x_scsi_taskmgmt_bh(void *);
#else /* MPT_SCSI_USE_NEW_EH */ #else /* MPT_SCSI_USE_NEW_EH */
#define MPT_SCSIHOST { \ #define MPT_SCSIHOST { \
next: NULL, \
PROC_SCSI_DECL \ PROC_SCSI_DECL \
name: "MPT SCSI Host", \ name: "MPT SCSI Host", \
detect: x_scsi_detect, \ detect: x_scsi_detect, \
release: x_scsi_release, \ release: x_scsi_release, \
info: x_scsi_info, \ info: x_scsi_info, \
command: NULL, \
queuecommand: x_scsi_queuecommand, \ queuecommand: x_scsi_queuecommand, \
abort: x_scsi_old_abort, \ abort: x_scsi_old_abort, \
reset: x_scsi_old_reset, \ reset: x_scsi_old_reset, \
......
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