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)
commit7e7606330b167a0ff483fb02caed9267bfab69ee
tree209f08ae7e4f142820a2cec4a5575ad2d217b35b
parent5aaeca258f5540ca5cd4a56758ef03faacb7716d
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: d8cd784ff7b3 ("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