diff options
author | Hannes Reinecke <hare@suse.de> | 2006-01-12 06:08:06 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2006-01-12 13:03:50 -0500 |
commit | 11668bb673c41ec169a85d0b52c538a1c11d29e1 (patch) | |
tree | 423c30e22eea305d5c059c6463bdd226c1734bf4 /drivers/scsi/aic7xxx/aic79xx_reg.h_shipped | |
parent | ba62cd2d01e401faa5d5a25fa8e990d0b1a1996a (diff) |
[SCSI] aic79xx: Sequencer update
Update sequencer code to Adaptec version 2.0.12-6.3.9.
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/aic7xxx/aic79xx_reg.h_shipped')
-rw-r--r-- | drivers/scsi/aic7xxx/aic79xx_reg.h_shipped | 646 |
1 files changed, 337 insertions, 309 deletions
diff --git a/drivers/scsi/aic7xxx/aic79xx_reg.h_shipped b/drivers/scsi/aic7xxx/aic79xx_reg.h_shipped index c01ac39090d9..8763b158856b 100644 --- a/drivers/scsi/aic7xxx/aic79xx_reg.h_shipped +++ b/drivers/scsi/aic7xxx/aic79xx_reg.h_shipped | |||
@@ -2,8 +2,8 @@ | |||
2 | * DO NOT EDIT - This file is automatically generated | 2 | * DO NOT EDIT - This file is automatically generated |
3 | * from the following source files: | 3 | * from the following source files: |
4 | * | 4 | * |
5 | * $Id: //depot/aic7xxx/aic7xxx/aic79xx.seq#94 $ | 5 | * $Id: //depot/aic7xxx/aic7xxx/aic79xx.seq#119 $ |
6 | * $Id: //depot/aic7xxx/aic7xxx/aic79xx.reg#70 $ | 6 | * $Id: //depot/aic7xxx/aic7xxx/aic79xx.reg#76 $ |
7 | */ | 7 | */ |
8 | typedef int (ahd_reg_print_t)(u_int, u_int *, u_int); | 8 | typedef int (ahd_reg_print_t)(u_int, u_int *, u_int); |
9 | typedef struct ahd_reg_parse_entry { | 9 | typedef struct ahd_reg_parse_entry { |
@@ -83,17 +83,17 @@ ahd_reg_print_t ahd_hs_mailbox_print; | |||
83 | #endif | 83 | #endif |
84 | 84 | ||
85 | #if AIC_DEBUG_REGISTERS | 85 | #if AIC_DEBUG_REGISTERS |
86 | ahd_reg_print_t ahd_clrseqintstat_print; | 86 | ahd_reg_print_t ahd_seqintstat_print; |
87 | #else | 87 | #else |
88 | #define ahd_clrseqintstat_print(regvalue, cur_col, wrap) \ | 88 | #define ahd_seqintstat_print(regvalue, cur_col, wrap) \ |
89 | ahd_print_register(NULL, 0, "CLRSEQINTSTAT", 0x0c, regvalue, cur_col, wrap) | 89 | ahd_print_register(NULL, 0, "SEQINTSTAT", 0x0c, regvalue, cur_col, wrap) |
90 | #endif | 90 | #endif |
91 | 91 | ||
92 | #if AIC_DEBUG_REGISTERS | 92 | #if AIC_DEBUG_REGISTERS |
93 | ahd_reg_print_t ahd_seqintstat_print; | 93 | ahd_reg_print_t ahd_clrseqintstat_print; |
94 | #else | 94 | #else |
95 | #define ahd_seqintstat_print(regvalue, cur_col, wrap) \ | 95 | #define ahd_clrseqintstat_print(regvalue, cur_col, wrap) \ |
96 | ahd_print_register(NULL, 0, "SEQINTSTAT", 0x0c, regvalue, cur_col, wrap) | 96 | ahd_print_register(NULL, 0, "CLRSEQINTSTAT", 0x0c, regvalue, cur_col, wrap) |
97 | #endif | 97 | #endif |
98 | 98 | ||
99 | #if AIC_DEBUG_REGISTERS | 99 | #if AIC_DEBUG_REGISTERS |
@@ -412,17 +412,17 @@ ahd_reg_print_t ahd_sxfrctl0_print; | |||
412 | #endif | 412 | #endif |
413 | 413 | ||
414 | #if AIC_DEBUG_REGISTERS | 414 | #if AIC_DEBUG_REGISTERS |
415 | ahd_reg_print_t ahd_businitid_print; | 415 | ahd_reg_print_t ahd_dlcount_print; |
416 | #else | 416 | #else |
417 | #define ahd_businitid_print(regvalue, cur_col, wrap) \ | 417 | #define ahd_dlcount_print(regvalue, cur_col, wrap) \ |
418 | ahd_print_register(NULL, 0, "BUSINITID", 0x3c, regvalue, cur_col, wrap) | 418 | ahd_print_register(NULL, 0, "DLCOUNT", 0x3c, regvalue, cur_col, wrap) |
419 | #endif | 419 | #endif |
420 | 420 | ||
421 | #if AIC_DEBUG_REGISTERS | 421 | #if AIC_DEBUG_REGISTERS |
422 | ahd_reg_print_t ahd_dlcount_print; | 422 | ahd_reg_print_t ahd_businitid_print; |
423 | #else | 423 | #else |
424 | #define ahd_dlcount_print(regvalue, cur_col, wrap) \ | 424 | #define ahd_businitid_print(regvalue, cur_col, wrap) \ |
425 | ahd_print_register(NULL, 0, "DLCOUNT", 0x3c, regvalue, cur_col, wrap) | 425 | ahd_print_register(NULL, 0, "BUSINITID", 0x3c, regvalue, cur_col, wrap) |
426 | #endif | 426 | #endif |
427 | 427 | ||
428 | #if AIC_DEBUG_REGISTERS | 428 | #if AIC_DEBUG_REGISTERS |
@@ -517,13 +517,6 @@ ahd_reg_print_t ahd_selid_print; | |||
517 | #endif | 517 | #endif |
518 | 518 | ||
519 | #if AIC_DEBUG_REGISTERS | 519 | #if AIC_DEBUG_REGISTERS |
520 | ahd_reg_print_t ahd_sblkctl_print; | ||
521 | #else | ||
522 | #define ahd_sblkctl_print(regvalue, cur_col, wrap) \ | ||
523 | ahd_print_register(NULL, 0, "SBLKCTL", 0x4a, regvalue, cur_col, wrap) | ||
524 | #endif | ||
525 | |||
526 | #if AIC_DEBUG_REGISTERS | ||
527 | ahd_reg_print_t ahd_optionmode_print; | 520 | ahd_reg_print_t ahd_optionmode_print; |
528 | #else | 521 | #else |
529 | #define ahd_optionmode_print(regvalue, cur_col, wrap) \ | 522 | #define ahd_optionmode_print(regvalue, cur_col, wrap) \ |
@@ -531,10 +524,10 @@ ahd_reg_print_t ahd_optionmode_print; | |||
531 | #endif | 524 | #endif |
532 | 525 | ||
533 | #if AIC_DEBUG_REGISTERS | 526 | #if AIC_DEBUG_REGISTERS |
534 | ahd_reg_print_t ahd_sstat0_print; | 527 | ahd_reg_print_t ahd_sblkctl_print; |
535 | #else | 528 | #else |
536 | #define ahd_sstat0_print(regvalue, cur_col, wrap) \ | 529 | #define ahd_sblkctl_print(regvalue, cur_col, wrap) \ |
537 | ahd_print_register(NULL, 0, "SSTAT0", 0x4b, regvalue, cur_col, wrap) | 530 | ahd_print_register(NULL, 0, "SBLKCTL", 0x4a, regvalue, cur_col, wrap) |
538 | #endif | 531 | #endif |
539 | 532 | ||
540 | #if AIC_DEBUG_REGISTERS | 533 | #if AIC_DEBUG_REGISTERS |
@@ -545,6 +538,13 @@ ahd_reg_print_t ahd_clrsint0_print; | |||
545 | #endif | 538 | #endif |
546 | 539 | ||
547 | #if AIC_DEBUG_REGISTERS | 540 | #if AIC_DEBUG_REGISTERS |
541 | ahd_reg_print_t ahd_sstat0_print; | ||
542 | #else | ||
543 | #define ahd_sstat0_print(regvalue, cur_col, wrap) \ | ||
544 | ahd_print_register(NULL, 0, "SSTAT0", 0x4b, regvalue, cur_col, wrap) | ||
545 | #endif | ||
546 | |||
547 | #if AIC_DEBUG_REGISTERS | ||
548 | ahd_reg_print_t ahd_simode0_print; | 548 | ahd_reg_print_t ahd_simode0_print; |
549 | #else | 549 | #else |
550 | #define ahd_simode0_print(regvalue, cur_col, wrap) \ | 550 | #define ahd_simode0_print(regvalue, cur_col, wrap) \ |
@@ -573,17 +573,17 @@ ahd_reg_print_t ahd_sstat2_print; | |||
573 | #endif | 573 | #endif |
574 | 574 | ||
575 | #if AIC_DEBUG_REGISTERS | 575 | #if AIC_DEBUG_REGISTERS |
576 | ahd_reg_print_t ahd_clrsint2_print; | 576 | ahd_reg_print_t ahd_simode2_print; |
577 | #else | 577 | #else |
578 | #define ahd_clrsint2_print(regvalue, cur_col, wrap) \ | 578 | #define ahd_simode2_print(regvalue, cur_col, wrap) \ |
579 | ahd_print_register(NULL, 0, "CLRSINT2", 0x4d, regvalue, cur_col, wrap) | 579 | ahd_print_register(NULL, 0, "SIMODE2", 0x4d, regvalue, cur_col, wrap) |
580 | #endif | 580 | #endif |
581 | 581 | ||
582 | #if AIC_DEBUG_REGISTERS | 582 | #if AIC_DEBUG_REGISTERS |
583 | ahd_reg_print_t ahd_simode2_print; | 583 | ahd_reg_print_t ahd_clrsint2_print; |
584 | #else | 584 | #else |
585 | #define ahd_simode2_print(regvalue, cur_col, wrap) \ | 585 | #define ahd_clrsint2_print(regvalue, cur_col, wrap) \ |
586 | ahd_print_register(NULL, 0, "SIMODE2", 0x4d, regvalue, cur_col, wrap) | 586 | ahd_print_register(NULL, 0, "CLRSINT2", 0x4d, regvalue, cur_col, wrap) |
587 | #endif | 587 | #endif |
588 | 588 | ||
589 | #if AIC_DEBUG_REGISTERS | 589 | #if AIC_DEBUG_REGISTERS |
@@ -685,13 +685,6 @@ ahd_reg_print_t ahd_clrsint3_print; | |||
685 | #endif | 685 | #endif |
686 | 686 | ||
687 | #if AIC_DEBUG_REGISTERS | 687 | #if AIC_DEBUG_REGISTERS |
688 | ahd_reg_print_t ahd_lqomode0_print; | ||
689 | #else | ||
690 | #define ahd_lqomode0_print(regvalue, cur_col, wrap) \ | ||
691 | ahd_print_register(NULL, 0, "LQOMODE0", 0x54, regvalue, cur_col, wrap) | ||
692 | #endif | ||
693 | |||
694 | #if AIC_DEBUG_REGISTERS | ||
695 | ahd_reg_print_t ahd_lqostat0_print; | 688 | ahd_reg_print_t ahd_lqostat0_print; |
696 | #else | 689 | #else |
697 | #define ahd_lqostat0_print(regvalue, cur_col, wrap) \ | 690 | #define ahd_lqostat0_print(regvalue, cur_col, wrap) \ |
@@ -706,6 +699,20 @@ ahd_reg_print_t ahd_clrlqoint0_print; | |||
706 | #endif | 699 | #endif |
707 | 700 | ||
708 | #if AIC_DEBUG_REGISTERS | 701 | #if AIC_DEBUG_REGISTERS |
702 | ahd_reg_print_t ahd_lqomode0_print; | ||
703 | #else | ||
704 | #define ahd_lqomode0_print(regvalue, cur_col, wrap) \ | ||
705 | ahd_print_register(NULL, 0, "LQOMODE0", 0x54, regvalue, cur_col, wrap) | ||
706 | #endif | ||
707 | |||
708 | #if AIC_DEBUG_REGISTERS | ||
709 | ahd_reg_print_t ahd_lqomode1_print; | ||
710 | #else | ||
711 | #define ahd_lqomode1_print(regvalue, cur_col, wrap) \ | ||
712 | ahd_print_register(NULL, 0, "LQOMODE1", 0x55, regvalue, cur_col, wrap) | ||
713 | #endif | ||
714 | |||
715 | #if AIC_DEBUG_REGISTERS | ||
709 | ahd_reg_print_t ahd_lqostat1_print; | 716 | ahd_reg_print_t ahd_lqostat1_print; |
710 | #else | 717 | #else |
711 | #define ahd_lqostat1_print(regvalue, cur_col, wrap) \ | 718 | #define ahd_lqostat1_print(regvalue, cur_col, wrap) \ |
@@ -720,13 +727,6 @@ ahd_reg_print_t ahd_clrlqoint1_print; | |||
720 | #endif | 727 | #endif |
721 | 728 | ||
722 | #if AIC_DEBUG_REGISTERS | 729 | #if AIC_DEBUG_REGISTERS |
723 | ahd_reg_print_t ahd_lqomode1_print; | ||
724 | #else | ||
725 | #define ahd_lqomode1_print(regvalue, cur_col, wrap) \ | ||
726 | ahd_print_register(NULL, 0, "LQOMODE1", 0x55, regvalue, cur_col, wrap) | ||
727 | #endif | ||
728 | |||
729 | #if AIC_DEBUG_REGISTERS | ||
730 | ahd_reg_print_t ahd_lqostat2_print; | 730 | ahd_reg_print_t ahd_lqostat2_print; |
731 | #else | 731 | #else |
732 | #define ahd_lqostat2_print(regvalue, cur_col, wrap) \ | 732 | #define ahd_lqostat2_print(regvalue, cur_col, wrap) \ |
@@ -909,17 +909,17 @@ ahd_reg_print_t ahd_annexcol_print; | |||
909 | #endif | 909 | #endif |
910 | 910 | ||
911 | #if AIC_DEBUG_REGISTERS | 911 | #if AIC_DEBUG_REGISTERS |
912 | ahd_reg_print_t ahd_scschkn_print; | 912 | ahd_reg_print_t ahd_annexdat_print; |
913 | #else | 913 | #else |
914 | #define ahd_scschkn_print(regvalue, cur_col, wrap) \ | 914 | #define ahd_annexdat_print(regvalue, cur_col, wrap) \ |
915 | ahd_print_register(NULL, 0, "SCSCHKN", 0x66, regvalue, cur_col, wrap) | 915 | ahd_print_register(NULL, 0, "ANNEXDAT", 0x66, regvalue, cur_col, wrap) |
916 | #endif | 916 | #endif |
917 | 917 | ||
918 | #if AIC_DEBUG_REGISTERS | 918 | #if AIC_DEBUG_REGISTERS |
919 | ahd_reg_print_t ahd_annexdat_print; | 919 | ahd_reg_print_t ahd_scschkn_print; |
920 | #else | 920 | #else |
921 | #define ahd_annexdat_print(regvalue, cur_col, wrap) \ | 921 | #define ahd_scschkn_print(regvalue, cur_col, wrap) \ |
922 | ahd_print_register(NULL, 0, "ANNEXDAT", 0x66, regvalue, cur_col, wrap) | 922 | ahd_print_register(NULL, 0, "SCSCHKN", 0x66, regvalue, cur_col, wrap) |
923 | #endif | 923 | #endif |
924 | 924 | ||
925 | #if AIC_DEBUG_REGISTERS | 925 | #if AIC_DEBUG_REGISTERS |
@@ -1000,17 +1000,17 @@ ahd_reg_print_t ahd_pll400ctl1_print; | |||
1000 | #endif | 1000 | #endif |
1001 | 1001 | ||
1002 | #if AIC_DEBUG_REGISTERS | 1002 | #if AIC_DEBUG_REGISTERS |
1003 | ahd_reg_print_t ahd_pll400cnt0_print; | 1003 | ahd_reg_print_t ahd_unfairness_print; |
1004 | #else | 1004 | #else |
1005 | #define ahd_pll400cnt0_print(regvalue, cur_col, wrap) \ | 1005 | #define ahd_unfairness_print(regvalue, cur_col, wrap) \ |
1006 | ahd_print_register(NULL, 0, "PLL400CNT0", 0x6e, regvalue, cur_col, wrap) | 1006 | ahd_print_register(NULL, 0, "UNFAIRNESS", 0x6e, regvalue, cur_col, wrap) |
1007 | #endif | 1007 | #endif |
1008 | 1008 | ||
1009 | #if AIC_DEBUG_REGISTERS | 1009 | #if AIC_DEBUG_REGISTERS |
1010 | ahd_reg_print_t ahd_unfairness_print; | 1010 | ahd_reg_print_t ahd_pll400cnt0_print; |
1011 | #else | 1011 | #else |
1012 | #define ahd_unfairness_print(regvalue, cur_col, wrap) \ | 1012 | #define ahd_pll400cnt0_print(regvalue, cur_col, wrap) \ |
1013 | ahd_print_register(NULL, 0, "UNFAIRNESS", 0x6e, regvalue, cur_col, wrap) | 1013 | ahd_print_register(NULL, 0, "PLL400CNT0", 0x6e, regvalue, cur_col, wrap) |
1014 | #endif | 1014 | #endif |
1015 | 1015 | ||
1016 | #if AIC_DEBUG_REGISTERS | 1016 | #if AIC_DEBUG_REGISTERS |
@@ -1056,13 +1056,6 @@ ahd_reg_print_t ahd_hodmaen_print; | |||
1056 | #endif | 1056 | #endif |
1057 | 1057 | ||
1058 | #if AIC_DEBUG_REGISTERS | 1058 | #if AIC_DEBUG_REGISTERS |
1059 | ahd_reg_print_t ahd_sghaddr_print; | ||
1060 | #else | ||
1061 | #define ahd_sghaddr_print(regvalue, cur_col, wrap) \ | ||
1062 | ahd_print_register(NULL, 0, "SGHADDR", 0x7c, regvalue, cur_col, wrap) | ||
1063 | #endif | ||
1064 | |||
1065 | #if AIC_DEBUG_REGISTERS | ||
1066 | ahd_reg_print_t ahd_scbhaddr_print; | 1059 | ahd_reg_print_t ahd_scbhaddr_print; |
1067 | #else | 1060 | #else |
1068 | #define ahd_scbhaddr_print(regvalue, cur_col, wrap) \ | 1061 | #define ahd_scbhaddr_print(regvalue, cur_col, wrap) \ |
@@ -1070,10 +1063,10 @@ ahd_reg_print_t ahd_scbhaddr_print; | |||
1070 | #endif | 1063 | #endif |
1071 | 1064 | ||
1072 | #if AIC_DEBUG_REGISTERS | 1065 | #if AIC_DEBUG_REGISTERS |
1073 | ahd_reg_print_t ahd_sghcnt_print; | 1066 | ahd_reg_print_t ahd_sghaddr_print; |
1074 | #else | 1067 | #else |
1075 | #define ahd_sghcnt_print(regvalue, cur_col, wrap) \ | 1068 | #define ahd_sghaddr_print(regvalue, cur_col, wrap) \ |
1076 | ahd_print_register(NULL, 0, "SGHCNT", 0x84, regvalue, cur_col, wrap) | 1069 | ahd_print_register(NULL, 0, "SGHADDR", 0x7c, regvalue, cur_col, wrap) |
1077 | #endif | 1070 | #endif |
1078 | 1071 | ||
1079 | #if AIC_DEBUG_REGISTERS | 1072 | #if AIC_DEBUG_REGISTERS |
@@ -1084,6 +1077,13 @@ ahd_reg_print_t ahd_scbhcnt_print; | |||
1084 | #endif | 1077 | #endif |
1085 | 1078 | ||
1086 | #if AIC_DEBUG_REGISTERS | 1079 | #if AIC_DEBUG_REGISTERS |
1080 | ahd_reg_print_t ahd_sghcnt_print; | ||
1081 | #else | ||
1082 | #define ahd_sghcnt_print(regvalue, cur_col, wrap) \ | ||
1083 | ahd_print_register(NULL, 0, "SGHCNT", 0x84, regvalue, cur_col, wrap) | ||
1084 | #endif | ||
1085 | |||
1086 | #if AIC_DEBUG_REGISTERS | ||
1087 | ahd_reg_print_t ahd_dff_thrsh_print; | 1087 | ahd_reg_print_t ahd_dff_thrsh_print; |
1088 | #else | 1088 | #else |
1089 | #define ahd_dff_thrsh_print(regvalue, cur_col, wrap) \ | 1089 | #define ahd_dff_thrsh_print(regvalue, cur_col, wrap) \ |
@@ -1154,13 +1154,6 @@ ahd_reg_print_t ahd_nsenable_print; | |||
1154 | #endif | 1154 | #endif |
1155 | 1155 | ||
1156 | #if AIC_DEBUG_REGISTERS | 1156 | #if AIC_DEBUG_REGISTERS |
1157 | ahd_reg_print_t ahd_dchrxmsg1_print; | ||
1158 | #else | ||
1159 | #define ahd_dchrxmsg1_print(regvalue, cur_col, wrap) \ | ||
1160 | ahd_print_register(NULL, 0, "DCHRXMSG1", 0x91, regvalue, cur_col, wrap) | ||
1161 | #endif | ||
1162 | |||
1163 | #if AIC_DEBUG_REGISTERS | ||
1164 | ahd_reg_print_t ahd_cmcrxmsg1_print; | 1157 | ahd_reg_print_t ahd_cmcrxmsg1_print; |
1165 | #else | 1158 | #else |
1166 | #define ahd_cmcrxmsg1_print(regvalue, cur_col, wrap) \ | 1159 | #define ahd_cmcrxmsg1_print(regvalue, cur_col, wrap) \ |
@@ -1168,17 +1161,17 @@ ahd_reg_print_t ahd_cmcrxmsg1_print; | |||
1168 | #endif | 1161 | #endif |
1169 | 1162 | ||
1170 | #if AIC_DEBUG_REGISTERS | 1163 | #if AIC_DEBUG_REGISTERS |
1171 | ahd_reg_print_t ahd_dchrxmsg2_print; | 1164 | ahd_reg_print_t ahd_dchrxmsg1_print; |
1172 | #else | 1165 | #else |
1173 | #define ahd_dchrxmsg2_print(regvalue, cur_col, wrap) \ | 1166 | #define ahd_dchrxmsg1_print(regvalue, cur_col, wrap) \ |
1174 | ahd_print_register(NULL, 0, "DCHRXMSG2", 0x92, regvalue, cur_col, wrap) | 1167 | ahd_print_register(NULL, 0, "DCHRXMSG1", 0x91, regvalue, cur_col, wrap) |
1175 | #endif | 1168 | #endif |
1176 | 1169 | ||
1177 | #if AIC_DEBUG_REGISTERS | 1170 | #if AIC_DEBUG_REGISTERS |
1178 | ahd_reg_print_t ahd_ovlyrxmsg2_print; | 1171 | ahd_reg_print_t ahd_dchrxmsg2_print; |
1179 | #else | 1172 | #else |
1180 | #define ahd_ovlyrxmsg2_print(regvalue, cur_col, wrap) \ | 1173 | #define ahd_dchrxmsg2_print(regvalue, cur_col, wrap) \ |
1181 | ahd_print_register(NULL, 0, "OVLYRXMSG2", 0x92, regvalue, cur_col, wrap) | 1174 | ahd_print_register(NULL, 0, "DCHRXMSG2", 0x92, regvalue, cur_col, wrap) |
1182 | #endif | 1175 | #endif |
1183 | 1176 | ||
1184 | #if AIC_DEBUG_REGISTERS | 1177 | #if AIC_DEBUG_REGISTERS |
@@ -1196,6 +1189,13 @@ ahd_reg_print_t ahd_ost_print; | |||
1196 | #endif | 1189 | #endif |
1197 | 1190 | ||
1198 | #if AIC_DEBUG_REGISTERS | 1191 | #if AIC_DEBUG_REGISTERS |
1192 | ahd_reg_print_t ahd_ovlyrxmsg2_print; | ||
1193 | #else | ||
1194 | #define ahd_ovlyrxmsg2_print(regvalue, cur_col, wrap) \ | ||
1195 | ahd_print_register(NULL, 0, "OVLYRXMSG2", 0x92, regvalue, cur_col, wrap) | ||
1196 | #endif | ||
1197 | |||
1198 | #if AIC_DEBUG_REGISTERS | ||
1199 | ahd_reg_print_t ahd_dchrxmsg3_print; | 1199 | ahd_reg_print_t ahd_dchrxmsg3_print; |
1200 | #else | 1200 | #else |
1201 | #define ahd_dchrxmsg3_print(regvalue, cur_col, wrap) \ | 1201 | #define ahd_dchrxmsg3_print(regvalue, cur_col, wrap) \ |
@@ -1203,6 +1203,13 @@ ahd_reg_print_t ahd_dchrxmsg3_print; | |||
1203 | #endif | 1203 | #endif |
1204 | 1204 | ||
1205 | #if AIC_DEBUG_REGISTERS | 1205 | #if AIC_DEBUG_REGISTERS |
1206 | ahd_reg_print_t ahd_ovlyrxmsg3_print; | ||
1207 | #else | ||
1208 | #define ahd_ovlyrxmsg3_print(regvalue, cur_col, wrap) \ | ||
1209 | ahd_print_register(NULL, 0, "OVLYRXMSG3", 0x93, regvalue, cur_col, wrap) | ||
1210 | #endif | ||
1211 | |||
1212 | #if AIC_DEBUG_REGISTERS | ||
1206 | ahd_reg_print_t ahd_cmcrxmsg3_print; | 1213 | ahd_reg_print_t ahd_cmcrxmsg3_print; |
1207 | #else | 1214 | #else |
1208 | #define ahd_cmcrxmsg3_print(regvalue, cur_col, wrap) \ | 1215 | #define ahd_cmcrxmsg3_print(regvalue, cur_col, wrap) \ |
@@ -1217,13 +1224,6 @@ ahd_reg_print_t ahd_pcixctl_print; | |||
1217 | #endif | 1224 | #endif |
1218 | 1225 | ||
1219 | #if AIC_DEBUG_REGISTERS | 1226 | #if AIC_DEBUG_REGISTERS |
1220 | ahd_reg_print_t ahd_ovlyrxmsg3_print; | ||
1221 | #else | ||
1222 | #define ahd_ovlyrxmsg3_print(regvalue, cur_col, wrap) \ | ||
1223 | ahd_print_register(NULL, 0, "OVLYRXMSG3", 0x93, regvalue, cur_col, wrap) | ||
1224 | #endif | ||
1225 | |||
1226 | #if AIC_DEBUG_REGISTERS | ||
1227 | ahd_reg_print_t ahd_ovlyseqbcnt_print; | 1227 | ahd_reg_print_t ahd_ovlyseqbcnt_print; |
1228 | #else | 1228 | #else |
1229 | #define ahd_ovlyseqbcnt_print(regvalue, cur_col, wrap) \ | 1229 | #define ahd_ovlyseqbcnt_print(regvalue, cur_col, wrap) \ |
@@ -1231,13 +1231,6 @@ ahd_reg_print_t ahd_ovlyseqbcnt_print; | |||
1231 | #endif | 1231 | #endif |
1232 | 1232 | ||
1233 | #if AIC_DEBUG_REGISTERS | 1233 | #if AIC_DEBUG_REGISTERS |
1234 | ahd_reg_print_t ahd_cmcseqbcnt_print; | ||
1235 | #else | ||
1236 | #define ahd_cmcseqbcnt_print(regvalue, cur_col, wrap) \ | ||
1237 | ahd_print_register(NULL, 0, "CMCSEQBCNT", 0x94, regvalue, cur_col, wrap) | ||
1238 | #endif | ||
1239 | |||
1240 | #if AIC_DEBUG_REGISTERS | ||
1241 | ahd_reg_print_t ahd_dchseqbcnt_print; | 1234 | ahd_reg_print_t ahd_dchseqbcnt_print; |
1242 | #else | 1235 | #else |
1243 | #define ahd_dchseqbcnt_print(regvalue, cur_col, wrap) \ | 1236 | #define ahd_dchseqbcnt_print(regvalue, cur_col, wrap) \ |
@@ -1245,17 +1238,17 @@ ahd_reg_print_t ahd_dchseqbcnt_print; | |||
1245 | #endif | 1238 | #endif |
1246 | 1239 | ||
1247 | #if AIC_DEBUG_REGISTERS | 1240 | #if AIC_DEBUG_REGISTERS |
1248 | ahd_reg_print_t ahd_cmcspltstat0_print; | 1241 | ahd_reg_print_t ahd_cmcseqbcnt_print; |
1249 | #else | 1242 | #else |
1250 | #define ahd_cmcspltstat0_print(regvalue, cur_col, wrap) \ | 1243 | #define ahd_cmcseqbcnt_print(regvalue, cur_col, wrap) \ |
1251 | ahd_print_register(NULL, 0, "CMCSPLTSTAT0", 0x96, regvalue, cur_col, wrap) | 1244 | ahd_print_register(NULL, 0, "CMCSEQBCNT", 0x94, regvalue, cur_col, wrap) |
1252 | #endif | 1245 | #endif |
1253 | 1246 | ||
1254 | #if AIC_DEBUG_REGISTERS | 1247 | #if AIC_DEBUG_REGISTERS |
1255 | ahd_reg_print_t ahd_ovlyspltstat0_print; | 1248 | ahd_reg_print_t ahd_cmcspltstat0_print; |
1256 | #else | 1249 | #else |
1257 | #define ahd_ovlyspltstat0_print(regvalue, cur_col, wrap) \ | 1250 | #define ahd_cmcspltstat0_print(regvalue, cur_col, wrap) \ |
1258 | ahd_print_register(NULL, 0, "OVLYSPLTSTAT0", 0x96, regvalue, cur_col, wrap) | 1251 | ahd_print_register(NULL, 0, "CMCSPLTSTAT0", 0x96, regvalue, cur_col, wrap) |
1259 | #endif | 1252 | #endif |
1260 | 1253 | ||
1261 | #if AIC_DEBUG_REGISTERS | 1254 | #if AIC_DEBUG_REGISTERS |
@@ -1266,10 +1259,10 @@ ahd_reg_print_t ahd_dchspltstat0_print; | |||
1266 | #endif | 1259 | #endif |
1267 | 1260 | ||
1268 | #if AIC_DEBUG_REGISTERS | 1261 | #if AIC_DEBUG_REGISTERS |
1269 | ahd_reg_print_t ahd_dchspltstat1_print; | 1262 | ahd_reg_print_t ahd_ovlyspltstat0_print; |
1270 | #else | 1263 | #else |
1271 | #define ahd_dchspltstat1_print(regvalue, cur_col, wrap) \ | 1264 | #define ahd_ovlyspltstat0_print(regvalue, cur_col, wrap) \ |
1272 | ahd_print_register(NULL, 0, "DCHSPLTSTAT1", 0x97, regvalue, cur_col, wrap) | 1265 | ahd_print_register(NULL, 0, "OVLYSPLTSTAT0", 0x96, regvalue, cur_col, wrap) |
1273 | #endif | 1266 | #endif |
1274 | 1267 | ||
1275 | #if AIC_DEBUG_REGISTERS | 1268 | #if AIC_DEBUG_REGISTERS |
@@ -1287,6 +1280,13 @@ ahd_reg_print_t ahd_ovlyspltstat1_print; | |||
1287 | #endif | 1280 | #endif |
1288 | 1281 | ||
1289 | #if AIC_DEBUG_REGISTERS | 1282 | #if AIC_DEBUG_REGISTERS |
1283 | ahd_reg_print_t ahd_dchspltstat1_print; | ||
1284 | #else | ||
1285 | #define ahd_dchspltstat1_print(regvalue, cur_col, wrap) \ | ||
1286 | ahd_print_register(NULL, 0, "DCHSPLTSTAT1", 0x97, regvalue, cur_col, wrap) | ||
1287 | #endif | ||
1288 | |||
1289 | #if AIC_DEBUG_REGISTERS | ||
1290 | ahd_reg_print_t ahd_sgrxmsg0_print; | 1290 | ahd_reg_print_t ahd_sgrxmsg0_print; |
1291 | #else | 1291 | #else |
1292 | #define ahd_sgrxmsg0_print(regvalue, cur_col, wrap) \ | 1292 | #define ahd_sgrxmsg0_print(regvalue, cur_col, wrap) \ |
@@ -1378,17 +1378,17 @@ ahd_reg_print_t ahd_sgspltstat0_print; | |||
1378 | #endif | 1378 | #endif |
1379 | 1379 | ||
1380 | #if AIC_DEBUG_REGISTERS | 1380 | #if AIC_DEBUG_REGISTERS |
1381 | ahd_reg_print_t ahd_sfunct_print; | 1381 | ahd_reg_print_t ahd_sgspltstat1_print; |
1382 | #else | 1382 | #else |
1383 | #define ahd_sfunct_print(regvalue, cur_col, wrap) \ | 1383 | #define ahd_sgspltstat1_print(regvalue, cur_col, wrap) \ |
1384 | ahd_print_register(NULL, 0, "SFUNCT", 0x9f, regvalue, cur_col, wrap) | 1384 | ahd_print_register(NULL, 0, "SGSPLTSTAT1", 0x9f, regvalue, cur_col, wrap) |
1385 | #endif | 1385 | #endif |
1386 | 1386 | ||
1387 | #if AIC_DEBUG_REGISTERS | 1387 | #if AIC_DEBUG_REGISTERS |
1388 | ahd_reg_print_t ahd_sgspltstat1_print; | 1388 | ahd_reg_print_t ahd_sfunct_print; |
1389 | #else | 1389 | #else |
1390 | #define ahd_sgspltstat1_print(regvalue, cur_col, wrap) \ | 1390 | #define ahd_sfunct_print(regvalue, cur_col, wrap) \ |
1391 | ahd_print_register(NULL, 0, "SGSPLTSTAT1", 0x9f, regvalue, cur_col, wrap) | 1391 | ahd_print_register(NULL, 0, "SFUNCT", 0x9f, regvalue, cur_col, wrap) |
1392 | #endif | 1392 | #endif |
1393 | 1393 | ||
1394 | #if AIC_DEBUG_REGISTERS | 1394 | #if AIC_DEBUG_REGISTERS |
@@ -1504,17 +1504,17 @@ ahd_reg_print_t ahd_ccsgaddr_print; | |||
1504 | #endif | 1504 | #endif |
1505 | 1505 | ||
1506 | #if AIC_DEBUG_REGISTERS | 1506 | #if AIC_DEBUG_REGISTERS |
1507 | ahd_reg_print_t ahd_ccscbaddr_print; | 1507 | ahd_reg_print_t ahd_ccscbadr_bk_print; |
1508 | #else | 1508 | #else |
1509 | #define ahd_ccscbaddr_print(regvalue, cur_col, wrap) \ | 1509 | #define ahd_ccscbadr_bk_print(regvalue, cur_col, wrap) \ |
1510 | ahd_print_register(NULL, 0, "CCSCBADDR", 0xac, regvalue, cur_col, wrap) | 1510 | ahd_print_register(NULL, 0, "CCSCBADR_BK", 0xac, regvalue, cur_col, wrap) |
1511 | #endif | 1511 | #endif |
1512 | 1512 | ||
1513 | #if AIC_DEBUG_REGISTERS | 1513 | #if AIC_DEBUG_REGISTERS |
1514 | ahd_reg_print_t ahd_ccscbadr_bk_print; | 1514 | ahd_reg_print_t ahd_ccscbaddr_print; |
1515 | #else | 1515 | #else |
1516 | #define ahd_ccscbadr_bk_print(regvalue, cur_col, wrap) \ | 1516 | #define ahd_ccscbaddr_print(regvalue, cur_col, wrap) \ |
1517 | ahd_print_register(NULL, 0, "CCSCBADR_BK", 0xac, regvalue, cur_col, wrap) | 1517 | ahd_print_register(NULL, 0, "CCSCBADDR", 0xac, regvalue, cur_col, wrap) |
1518 | #endif | 1518 | #endif |
1519 | 1519 | ||
1520 | #if AIC_DEBUG_REGISTERS | 1520 | #if AIC_DEBUG_REGISTERS |
@@ -1525,17 +1525,17 @@ ahd_reg_print_t ahd_cmc_rambist_print; | |||
1525 | #endif | 1525 | #endif |
1526 | 1526 | ||
1527 | #if AIC_DEBUG_REGISTERS | 1527 | #if AIC_DEBUG_REGISTERS |
1528 | ahd_reg_print_t ahd_ccsgctl_print; | 1528 | ahd_reg_print_t ahd_ccscbctl_print; |
1529 | #else | 1529 | #else |
1530 | #define ahd_ccsgctl_print(regvalue, cur_col, wrap) \ | 1530 | #define ahd_ccscbctl_print(regvalue, cur_col, wrap) \ |
1531 | ahd_print_register(NULL, 0, "CCSGCTL", 0xad, regvalue, cur_col, wrap) | 1531 | ahd_print_register(NULL, 0, "CCSCBCTL", 0xad, regvalue, cur_col, wrap) |
1532 | #endif | 1532 | #endif |
1533 | 1533 | ||
1534 | #if AIC_DEBUG_REGISTERS | 1534 | #if AIC_DEBUG_REGISTERS |
1535 | ahd_reg_print_t ahd_ccscbctl_print; | 1535 | ahd_reg_print_t ahd_ccsgctl_print; |
1536 | #else | 1536 | #else |
1537 | #define ahd_ccscbctl_print(regvalue, cur_col, wrap) \ | 1537 | #define ahd_ccsgctl_print(regvalue, cur_col, wrap) \ |
1538 | ahd_print_register(NULL, 0, "CCSCBCTL", 0xad, regvalue, cur_col, wrap) | 1538 | ahd_print_register(NULL, 0, "CCSGCTL", 0xad, regvalue, cur_col, wrap) |
1539 | #endif | 1539 | #endif |
1540 | 1540 | ||
1541 | #if AIC_DEBUG_REGISTERS | 1541 | #if AIC_DEBUG_REGISTERS |
@@ -1707,13 +1707,6 @@ ahd_reg_print_t ahd_wrtbiascalc_print; | |||
1707 | #endif | 1707 | #endif |
1708 | 1708 | ||
1709 | #if AIC_DEBUG_REGISTERS | 1709 | #if AIC_DEBUG_REGISTERS |
1710 | ahd_reg_print_t ahd_dfptrs_print; | ||
1711 | #else | ||
1712 | #define ahd_dfptrs_print(regvalue, cur_col, wrap) \ | ||
1713 | ahd_print_register(NULL, 0, "DFPTRS", 0xc8, regvalue, cur_col, wrap) | ||
1714 | #endif | ||
1715 | |||
1716 | #if AIC_DEBUG_REGISTERS | ||
1717 | ahd_reg_print_t ahd_rcvrbiascalc_print; | 1710 | ahd_reg_print_t ahd_rcvrbiascalc_print; |
1718 | #else | 1711 | #else |
1719 | #define ahd_rcvrbiascalc_print(regvalue, cur_col, wrap) \ | 1712 | #define ahd_rcvrbiascalc_print(regvalue, cur_col, wrap) \ |
@@ -1721,10 +1714,10 @@ ahd_reg_print_t ahd_rcvrbiascalc_print; | |||
1721 | #endif | 1714 | #endif |
1722 | 1715 | ||
1723 | #if AIC_DEBUG_REGISTERS | 1716 | #if AIC_DEBUG_REGISTERS |
1724 | ahd_reg_print_t ahd_dfbkptr_print; | 1717 | ahd_reg_print_t ahd_dfptrs_print; |
1725 | #else | 1718 | #else |
1726 | #define ahd_dfbkptr_print(regvalue, cur_col, wrap) \ | 1719 | #define ahd_dfptrs_print(regvalue, cur_col, wrap) \ |
1727 | ahd_print_register(NULL, 0, "DFBKPTR", 0xc9, regvalue, cur_col, wrap) | 1720 | ahd_print_register(NULL, 0, "DFPTRS", 0xc8, regvalue, cur_col, wrap) |
1728 | #endif | 1721 | #endif |
1729 | 1722 | ||
1730 | #if AIC_DEBUG_REGISTERS | 1723 | #if AIC_DEBUG_REGISTERS |
@@ -1735,6 +1728,13 @@ ahd_reg_print_t ahd_skewcalc_print; | |||
1735 | #endif | 1728 | #endif |
1736 | 1729 | ||
1737 | #if AIC_DEBUG_REGISTERS | 1730 | #if AIC_DEBUG_REGISTERS |
1731 | ahd_reg_print_t ahd_dfbkptr_print; | ||
1732 | #else | ||
1733 | #define ahd_dfbkptr_print(regvalue, cur_col, wrap) \ | ||
1734 | ahd_print_register(NULL, 0, "DFBKPTR", 0xc9, regvalue, cur_col, wrap) | ||
1735 | #endif | ||
1736 | |||
1737 | #if AIC_DEBUG_REGISTERS | ||
1738 | ahd_reg_print_t ahd_dfdbctl_print; | 1738 | ahd_reg_print_t ahd_dfdbctl_print; |
1739 | #else | 1739 | #else |
1740 | #define ahd_dfdbctl_print(regvalue, cur_col, wrap) \ | 1740 | #define ahd_dfdbctl_print(regvalue, cur_col, wrap) \ |
@@ -1826,17 +1826,17 @@ ahd_reg_print_t ahd_dindex_print; | |||
1826 | #endif | 1826 | #endif |
1827 | 1827 | ||
1828 | #if AIC_DEBUG_REGISTERS | 1828 | #if AIC_DEBUG_REGISTERS |
1829 | ahd_reg_print_t ahd_brkaddr1_print; | 1829 | ahd_reg_print_t ahd_brkaddr0_print; |
1830 | #else | 1830 | #else |
1831 | #define ahd_brkaddr1_print(regvalue, cur_col, wrap) \ | 1831 | #define ahd_brkaddr0_print(regvalue, cur_col, wrap) \ |
1832 | ahd_print_register(NULL, 0, "BRKADDR1", 0xe6, regvalue, cur_col, wrap) | 1832 | ahd_print_register(NULL, 0, "BRKADDR0", 0xe6, regvalue, cur_col, wrap) |
1833 | #endif | 1833 | #endif |
1834 | 1834 | ||
1835 | #if AIC_DEBUG_REGISTERS | 1835 | #if AIC_DEBUG_REGISTERS |
1836 | ahd_reg_print_t ahd_brkaddr0_print; | 1836 | ahd_reg_print_t ahd_brkaddr1_print; |
1837 | #else | 1837 | #else |
1838 | #define ahd_brkaddr0_print(regvalue, cur_col, wrap) \ | 1838 | #define ahd_brkaddr1_print(regvalue, cur_col, wrap) \ |
1839 | ahd_print_register(NULL, 0, "BRKADDR0", 0xe6, regvalue, cur_col, wrap) | 1839 | ahd_print_register(NULL, 0, "BRKADDR1", 0xe6, regvalue, cur_col, wrap) |
1840 | #endif | 1840 | #endif |
1841 | 1841 | ||
1842 | #if AIC_DEBUG_REGISTERS | 1842 | #if AIC_DEBUG_REGISTERS |
@@ -1889,13 +1889,6 @@ ahd_reg_print_t ahd_stack_print; | |||
1889 | #endif | 1889 | #endif |
1890 | 1890 | ||
1891 | #if AIC_DEBUG_REGISTERS | 1891 | #if AIC_DEBUG_REGISTERS |
1892 | ahd_reg_print_t ahd_curaddr_print; | ||
1893 | #else | ||
1894 | #define ahd_curaddr_print(regvalue, cur_col, wrap) \ | ||
1895 | ahd_print_register(NULL, 0, "CURADDR", 0xf4, regvalue, cur_col, wrap) | ||
1896 | #endif | ||
1897 | |||
1898 | #if AIC_DEBUG_REGISTERS | ||
1899 | ahd_reg_print_t ahd_intvec1_addr_print; | 1892 | ahd_reg_print_t ahd_intvec1_addr_print; |
1900 | #else | 1893 | #else |
1901 | #define ahd_intvec1_addr_print(regvalue, cur_col, wrap) \ | 1894 | #define ahd_intvec1_addr_print(regvalue, cur_col, wrap) \ |
@@ -1903,10 +1896,10 @@ ahd_reg_print_t ahd_intvec1_addr_print; | |||
1903 | #endif | 1896 | #endif |
1904 | 1897 | ||
1905 | #if AIC_DEBUG_REGISTERS | 1898 | #if AIC_DEBUG_REGISTERS |
1906 | ahd_reg_print_t ahd_intvec2_addr_print; | 1899 | ahd_reg_print_t ahd_curaddr_print; |
1907 | #else | 1900 | #else |
1908 | #define ahd_intvec2_addr_print(regvalue, cur_col, wrap) \ | 1901 | #define ahd_curaddr_print(regvalue, cur_col, wrap) \ |
1909 | ahd_print_register(NULL, 0, "INTVEC2_ADDR", 0xf6, regvalue, cur_col, wrap) | 1902 | ahd_print_register(NULL, 0, "CURADDR", 0xf4, regvalue, cur_col, wrap) |
1910 | #endif | 1903 | #endif |
1911 | 1904 | ||
1912 | #if AIC_DEBUG_REGISTERS | 1905 | #if AIC_DEBUG_REGISTERS |
@@ -1917,6 +1910,13 @@ ahd_reg_print_t ahd_lastaddr_print; | |||
1917 | #endif | 1910 | #endif |
1918 | 1911 | ||
1919 | #if AIC_DEBUG_REGISTERS | 1912 | #if AIC_DEBUG_REGISTERS |
1913 | ahd_reg_print_t ahd_intvec2_addr_print; | ||
1914 | #else | ||
1915 | #define ahd_intvec2_addr_print(regvalue, cur_col, wrap) \ | ||
1916 | ahd_print_register(NULL, 0, "INTVEC2_ADDR", 0xf6, regvalue, cur_col, wrap) | ||
1917 | #endif | ||
1918 | |||
1919 | #if AIC_DEBUG_REGISTERS | ||
1920 | ahd_reg_print_t ahd_longjmp_addr_print; | 1920 | ahd_reg_print_t ahd_longjmp_addr_print; |
1921 | #else | 1921 | #else |
1922 | #define ahd_longjmp_addr_print(regvalue, cur_col, wrap) \ | 1922 | #define ahd_longjmp_addr_print(regvalue, cur_col, wrap) \ |
@@ -1994,192 +1994,213 @@ ahd_reg_print_t ahd_complete_dma_scb_head_print; | |||
1994 | #endif | 1994 | #endif |
1995 | 1995 | ||
1996 | #if AIC_DEBUG_REGISTERS | 1996 | #if AIC_DEBUG_REGISTERS |
1997 | ahd_reg_print_t ahd_complete_dma_scb_tail_print; | ||
1998 | #else | ||
1999 | #define ahd_complete_dma_scb_tail_print(regvalue, cur_col, wrap) \ | ||
2000 | ahd_print_register(NULL, 0, "COMPLETE_DMA_SCB_TAIL", 0x12e, regvalue, cur_col, wrap) | ||
2001 | #endif | ||
2002 | |||
2003 | #if AIC_DEBUG_REGISTERS | ||
2004 | ahd_reg_print_t ahd_complete_on_qfreeze_head_print; | ||
2005 | #else | ||
2006 | #define ahd_complete_on_qfreeze_head_print(regvalue, cur_col, wrap) \ | ||
2007 | ahd_print_register(NULL, 0, "COMPLETE_ON_QFREEZE_HEAD", 0x130, regvalue, cur_col, wrap) | ||
2008 | #endif | ||
2009 | |||
2010 | #if AIC_DEBUG_REGISTERS | ||
1997 | ahd_reg_print_t ahd_qfreeze_count_print; | 2011 | ahd_reg_print_t ahd_qfreeze_count_print; |
1998 | #else | 2012 | #else |
1999 | #define ahd_qfreeze_count_print(regvalue, cur_col, wrap) \ | 2013 | #define ahd_qfreeze_count_print(regvalue, cur_col, wrap) \ |
2000 | ahd_print_register(NULL, 0, "QFREEZE_COUNT", 0x12e, regvalue, cur_col, wrap) | 2014 | ahd_print_register(NULL, 0, "QFREEZE_COUNT", 0x132, regvalue, cur_col, wrap) |
2015 | #endif | ||
2016 | |||
2017 | #if AIC_DEBUG_REGISTERS | ||
2018 | ahd_reg_print_t ahd_kernel_qfreeze_count_print; | ||
2019 | #else | ||
2020 | #define ahd_kernel_qfreeze_count_print(regvalue, cur_col, wrap) \ | ||
2021 | ahd_print_register(NULL, 0, "KERNEL_QFREEZE_COUNT", 0x134, regvalue, cur_col, wrap) | ||
2001 | #endif | 2022 | #endif |
2002 | 2023 | ||
2003 | #if AIC_DEBUG_REGISTERS | 2024 | #if AIC_DEBUG_REGISTERS |
2004 | ahd_reg_print_t ahd_saved_mode_print; | 2025 | ahd_reg_print_t ahd_saved_mode_print; |
2005 | #else | 2026 | #else |
2006 | #define ahd_saved_mode_print(regvalue, cur_col, wrap) \ | 2027 | #define ahd_saved_mode_print(regvalue, cur_col, wrap) \ |
2007 | ahd_print_register(NULL, 0, "SAVED_MODE", 0x130, regvalue, cur_col, wrap) | 2028 | ahd_print_register(NULL, 0, "SAVED_MODE", 0x136, regvalue, cur_col, wrap) |
2008 | #endif | 2029 | #endif |
2009 | 2030 | ||
2010 | #if AIC_DEBUG_REGISTERS | 2031 | #if AIC_DEBUG_REGISTERS |
2011 | ahd_reg_print_t ahd_msg_out_print; | 2032 | ahd_reg_print_t ahd_msg_out_print; |
2012 | #else | 2033 | #else |
2013 | #define ahd_msg_out_print(regvalue, cur_col, wrap) \ | 2034 | #define ahd_msg_out_print(regvalue, cur_col, wrap) \ |
2014 | ahd_print_register(NULL, 0, "MSG_OUT", 0x131, regvalue, cur_col, wrap) | 2035 | ahd_print_register(NULL, 0, "MSG_OUT", 0x137, regvalue, cur_col, wrap) |
2015 | #endif | 2036 | #endif |
2016 | 2037 | ||
2017 | #if AIC_DEBUG_REGISTERS | 2038 | #if AIC_DEBUG_REGISTERS |
2018 | ahd_reg_print_t ahd_dmaparams_print; | 2039 | ahd_reg_print_t ahd_dmaparams_print; |
2019 | #else | 2040 | #else |
2020 | #define ahd_dmaparams_print(regvalue, cur_col, wrap) \ | 2041 | #define ahd_dmaparams_print(regvalue, cur_col, wrap) \ |
2021 | ahd_print_register(NULL, 0, "DMAPARAMS", 0x132, regvalue, cur_col, wrap) | 2042 | ahd_print_register(NULL, 0, "DMAPARAMS", 0x138, regvalue, cur_col, wrap) |
2022 | #endif | 2043 | #endif |
2023 | 2044 | ||
2024 | #if AIC_DEBUG_REGISTERS | 2045 | #if AIC_DEBUG_REGISTERS |
2025 | ahd_reg_print_t ahd_seq_flags_print; | 2046 | ahd_reg_print_t ahd_seq_flags_print; |
2026 | #else | 2047 | #else |
2027 | #define ahd_seq_flags_print(regvalue, cur_col, wrap) \ | 2048 | #define ahd_seq_flags_print(regvalue, cur_col, wrap) \ |
2028 | ahd_print_register(NULL, 0, "SEQ_FLAGS", 0x133, regvalue, cur_col, wrap) | 2049 | ahd_print_register(NULL, 0, "SEQ_FLAGS", 0x139, regvalue, cur_col, wrap) |
2029 | #endif | 2050 | #endif |
2030 | 2051 | ||
2031 | #if AIC_DEBUG_REGISTERS | 2052 | #if AIC_DEBUG_REGISTERS |
2032 | ahd_reg_print_t ahd_saved_scsiid_print; | 2053 | ahd_reg_print_t ahd_saved_scsiid_print; |
2033 | #else | 2054 | #else |
2034 | #define ahd_saved_scsiid_print(regvalue, cur_col, wrap) \ | 2055 | #define ahd_saved_scsiid_print(regvalue, cur_col, wrap) \ |
2035 | ahd_print_register(NULL, 0, "SAVED_SCSIID", 0x134, regvalue, cur_col, wrap) | 2056 | ahd_print_register(NULL, 0, "SAVED_SCSIID", 0x13a, regvalue, cur_col, wrap) |
2036 | #endif | 2057 | #endif |
2037 | 2058 | ||
2038 | #if AIC_DEBUG_REGISTERS | 2059 | #if AIC_DEBUG_REGISTERS |
2039 | ahd_reg_print_t ahd_saved_lun_print; | 2060 | ahd_reg_print_t ahd_saved_lun_print; |
2040 | #else | 2061 | #else |
2041 | #define ahd_saved_lun_print(regvalue, cur_col, wrap) \ | 2062 | #define ahd_saved_lun_print(regvalue, cur_col, wrap) \ |
2042 | ahd_print_register(NULL, 0, "SAVED_LUN", 0x135, regvalue, cur_col, wrap) | 2063 | ahd_print_register(NULL, 0, "SAVED_LUN", 0x13b, regvalue, cur_col, wrap) |
2043 | #endif | 2064 | #endif |
2044 | 2065 | ||
2045 | #if AIC_DEBUG_REGISTERS | 2066 | #if AIC_DEBUG_REGISTERS |
2046 | ahd_reg_print_t ahd_lastphase_print; | 2067 | ahd_reg_print_t ahd_lastphase_print; |
2047 | #else | 2068 | #else |
2048 | #define ahd_lastphase_print(regvalue, cur_col, wrap) \ | 2069 | #define ahd_lastphase_print(regvalue, cur_col, wrap) \ |
2049 | ahd_print_register(NULL, 0, "LASTPHASE", 0x136, regvalue, cur_col, wrap) | 2070 | ahd_print_register(NULL, 0, "LASTPHASE", 0x13c, regvalue, cur_col, wrap) |
2050 | #endif | 2071 | #endif |
2051 | 2072 | ||
2052 | #if AIC_DEBUG_REGISTERS | 2073 | #if AIC_DEBUG_REGISTERS |
2053 | ahd_reg_print_t ahd_qoutfifo_entry_valid_tag_print; | 2074 | ahd_reg_print_t ahd_qoutfifo_entry_valid_tag_print; |
2054 | #else | 2075 | #else |
2055 | #define ahd_qoutfifo_entry_valid_tag_print(regvalue, cur_col, wrap) \ | 2076 | #define ahd_qoutfifo_entry_valid_tag_print(regvalue, cur_col, wrap) \ |
2056 | ahd_print_register(NULL, 0, "QOUTFIFO_ENTRY_VALID_TAG", 0x137, regvalue, cur_col, wrap) | 2077 | ahd_print_register(NULL, 0, "QOUTFIFO_ENTRY_VALID_TAG", 0x13d, regvalue, cur_col, wrap) |
2057 | #endif | 2078 | #endif |
2058 | 2079 | ||
2059 | #if AIC_DEBUG_REGISTERS | 2080 | #if AIC_DEBUG_REGISTERS |
2060 | ahd_reg_print_t ahd_shared_data_addr_print; | 2081 | ahd_reg_print_t ahd_kernel_tqinpos_print; |
2061 | #else | 2082 | #else |
2062 | #define ahd_shared_data_addr_print(regvalue, cur_col, wrap) \ | 2083 | #define ahd_kernel_tqinpos_print(regvalue, cur_col, wrap) \ |
2063 | ahd_print_register(NULL, 0, "SHARED_DATA_ADDR", 0x138, regvalue, cur_col, wrap) | 2084 | ahd_print_register(NULL, 0, "KERNEL_TQINPOS", 0x13e, regvalue, cur_col, wrap) |
2064 | #endif | 2085 | #endif |
2065 | 2086 | ||
2066 | #if AIC_DEBUG_REGISTERS | 2087 | #if AIC_DEBUG_REGISTERS |
2067 | ahd_reg_print_t ahd_qoutfifo_next_addr_print; | 2088 | ahd_reg_print_t ahd_tqinpos_print; |
2068 | #else | 2089 | #else |
2069 | #define ahd_qoutfifo_next_addr_print(regvalue, cur_col, wrap) \ | 2090 | #define ahd_tqinpos_print(regvalue, cur_col, wrap) \ |
2070 | ahd_print_register(NULL, 0, "QOUTFIFO_NEXT_ADDR", 0x13c, regvalue, cur_col, wrap) | 2091 | ahd_print_register(NULL, 0, "TQINPOS", 0x13f, regvalue, cur_col, wrap) |
2071 | #endif | 2092 | #endif |
2072 | 2093 | ||
2073 | #if AIC_DEBUG_REGISTERS | 2094 | #if AIC_DEBUG_REGISTERS |
2074 | ahd_reg_print_t ahd_kernel_tqinpos_print; | 2095 | ahd_reg_print_t ahd_shared_data_addr_print; |
2075 | #else | 2096 | #else |
2076 | #define ahd_kernel_tqinpos_print(regvalue, cur_col, wrap) \ | 2097 | #define ahd_shared_data_addr_print(regvalue, cur_col, wrap) \ |
2077 | ahd_print_register(NULL, 0, "KERNEL_TQINPOS", 0x140, regvalue, cur_col, wrap) | 2098 | ahd_print_register(NULL, 0, "SHARED_DATA_ADDR", 0x140, regvalue, cur_col, wrap) |
2078 | #endif | 2099 | #endif |
2079 | 2100 | ||
2080 | #if AIC_DEBUG_REGISTERS | 2101 | #if AIC_DEBUG_REGISTERS |
2081 | ahd_reg_print_t ahd_tqinpos_print; | 2102 | ahd_reg_print_t ahd_qoutfifo_next_addr_print; |
2082 | #else | 2103 | #else |
2083 | #define ahd_tqinpos_print(regvalue, cur_col, wrap) \ | 2104 | #define ahd_qoutfifo_next_addr_print(regvalue, cur_col, wrap) \ |
2084 | ahd_print_register(NULL, 0, "TQINPOS", 0x141, regvalue, cur_col, wrap) | 2105 | ahd_print_register(NULL, 0, "QOUTFIFO_NEXT_ADDR", 0x144, regvalue, cur_col, wrap) |
2085 | #endif | 2106 | #endif |
2086 | 2107 | ||
2087 | #if AIC_DEBUG_REGISTERS | 2108 | #if AIC_DEBUG_REGISTERS |
2088 | ahd_reg_print_t ahd_arg_1_print; | 2109 | ahd_reg_print_t ahd_arg_1_print; |
2089 | #else | 2110 | #else |
2090 | #define ahd_arg_1_print(regvalue, cur_col, wrap) \ | 2111 | #define ahd_arg_1_print(regvalue, cur_col, wrap) \ |
2091 | ahd_print_register(NULL, 0, "ARG_1", 0x142, regvalue, cur_col, wrap) | 2112 | ahd_print_register(NULL, 0, "ARG_1", 0x148, regvalue, cur_col, wrap) |
2092 | #endif | 2113 | #endif |
2093 | 2114 | ||
2094 | #if AIC_DEBUG_REGISTERS | 2115 | #if AIC_DEBUG_REGISTERS |
2095 | ahd_reg_print_t ahd_arg_2_print; | 2116 | ahd_reg_print_t ahd_arg_2_print; |
2096 | #else | 2117 | #else |
2097 | #define ahd_arg_2_print(regvalue, cur_col, wrap) \ | 2118 | #define ahd_arg_2_print(regvalue, cur_col, wrap) \ |
2098 | ahd_print_register(NULL, 0, "ARG_2", 0x143, regvalue, cur_col, wrap) | 2119 | ahd_print_register(NULL, 0, "ARG_2", 0x149, regvalue, cur_col, wrap) |
2099 | #endif | 2120 | #endif |
2100 | 2121 | ||
2101 | #if AIC_DEBUG_REGISTERS | 2122 | #if AIC_DEBUG_REGISTERS |
2102 | ahd_reg_print_t ahd_last_msg_print; | 2123 | ahd_reg_print_t ahd_last_msg_print; |
2103 | #else | 2124 | #else |
2104 | #define ahd_last_msg_print(regvalue, cur_col, wrap) \ | 2125 | #define ahd_last_msg_print(regvalue, cur_col, wrap) \ |
2105 | ahd_print_register(NULL, 0, "LAST_MSG", 0x144, regvalue, cur_col, wrap) | 2126 | ahd_print_register(NULL, 0, "LAST_MSG", 0x14a, regvalue, cur_col, wrap) |
2106 | #endif | 2127 | #endif |
2107 | 2128 | ||
2108 | #if AIC_DEBUG_REGISTERS | 2129 | #if AIC_DEBUG_REGISTERS |
2109 | ahd_reg_print_t ahd_scsiseq_template_print; | 2130 | ahd_reg_print_t ahd_scsiseq_template_print; |
2110 | #else | 2131 | #else |
2111 | #define ahd_scsiseq_template_print(regvalue, cur_col, wrap) \ | 2132 | #define ahd_scsiseq_template_print(regvalue, cur_col, wrap) \ |
2112 | ahd_print_register(NULL, 0, "SCSISEQ_TEMPLATE", 0x145, regvalue, cur_col, wrap) | 2133 | ahd_print_register(NULL, 0, "SCSISEQ_TEMPLATE", 0x14b, regvalue, cur_col, wrap) |
2113 | #endif | 2134 | #endif |
2114 | 2135 | ||
2115 | #if AIC_DEBUG_REGISTERS | 2136 | #if AIC_DEBUG_REGISTERS |
2116 | ahd_reg_print_t ahd_initiator_tag_print; | 2137 | ahd_reg_print_t ahd_initiator_tag_print; |
2117 | #else | 2138 | #else |
2118 | #define ahd_initiator_tag_print(regvalue, cur_col, wrap) \ | 2139 | #define ahd_initiator_tag_print(regvalue, cur_col, wrap) \ |
2119 | ahd_print_register(NULL, 0, "INITIATOR_TAG", 0x146, regvalue, cur_col, wrap) | 2140 | ahd_print_register(NULL, 0, "INITIATOR_TAG", 0x14c, regvalue, cur_col, wrap) |
2120 | #endif | 2141 | #endif |
2121 | 2142 | ||
2122 | #if AIC_DEBUG_REGISTERS | 2143 | #if AIC_DEBUG_REGISTERS |
2123 | ahd_reg_print_t ahd_seq_flags2_print; | 2144 | ahd_reg_print_t ahd_seq_flags2_print; |
2124 | #else | 2145 | #else |
2125 | #define ahd_seq_flags2_print(regvalue, cur_col, wrap) \ | 2146 | #define ahd_seq_flags2_print(regvalue, cur_col, wrap) \ |
2126 | ahd_print_register(NULL, 0, "SEQ_FLAGS2", 0x147, regvalue, cur_col, wrap) | 2147 | ahd_print_register(NULL, 0, "SEQ_FLAGS2", 0x14d, regvalue, cur_col, wrap) |
2127 | #endif | 2148 | #endif |
2128 | 2149 | ||
2129 | #if AIC_DEBUG_REGISTERS | 2150 | #if AIC_DEBUG_REGISTERS |
2130 | ahd_reg_print_t ahd_allocfifo_scbptr_print; | 2151 | ahd_reg_print_t ahd_allocfifo_scbptr_print; |
2131 | #else | 2152 | #else |
2132 | #define ahd_allocfifo_scbptr_print(regvalue, cur_col, wrap) \ | 2153 | #define ahd_allocfifo_scbptr_print(regvalue, cur_col, wrap) \ |
2133 | ahd_print_register(NULL, 0, "ALLOCFIFO_SCBPTR", 0x148, regvalue, cur_col, wrap) | 2154 | ahd_print_register(NULL, 0, "ALLOCFIFO_SCBPTR", 0x14e, regvalue, cur_col, wrap) |
2134 | #endif | 2155 | #endif |
2135 | 2156 | ||
2136 | #if AIC_DEBUG_REGISTERS | 2157 | #if AIC_DEBUG_REGISTERS |
2137 | ahd_reg_print_t ahd_int_coalescing_timer_print; | 2158 | ahd_reg_print_t ahd_int_coalescing_timer_print; |
2138 | #else | 2159 | #else |
2139 | #define ahd_int_coalescing_timer_print(regvalue, cur_col, wrap) \ | 2160 | #define ahd_int_coalescing_timer_print(regvalue, cur_col, wrap) \ |
2140 | ahd_print_register(NULL, 0, "INT_COALESCING_TIMER", 0x14a, regvalue, cur_col, wrap) | 2161 | ahd_print_register(NULL, 0, "INT_COALESCING_TIMER", 0x150, regvalue, cur_col, wrap) |
2141 | #endif | 2162 | #endif |
2142 | 2163 | ||
2143 | #if AIC_DEBUG_REGISTERS | 2164 | #if AIC_DEBUG_REGISTERS |
2144 | ahd_reg_print_t ahd_int_coalescing_maxcmds_print; | 2165 | ahd_reg_print_t ahd_int_coalescing_maxcmds_print; |
2145 | #else | 2166 | #else |
2146 | #define ahd_int_coalescing_maxcmds_print(regvalue, cur_col, wrap) \ | 2167 | #define ahd_int_coalescing_maxcmds_print(regvalue, cur_col, wrap) \ |
2147 | ahd_print_register(NULL, 0, "INT_COALESCING_MAXCMDS", 0x14c, regvalue, cur_col, wrap) | 2168 | ahd_print_register(NULL, 0, "INT_COALESCING_MAXCMDS", 0x152, regvalue, cur_col, wrap) |
2148 | #endif | 2169 | #endif |
2149 | 2170 | ||
2150 | #if AIC_DEBUG_REGISTERS | 2171 | #if AIC_DEBUG_REGISTERS |
2151 | ahd_reg_print_t ahd_int_coalescing_mincmds_print; | 2172 | ahd_reg_print_t ahd_int_coalescing_mincmds_print; |
2152 | #else | 2173 | #else |
2153 | #define ahd_int_coalescing_mincmds_print(regvalue, cur_col, wrap) \ | 2174 | #define ahd_int_coalescing_mincmds_print(regvalue, cur_col, wrap) \ |
2154 | ahd_print_register(NULL, 0, "INT_COALESCING_MINCMDS", 0x14d, regvalue, cur_col, wrap) | 2175 | ahd_print_register(NULL, 0, "INT_COALESCING_MINCMDS", 0x153, regvalue, cur_col, wrap) |
2155 | #endif | 2176 | #endif |
2156 | 2177 | ||
2157 | #if AIC_DEBUG_REGISTERS | 2178 | #if AIC_DEBUG_REGISTERS |
2158 | ahd_reg_print_t ahd_cmds_pending_print; | 2179 | ahd_reg_print_t ahd_cmds_pending_print; |
2159 | #else | 2180 | #else |
2160 | #define ahd_cmds_pending_print(regvalue, cur_col, wrap) \ | 2181 | #define ahd_cmds_pending_print(regvalue, cur_col, wrap) \ |
2161 | ahd_print_register(NULL, 0, "CMDS_PENDING", 0x14e, regvalue, cur_col, wrap) | 2182 | ahd_print_register(NULL, 0, "CMDS_PENDING", 0x154, regvalue, cur_col, wrap) |
2162 | #endif | 2183 | #endif |
2163 | 2184 | ||
2164 | #if AIC_DEBUG_REGISTERS | 2185 | #if AIC_DEBUG_REGISTERS |
2165 | ahd_reg_print_t ahd_int_coalescing_cmdcount_print; | 2186 | ahd_reg_print_t ahd_int_coalescing_cmdcount_print; |
2166 | #else | 2187 | #else |
2167 | #define ahd_int_coalescing_cmdcount_print(regvalue, cur_col, wrap) \ | 2188 | #define ahd_int_coalescing_cmdcount_print(regvalue, cur_col, wrap) \ |
2168 | ahd_print_register(NULL, 0, "INT_COALESCING_CMDCOUNT", 0x150, regvalue, cur_col, wrap) | 2189 | ahd_print_register(NULL, 0, "INT_COALESCING_CMDCOUNT", 0x156, regvalue, cur_col, wrap) |
2169 | #endif | 2190 | #endif |
2170 | 2191 | ||
2171 | #if AIC_DEBUG_REGISTERS | 2192 | #if AIC_DEBUG_REGISTERS |
2172 | ahd_reg_print_t ahd_local_hs_mailbox_print; | 2193 | ahd_reg_print_t ahd_local_hs_mailbox_print; |
2173 | #else | 2194 | #else |
2174 | #define ahd_local_hs_mailbox_print(regvalue, cur_col, wrap) \ | 2195 | #define ahd_local_hs_mailbox_print(regvalue, cur_col, wrap) \ |
2175 | ahd_print_register(NULL, 0, "LOCAL_HS_MAILBOX", 0x151, regvalue, cur_col, wrap) | 2196 | ahd_print_register(NULL, 0, "LOCAL_HS_MAILBOX", 0x157, regvalue, cur_col, wrap) |
2176 | #endif | 2197 | #endif |
2177 | 2198 | ||
2178 | #if AIC_DEBUG_REGISTERS | 2199 | #if AIC_DEBUG_REGISTERS |
2179 | ahd_reg_print_t ahd_cmdsize_table_print; | 2200 | ahd_reg_print_t ahd_cmdsize_table_print; |
2180 | #else | 2201 | #else |
2181 | #define ahd_cmdsize_table_print(regvalue, cur_col, wrap) \ | 2202 | #define ahd_cmdsize_table_print(regvalue, cur_col, wrap) \ |
2182 | ahd_print_register(NULL, 0, "CMDSIZE_TABLE", 0x152, regvalue, cur_col, wrap) | 2203 | ahd_print_register(NULL, 0, "CMDSIZE_TABLE", 0x158, regvalue, cur_col, wrap) |
2183 | #endif | 2204 | #endif |
2184 | 2205 | ||
2185 | #if AIC_DEBUG_REGISTERS | 2206 | #if AIC_DEBUG_REGISTERS |
@@ -2434,13 +2455,6 @@ ahd_reg_print_t ahd_scb_disconnected_lists_print; | |||
2434 | #define HOST_TQINPOS 0x80 | 2455 | #define HOST_TQINPOS 0x80 |
2435 | #define ENINT_COALESCE 0x40 | 2456 | #define ENINT_COALESCE 0x40 |
2436 | 2457 | ||
2437 | #define CLRSEQINTSTAT 0x0c | ||
2438 | #define CLRSEQ_SWTMRTO 0x10 | ||
2439 | #define CLRSEQ_SEQINT 0x08 | ||
2440 | #define CLRSEQ_SCSIINT 0x04 | ||
2441 | #define CLRSEQ_PCIINT 0x02 | ||
2442 | #define CLRSEQ_SPLTINT 0x01 | ||
2443 | |||
2444 | #define SEQINTSTAT 0x0c | 2458 | #define SEQINTSTAT 0x0c |
2445 | #define SEQ_SWTMRTO 0x10 | 2459 | #define SEQ_SWTMRTO 0x10 |
2446 | #define SEQ_SEQINT 0x08 | 2460 | #define SEQ_SEQINT 0x08 |
@@ -2448,6 +2462,13 @@ ahd_reg_print_t ahd_scb_disconnected_lists_print; | |||
2448 | #define SEQ_PCIINT 0x02 | 2462 | #define SEQ_PCIINT 0x02 |
2449 | #define SEQ_SPLTINT 0x01 | 2463 | #define SEQ_SPLTINT 0x01 |
2450 | 2464 | ||
2465 | #define CLRSEQINTSTAT 0x0c | ||
2466 | #define CLRSEQ_SWTMRTO 0x10 | ||
2467 | #define CLRSEQ_SEQINT 0x08 | ||
2468 | #define CLRSEQ_SCSIINT 0x04 | ||
2469 | #define CLRSEQ_PCIINT 0x02 | ||
2470 | #define CLRSEQ_SPLTINT 0x01 | ||
2471 | |||
2451 | #define SWTIMER 0x0e | 2472 | #define SWTIMER 0x0e |
2452 | 2473 | ||
2453 | #define SNSCB_QOFF 0x10 | 2474 | #define SNSCB_QOFF 0x10 |
@@ -2623,10 +2644,10 @@ ahd_reg_print_t ahd_scb_disconnected_lists_print; | |||
2623 | #define BIOSCANCELEN 0x10 | 2644 | #define BIOSCANCELEN 0x10 |
2624 | #define SPIOEN 0x08 | 2645 | #define SPIOEN 0x08 |
2625 | 2646 | ||
2626 | #define BUSINITID 0x3c | ||
2627 | |||
2628 | #define DLCOUNT 0x3c | 2647 | #define DLCOUNT 0x3c |
2629 | 2648 | ||
2649 | #define BUSINITID 0x3c | ||
2650 | |||
2630 | #define SXFRCTL1 0x3d | 2651 | #define SXFRCTL1 0x3d |
2631 | #define BITBUCKET 0x80 | 2652 | #define BITBUCKET 0x80 |
2632 | #define ENSACHK 0x40 | 2653 | #define ENSACHK 0x40 |
@@ -2693,13 +2714,6 @@ ahd_reg_print_t ahd_scb_disconnected_lists_print; | |||
2693 | #define SELID_MASK 0xf0 | 2714 | #define SELID_MASK 0xf0 |
2694 | #define ONEBIT 0x08 | 2715 | #define ONEBIT 0x08 |
2695 | 2716 | ||
2696 | #define SBLKCTL 0x4a | ||
2697 | #define DIAGLEDEN 0x80 | ||
2698 | #define DIAGLEDON 0x40 | ||
2699 | #define ENAB40 0x08 | ||
2700 | #define ENAB20 0x04 | ||
2701 | #define SELWIDE 0x02 | ||
2702 | |||
2703 | #define OPTIONMODE 0x4a | 2717 | #define OPTIONMODE 0x4a |
2704 | #define OPTIONMODE_DEFAULTS 0x02 | 2718 | #define OPTIONMODE_DEFAULTS 0x02 |
2705 | #define BIOSCANCTL 0x80 | 2719 | #define BIOSCANCTL 0x80 |
@@ -2709,15 +2723,12 @@ ahd_reg_print_t ahd_scb_disconnected_lists_print; | |||
2709 | #define ENDGFORMCHK 0x04 | 2723 | #define ENDGFORMCHK 0x04 |
2710 | #define AUTO_MSGOUT_DE 0x02 | 2724 | #define AUTO_MSGOUT_DE 0x02 |
2711 | 2725 | ||
2712 | #define SSTAT0 0x4b | 2726 | #define SBLKCTL 0x4a |
2713 | #define TARGET 0x80 | 2727 | #define DIAGLEDEN 0x80 |
2714 | #define SELDO 0x40 | 2728 | #define DIAGLEDON 0x40 |
2715 | #define SELDI 0x20 | 2729 | #define ENAB40 0x08 |
2716 | #define SELINGO 0x10 | 2730 | #define ENAB20 0x04 |
2717 | #define IOERR 0x08 | 2731 | #define SELWIDE 0x02 |
2718 | #define OVERRUN 0x04 | ||
2719 | #define SPIORDY 0x02 | ||
2720 | #define ARBDO 0x01 | ||
2721 | 2732 | ||
2722 | #define CLRSINT0 0x4b | 2733 | #define CLRSINT0 0x4b |
2723 | #define CLRSELDO 0x40 | 2734 | #define CLRSELDO 0x40 |
@@ -2728,6 +2739,16 @@ ahd_reg_print_t ahd_scb_disconnected_lists_print; | |||
2728 | #define CLRSPIORDY 0x02 | 2739 | #define CLRSPIORDY 0x02 |
2729 | #define CLRARBDO 0x01 | 2740 | #define CLRARBDO 0x01 |
2730 | 2741 | ||
2742 | #define SSTAT0 0x4b | ||
2743 | #define TARGET 0x80 | ||
2744 | #define SELDO 0x40 | ||
2745 | #define SELDI 0x20 | ||
2746 | #define SELINGO 0x10 | ||
2747 | #define IOERR 0x08 | ||
2748 | #define OVERRUN 0x04 | ||
2749 | #define SPIORDY 0x02 | ||
2750 | #define ARBDO 0x01 | ||
2751 | |||
2731 | #define SIMODE0 0x4b | 2752 | #define SIMODE0 0x4b |
2732 | #define ENSELDO 0x40 | 2753 | #define ENSELDO 0x40 |
2733 | #define ENSELDI 0x20 | 2754 | #define ENSELDI 0x20 |
@@ -2768,17 +2789,17 @@ ahd_reg_print_t ahd_scb_disconnected_lists_print; | |||
2768 | #define BUSFREE_DFF0 0x80 | 2789 | #define BUSFREE_DFF0 0x80 |
2769 | #define BUSFREE_LQO 0x40 | 2790 | #define BUSFREE_LQO 0x40 |
2770 | 2791 | ||
2792 | #define SIMODE2 0x4d | ||
2793 | #define ENWIDE_RES 0x04 | ||
2794 | #define ENSDONE 0x02 | ||
2795 | #define ENDMADONE 0x01 | ||
2796 | |||
2771 | #define CLRSINT2 0x4d | 2797 | #define CLRSINT2 0x4d |
2772 | #define CLRNONPACKREQ 0x20 | 2798 | #define CLRNONPACKREQ 0x20 |
2773 | #define CLRWIDE_RES 0x04 | 2799 | #define CLRWIDE_RES 0x04 |
2774 | #define CLRSDONE 0x02 | 2800 | #define CLRSDONE 0x02 |
2775 | #define CLRDMADONE 0x01 | 2801 | #define CLRDMADONE 0x01 |
2776 | 2802 | ||
2777 | #define SIMODE2 0x4d | ||
2778 | #define ENWIDE_RES 0x04 | ||
2779 | #define ENSDONE 0x02 | ||
2780 | #define ENDMADONE 0x01 | ||
2781 | |||
2782 | #define PERRDIAG 0x4e | 2803 | #define PERRDIAG 0x4e |
2783 | #define HIZERO 0x80 | 2804 | #define HIZERO 0x80 |
2784 | #define HIPERR 0x40 | 2805 | #define HIPERR 0x40 |
@@ -2871,13 +2892,6 @@ ahd_reg_print_t ahd_scb_disconnected_lists_print; | |||
2871 | #define CLRNTRAMPERR 0x02 | 2892 | #define CLRNTRAMPERR 0x02 |
2872 | #define CLROSRAMPERR 0x01 | 2893 | #define CLROSRAMPERR 0x01 |
2873 | 2894 | ||
2874 | #define LQOMODE0 0x54 | ||
2875 | #define ENLQOTARGSCBPERR 0x10 | ||
2876 | #define ENLQOSTOPT2 0x08 | ||
2877 | #define ENLQOATNLQ 0x04 | ||
2878 | #define ENLQOATNPKT 0x02 | ||
2879 | #define ENLQOTCRC 0x01 | ||
2880 | |||
2881 | #define LQOSTAT0 0x54 | 2895 | #define LQOSTAT0 0x54 |
2882 | #define LQOTARGSCBPERR 0x10 | 2896 | #define LQOTARGSCBPERR 0x10 |
2883 | #define LQOSTOPT2 0x08 | 2897 | #define LQOSTOPT2 0x08 |
@@ -2892,6 +2906,20 @@ ahd_reg_print_t ahd_scb_disconnected_lists_print; | |||
2892 | #define CLRLQOATNPKT 0x02 | 2906 | #define CLRLQOATNPKT 0x02 |
2893 | #define CLRLQOTCRC 0x01 | 2907 | #define CLRLQOTCRC 0x01 |
2894 | 2908 | ||
2909 | #define LQOMODE0 0x54 | ||
2910 | #define ENLQOTARGSCBPERR 0x10 | ||
2911 | #define ENLQOSTOPT2 0x08 | ||
2912 | #define ENLQOATNLQ 0x04 | ||
2913 | #define ENLQOATNPKT 0x02 | ||
2914 | #define ENLQOTCRC 0x01 | ||
2915 | |||
2916 | #define LQOMODE1 0x55 | ||
2917 | #define ENLQOINITSCBPERR 0x10 | ||
2918 | #define ENLQOSTOPI2 0x08 | ||
2919 | #define ENLQOBADQAS 0x04 | ||
2920 | #define ENLQOBUSFREE 0x02 | ||
2921 | #define ENLQOPHACHGINPKT 0x01 | ||
2922 | |||
2895 | #define LQOSTAT1 0x55 | 2923 | #define LQOSTAT1 0x55 |
2896 | #define LQOINITSCBPERR 0x10 | 2924 | #define LQOINITSCBPERR 0x10 |
2897 | #define LQOSTOPI2 0x08 | 2925 | #define LQOSTOPI2 0x08 |
@@ -2906,13 +2934,6 @@ ahd_reg_print_t ahd_scb_disconnected_lists_print; | |||
2906 | #define CLRLQOBUSFREE 0x02 | 2934 | #define CLRLQOBUSFREE 0x02 |
2907 | #define CLRLQOPHACHGINPKT 0x01 | 2935 | #define CLRLQOPHACHGINPKT 0x01 |
2908 | 2936 | ||
2909 | #define LQOMODE1 0x55 | ||
2910 | #define ENLQOINITSCBPERR 0x10 | ||
2911 | #define ENLQOSTOPI2 0x08 | ||
2912 | #define ENLQOBADQAS 0x04 | ||
2913 | #define ENLQOBUSFREE 0x02 | ||
2914 | #define ENLQOPHACHGINPKT 0x01 | ||
2915 | |||
2916 | #define LQOSTAT2 0x56 | 2937 | #define LQOSTAT2 0x56 |
2917 | #define LQOPKT 0xe0 | 2938 | #define LQOPKT 0xe0 |
2918 | #define LQOWAITFIFO 0x10 | 2939 | #define LQOWAITFIFO 0x10 |
@@ -3028,6 +3049,8 @@ ahd_reg_print_t ahd_scb_disconnected_lists_print; | |||
3028 | 3049 | ||
3029 | #define ANNEXCOL 0x65 | 3050 | #define ANNEXCOL 0x65 |
3030 | 3051 | ||
3052 | #define ANNEXDAT 0x66 | ||
3053 | |||
3031 | #define SCSCHKN 0x66 | 3054 | #define SCSCHKN 0x66 |
3032 | #define STSELSKIDDIS 0x40 | 3055 | #define STSELSKIDDIS 0x40 |
3033 | #define CURRFIFODEF 0x20 | 3056 | #define CURRFIFODEF 0x20 |
@@ -3037,8 +3060,6 @@ ahd_reg_print_t ahd_scb_disconnected_lists_print; | |||
3037 | #define SHVALIDSTDIS 0x02 | 3060 | #define SHVALIDSTDIS 0x02 |
3038 | #define LSTSGCLRDIS 0x01 | 3061 | #define LSTSGCLRDIS 0x01 |
3039 | 3062 | ||
3040 | #define ANNEXDAT 0x66 | ||
3041 | |||
3042 | #define IOWNID 0x67 | 3063 | #define IOWNID 0x67 |
3043 | 3064 | ||
3044 | #define PLL960CTL0 0x68 | 3065 | #define PLL960CTL0 0x68 |
@@ -3071,10 +3092,10 @@ ahd_reg_print_t ahd_scb_disconnected_lists_print; | |||
3071 | #define PLL_CNTCLR 0x40 | 3092 | #define PLL_CNTCLR 0x40 |
3072 | #define PLL_RST 0x01 | 3093 | #define PLL_RST 0x01 |
3073 | 3094 | ||
3074 | #define PLL400CNT0 0x6e | ||
3075 | |||
3076 | #define UNFAIRNESS 0x6e | 3095 | #define UNFAIRNESS 0x6e |
3077 | 3096 | ||
3097 | #define PLL400CNT0 0x6e | ||
3098 | |||
3078 | #define HADDR 0x70 | 3099 | #define HADDR 0x70 |
3079 | 3100 | ||
3080 | #define PLLDELAY 0x70 | 3101 | #define PLLDELAY 0x70 |
@@ -3088,14 +3109,14 @@ ahd_reg_print_t ahd_scb_disconnected_lists_print; | |||
3088 | 3109 | ||
3089 | #define HODMAEN 0x7a | 3110 | #define HODMAEN 0x7a |
3090 | 3111 | ||
3091 | #define SGHADDR 0x7c | ||
3092 | |||
3093 | #define SCBHADDR 0x7c | 3112 | #define SCBHADDR 0x7c |
3094 | 3113 | ||
3095 | #define SGHCNT 0x84 | 3114 | #define SGHADDR 0x7c |
3096 | 3115 | ||
3097 | #define SCBHCNT 0x84 | 3116 | #define SCBHCNT 0x84 |
3098 | 3117 | ||
3118 | #define SGHCNT 0x84 | ||
3119 | |||
3099 | #define DFF_THRSH 0x88 | 3120 | #define DFF_THRSH 0x88 |
3100 | #define WR_DFTHRSH 0x70 | 3121 | #define WR_DFTHRSH 0x70 |
3101 | #define RD_DFTHRSH 0x07 | 3122 | #define RD_DFTHRSH 0x07 |
@@ -3113,8 +3134,8 @@ ahd_reg_print_t ahd_scb_disconnected_lists_print; | |||
3113 | #define RD_DFTHRSH_63 0x03 | 3134 | #define RD_DFTHRSH_63 0x03 |
3114 | #define RD_DFTHRSH_50 0x02 | 3135 | #define RD_DFTHRSH_50 0x02 |
3115 | #define RD_DFTHRSH_25 0x01 | 3136 | #define RD_DFTHRSH_25 0x01 |
3116 | #define WR_DFTHRSH_MIN 0x00 | ||
3117 | #define RD_DFTHRSH_MIN 0x00 | 3137 | #define RD_DFTHRSH_MIN 0x00 |
3138 | #define WR_DFTHRSH_MIN 0x00 | ||
3118 | 3139 | ||
3119 | #define ROMADDR 0x8a | 3140 | #define ROMADDR 0x8a |
3120 | 3141 | ||
@@ -3150,20 +3171,22 @@ ahd_reg_print_t ahd_scb_disconnected_lists_print; | |||
3150 | #define DCH1NSEN 0x02 | 3171 | #define DCH1NSEN 0x02 |
3151 | #define DCH0NSEN 0x01 | 3172 | #define DCH0NSEN 0x01 |
3152 | 3173 | ||
3153 | #define DCHRXMSG1 0x91 | ||
3154 | |||
3155 | #define CMCRXMSG1 0x91 | 3174 | #define CMCRXMSG1 0x91 |
3156 | 3175 | ||
3157 | #define DCHRXMSG2 0x92 | 3176 | #define DCHRXMSG1 0x91 |
3158 | 3177 | ||
3159 | #define OVLYRXMSG2 0x92 | 3178 | #define DCHRXMSG2 0x92 |
3160 | 3179 | ||
3161 | #define CMCRXMSG2 0x92 | 3180 | #define CMCRXMSG2 0x92 |
3162 | 3181 | ||
3163 | #define OST 0x92 | 3182 | #define OST 0x92 |
3164 | 3183 | ||
3184 | #define OVLYRXMSG2 0x92 | ||
3185 | |||
3165 | #define DCHRXMSG3 0x93 | 3186 | #define DCHRXMSG3 0x93 |
3166 | 3187 | ||
3188 | #define OVLYRXMSG3 0x93 | ||
3189 | |||
3167 | #define CMCRXMSG3 0x93 | 3190 | #define CMCRXMSG3 0x93 |
3168 | 3191 | ||
3169 | #define PCIXCTL 0x93 | 3192 | #define PCIXCTL 0x93 |
@@ -3175,26 +3198,24 @@ ahd_reg_print_t ahd_scb_disconnected_lists_print; | |||
3175 | #define TSCSERREN 0x02 | 3198 | #define TSCSERREN 0x02 |
3176 | #define CMPABCDIS 0x01 | 3199 | #define CMPABCDIS 0x01 |
3177 | 3200 | ||
3178 | #define OVLYRXMSG3 0x93 | ||
3179 | |||
3180 | #define OVLYSEQBCNT 0x94 | 3201 | #define OVLYSEQBCNT 0x94 |
3181 | 3202 | ||
3182 | #define CMCSEQBCNT 0x94 | ||
3183 | |||
3184 | #define DCHSEQBCNT 0x94 | 3203 | #define DCHSEQBCNT 0x94 |
3185 | 3204 | ||
3186 | #define CMCSPLTSTAT0 0x96 | 3205 | #define CMCSEQBCNT 0x94 |
3187 | 3206 | ||
3188 | #define OVLYSPLTSTAT0 0x96 | 3207 | #define CMCSPLTSTAT0 0x96 |
3189 | 3208 | ||
3190 | #define DCHSPLTSTAT0 0x96 | 3209 | #define DCHSPLTSTAT0 0x96 |
3191 | 3210 | ||
3192 | #define DCHSPLTSTAT1 0x97 | 3211 | #define OVLYSPLTSTAT0 0x96 |
3193 | 3212 | ||
3194 | #define CMCSPLTSTAT1 0x97 | 3213 | #define CMCSPLTSTAT1 0x97 |
3195 | 3214 | ||
3196 | #define OVLYSPLTSTAT1 0x97 | 3215 | #define OVLYSPLTSTAT1 0x97 |
3197 | 3216 | ||
3217 | #define DCHSPLTSTAT1 0x97 | ||
3218 | |||
3198 | #define SGRXMSG0 0x98 | 3219 | #define SGRXMSG0 0x98 |
3199 | #define CDNUM 0xf8 | 3220 | #define CDNUM 0xf8 |
3200 | #define CFNUM 0x07 | 3221 | #define CFNUM 0x07 |
@@ -3244,13 +3265,13 @@ ahd_reg_print_t ahd_scb_disconnected_lists_print; | |||
3244 | #define RXSCEMSG 0x02 | 3265 | #define RXSCEMSG 0x02 |
3245 | #define RXSPLTRSP 0x01 | 3266 | #define RXSPLTRSP 0x01 |
3246 | 3267 | ||
3268 | #define SGSPLTSTAT1 0x9f | ||
3269 | #define RXDATABUCKET 0x01 | ||
3270 | |||
3247 | #define SFUNCT 0x9f | 3271 | #define SFUNCT 0x9f |
3248 | #define TEST_GROUP 0xf0 | 3272 | #define TEST_GROUP 0xf0 |
3249 | #define TEST_NUM 0x0f | 3273 | #define TEST_NUM 0x0f |
3250 | 3274 | ||
3251 | #define SGSPLTSTAT1 0x9f | ||
3252 | #define RXDATABUCKET 0x01 | ||
3253 | |||
3254 | #define DF0PCISTAT 0xa0 | 3275 | #define DF0PCISTAT 0xa0 |
3255 | 3276 | ||
3256 | #define REG0 0xa0 | 3277 | #define REG0 0xa0 |
@@ -3299,10 +3320,10 @@ ahd_reg_print_t ahd_scb_disconnected_lists_print; | |||
3299 | 3320 | ||
3300 | #define CCSGADDR 0xac | 3321 | #define CCSGADDR 0xac |
3301 | 3322 | ||
3302 | #define CCSCBADDR 0xac | ||
3303 | |||
3304 | #define CCSCBADR_BK 0xac | 3323 | #define CCSCBADR_BK 0xac |
3305 | 3324 | ||
3325 | #define CCSCBADDR 0xac | ||
3326 | |||
3306 | #define CMC_RAMBIST 0xad | 3327 | #define CMC_RAMBIST 0xad |
3307 | #define SG_ELEMENT_SIZE 0x80 | 3328 | #define SG_ELEMENT_SIZE 0x80 |
3308 | #define SCBRAMBIST_FAIL 0x40 | 3329 | #define SCBRAMBIST_FAIL 0x40 |
@@ -3311,14 +3332,6 @@ ahd_reg_print_t ahd_scb_disconnected_lists_print; | |||
3311 | #define CMC_BUFFER_BIST_FAIL 0x02 | 3332 | #define CMC_BUFFER_BIST_FAIL 0x02 |
3312 | #define CMC_BUFFER_BIST_EN 0x01 | 3333 | #define CMC_BUFFER_BIST_EN 0x01 |
3313 | 3334 | ||
3314 | #define CCSGCTL 0xad | ||
3315 | #define CCSGEN 0x0c | ||
3316 | #define CCSGDONE 0x80 | ||
3317 | #define SG_CACHE_AVAIL 0x10 | ||
3318 | #define CCSGENACK 0x08 | ||
3319 | #define SG_FETCH_REQ 0x02 | ||
3320 | #define CCSGRESET 0x01 | ||
3321 | |||
3322 | #define CCSCBCTL 0xad | 3335 | #define CCSCBCTL 0xad |
3323 | #define CCSCBDONE 0x80 | 3336 | #define CCSCBDONE 0x80 |
3324 | #define ARRDONE 0x40 | 3337 | #define ARRDONE 0x40 |
@@ -3327,6 +3340,14 @@ ahd_reg_print_t ahd_scb_disconnected_lists_print; | |||
3327 | #define CCSCBDIR 0x04 | 3340 | #define CCSCBDIR 0x04 |
3328 | #define CCSCBRESET 0x01 | 3341 | #define CCSCBRESET 0x01 |
3329 | 3342 | ||
3343 | #define CCSGCTL 0xad | ||
3344 | #define CCSGEN 0x0c | ||
3345 | #define CCSGDONE 0x80 | ||
3346 | #define SG_CACHE_AVAIL 0x10 | ||
3347 | #define CCSGENACK 0x08 | ||
3348 | #define SG_FETCH_REQ 0x02 | ||
3349 | #define CCSGRESET 0x01 | ||
3350 | |||
3330 | #define CCSGRAM 0xb0 | 3351 | #define CCSGRAM 0xb0 |
3331 | 3352 | ||
3332 | #define FLEXADR 0xb0 | 3353 | #define FLEXADR 0xb0 |
@@ -3356,8 +3377,8 @@ ahd_reg_print_t ahd_scb_disconnected_lists_print; | |||
3356 | #define SEEDAT 0xbc | 3377 | #define SEEDAT 0xbc |
3357 | 3378 | ||
3358 | #define SEECTL 0xbe | 3379 | #define SEECTL 0xbe |
3359 | #define SEEOP_EWEN 0x40 | ||
3360 | #define SEEOP_WALL 0x40 | 3380 | #define SEEOP_WALL 0x40 |
3381 | #define SEEOP_EWEN 0x40 | ||
3361 | #define SEEOP_EWDS 0x40 | 3382 | #define SEEOP_EWDS 0x40 |
3362 | #define SEEOPCODE 0x70 | 3383 | #define SEEOPCODE 0x70 |
3363 | #define SEERST 0x02 | 3384 | #define SEERST 0x02 |
@@ -3414,14 +3435,14 @@ ahd_reg_print_t ahd_scb_disconnected_lists_print; | |||
3414 | 3435 | ||
3415 | #define WRTBIASCALC 0xc7 | 3436 | #define WRTBIASCALC 0xc7 |
3416 | 3437 | ||
3417 | #define DFPTRS 0xc8 | ||
3418 | |||
3419 | #define RCVRBIASCALC 0xc8 | 3438 | #define RCVRBIASCALC 0xc8 |
3420 | 3439 | ||
3421 | #define DFBKPTR 0xc9 | 3440 | #define DFPTRS 0xc8 |
3422 | 3441 | ||
3423 | #define SKEWCALC 0xc9 | 3442 | #define SKEWCALC 0xc9 |
3424 | 3443 | ||
3444 | #define DFBKPTR 0xc9 | ||
3445 | |||
3425 | #define DFDBCTL 0xcb | 3446 | #define DFDBCTL 0xcb |
3426 | #define DFF_CIO_WR_RDY 0x20 | 3447 | #define DFF_CIO_WR_RDY 0x20 |
3427 | #define DFF_CIO_RD_RDY 0x10 | 3448 | #define DFF_CIO_RD_RDY 0x10 |
@@ -3475,11 +3496,11 @@ ahd_reg_print_t ahd_scb_disconnected_lists_print; | |||
3475 | 3496 | ||
3476 | #define DINDEX 0xe4 | 3497 | #define DINDEX 0xe4 |
3477 | 3498 | ||
3499 | #define BRKADDR0 0xe6 | ||
3500 | |||
3478 | #define BRKADDR1 0xe6 | 3501 | #define BRKADDR1 0xe6 |
3479 | #define BRKDIS 0x80 | 3502 | #define BRKDIS 0x80 |
3480 | 3503 | ||
3481 | #define BRKADDR0 0xe6 | ||
3482 | |||
3483 | #define ALLONES 0xe8 | 3504 | #define ALLONES 0xe8 |
3484 | 3505 | ||
3485 | #define ALLZEROS 0xea | 3506 | #define ALLZEROS 0xea |
@@ -3494,14 +3515,14 @@ ahd_reg_print_t ahd_scb_disconnected_lists_print; | |||
3494 | 3515 | ||
3495 | #define STACK 0xf2 | 3516 | #define STACK 0xf2 |
3496 | 3517 | ||
3497 | #define CURADDR 0xf4 | ||
3498 | |||
3499 | #define INTVEC1_ADDR 0xf4 | 3518 | #define INTVEC1_ADDR 0xf4 |
3500 | 3519 | ||
3501 | #define INTVEC2_ADDR 0xf6 | 3520 | #define CURADDR 0xf4 |
3502 | 3521 | ||
3503 | #define LASTADDR 0xf6 | 3522 | #define LASTADDR 0xf6 |
3504 | 3523 | ||
3524 | #define INTVEC2_ADDR 0xf6 | ||
3525 | |||
3505 | #define LONGJMP_ADDR 0xf8 | 3526 | #define LONGJMP_ADDR 0xf8 |
3506 | 3527 | ||
3507 | #define ACCUM_SAVE 0xfa | 3528 | #define ACCUM_SAVE 0xfa |
@@ -3524,25 +3545,31 @@ ahd_reg_print_t ahd_scb_disconnected_lists_print; | |||
3524 | 3545 | ||
3525 | #define COMPLETE_DMA_SCB_HEAD 0x12c | 3546 | #define COMPLETE_DMA_SCB_HEAD 0x12c |
3526 | 3547 | ||
3527 | #define QFREEZE_COUNT 0x12e | 3548 | #define COMPLETE_DMA_SCB_TAIL 0x12e |
3549 | |||
3550 | #define COMPLETE_ON_QFREEZE_HEAD 0x130 | ||
3551 | |||
3552 | #define QFREEZE_COUNT 0x132 | ||
3528 | 3553 | ||
3529 | #define SAVED_MODE 0x130 | 3554 | #define KERNEL_QFREEZE_COUNT 0x134 |
3530 | 3555 | ||
3531 | #define MSG_OUT 0x131 | 3556 | #define SAVED_MODE 0x136 |
3532 | 3557 | ||
3533 | #define DMAPARAMS 0x132 | 3558 | #define MSG_OUT 0x137 |
3559 | |||
3560 | #define DMAPARAMS 0x138 | ||
3534 | #define PRELOADEN 0x80 | 3561 | #define PRELOADEN 0x80 |
3535 | #define WIDEODD 0x40 | 3562 | #define WIDEODD 0x40 |
3536 | #define SCSIEN 0x20 | 3563 | #define SCSIEN 0x20 |
3537 | #define SDMAEN 0x10 | 3564 | #define SDMAEN 0x10 |
3538 | #define SDMAENACK 0x10 | 3565 | #define SDMAENACK 0x10 |
3539 | #define HDMAENACK 0x08 | ||
3540 | #define HDMAEN 0x08 | 3566 | #define HDMAEN 0x08 |
3567 | #define HDMAENACK 0x08 | ||
3541 | #define DIRECTION 0x04 | 3568 | #define DIRECTION 0x04 |
3542 | #define FIFOFLUSH 0x02 | 3569 | #define FIFOFLUSH 0x02 |
3543 | #define FIFORESET 0x01 | 3570 | #define FIFORESET 0x01 |
3544 | 3571 | ||
3545 | #define SEQ_FLAGS 0x133 | 3572 | #define SEQ_FLAGS 0x139 |
3546 | #define NOT_IDENTIFIED 0x80 | 3573 | #define NOT_IDENTIFIED 0x80 |
3547 | #define NO_CDB_SENT 0x40 | 3574 | #define NO_CDB_SENT 0x40 |
3548 | #define TARGET_CMD_IS_TAGGED 0x40 | 3575 | #define TARGET_CMD_IS_TAGGED 0x40 |
@@ -3553,11 +3580,11 @@ ahd_reg_print_t ahd_scb_disconnected_lists_print; | |||
3553 | #define SPHASE_PENDING 0x02 | 3580 | #define SPHASE_PENDING 0x02 |
3554 | #define NO_DISCONNECT 0x01 | 3581 | #define NO_DISCONNECT 0x01 |
3555 | 3582 | ||
3556 | #define SAVED_SCSIID 0x134 | 3583 | #define SAVED_SCSIID 0x13a |
3557 | 3584 | ||
3558 | #define SAVED_LUN 0x135 | 3585 | #define SAVED_LUN 0x13b |
3559 | 3586 | ||
3560 | #define LASTPHASE 0x136 | 3587 | #define LASTPHASE 0x13c |
3561 | #define PHASE_MASK 0xe0 | 3588 | #define PHASE_MASK 0xe0 |
3562 | #define CDI 0x80 | 3589 | #define CDI 0x80 |
3563 | #define IOI 0x40 | 3590 | #define IOI 0x40 |
@@ -3572,18 +3599,18 @@ ahd_reg_print_t ahd_scb_disconnected_lists_print; | |||
3572 | #define P_DATAOUT_DT 0x20 | 3599 | #define P_DATAOUT_DT 0x20 |
3573 | #define P_DATAOUT 0x00 | 3600 | #define P_DATAOUT 0x00 |
3574 | 3601 | ||
3575 | #define QOUTFIFO_ENTRY_VALID_TAG 0x137 | 3602 | #define QOUTFIFO_ENTRY_VALID_TAG 0x13d |
3576 | 3603 | ||
3577 | #define SHARED_DATA_ADDR 0x138 | 3604 | #define KERNEL_TQINPOS 0x13e |
3578 | 3605 | ||
3579 | #define QOUTFIFO_NEXT_ADDR 0x13c | 3606 | #define TQINPOS 0x13f |
3580 | 3607 | ||
3581 | #define KERNEL_TQINPOS 0x140 | 3608 | #define SHARED_DATA_ADDR 0x140 |
3582 | 3609 | ||
3583 | #define TQINPOS 0x141 | 3610 | #define QOUTFIFO_NEXT_ADDR 0x144 |
3584 | 3611 | ||
3585 | #define ARG_1 0x142 | 3612 | #define ARG_1 0x148 |
3586 | #define RETURN_1 0x142 | 3613 | #define RETURN_1 0x148 |
3587 | #define SEND_MSG 0x80 | 3614 | #define SEND_MSG 0x80 |
3588 | #define SEND_SENSE 0x40 | 3615 | #define SEND_SENSE 0x40 |
3589 | #define SEND_REJ 0x20 | 3616 | #define SEND_REJ 0x20 |
@@ -3593,12 +3620,12 @@ ahd_reg_print_t ahd_scb_disconnected_lists_print; | |||
3593 | #define CONT_MSG_LOOP_READ 0x03 | 3620 | #define CONT_MSG_LOOP_READ 0x03 |
3594 | #define CONT_MSG_LOOP_TARG 0x02 | 3621 | #define CONT_MSG_LOOP_TARG 0x02 |
3595 | 3622 | ||
3596 | #define ARG_2 0x143 | 3623 | #define ARG_2 0x149 |
3597 | #define RETURN_2 0x143 | 3624 | #define RETURN_2 0x149 |
3598 | 3625 | ||
3599 | #define LAST_MSG 0x144 | 3626 | #define LAST_MSG 0x14a |
3600 | 3627 | ||
3601 | #define SCSISEQ_TEMPLATE 0x145 | 3628 | #define SCSISEQ_TEMPLATE 0x14b |
3602 | #define MANUALCTL 0x40 | 3629 | #define MANUALCTL 0x40 |
3603 | #define ENSELI 0x20 | 3630 | #define ENSELI 0x20 |
3604 | #define ENRSELI 0x10 | 3631 | #define ENRSELI 0x10 |
@@ -3606,27 +3633,27 @@ ahd_reg_print_t ahd_scb_disconnected_lists_print; | |||
3606 | #define ENAUTOATNP 0x02 | 3633 | #define ENAUTOATNP 0x02 |
3607 | #define ALTSTIM 0x01 | 3634 | #define ALTSTIM 0x01 |
3608 | 3635 | ||
3609 | #define INITIATOR_TAG 0x146 | 3636 | #define INITIATOR_TAG 0x14c |
3610 | 3637 | ||
3611 | #define SEQ_FLAGS2 0x147 | 3638 | #define SEQ_FLAGS2 0x14d |
3612 | #define SELECTOUT_QFROZEN 0x04 | 3639 | #define SELECTOUT_QFROZEN 0x04 |
3613 | #define TARGET_MSG_PENDING 0x02 | 3640 | #define TARGET_MSG_PENDING 0x02 |
3614 | 3641 | ||
3615 | #define ALLOCFIFO_SCBPTR 0x148 | 3642 | #define ALLOCFIFO_SCBPTR 0x14e |
3616 | 3643 | ||
3617 | #define INT_COALESCING_TIMER 0x14a | 3644 | #define INT_COALESCING_TIMER 0x150 |
3618 | 3645 | ||
3619 | #define INT_COALESCING_MAXCMDS 0x14c | 3646 | #define INT_COALESCING_MAXCMDS 0x152 |
3620 | 3647 | ||
3621 | #define INT_COALESCING_MINCMDS 0x14d | 3648 | #define INT_COALESCING_MINCMDS 0x153 |
3622 | 3649 | ||
3623 | #define CMDS_PENDING 0x14e | 3650 | #define CMDS_PENDING 0x154 |
3624 | 3651 | ||
3625 | #define INT_COALESCING_CMDCOUNT 0x150 | 3652 | #define INT_COALESCING_CMDCOUNT 0x156 |
3626 | 3653 | ||
3627 | #define LOCAL_HS_MAILBOX 0x151 | 3654 | #define LOCAL_HS_MAILBOX 0x157 |
3628 | 3655 | ||
3629 | #define CMDSIZE_TABLE 0x152 | 3656 | #define CMDSIZE_TABLE 0x158 |
3630 | 3657 | ||
3631 | #define SCB_BASE 0x180 | 3658 | #define SCB_BASE 0x180 |
3632 | 3659 | ||
@@ -3701,6 +3728,16 @@ ahd_reg_print_t ahd_scb_disconnected_lists_print; | |||
3701 | #define SCB_DISCONNECTED_LISTS 0x1b8 | 3728 | #define SCB_DISCONNECTED_LISTS 0x1b8 |
3702 | 3729 | ||
3703 | 3730 | ||
3731 | #define AHD_TIMER_MAX_US 0x18ffe7 | ||
3732 | #define AHD_TIMER_MAX_TICKS 0xffff | ||
3733 | #define AHD_SENSE_BUFSIZE 0x100 | ||
3734 | #define BUS_8_BIT 0x00 | ||
3735 | #define TARGET_CMD_CMPLT 0xfe | ||
3736 | #define SEEOP_WRAL_ADDR 0x40 | ||
3737 | #define AHD_AMPLITUDE_DEF 0x07 | ||
3738 | #define AHD_PRECOMP_CUTBACK_37 0x07 | ||
3739 | #define AHD_PRECOMP_SHIFT 0x00 | ||
3740 | #define AHD_ANNEXCOL_PRECOMP_SLEW 0x04 | ||
3704 | #define AHD_TIMER_US_PER_TICK 0x19 | 3741 | #define AHD_TIMER_US_PER_TICK 0x19 |
3705 | #define SCB_TRANSFER_SIZE_FULL_LUN 0x38 | 3742 | #define SCB_TRANSFER_SIZE_FULL_LUN 0x38 |
3706 | #define STATUS_QUEUE_FULL 0x28 | 3743 | #define STATUS_QUEUE_FULL 0x28 |
@@ -3724,28 +3761,18 @@ ahd_reg_print_t ahd_scb_disconnected_lists_print; | |||
3724 | #define B_CURRFIFO_0 0x02 | 3761 | #define B_CURRFIFO_0 0x02 |
3725 | #define LUNLEN_SINGLE_LEVEL_LUN 0x0f | 3762 | #define LUNLEN_SINGLE_LEVEL_LUN 0x0f |
3726 | #define NVRAM_SCB_OFFSET 0x2c | 3763 | #define NVRAM_SCB_OFFSET 0x2c |
3727 | #define AHD_TIMER_MAX_US 0x18ffe7 | ||
3728 | #define AHD_TIMER_MAX_TICKS 0xffff | ||
3729 | #define STATUS_PKT_SENSE 0xff | 3764 | #define STATUS_PKT_SENSE 0xff |
3730 | #define CMD_GROUP_CODE_SHIFT 0x05 | 3765 | #define CMD_GROUP_CODE_SHIFT 0x05 |
3731 | #define AHD_SENSE_BUFSIZE 0x100 | ||
3732 | #define MAX_OFFSET_PACED_BUG 0x7f | 3766 | #define MAX_OFFSET_PACED_BUG 0x7f |
3733 | #define BUS_8_BIT 0x00 | ||
3734 | #define STIMESEL_BUG_ADJ 0x08 | 3767 | #define STIMESEL_BUG_ADJ 0x08 |
3735 | #define STIMESEL_MIN 0x18 | 3768 | #define STIMESEL_MIN 0x18 |
3736 | #define STIMESEL_SHIFT 0x03 | 3769 | #define STIMESEL_SHIFT 0x03 |
3737 | #define CCSGRAM_MAXSEGS 0x10 | 3770 | #define CCSGRAM_MAXSEGS 0x10 |
3738 | #define INVALID_ADDR 0x80 | 3771 | #define INVALID_ADDR 0x80 |
3739 | #define TARGET_CMD_CMPLT 0xfe | ||
3740 | #define SEEOP_WRAL_ADDR 0x40 | ||
3741 | #define SEEOP_ERAL_ADDR 0x80 | 3772 | #define SEEOP_ERAL_ADDR 0x80 |
3742 | #define AHD_AMPLITUDE_DEF 0x07 | ||
3743 | #define AHD_SLEWRATE_DEF_REVB 0x08 | 3773 | #define AHD_SLEWRATE_DEF_REVB 0x08 |
3744 | #define AHD_PRECOMP_CUTBACK_37 0x07 | ||
3745 | #define AHD_PRECOMP_CUTBACK_17 0x04 | 3774 | #define AHD_PRECOMP_CUTBACK_17 0x04 |
3746 | #define AHD_PRECOMP_SHIFT 0x00 | ||
3747 | #define AHD_PRECOMP_MASK 0x07 | 3775 | #define AHD_PRECOMP_MASK 0x07 |
3748 | #define AHD_ANNEXCOL_PRECOMP_SLEW 0x04 | ||
3749 | #define SRC_MODE_SHIFT 0x00 | 3776 | #define SRC_MODE_SHIFT 0x00 |
3750 | #define PKT_OVERRUN_BUFSIZE 0x200 | 3777 | #define PKT_OVERRUN_BUFSIZE 0x200 |
3751 | #define SCB_TRANSFER_SIZE_1BYTE_LUN 0x30 | 3778 | #define SCB_TRANSFER_SIZE_1BYTE_LUN 0x30 |
@@ -3761,6 +3788,7 @@ ahd_reg_print_t ahd_scb_disconnected_lists_print; | |||
3761 | 3788 | ||
3762 | 3789 | ||
3763 | /* Downloaded Constant Definitions */ | 3790 | /* Downloaded Constant Definitions */ |
3791 | #define CACHELINE_MASK 0x07 | ||
3764 | #define SCB_TRANSFER_SIZE 0x06 | 3792 | #define SCB_TRANSFER_SIZE 0x06 |
3765 | #define PKT_OVERRUN_BUFOFFSET 0x05 | 3793 | #define PKT_OVERRUN_BUFOFFSET 0x05 |
3766 | #define SG_SIZEOF 0x04 | 3794 | #define SG_SIZEOF 0x04 |
@@ -3768,9 +3796,9 @@ ahd_reg_print_t ahd_scb_disconnected_lists_print; | |||
3768 | #define SG_PREFETCH_ALIGN_MASK 0x02 | 3796 | #define SG_PREFETCH_ALIGN_MASK 0x02 |
3769 | #define SG_PREFETCH_CNT_LIMIT 0x01 | 3797 | #define SG_PREFETCH_CNT_LIMIT 0x01 |
3770 | #define SG_PREFETCH_CNT 0x00 | 3798 | #define SG_PREFETCH_CNT 0x00 |
3771 | #define DOWNLOAD_CONST_COUNT 0x07 | 3799 | #define DOWNLOAD_CONST_COUNT 0x08 |
3772 | 3800 | ||
3773 | 3801 | ||
3774 | /* Exported Labels */ | 3802 | /* Exported Labels */ |
3775 | #define LABEL_seq_isr 0x269 | 3803 | #define LABEL_seq_isr 0x285 |
3776 | #define LABEL_timer_isr 0x265 | 3804 | #define LABEL_timer_isr 0x281 |