diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-11-02 11:47:23 -0400 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-11-05 22:35:01 -0500 |
commit | a3ecf48248a393438e77e569a0047e968e0ec6c6 (patch) | |
tree | e9a96c8d4cfbd0cb86fa1e4d7bc791b37997d85d | |
parent | 77409c4cdc44560e1b3b839e62d7f73478199680 (diff) |
scsi: myrs: only build on little-endian platforms
Reading throught the new driver, I noticed that this cannot work on
big-endian CPUs, and the old DAC960 had exactly the same behavior.
To document this for the future, add a Kconfig dependency that prevents it
from being included in big-endian kernels. Since the hardware is really
old and we never had a working driver on it for big-endian platforms,
it's unlikely to make a difference to users.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
-rw-r--r-- | drivers/scsi/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig index f07444d30b21..640cd1b31a18 100644 --- a/drivers/scsi/Kconfig +++ b/drivers/scsi/Kconfig | |||
@@ -578,6 +578,7 @@ config SCSI_MYRB | |||
578 | config SCSI_MYRS | 578 | config SCSI_MYRS |
579 | tristate "Mylex DAC960/DAC1100 PCI RAID Controller (SCSI Interface)" | 579 | tristate "Mylex DAC960/DAC1100 PCI RAID Controller (SCSI Interface)" |
580 | depends on PCI | 580 | depends on PCI |
581 | depends on !CPU_BIG_ENDIAN || COMPILE_TEST | ||
581 | select RAID_ATTRS | 582 | select RAID_ATTRS |
582 | help | 583 | help |
583 | This driver adds support for the Mylex DAC960, AcceleRAID, and | 584 | This driver adds support for the Mylex DAC960, AcceleRAID, and |