18c2ecf20Sopenharmony_ci/*
28c2ecf20Sopenharmony_ci * DO NOT EDIT - This file is automatically generated
38c2ecf20Sopenharmony_ci *		 from the following source files:
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci * $Id: //depot/aic7xxx/aic7xxx/aic7xxx.seq#58 $
68c2ecf20Sopenharmony_ci * $Id: //depot/aic7xxx/aic7xxx/aic7xxx.reg#40 $
78c2ecf20Sopenharmony_ci */
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci#include "aic7xxx_osm.h"
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_cistatic const ahc_reg_parse_entry_t SCSISEQ_parse_table[] = {
128c2ecf20Sopenharmony_ci	{ "SCSIRSTO",		0x01, 0x01 },
138c2ecf20Sopenharmony_ci	{ "ENAUTOATNP",		0x02, 0x02 },
148c2ecf20Sopenharmony_ci	{ "ENAUTOATNI",		0x04, 0x04 },
158c2ecf20Sopenharmony_ci	{ "ENAUTOATNO",		0x08, 0x08 },
168c2ecf20Sopenharmony_ci	{ "ENRSELI",		0x10, 0x10 },
178c2ecf20Sopenharmony_ci	{ "ENSELI",		0x20, 0x20 },
188c2ecf20Sopenharmony_ci	{ "ENSELO",		0x40, 0x40 },
198c2ecf20Sopenharmony_ci	{ "TEMODE",		0x80, 0x80 }
208c2ecf20Sopenharmony_ci};
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ciint
238c2ecf20Sopenharmony_ciahc_scsiseq_print(u_int regvalue, u_int *cur_col, u_int wrap)
248c2ecf20Sopenharmony_ci{
258c2ecf20Sopenharmony_ci	return (ahc_print_register(SCSISEQ_parse_table, 8, "SCSISEQ",
268c2ecf20Sopenharmony_ci	    0x00, regvalue, cur_col, wrap));
278c2ecf20Sopenharmony_ci}
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_cistatic const ahc_reg_parse_entry_t SXFRCTL0_parse_table[] = {
308c2ecf20Sopenharmony_ci	{ "CLRCHN",		0x02, 0x02 },
318c2ecf20Sopenharmony_ci	{ "SCAMEN",		0x04, 0x04 },
328c2ecf20Sopenharmony_ci	{ "SPIOEN",		0x08, 0x08 },
338c2ecf20Sopenharmony_ci	{ "CLRSTCNT",		0x10, 0x10 },
348c2ecf20Sopenharmony_ci	{ "FAST20",		0x20, 0x20 },
358c2ecf20Sopenharmony_ci	{ "DFPEXP",		0x40, 0x40 },
368c2ecf20Sopenharmony_ci	{ "DFON",		0x80, 0x80 }
378c2ecf20Sopenharmony_ci};
388c2ecf20Sopenharmony_ci
398c2ecf20Sopenharmony_ciint
408c2ecf20Sopenharmony_ciahc_sxfrctl0_print(u_int regvalue, u_int *cur_col, u_int wrap)
418c2ecf20Sopenharmony_ci{
428c2ecf20Sopenharmony_ci	return (ahc_print_register(SXFRCTL0_parse_table, 7, "SXFRCTL0",
438c2ecf20Sopenharmony_ci	    0x01, regvalue, cur_col, wrap));
448c2ecf20Sopenharmony_ci}
458c2ecf20Sopenharmony_ci
468c2ecf20Sopenharmony_cistatic const ahc_reg_parse_entry_t SCSISIGI_parse_table[] = {
478c2ecf20Sopenharmony_ci	{ "ACKI",		0x01, 0x01 },
488c2ecf20Sopenharmony_ci	{ "REQI",		0x02, 0x02 },
498c2ecf20Sopenharmony_ci	{ "BSYI",		0x04, 0x04 },
508c2ecf20Sopenharmony_ci	{ "SELI",		0x08, 0x08 },
518c2ecf20Sopenharmony_ci	{ "ATNI",		0x10, 0x10 },
528c2ecf20Sopenharmony_ci	{ "MSGI",		0x20, 0x20 },
538c2ecf20Sopenharmony_ci	{ "IOI",		0x40, 0x40 },
548c2ecf20Sopenharmony_ci	{ "CDI",		0x80, 0x80 },
558c2ecf20Sopenharmony_ci	{ "P_DATAOUT",		0x00, 0x00 },
568c2ecf20Sopenharmony_ci	{ "P_DATAOUT_DT",	0x20, 0x20 },
578c2ecf20Sopenharmony_ci	{ "P_DATAIN",		0x40, 0x40 },
588c2ecf20Sopenharmony_ci	{ "P_DATAIN_DT",	0x60, 0x60 },
598c2ecf20Sopenharmony_ci	{ "P_COMMAND",		0x80, 0x80 },
608c2ecf20Sopenharmony_ci	{ "P_MESGOUT",		0xa0, 0xa0 },
618c2ecf20Sopenharmony_ci	{ "P_STATUS",		0xc0, 0xc0 },
628c2ecf20Sopenharmony_ci	{ "PHASE_MASK",		0xe0, 0xe0 },
638c2ecf20Sopenharmony_ci	{ "P_MESGIN",		0xe0, 0xe0 }
648c2ecf20Sopenharmony_ci};
658c2ecf20Sopenharmony_ci
668c2ecf20Sopenharmony_ciint
678c2ecf20Sopenharmony_ciahc_scsisigi_print(u_int regvalue, u_int *cur_col, u_int wrap)
688c2ecf20Sopenharmony_ci{
698c2ecf20Sopenharmony_ci	return (ahc_print_register(SCSISIGI_parse_table, 17, "SCSISIGI",
708c2ecf20Sopenharmony_ci	    0x03, regvalue, cur_col, wrap));
718c2ecf20Sopenharmony_ci}
728c2ecf20Sopenharmony_ci
738c2ecf20Sopenharmony_cistatic const ahc_reg_parse_entry_t SCSIRATE_parse_table[] = {
748c2ecf20Sopenharmony_ci	{ "SINGLE_EDGE",	0x10, 0x10 },
758c2ecf20Sopenharmony_ci	{ "ENABLE_CRC",		0x40, 0x40 },
768c2ecf20Sopenharmony_ci	{ "WIDEXFER",		0x80, 0x80 },
778c2ecf20Sopenharmony_ci	{ "SXFR_ULTRA2",	0x0f, 0x0f },
788c2ecf20Sopenharmony_ci	{ "SOFS",		0x0f, 0x0f },
798c2ecf20Sopenharmony_ci	{ "SXFR",		0x70, 0x70 }
808c2ecf20Sopenharmony_ci};
818c2ecf20Sopenharmony_ci
828c2ecf20Sopenharmony_ciint
838c2ecf20Sopenharmony_ciahc_scsirate_print(u_int regvalue, u_int *cur_col, u_int wrap)
848c2ecf20Sopenharmony_ci{
858c2ecf20Sopenharmony_ci	return (ahc_print_register(SCSIRATE_parse_table, 6, "SCSIRATE",
868c2ecf20Sopenharmony_ci	    0x04, regvalue, cur_col, wrap));
878c2ecf20Sopenharmony_ci}
888c2ecf20Sopenharmony_ci
898c2ecf20Sopenharmony_cistatic const ahc_reg_parse_entry_t SSTAT0_parse_table[] = {
908c2ecf20Sopenharmony_ci	{ "DMADONE",		0x01, 0x01 },
918c2ecf20Sopenharmony_ci	{ "SPIORDY",		0x02, 0x02 },
928c2ecf20Sopenharmony_ci	{ "SDONE",		0x04, 0x04 },
938c2ecf20Sopenharmony_ci	{ "SWRAP",		0x08, 0x08 },
948c2ecf20Sopenharmony_ci	{ "IOERR",		0x08, 0x08 },
958c2ecf20Sopenharmony_ci	{ "SELINGO",		0x10, 0x10 },
968c2ecf20Sopenharmony_ci	{ "SELDI",		0x20, 0x20 },
978c2ecf20Sopenharmony_ci	{ "SELDO",		0x40, 0x40 },
988c2ecf20Sopenharmony_ci	{ "TARGET",		0x80, 0x80 }
998c2ecf20Sopenharmony_ci};
1008c2ecf20Sopenharmony_ci
1018c2ecf20Sopenharmony_ciint
1028c2ecf20Sopenharmony_ciahc_sstat0_print(u_int regvalue, u_int *cur_col, u_int wrap)
1038c2ecf20Sopenharmony_ci{
1048c2ecf20Sopenharmony_ci	return (ahc_print_register(SSTAT0_parse_table, 9, "SSTAT0",
1058c2ecf20Sopenharmony_ci	    0x0b, regvalue, cur_col, wrap));
1068c2ecf20Sopenharmony_ci}
1078c2ecf20Sopenharmony_ci
1088c2ecf20Sopenharmony_cistatic const ahc_reg_parse_entry_t SSTAT1_parse_table[] = {
1098c2ecf20Sopenharmony_ci	{ "REQINIT",		0x01, 0x01 },
1108c2ecf20Sopenharmony_ci	{ "PHASECHG",		0x02, 0x02 },
1118c2ecf20Sopenharmony_ci	{ "SCSIPERR",		0x04, 0x04 },
1128c2ecf20Sopenharmony_ci	{ "BUSFREE",		0x08, 0x08 },
1138c2ecf20Sopenharmony_ci	{ "PHASEMIS",		0x10, 0x10 },
1148c2ecf20Sopenharmony_ci	{ "SCSIRSTI",		0x20, 0x20 },
1158c2ecf20Sopenharmony_ci	{ "ATNTARG",		0x40, 0x40 },
1168c2ecf20Sopenharmony_ci	{ "SELTO",		0x80, 0x80 }
1178c2ecf20Sopenharmony_ci};
1188c2ecf20Sopenharmony_ci
1198c2ecf20Sopenharmony_ciint
1208c2ecf20Sopenharmony_ciahc_sstat1_print(u_int regvalue, u_int *cur_col, u_int wrap)
1218c2ecf20Sopenharmony_ci{
1228c2ecf20Sopenharmony_ci	return (ahc_print_register(SSTAT1_parse_table, 8, "SSTAT1",
1238c2ecf20Sopenharmony_ci	    0x0c, regvalue, cur_col, wrap));
1248c2ecf20Sopenharmony_ci}
1258c2ecf20Sopenharmony_ci
1268c2ecf20Sopenharmony_cistatic const ahc_reg_parse_entry_t SSTAT2_parse_table[] = {
1278c2ecf20Sopenharmony_ci	{ "DUAL_EDGE_ERR",	0x01, 0x01 },
1288c2ecf20Sopenharmony_ci	{ "CRCREQERR",		0x02, 0x02 },
1298c2ecf20Sopenharmony_ci	{ "CRCENDERR",		0x04, 0x04 },
1308c2ecf20Sopenharmony_ci	{ "CRCVALERR",		0x08, 0x08 },
1318c2ecf20Sopenharmony_ci	{ "EXP_ACTIVE",		0x10, 0x10 },
1328c2ecf20Sopenharmony_ci	{ "SHVALID",		0x40, 0x40 },
1338c2ecf20Sopenharmony_ci	{ "OVERRUN",		0x80, 0x80 },
1348c2ecf20Sopenharmony_ci	{ "SFCNT",		0x1f, 0x1f }
1358c2ecf20Sopenharmony_ci};
1368c2ecf20Sopenharmony_ci
1378c2ecf20Sopenharmony_ciint
1388c2ecf20Sopenharmony_ciahc_sstat2_print(u_int regvalue, u_int *cur_col, u_int wrap)
1398c2ecf20Sopenharmony_ci{
1408c2ecf20Sopenharmony_ci	return (ahc_print_register(SSTAT2_parse_table, 8, "SSTAT2",
1418c2ecf20Sopenharmony_ci	    0x0d, regvalue, cur_col, wrap));
1428c2ecf20Sopenharmony_ci}
1438c2ecf20Sopenharmony_ci
1448c2ecf20Sopenharmony_cistatic const ahc_reg_parse_entry_t SSTAT3_parse_table[] = {
1458c2ecf20Sopenharmony_ci	{ "OFFCNT",		0x0f, 0x0f },
1468c2ecf20Sopenharmony_ci	{ "U2OFFCNT",		0x7f, 0x7f },
1478c2ecf20Sopenharmony_ci	{ "SCSICNT",		0xf0, 0xf0 }
1488c2ecf20Sopenharmony_ci};
1498c2ecf20Sopenharmony_ci
1508c2ecf20Sopenharmony_ciint
1518c2ecf20Sopenharmony_ciahc_sstat3_print(u_int regvalue, u_int *cur_col, u_int wrap)
1528c2ecf20Sopenharmony_ci{
1538c2ecf20Sopenharmony_ci	return (ahc_print_register(SSTAT3_parse_table, 3, "SSTAT3",
1548c2ecf20Sopenharmony_ci	    0x0e, regvalue, cur_col, wrap));
1558c2ecf20Sopenharmony_ci}
1568c2ecf20Sopenharmony_ci
1578c2ecf20Sopenharmony_cistatic const ahc_reg_parse_entry_t SIMODE0_parse_table[] = {
1588c2ecf20Sopenharmony_ci	{ "ENDMADONE",		0x01, 0x01 },
1598c2ecf20Sopenharmony_ci	{ "ENSPIORDY",		0x02, 0x02 },
1608c2ecf20Sopenharmony_ci	{ "ENSDONE",		0x04, 0x04 },
1618c2ecf20Sopenharmony_ci	{ "ENSWRAP",		0x08, 0x08 },
1628c2ecf20Sopenharmony_ci	{ "ENIOERR",		0x08, 0x08 },
1638c2ecf20Sopenharmony_ci	{ "ENSELINGO",		0x10, 0x10 },
1648c2ecf20Sopenharmony_ci	{ "ENSELDI",		0x20, 0x20 },
1658c2ecf20Sopenharmony_ci	{ "ENSELDO",		0x40, 0x40 }
1668c2ecf20Sopenharmony_ci};
1678c2ecf20Sopenharmony_ci
1688c2ecf20Sopenharmony_ciint
1698c2ecf20Sopenharmony_ciahc_simode0_print(u_int regvalue, u_int *cur_col, u_int wrap)
1708c2ecf20Sopenharmony_ci{
1718c2ecf20Sopenharmony_ci	return (ahc_print_register(SIMODE0_parse_table, 8, "SIMODE0",
1728c2ecf20Sopenharmony_ci	    0x10, regvalue, cur_col, wrap));
1738c2ecf20Sopenharmony_ci}
1748c2ecf20Sopenharmony_ci
1758c2ecf20Sopenharmony_cistatic const ahc_reg_parse_entry_t SIMODE1_parse_table[] = {
1768c2ecf20Sopenharmony_ci	{ "ENREQINIT",		0x01, 0x01 },
1778c2ecf20Sopenharmony_ci	{ "ENPHASECHG",		0x02, 0x02 },
1788c2ecf20Sopenharmony_ci	{ "ENSCSIPERR",		0x04, 0x04 },
1798c2ecf20Sopenharmony_ci	{ "ENBUSFREE",		0x08, 0x08 },
1808c2ecf20Sopenharmony_ci	{ "ENPHASEMIS",		0x10, 0x10 },
1818c2ecf20Sopenharmony_ci	{ "ENSCSIRST",		0x20, 0x20 },
1828c2ecf20Sopenharmony_ci	{ "ENATNTARG",		0x40, 0x40 },
1838c2ecf20Sopenharmony_ci	{ "ENSELTIMO",		0x80, 0x80 }
1848c2ecf20Sopenharmony_ci};
1858c2ecf20Sopenharmony_ci
1868c2ecf20Sopenharmony_ciint
1878c2ecf20Sopenharmony_ciahc_simode1_print(u_int regvalue, u_int *cur_col, u_int wrap)
1888c2ecf20Sopenharmony_ci{
1898c2ecf20Sopenharmony_ci	return (ahc_print_register(SIMODE1_parse_table, 8, "SIMODE1",
1908c2ecf20Sopenharmony_ci	    0x11, regvalue, cur_col, wrap));
1918c2ecf20Sopenharmony_ci}
1928c2ecf20Sopenharmony_ci
1938c2ecf20Sopenharmony_ciint
1948c2ecf20Sopenharmony_ciahc_scsibusl_print(u_int regvalue, u_int *cur_col, u_int wrap)
1958c2ecf20Sopenharmony_ci{
1968c2ecf20Sopenharmony_ci	return (ahc_print_register(NULL, 0, "SCSIBUSL",
1978c2ecf20Sopenharmony_ci	    0x12, regvalue, cur_col, wrap));
1988c2ecf20Sopenharmony_ci}
1998c2ecf20Sopenharmony_ci
2008c2ecf20Sopenharmony_cistatic const ahc_reg_parse_entry_t SBLKCTL_parse_table[] = {
2018c2ecf20Sopenharmony_ci	{ "XCVR",		0x01, 0x01 },
2028c2ecf20Sopenharmony_ci	{ "SELWIDE",		0x02, 0x02 },
2038c2ecf20Sopenharmony_ci	{ "ENAB20",		0x04, 0x04 },
2048c2ecf20Sopenharmony_ci	{ "SELBUSB",		0x08, 0x08 },
2058c2ecf20Sopenharmony_ci	{ "ENAB40",		0x08, 0x08 },
2068c2ecf20Sopenharmony_ci	{ "AUTOFLUSHDIS",	0x20, 0x20 },
2078c2ecf20Sopenharmony_ci	{ "DIAGLEDON",		0x40, 0x40 },
2088c2ecf20Sopenharmony_ci	{ "DIAGLEDEN",		0x80, 0x80 }
2098c2ecf20Sopenharmony_ci};
2108c2ecf20Sopenharmony_ci
2118c2ecf20Sopenharmony_ciint
2128c2ecf20Sopenharmony_ciahc_sblkctl_print(u_int regvalue, u_int *cur_col, u_int wrap)
2138c2ecf20Sopenharmony_ci{
2148c2ecf20Sopenharmony_ci	return (ahc_print_register(SBLKCTL_parse_table, 8, "SBLKCTL",
2158c2ecf20Sopenharmony_ci	    0x1f, regvalue, cur_col, wrap));
2168c2ecf20Sopenharmony_ci}
2178c2ecf20Sopenharmony_ci
2188c2ecf20Sopenharmony_cistatic const ahc_reg_parse_entry_t SEQ_FLAGS_parse_table[] = {
2198c2ecf20Sopenharmony_ci	{ "NO_DISCONNECT",	0x01, 0x01 },
2208c2ecf20Sopenharmony_ci	{ "SPHASE_PENDING",	0x02, 0x02 },
2218c2ecf20Sopenharmony_ci	{ "DPHASE_PENDING",	0x04, 0x04 },
2228c2ecf20Sopenharmony_ci	{ "CMDPHASE_PENDING",	0x08, 0x08 },
2238c2ecf20Sopenharmony_ci	{ "TARG_CMD_PENDING",	0x10, 0x10 },
2248c2ecf20Sopenharmony_ci	{ "DPHASE",		0x20, 0x20 },
2258c2ecf20Sopenharmony_ci	{ "NO_CDB_SENT",	0x40, 0x40 },
2268c2ecf20Sopenharmony_ci	{ "TARGET_CMD_IS_TAGGED",0x40, 0x40 },
2278c2ecf20Sopenharmony_ci	{ "NOT_IDENTIFIED",	0x80, 0x80 }
2288c2ecf20Sopenharmony_ci};
2298c2ecf20Sopenharmony_ci
2308c2ecf20Sopenharmony_ciint
2318c2ecf20Sopenharmony_ciahc_seq_flags_print(u_int regvalue, u_int *cur_col, u_int wrap)
2328c2ecf20Sopenharmony_ci{
2338c2ecf20Sopenharmony_ci	return (ahc_print_register(SEQ_FLAGS_parse_table, 9, "SEQ_FLAGS",
2348c2ecf20Sopenharmony_ci	    0x3c, regvalue, cur_col, wrap));
2358c2ecf20Sopenharmony_ci}
2368c2ecf20Sopenharmony_ci
2378c2ecf20Sopenharmony_cistatic const ahc_reg_parse_entry_t LASTPHASE_parse_table[] = {
2388c2ecf20Sopenharmony_ci	{ "MSGI",		0x20, 0x20 },
2398c2ecf20Sopenharmony_ci	{ "IOI",		0x40, 0x40 },
2408c2ecf20Sopenharmony_ci	{ "CDI",		0x80, 0x80 },
2418c2ecf20Sopenharmony_ci	{ "P_DATAOUT",		0x00, 0x00 },
2428c2ecf20Sopenharmony_ci	{ "P_BUSFREE",		0x01, 0x01 },
2438c2ecf20Sopenharmony_ci	{ "P_DATAIN",		0x40, 0x40 },
2448c2ecf20Sopenharmony_ci	{ "P_COMMAND",		0x80, 0x80 },
2458c2ecf20Sopenharmony_ci	{ "P_MESGOUT",		0xa0, 0xa0 },
2468c2ecf20Sopenharmony_ci	{ "P_STATUS",		0xc0, 0xc0 },
2478c2ecf20Sopenharmony_ci	{ "PHASE_MASK",		0xe0, 0xe0 },
2488c2ecf20Sopenharmony_ci	{ "P_MESGIN",		0xe0, 0xe0 }
2498c2ecf20Sopenharmony_ci};
2508c2ecf20Sopenharmony_ci
2518c2ecf20Sopenharmony_ciint
2528c2ecf20Sopenharmony_ciahc_lastphase_print(u_int regvalue, u_int *cur_col, u_int wrap)
2538c2ecf20Sopenharmony_ci{
2548c2ecf20Sopenharmony_ci	return (ahc_print_register(LASTPHASE_parse_table, 11, "LASTPHASE",
2558c2ecf20Sopenharmony_ci	    0x3f, regvalue, cur_col, wrap));
2568c2ecf20Sopenharmony_ci}
2578c2ecf20Sopenharmony_ci
2588c2ecf20Sopenharmony_cistatic const ahc_reg_parse_entry_t SEQCTL_parse_table[] = {
2598c2ecf20Sopenharmony_ci	{ "LOADRAM",		0x01, 0x01 },
2608c2ecf20Sopenharmony_ci	{ "SEQRESET",		0x02, 0x02 },
2618c2ecf20Sopenharmony_ci	{ "STEP",		0x04, 0x04 },
2628c2ecf20Sopenharmony_ci	{ "BRKADRINTEN",	0x08, 0x08 },
2638c2ecf20Sopenharmony_ci	{ "FASTMODE",		0x10, 0x10 },
2648c2ecf20Sopenharmony_ci	{ "FAILDIS",		0x20, 0x20 },
2658c2ecf20Sopenharmony_ci	{ "PAUSEDIS",		0x40, 0x40 },
2668c2ecf20Sopenharmony_ci	{ "PERRORDIS",		0x80, 0x80 }
2678c2ecf20Sopenharmony_ci};
2688c2ecf20Sopenharmony_ci
2698c2ecf20Sopenharmony_ciint
2708c2ecf20Sopenharmony_ciahc_seqctl_print(u_int regvalue, u_int *cur_col, u_int wrap)
2718c2ecf20Sopenharmony_ci{
2728c2ecf20Sopenharmony_ci	return (ahc_print_register(SEQCTL_parse_table, 8, "SEQCTL",
2738c2ecf20Sopenharmony_ci	    0x60, regvalue, cur_col, wrap));
2748c2ecf20Sopenharmony_ci}
2758c2ecf20Sopenharmony_ci
2768c2ecf20Sopenharmony_ciint
2778c2ecf20Sopenharmony_ciahc_sram_base_print(u_int regvalue, u_int *cur_col, u_int wrap)
2788c2ecf20Sopenharmony_ci{
2798c2ecf20Sopenharmony_ci	return (ahc_print_register(NULL, 0, "SRAM_BASE",
2808c2ecf20Sopenharmony_ci	    0x70, regvalue, cur_col, wrap));
2818c2ecf20Sopenharmony_ci}
2828c2ecf20Sopenharmony_ci
2838c2ecf20Sopenharmony_cistatic const ahc_reg_parse_entry_t ERROR_parse_table[] = {
2848c2ecf20Sopenharmony_ci	{ "ILLHADDR",		0x01, 0x01 },
2858c2ecf20Sopenharmony_ci	{ "ILLSADDR",		0x02, 0x02 },
2868c2ecf20Sopenharmony_ci	{ "ILLOPCODE",		0x04, 0x04 },
2878c2ecf20Sopenharmony_ci	{ "SQPARERR",		0x08, 0x08 },
2888c2ecf20Sopenharmony_ci	{ "DPARERR",		0x10, 0x10 },
2898c2ecf20Sopenharmony_ci	{ "MPARERR",		0x20, 0x20 },
2908c2ecf20Sopenharmony_ci	{ "PCIERRSTAT",		0x40, 0x40 },
2918c2ecf20Sopenharmony_ci	{ "CIOPARERR",		0x80, 0x80 }
2928c2ecf20Sopenharmony_ci};
2938c2ecf20Sopenharmony_ci
2948c2ecf20Sopenharmony_ciint
2958c2ecf20Sopenharmony_ciahc_error_print(u_int regvalue, u_int *cur_col, u_int wrap)
2968c2ecf20Sopenharmony_ci{
2978c2ecf20Sopenharmony_ci	return (ahc_print_register(ERROR_parse_table, 8, "ERROR",
2988c2ecf20Sopenharmony_ci	    0x92, regvalue, cur_col, wrap));
2998c2ecf20Sopenharmony_ci}
3008c2ecf20Sopenharmony_ci
3018c2ecf20Sopenharmony_cistatic const ahc_reg_parse_entry_t DFCNTRL_parse_table[] = {
3028c2ecf20Sopenharmony_ci	{ "FIFORESET",		0x01, 0x01 },
3038c2ecf20Sopenharmony_ci	{ "FIFOFLUSH",		0x02, 0x02 },
3048c2ecf20Sopenharmony_ci	{ "DIRECTION",		0x04, 0x04 },
3058c2ecf20Sopenharmony_ci	{ "HDMAEN",		0x08, 0x08 },
3068c2ecf20Sopenharmony_ci	{ "HDMAENACK",		0x08, 0x08 },
3078c2ecf20Sopenharmony_ci	{ "SDMAEN",		0x10, 0x10 },
3088c2ecf20Sopenharmony_ci	{ "SDMAENACK",		0x10, 0x10 },
3098c2ecf20Sopenharmony_ci	{ "SCSIEN",		0x20, 0x20 },
3108c2ecf20Sopenharmony_ci	{ "WIDEODD",		0x40, 0x40 },
3118c2ecf20Sopenharmony_ci	{ "PRELOADEN",		0x80, 0x80 }
3128c2ecf20Sopenharmony_ci};
3138c2ecf20Sopenharmony_ci
3148c2ecf20Sopenharmony_ciint
3158c2ecf20Sopenharmony_ciahc_dfcntrl_print(u_int regvalue, u_int *cur_col, u_int wrap)
3168c2ecf20Sopenharmony_ci{
3178c2ecf20Sopenharmony_ci	return (ahc_print_register(DFCNTRL_parse_table, 10, "DFCNTRL",
3188c2ecf20Sopenharmony_ci	    0x93, regvalue, cur_col, wrap));
3198c2ecf20Sopenharmony_ci}
3208c2ecf20Sopenharmony_ci
3218c2ecf20Sopenharmony_cistatic const ahc_reg_parse_entry_t DFSTATUS_parse_table[] = {
3228c2ecf20Sopenharmony_ci	{ "FIFOEMP",		0x01, 0x01 },
3238c2ecf20Sopenharmony_ci	{ "FIFOFULL",		0x02, 0x02 },
3248c2ecf20Sopenharmony_ci	{ "DFTHRESH",		0x04, 0x04 },
3258c2ecf20Sopenharmony_ci	{ "HDONE",		0x08, 0x08 },
3268c2ecf20Sopenharmony_ci	{ "MREQPEND",		0x10, 0x10 },
3278c2ecf20Sopenharmony_ci	{ "FIFOQWDEMP",		0x20, 0x20 },
3288c2ecf20Sopenharmony_ci	{ "DFCACHETH",		0x40, 0x40 },
3298c2ecf20Sopenharmony_ci	{ "PRELOAD_AVAIL",	0x80, 0x80 }
3308c2ecf20Sopenharmony_ci};
3318c2ecf20Sopenharmony_ci
3328c2ecf20Sopenharmony_ciint
3338c2ecf20Sopenharmony_ciahc_dfstatus_print(u_int regvalue, u_int *cur_col, u_int wrap)
3348c2ecf20Sopenharmony_ci{
3358c2ecf20Sopenharmony_ci	return (ahc_print_register(DFSTATUS_parse_table, 8, "DFSTATUS",
3368c2ecf20Sopenharmony_ci	    0x94, regvalue, cur_col, wrap));
3378c2ecf20Sopenharmony_ci}
3388c2ecf20Sopenharmony_ci
3398c2ecf20Sopenharmony_cistatic const ahc_reg_parse_entry_t SCSIPHASE_parse_table[] = {
3408c2ecf20Sopenharmony_ci	{ "DATA_OUT_PHASE",	0x01, 0x01 },
3418c2ecf20Sopenharmony_ci	{ "DATA_IN_PHASE",	0x02, 0x02 },
3428c2ecf20Sopenharmony_ci	{ "MSG_OUT_PHASE",	0x04, 0x04 },
3438c2ecf20Sopenharmony_ci	{ "MSG_IN_PHASE",	0x08, 0x08 },
3448c2ecf20Sopenharmony_ci	{ "COMMAND_PHASE",	0x10, 0x10 },
3458c2ecf20Sopenharmony_ci	{ "STATUS_PHASE",	0x20, 0x20 },
3468c2ecf20Sopenharmony_ci	{ "DATA_PHASE_MASK",	0x03, 0x03 }
3478c2ecf20Sopenharmony_ci};
3488c2ecf20Sopenharmony_ci
3498c2ecf20Sopenharmony_ciint
3508c2ecf20Sopenharmony_ciahc_scsiphase_print(u_int regvalue, u_int *cur_col, u_int wrap)
3518c2ecf20Sopenharmony_ci{
3528c2ecf20Sopenharmony_ci	return (ahc_print_register(SCSIPHASE_parse_table, 7, "SCSIPHASE",
3538c2ecf20Sopenharmony_ci	    0x9e, regvalue, cur_col, wrap));
3548c2ecf20Sopenharmony_ci}
3558c2ecf20Sopenharmony_ci
3568c2ecf20Sopenharmony_ciint
3578c2ecf20Sopenharmony_ciahc_scb_base_print(u_int regvalue, u_int *cur_col, u_int wrap)
3588c2ecf20Sopenharmony_ci{
3598c2ecf20Sopenharmony_ci	return (ahc_print_register(NULL, 0, "SCB_BASE",
3608c2ecf20Sopenharmony_ci	    0xa0, regvalue, cur_col, wrap));
3618c2ecf20Sopenharmony_ci}
3628c2ecf20Sopenharmony_ci
3638c2ecf20Sopenharmony_cistatic const ahc_reg_parse_entry_t SCB_CONTROL_parse_table[] = {
3648c2ecf20Sopenharmony_ci	{ "DISCONNECTED",	0x04, 0x04 },
3658c2ecf20Sopenharmony_ci	{ "ULTRAENB",		0x08, 0x08 },
3668c2ecf20Sopenharmony_ci	{ "MK_MESSAGE",		0x10, 0x10 },
3678c2ecf20Sopenharmony_ci	{ "TAG_ENB",		0x20, 0x20 },
3688c2ecf20Sopenharmony_ci	{ "DISCENB",		0x40, 0x40 },
3698c2ecf20Sopenharmony_ci	{ "TARGET_SCB",		0x80, 0x80 },
3708c2ecf20Sopenharmony_ci	{ "STATUS_RCVD",	0x80, 0x80 },
3718c2ecf20Sopenharmony_ci	{ "SCB_TAG_TYPE",	0x03, 0x03 }
3728c2ecf20Sopenharmony_ci};
3738c2ecf20Sopenharmony_ci
3748c2ecf20Sopenharmony_ciint
3758c2ecf20Sopenharmony_ciahc_scb_control_print(u_int regvalue, u_int *cur_col, u_int wrap)
3768c2ecf20Sopenharmony_ci{
3778c2ecf20Sopenharmony_ci	return (ahc_print_register(SCB_CONTROL_parse_table, 8, "SCB_CONTROL",
3788c2ecf20Sopenharmony_ci	    0xb8, regvalue, cur_col, wrap));
3798c2ecf20Sopenharmony_ci}
3808c2ecf20Sopenharmony_ci
3818c2ecf20Sopenharmony_cistatic const ahc_reg_parse_entry_t SCB_SCSIID_parse_table[] = {
3828c2ecf20Sopenharmony_ci	{ "TWIN_CHNLB",		0x80, 0x80 },
3838c2ecf20Sopenharmony_ci	{ "OID",		0x0f, 0x0f },
3848c2ecf20Sopenharmony_ci	{ "TWIN_TID",		0x70, 0x70 },
3858c2ecf20Sopenharmony_ci	{ "TID",		0xf0, 0xf0 }
3868c2ecf20Sopenharmony_ci};
3878c2ecf20Sopenharmony_ci
3888c2ecf20Sopenharmony_ciint
3898c2ecf20Sopenharmony_ciahc_scb_scsiid_print(u_int regvalue, u_int *cur_col, u_int wrap)
3908c2ecf20Sopenharmony_ci{
3918c2ecf20Sopenharmony_ci	return (ahc_print_register(SCB_SCSIID_parse_table, 4, "SCB_SCSIID",
3928c2ecf20Sopenharmony_ci	    0xb9, regvalue, cur_col, wrap));
3938c2ecf20Sopenharmony_ci}
3948c2ecf20Sopenharmony_ci
3958c2ecf20Sopenharmony_cistatic const ahc_reg_parse_entry_t SCB_LUN_parse_table[] = {
3968c2ecf20Sopenharmony_ci	{ "SCB_XFERLEN_ODD",	0x80, 0x80 },
3978c2ecf20Sopenharmony_ci	{ "LID",		0x3f, 0x3f }
3988c2ecf20Sopenharmony_ci};
3998c2ecf20Sopenharmony_ci
4008c2ecf20Sopenharmony_ciint
4018c2ecf20Sopenharmony_ciahc_scb_lun_print(u_int regvalue, u_int *cur_col, u_int wrap)
4028c2ecf20Sopenharmony_ci{
4038c2ecf20Sopenharmony_ci	return (ahc_print_register(SCB_LUN_parse_table, 2, "SCB_LUN",
4048c2ecf20Sopenharmony_ci	    0xba, regvalue, cur_col, wrap));
4058c2ecf20Sopenharmony_ci}
4068c2ecf20Sopenharmony_ci
4078c2ecf20Sopenharmony_ciint
4088c2ecf20Sopenharmony_ciahc_scb_tag_print(u_int regvalue, u_int *cur_col, u_int wrap)
4098c2ecf20Sopenharmony_ci{
4108c2ecf20Sopenharmony_ci	return (ahc_print_register(NULL, 0, "SCB_TAG",
4118c2ecf20Sopenharmony_ci	    0xbb, regvalue, cur_col, wrap));
4128c2ecf20Sopenharmony_ci}
4138c2ecf20Sopenharmony_ci
414