projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
824b72d
)
scsi: qla1280: Make checking for 64bit support consistent
author
Thomas Bogendoerfer
<tbogendoerfer@suse.de>
Fri, 17 Jan 2020 11:56:27 +0000
(12:56 +0100)
committer
Martin K. Petersen
<martin.petersen@oracle.com>
Mon, 20 Jan 2020 23:35:55 +0000
(18:35 -0500)
Use #ifdef QLA_64BIT_PTR to check if 64bit support is enabled. This
fixes ("scsi: qla1280: Fix dma firmware download, if dma address is
64bit").
Link:
https://lore.kernel.org/r/20200117115628.13219-1-tbogendoerfer@suse.de
Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla1280.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/qla1280.c
b/drivers/scsi/qla1280.c
index
607cbdd
..
3337cd3
100644
(file)
--- a/
drivers/scsi/qla1280.c
+++ b/
drivers/scsi/qla1280.c
@@
-1699,7
+1699,7
@@
qla1280_load_firmware_pio(struct scsi_qla_host *ha)
return err;
}
-#if QLA_64BIT_PTR
+#if
def
QLA_64BIT_PTR
#define LOAD_CMD MBC_LOAD_RAM_A64_ROM
#define DUMP_CMD MBC_DUMP_RAM_A64_ROM
#define CMD_ARGS (BIT_7 | BIT_6 | BIT_4 | BIT_3 | BIT_2 | BIT_1 | BIT_0)