Skip to content

Commit 9c4a244

Browse files
Tech-HurrayAvenger-285714
authored andcommitted
Driver supports HRDT trustraid D3100s controllers.
1 parent 58c6e18 commit 9c4a244

11 files changed

Lines changed: 15399 additions & 0 deletions

File tree

drivers/scsi/Kconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -485,12 +485,17 @@ config SCSI_ARCMSR
485485
To compile this driver as a module, choose M here: the
486486
module will be called arcmsr (modprobe arcmsr).
487487

488+
config SCSI_SMARTPQI_MODULE
489+
bool
490+
default m if SCSI_SMARTPQI = m
491+
488492
source "drivers/scsi/esas2r/Kconfig"
489493
source "drivers/scsi/megaraid/Kconfig.megaraid"
490494
source "drivers/scsi/mpt3sas/Kconfig"
491495
source "drivers/scsi/mpi3mr/Kconfig"
492496
source "drivers/scsi/leapioraid/Kconfig"
493497
source "drivers/scsi/smartpqi/Kconfig"
498+
source "drivers/scsi/trustraid/Kconfig"
494499
source "drivers/scsi/hisi_raid/Kconfig"
495500

496501
config SCSI_HPTIOP

drivers/scsi/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ obj-$(CONFIG_SCSI_CHELSIO_FCOE) += csiostor/
9090
obj-$(CONFIG_SCSI_DMX3191D) += dmx3191d.o
9191
obj-$(CONFIG_SCSI_HPSA) += hpsa.o
9292
obj-$(CONFIG_SCSI_SMARTPQI) += smartpqi/
93+
obj-$(CONFIG_SCSI_TRUSTRAID) += trustraid/
9394
obj-$(CONFIG_SCSI_SYM53C8XX_2) += sym53c8xx_2/
9495
obj-$(CONFIG_SCSI_ZALON) += zalon7xx.o
9596
obj-$(CONFIG_SCSI_DC395x) += dc395x.o

drivers/scsi/trustraid/Kconfig

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
#
2+
# Kernel configuration file for the SMARTPQI
3+
#
4+
# Copyright (c) 2024-2025 HRDT Inc
5+
# Copyright (c) 2019-2023 Microchip Technology Inc. and its subsidiaries
6+
# Copyright (c) 2017-2018 Microsemi Corporation
7+
# Copyright (c) 2016 Microsemi Corporation
8+
# Copyright (c) 2016 PMC-Sierra, Inc.
9+
# (mailto:storagedev@microchip.com)
10+
11+
# This program is free software; you can redistribute it and/or
12+
# modify it under the terms of the GNU General Public License
13+
# as published by the Free Software Foundation; version 2
14+
# of the License.
15+
16+
# This program is distributed in the hope that it will be useful,
17+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
18+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19+
# GNU General Public License for more details.
20+
21+
# NO WARRANTY
22+
# THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR
23+
# CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT
24+
# LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
25+
# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is
26+
# solely responsible for determining the appropriateness of using and
27+
# distributing the Program and assumes all risks associated with its
28+
# exercise of rights under this Agreement, including but not limited to
29+
# the risks and costs of program errors, damage to or loss of data,
30+
# programs or equipment, and unavailability or interruption of operations.
31+
32+
# DISCLAIMER OF LIABILITY
33+
# NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY
34+
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
35+
# DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND
36+
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
37+
# TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
38+
# USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED
39+
# HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES
40+
41+
config SCSI_TRUSTRAID
42+
tristate "HRDT trustraid Driver"
43+
depends on PCI && SCSI && !S390 && !SCSI_SMARTPQI_MODULE && !SCSI_SMARTPQI
44+
select SCSI_SAS_ATTRS
45+
select RAID_ATTRS
46+
help
47+
This driver supports HRDT trustraid controllers and Microchip PQI controllers.
48+
49+
<http://www.huaruidata.com.cn>
50+
51+
To compile this driver as a module, choose M here: the
52+
module will be called smartpqi.
53+

drivers/scsi/trustraid/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# SPDX-License-Identifier: GPL-2.0
2+
obj-$(CONFIG_SCSI_TRUSTRAID) += smartpqi.o
3+
smartpqi-objs := smartpqi_init.o smartpqi_sis.o smartpqi_sas_transport.o trustrlib.o

0 commit comments

Comments
 (0)