]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: myrs: only build on little-endian platforms
authorArnd Bergmann <arnd@arndb.de>
Fri, 2 Nov 2018 15:47:23 +0000 (16:47 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 6 Nov 2018 03:35:01 +0000 (22:35 -0500)
commitd5889e608ed054241e2c99b78f2f62d2bed973c2
treee9a96c8d4cfbd0cb86fa1e4d7bc791b37997d85d
parent91b822beb2591ac425c011f8aee93c0e137eb671
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>
drivers/scsi/Kconfig