Commit 2ae203fa authored by Michał Mirosław's avatar Michał Mirosław Committed by Martin K. Petersen

scsi: aic7xxx: regenerate firmware files

Regenerate firmware files to make cleaner base for following fix.
This removes some unused definitions and reorders some #defines, but
the code remains the same.
Signed-off-by: default avatarMichał Mirosław <mirq-linux@rere.qmqm.pl>
Reviewed-by: default avatarHannes Reinecke <hare@suse.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 3ee25e8f
This diff is collapsed.
...@@ -234,6 +234,23 @@ ahd_selid_print(u_int regvalue, u_int *cur_col, u_int wrap) ...@@ -234,6 +234,23 @@ ahd_selid_print(u_int regvalue, u_int *cur_col, u_int wrap)
0x49, regvalue, cur_col, wrap)); 0x49, regvalue, cur_col, wrap));
} }
static const ahd_reg_parse_entry_t SIMODE0_parse_table[] = {
{ "ENARBDO", 0x01, 0x01 },
{ "ENSPIORDY", 0x02, 0x02 },
{ "ENOVERRUN", 0x04, 0x04 },
{ "ENIOERR", 0x08, 0x08 },
{ "ENSELINGO", 0x10, 0x10 },
{ "ENSELDI", 0x20, 0x20 },
{ "ENSELDO", 0x40, 0x40 }
};
int
ahd_simode0_print(u_int regvalue, u_int *cur_col, u_int wrap)
{
return (ahd_print_register(SIMODE0_parse_table, 7, "SIMODE0",
0x4b, regvalue, cur_col, wrap));
}
static const ahd_reg_parse_entry_t SSTAT0_parse_table[] = { static const ahd_reg_parse_entry_t SSTAT0_parse_table[] = {
{ "ARBDO", 0x01, 0x01 }, { "ARBDO", 0x01, 0x01 },
{ "SPIORDY", 0x02, 0x02 }, { "SPIORDY", 0x02, 0x02 },
...@@ -252,23 +269,6 @@ ahd_sstat0_print(u_int regvalue, u_int *cur_col, u_int wrap) ...@@ -252,23 +269,6 @@ ahd_sstat0_print(u_int regvalue, u_int *cur_col, u_int wrap)
0x4b, regvalue, cur_col, wrap)); 0x4b, regvalue, cur_col, wrap));
} }
static const ahd_reg_parse_entry_t SIMODE0_parse_table[] = {
{ "ENARBDO", 0x01, 0x01 },
{ "ENSPIORDY", 0x02, 0x02 },
{ "ENOVERRUN", 0x04, 0x04 },
{ "ENIOERR", 0x08, 0x08 },
{ "ENSELINGO", 0x10, 0x10 },
{ "ENSELDI", 0x20, 0x20 },
{ "ENSELDO", 0x40, 0x40 }
};
int
ahd_simode0_print(u_int regvalue, u_int *cur_col, u_int wrap)
{
return (ahd_print_register(SIMODE0_parse_table, 7, "SIMODE0",
0x4b, regvalue, cur_col, wrap));
}
static const ahd_reg_parse_entry_t SSTAT1_parse_table[] = { static const ahd_reg_parse_entry_t SSTAT1_parse_table[] = {
{ "REQINIT", 0x01, 0x01 }, { "REQINIT", 0x01, 0x01 },
{ "STRB2FAST", 0x02, 0x02 }, { "STRB2FAST", 0x02, 0x02 },
......
...@@ -244,8 +244,6 @@ ahc_reg_print_t ahc_scb_tag_print; ...@@ -244,8 +244,6 @@ ahc_reg_print_t ahc_scb_tag_print;
#define SCSIDATH 0x07 #define SCSIDATH 0x07
#define STCNT 0x08
#define OPTIONMODE 0x08 #define OPTIONMODE 0x08
#define OPTIONMODE_DEFAULTS 0x03 #define OPTIONMODE_DEFAULTS 0x03
#define AUTORATEEN 0x80 #define AUTORATEEN 0x80
...@@ -257,6 +255,8 @@ ahc_reg_print_t ahc_scb_tag_print; ...@@ -257,6 +255,8 @@ ahc_reg_print_t ahc_scb_tag_print;
#define AUTO_MSGOUT_DE 0x02 #define AUTO_MSGOUT_DE 0x02
#define DIS_MSGIN_DUALEDGE 0x01 #define DIS_MSGIN_DUALEDGE 0x01
#define STCNT 0x08
#define TARGCRCCNT 0x0a #define TARGCRCCNT 0x0a
#define CLRSINT0 0x0b #define CLRSINT0 0x0b
...@@ -365,8 +365,6 @@ ahc_reg_print_t ahc_scb_tag_print; ...@@ -365,8 +365,6 @@ ahc_reg_print_t ahc_scb_tag_print;
#define ALTSTIM 0x20 #define ALTSTIM 0x20
#define DFLTTID 0x10 #define DFLTTID 0x10
#define TARGID 0x1b
#define SPIOCAP 0x1b #define SPIOCAP 0x1b
#define SOFT1 0x80 #define SOFT1 0x80
#define SOFT0 0x40 #define SOFT0 0x40
...@@ -377,12 +375,14 @@ ahc_reg_print_t ahc_scb_tag_print; ...@@ -377,12 +375,14 @@ ahc_reg_print_t ahc_scb_tag_print;
#define ROM 0x02 #define ROM 0x02
#define SSPIOCPS 0x01 #define SSPIOCPS 0x01
#define TARGID 0x1b
#define BRDCTL 0x1d #define BRDCTL 0x1d
#define BRDDAT7 0x80 #define BRDDAT7 0x80
#define BRDDAT6 0x40 #define BRDDAT6 0x40
#define BRDDAT5 0x20 #define BRDDAT5 0x20
#define BRDDAT4 0x10
#define BRDSTB 0x10 #define BRDSTB 0x10
#define BRDDAT4 0x10
#define BRDDAT3 0x08 #define BRDDAT3 0x08
#define BRDCS 0x08 #define BRDCS 0x08
#define BRDDAT2 0x04 #define BRDDAT2 0x04
...@@ -406,8 +406,8 @@ ahc_reg_print_t ahc_scb_tag_print; ...@@ -406,8 +406,8 @@ ahc_reg_print_t ahc_scb_tag_print;
#define DIAGLEDEN 0x80 #define DIAGLEDEN 0x80
#define DIAGLEDON 0x40 #define DIAGLEDON 0x40
#define AUTOFLUSHDIS 0x20 #define AUTOFLUSHDIS 0x20
#define ENAB40 0x08
#define SELBUSB 0x08 #define SELBUSB 0x08
#define ENAB40 0x08
#define ENAB20 0x04 #define ENAB20 0x04
#define SELWIDE 0x02 #define SELWIDE 0x02
#define XCVR 0x01 #define XCVR 0x01
...@@ -730,8 +730,8 @@ ahc_reg_print_t ahc_scb_tag_print; ...@@ -730,8 +730,8 @@ ahc_reg_print_t ahc_scb_tag_print;
#define SCB_BASE 0xa0 #define SCB_BASE 0xa0
#define SCB_CDB_PTR 0xa0 #define SCB_CDB_PTR 0xa0
#define SCB_RESIDUAL_DATACNT 0xa0
#define SCB_CDB_STORE 0xa0 #define SCB_CDB_STORE 0xa0
#define SCB_RESIDUAL_DATACNT 0xa0
#define SCB_RESIDUAL_SGPTR 0xa4 #define SCB_RESIDUAL_SGPTR 0xa4
...@@ -756,8 +756,8 @@ ahc_reg_print_t ahc_scb_tag_print; ...@@ -756,8 +756,8 @@ ahc_reg_print_t ahc_scb_tag_print;
#define SCB_CONTROL 0xb8 #define SCB_CONTROL 0xb8
#define SCB_TAG_TYPE 0x03 #define SCB_TAG_TYPE 0x03
#define STATUS_RCVD 0x80
#define TARGET_SCB 0x80 #define TARGET_SCB 0x80
#define STATUS_RCVD 0x80
#define DISCENB 0x40 #define DISCENB 0x40
#define TAG_ENB 0x20 #define TAG_ENB 0x20
#define MK_MESSAGE 0x10 #define MK_MESSAGE 0x10
...@@ -872,40 +872,40 @@ ahc_reg_print_t ahc_scb_tag_print; ...@@ -872,40 +872,40 @@ ahc_reg_print_t ahc_scb_tag_print;
#define SG_CACHE_PRE 0xfc #define SG_CACHE_PRE 0xfc
#define TARGET_CMD_CMPLT 0xfe
#define MAX_OFFSET_ULTRA2 0x7f #define MAX_OFFSET_ULTRA2 0x7f
#define MAX_OFFSET_16BIT 0x08 #define MAX_OFFSET_16BIT 0x08
#define BUS_8_BIT 0x00 #define BUS_8_BIT 0x00
#define TARGET_CMD_CMPLT 0xfe #define TID_SHIFT 0x04
#define STATUS_QUEUE_FULL 0x28 #define STATUS_QUEUE_FULL 0x28
#define STATUS_BUSY 0x08 #define STATUS_BUSY 0x08
#define MAX_OFFSET_8BIT 0x0f
#define BUS_32_BIT 0x02
#define CCSGADDR_MAX 0x80
#define TID_SHIFT 0x04
#define SCB_DOWNLOAD_SIZE_64 0x30 #define SCB_DOWNLOAD_SIZE_64 0x30
#define MAX_OFFSET_8BIT 0x0f
#define HOST_MAILBOX_SHIFT 0x04 #define HOST_MAILBOX_SHIFT 0x04
#define CMD_GROUP_CODE_SHIFT 0x05 #define CCSGADDR_MAX 0x80
#define CCSGRAM_MAXSEGS 0x10 #define BUS_32_BIT 0x02
#define SCB_LIST_NULL 0xff
#define SG_SIZEOF 0x08 #define SG_SIZEOF 0x08
#define SCB_DOWNLOAD_SIZE 0x20
#define SEQ_MAILBOX_SHIFT 0x00 #define SEQ_MAILBOX_SHIFT 0x00
#define SCB_LIST_NULL 0xff
#define SCB_DOWNLOAD_SIZE 0x20
#define CMD_GROUP_CODE_SHIFT 0x05
#define CCSGRAM_MAXSEGS 0x10
#define TARGET_DATA_IN 0x01 #define TARGET_DATA_IN 0x01
#define HOST_MSG 0xff #define STACK_SIZE 0x04
#define SCB_UPLOAD_SIZE 0x20
#define MAX_OFFSET 0x7f #define MAX_OFFSET 0x7f
#define HOST_MSG 0xff
#define BUS_16_BIT 0x01 #define BUS_16_BIT 0x01
#define SCB_UPLOAD_SIZE 0x20
#define STACK_SIZE 0x04
/* Downloaded Constant Definitions */ /* Downloaded Constant Definitions */
#define INVERTED_CACHESIZE_MASK 0x03 #define INVERTED_CACHESIZE_MASK 0x03
#define SG_PREFETCH_ADDR_MASK 0x06
#define SG_PREFETCH_ALIGN_MASK 0x05 #define SG_PREFETCH_ALIGN_MASK 0x05
#define SG_PREFETCH_ADDR_MASK 0x06
#define QOUTFIFO_OFFSET 0x00 #define QOUTFIFO_OFFSET 0x00
#define SG_PREFETCH_CNT 0x04 #define SG_PREFETCH_CNT 0x04
#define CACHESIZE_MASK 0x02
#define QINFIFO_OFFSET 0x01 #define QINFIFO_OFFSET 0x01
#define CACHESIZE_MASK 0x02
#define DOWNLOAD_CONST_COUNT 0x07 #define DOWNLOAD_CONST_COUNT 0x07
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment