]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: aic7xxx: Restore several defines for aic7xxx firmware build
authorTom Rix <trix@redhat.com>
Mon, 17 May 2021 13:24:51 +0000 (06:24 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 22 May 2021 02:02:42 +0000 (22:02 -0400)
commit5c279b75a29eeb5754c7091758ed703a2956c545
tree209f08ae7e4f142820a2cec4a5575ad2d217b35b
parent58c6006d68e926b6400d25cdb0092b307b53e270
scsi: aic7xxx: Restore several defines for aic7xxx firmware build

With CONFIG_AIC7XXX_BUILD_FIRMWARE, there is this representative error:

  aicasm: Stopped at file ./drivers/scsi/aic7xxx/aic7xxx.seq,
    line 271 - Undefined symbol MSG_SIMPLE_Q_TAG referenced

MSG_SIMPLE_Q_TAG used to be defined in drivers/scsi/aic7xxx/scsi_message.h
as:

  #define MSG_SIMPLE_Q_TAG 0x20 /* O/O */

The new definition in include/scsi/scsi.h is:

  #define SIMPLE_QUEUE_TAG    0x20

But aicasm can not handle the all the preprocessor directives in scsi.h, so
add MSG_SIMPLE_Q_TAB and other required defines back to scsi_message.h.

Link: https://lore.kernel.org/r/20210517132451.1832233-1-trix@redhat.com
Fixes: 3bf78f50fa5d ("scsi: aic7xxx: aic79xx: Drop internal SCSI message definition"
Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/aic7xxx/scsi_message.h