Skip to content

Commit

Permalink
add syno_port_type for mpt3sas
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterSuh-Q3 authored Sep 5, 2023
1 parent 0f7f0d2 commit 89ee8ba
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/4.x/drivers/scsi/mpt3sas/mpt3sas_scsih.c
Original file line number Diff line number Diff line change
Expand Up @@ -15721,7 +15721,6 @@ static struct scsi_host_template mpt2sas_driver_template = {
#if defined(MY_ABC_HERE)
.syno_port_type = SYNO_PORT_TYPE_SAS,
#endif /* MY_ABC_HERE */
.cmd_size = sizeof(struct scsiio_tracker),
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,16,0))
.cmd_size = sizeof(struct scsiio_tracker),
#endif
Expand Down Expand Up @@ -15784,6 +15783,9 @@ static struct scsi_host_template mpt3sas_driver_template = {
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,19,0))
.track_queue_depth = 1,
#endif
#if defined(MY_ABC_HERE)
.syno_port_type = SYNO_PORT_TYPE_SAS,
#endif /* MY_ABC_HERE */
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,16,0))
.cmd_size = sizeof(struct scsiio_tracker),
#endif
Expand Down Expand Up @@ -17010,4 +17012,3 @@ _mpt3sas_exit(void)

module_init(_mpt3sas_init);
module_exit(_mpt3sas_exit);

0 comments on commit 89ee8ba

Please sign in to comment.