162306a36Sopenharmony_ci/*
262306a36Sopenharmony_ci * DO NOT EDIT - This file is automatically generated
362306a36Sopenharmony_ci *		 from the following source files:
462306a36Sopenharmony_ci *
562306a36Sopenharmony_ci * $Id: //depot/aic7xxx/aic7xxx/aic79xx.seq#120 $
662306a36Sopenharmony_ci * $Id: //depot/aic7xxx/aic7xxx/aic79xx.reg#77 $
762306a36Sopenharmony_ci */
862306a36Sopenharmony_ci
962306a36Sopenharmony_ci#include "aic79xx_osm.h"
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_cistatic const ahd_reg_parse_entry_t INTSTAT_parse_table[] = {
1262306a36Sopenharmony_ci	{ "SPLTINT",		0x01, 0x01 },
1362306a36Sopenharmony_ci	{ "CMDCMPLT",		0x02, 0x02 },
1462306a36Sopenharmony_ci	{ "SEQINT",		0x04, 0x04 },
1562306a36Sopenharmony_ci	{ "SCSIINT",		0x08, 0x08 },
1662306a36Sopenharmony_ci	{ "PCIINT",		0x10, 0x10 },
1762306a36Sopenharmony_ci	{ "SWTMINT",		0x20, 0x20 },
1862306a36Sopenharmony_ci	{ "BRKADRINT",		0x40, 0x40 },
1962306a36Sopenharmony_ci	{ "HWERRINT",		0x80, 0x80 },
2062306a36Sopenharmony_ci	{ "INT_PEND",		0xff, 0xff }
2162306a36Sopenharmony_ci};
2262306a36Sopenharmony_ci
2362306a36Sopenharmony_ciint
2462306a36Sopenharmony_ciahd_intstat_print(u_int regvalue, u_int *cur_col, u_int wrap)
2562306a36Sopenharmony_ci{
2662306a36Sopenharmony_ci	return (ahd_print_register(INTSTAT_parse_table, 9, "INTSTAT",
2762306a36Sopenharmony_ci	    0x01, regvalue, cur_col, wrap));
2862306a36Sopenharmony_ci}
2962306a36Sopenharmony_ci
3062306a36Sopenharmony_cistatic const ahd_reg_parse_entry_t HS_MAILBOX_parse_table[] = {
3162306a36Sopenharmony_ci	{ "ENINT_COALESCE",	0x40, 0x40 },
3262306a36Sopenharmony_ci	{ "HOST_TQINPOS",	0x80, 0x80 }
3362306a36Sopenharmony_ci};
3462306a36Sopenharmony_ci
3562306a36Sopenharmony_ciint
3662306a36Sopenharmony_ciahd_hs_mailbox_print(u_int regvalue, u_int *cur_col, u_int wrap)
3762306a36Sopenharmony_ci{
3862306a36Sopenharmony_ci	return (ahd_print_register(HS_MAILBOX_parse_table, 2, "HS_MAILBOX",
3962306a36Sopenharmony_ci	    0x0b, regvalue, cur_col, wrap));
4062306a36Sopenharmony_ci}
4162306a36Sopenharmony_ci
4262306a36Sopenharmony_cistatic const ahd_reg_parse_entry_t SEQINTSTAT_parse_table[] = {
4362306a36Sopenharmony_ci	{ "SEQ_SPLTINT",	0x01, 0x01 },
4462306a36Sopenharmony_ci	{ "SEQ_PCIINT",		0x02, 0x02 },
4562306a36Sopenharmony_ci	{ "SEQ_SCSIINT",	0x04, 0x04 },
4662306a36Sopenharmony_ci	{ "SEQ_SEQINT",		0x08, 0x08 },
4762306a36Sopenharmony_ci	{ "SEQ_SWTMRTO",	0x10, 0x10 }
4862306a36Sopenharmony_ci};
4962306a36Sopenharmony_ci
5062306a36Sopenharmony_ciint
5162306a36Sopenharmony_ciahd_seqintstat_print(u_int regvalue, u_int *cur_col, u_int wrap)
5262306a36Sopenharmony_ci{
5362306a36Sopenharmony_ci	return (ahd_print_register(SEQINTSTAT_parse_table, 5, "SEQINTSTAT",
5462306a36Sopenharmony_ci	    0x0c, regvalue, cur_col, wrap));
5562306a36Sopenharmony_ci}
5662306a36Sopenharmony_ci
5762306a36Sopenharmony_cistatic const ahd_reg_parse_entry_t INTCTL_parse_table[] = {
5862306a36Sopenharmony_ci	{ "SPLTINTEN",		0x01, 0x01 },
5962306a36Sopenharmony_ci	{ "SEQINTEN",		0x02, 0x02 },
6062306a36Sopenharmony_ci	{ "SCSIINTEN",		0x04, 0x04 },
6162306a36Sopenharmony_ci	{ "PCIINTEN",		0x08, 0x08 },
6262306a36Sopenharmony_ci	{ "AUTOCLRCMDINT",	0x10, 0x10 },
6362306a36Sopenharmony_ci	{ "SWTIMER_START",	0x20, 0x20 },
6462306a36Sopenharmony_ci	{ "SWTMINTEN",		0x40, 0x40 },
6562306a36Sopenharmony_ci	{ "SWTMINTMASK",	0x80, 0x80 }
6662306a36Sopenharmony_ci};
6762306a36Sopenharmony_ci
6862306a36Sopenharmony_ciint
6962306a36Sopenharmony_ciahd_intctl_print(u_int regvalue, u_int *cur_col, u_int wrap)
7062306a36Sopenharmony_ci{
7162306a36Sopenharmony_ci	return (ahd_print_register(INTCTL_parse_table, 8, "INTCTL",
7262306a36Sopenharmony_ci	    0x18, regvalue, cur_col, wrap));
7362306a36Sopenharmony_ci}
7462306a36Sopenharmony_ci
7562306a36Sopenharmony_cistatic const ahd_reg_parse_entry_t DFCNTRL_parse_table[] = {
7662306a36Sopenharmony_ci	{ "DIRECTIONEN",	0x01, 0x01 },
7762306a36Sopenharmony_ci	{ "FIFOFLUSH",		0x02, 0x02 },
7862306a36Sopenharmony_ci	{ "FIFOFLUSHACK",	0x02, 0x02 },
7962306a36Sopenharmony_ci	{ "DIRECTION",		0x04, 0x04 },
8062306a36Sopenharmony_ci	{ "DIRECTIONACK",	0x04, 0x04 },
8162306a36Sopenharmony_ci	{ "HDMAEN",		0x08, 0x08 },
8262306a36Sopenharmony_ci	{ "HDMAENACK",		0x08, 0x08 },
8362306a36Sopenharmony_ci	{ "SCSIEN",		0x20, 0x20 },
8462306a36Sopenharmony_ci	{ "SCSIENACK",		0x20, 0x20 },
8562306a36Sopenharmony_ci	{ "SCSIENWRDIS",	0x40, 0x40 },
8662306a36Sopenharmony_ci	{ "PRELOADEN",		0x80, 0x80 }
8762306a36Sopenharmony_ci};
8862306a36Sopenharmony_ci
8962306a36Sopenharmony_ciint
9062306a36Sopenharmony_ciahd_dfcntrl_print(u_int regvalue, u_int *cur_col, u_int wrap)
9162306a36Sopenharmony_ci{
9262306a36Sopenharmony_ci	return (ahd_print_register(DFCNTRL_parse_table, 11, "DFCNTRL",
9362306a36Sopenharmony_ci	    0x19, regvalue, cur_col, wrap));
9462306a36Sopenharmony_ci}
9562306a36Sopenharmony_ci
9662306a36Sopenharmony_cistatic const ahd_reg_parse_entry_t DFSTATUS_parse_table[] = {
9762306a36Sopenharmony_ci	{ "FIFOEMP",		0x01, 0x01 },
9862306a36Sopenharmony_ci	{ "FIFOFULL",		0x02, 0x02 },
9962306a36Sopenharmony_ci	{ "DFTHRESH",		0x04, 0x04 },
10062306a36Sopenharmony_ci	{ "HDONE",		0x08, 0x08 },
10162306a36Sopenharmony_ci	{ "MREQPEND",		0x10, 0x10 },
10262306a36Sopenharmony_ci	{ "PKT_PRELOAD_AVAIL",	0x40, 0x40 },
10362306a36Sopenharmony_ci	{ "PRELOAD_AVAIL",	0x80, 0x80 }
10462306a36Sopenharmony_ci};
10562306a36Sopenharmony_ci
10662306a36Sopenharmony_ciint
10762306a36Sopenharmony_ciahd_dfstatus_print(u_int regvalue, u_int *cur_col, u_int wrap)
10862306a36Sopenharmony_ci{
10962306a36Sopenharmony_ci	return (ahd_print_register(DFSTATUS_parse_table, 7, "DFSTATUS",
11062306a36Sopenharmony_ci	    0x1a, regvalue, cur_col, wrap));
11162306a36Sopenharmony_ci}
11262306a36Sopenharmony_ci
11362306a36Sopenharmony_cistatic const ahd_reg_parse_entry_t SG_CACHE_SHADOW_parse_table[] = {
11462306a36Sopenharmony_ci	{ "LAST_SEG_DONE",	0x01, 0x01 },
11562306a36Sopenharmony_ci	{ "LAST_SEG",		0x02, 0x02 },
11662306a36Sopenharmony_ci	{ "ODD_SEG",		0x04, 0x04 },
11762306a36Sopenharmony_ci	{ "SG_ADDR_MASK",	0xf8, 0xf8 }
11862306a36Sopenharmony_ci};
11962306a36Sopenharmony_ci
12062306a36Sopenharmony_ciint
12162306a36Sopenharmony_ciahd_sg_cache_shadow_print(u_int regvalue, u_int *cur_col, u_int wrap)
12262306a36Sopenharmony_ci{
12362306a36Sopenharmony_ci	return (ahd_print_register(SG_CACHE_SHADOW_parse_table, 4, "SG_CACHE_SHADOW",
12462306a36Sopenharmony_ci	    0x1b, regvalue, cur_col, wrap));
12562306a36Sopenharmony_ci}
12662306a36Sopenharmony_ci
12762306a36Sopenharmony_cistatic const ahd_reg_parse_entry_t SCSISEQ0_parse_table[] = {
12862306a36Sopenharmony_ci	{ "SCSIRSTO",		0x01, 0x01 },
12962306a36Sopenharmony_ci	{ "FORCEBUSFREE",	0x10, 0x10 },
13062306a36Sopenharmony_ci	{ "ENARBO",		0x20, 0x20 },
13162306a36Sopenharmony_ci	{ "ENSELO",		0x40, 0x40 },
13262306a36Sopenharmony_ci	{ "TEMODEO",		0x80, 0x80 }
13362306a36Sopenharmony_ci};
13462306a36Sopenharmony_ci
13562306a36Sopenharmony_ciint
13662306a36Sopenharmony_ciahd_scsiseq0_print(u_int regvalue, u_int *cur_col, u_int wrap)
13762306a36Sopenharmony_ci{
13862306a36Sopenharmony_ci	return (ahd_print_register(SCSISEQ0_parse_table, 5, "SCSISEQ0",
13962306a36Sopenharmony_ci	    0x3a, regvalue, cur_col, wrap));
14062306a36Sopenharmony_ci}
14162306a36Sopenharmony_ci
14262306a36Sopenharmony_cistatic const ahd_reg_parse_entry_t SCSISEQ1_parse_table[] = {
14362306a36Sopenharmony_ci	{ "ALTSTIM",		0x01, 0x01 },
14462306a36Sopenharmony_ci	{ "ENAUTOATNP",		0x02, 0x02 },
14562306a36Sopenharmony_ci	{ "MANUALP",		0x0c, 0x0c },
14662306a36Sopenharmony_ci	{ "ENRSELI",		0x10, 0x10 },
14762306a36Sopenharmony_ci	{ "ENSELI",		0x20, 0x20 },
14862306a36Sopenharmony_ci	{ "MANUALCTL",		0x40, 0x40 }
14962306a36Sopenharmony_ci};
15062306a36Sopenharmony_ci
15162306a36Sopenharmony_ciint
15262306a36Sopenharmony_ciahd_scsiseq1_print(u_int regvalue, u_int *cur_col, u_int wrap)
15362306a36Sopenharmony_ci{
15462306a36Sopenharmony_ci	return (ahd_print_register(SCSISEQ1_parse_table, 6, "SCSISEQ1",
15562306a36Sopenharmony_ci	    0x3b, regvalue, cur_col, wrap));
15662306a36Sopenharmony_ci}
15762306a36Sopenharmony_ci
15862306a36Sopenharmony_cistatic const ahd_reg_parse_entry_t DFFSTAT_parse_table[] = {
15962306a36Sopenharmony_ci	{ "CURRFIFO_0",		0x00, 0x03 },
16062306a36Sopenharmony_ci	{ "CURRFIFO_1",		0x01, 0x03 },
16162306a36Sopenharmony_ci	{ "CURRFIFO_NONE",	0x03, 0x03 },
16262306a36Sopenharmony_ci	{ "FIFO0FREE",		0x10, 0x10 },
16362306a36Sopenharmony_ci	{ "FIFO1FREE",		0x20, 0x20 },
16462306a36Sopenharmony_ci	{ "CURRFIFO",		0x03, 0x03 }
16562306a36Sopenharmony_ci};
16662306a36Sopenharmony_ci
16762306a36Sopenharmony_ciint
16862306a36Sopenharmony_ciahd_dffstat_print(u_int regvalue, u_int *cur_col, u_int wrap)
16962306a36Sopenharmony_ci{
17062306a36Sopenharmony_ci	return (ahd_print_register(DFFSTAT_parse_table, 6, "DFFSTAT",
17162306a36Sopenharmony_ci	    0x3f, regvalue, cur_col, wrap));
17262306a36Sopenharmony_ci}
17362306a36Sopenharmony_ci
17462306a36Sopenharmony_cistatic const ahd_reg_parse_entry_t SCSISIGI_parse_table[] = {
17562306a36Sopenharmony_ci	{ "P_DATAOUT",		0x00, 0xe0 },
17662306a36Sopenharmony_ci	{ "P_DATAOUT_DT",	0x20, 0xe0 },
17762306a36Sopenharmony_ci	{ "P_DATAIN",		0x40, 0xe0 },
17862306a36Sopenharmony_ci	{ "P_DATAIN_DT",	0x60, 0xe0 },
17962306a36Sopenharmony_ci	{ "P_COMMAND",		0x80, 0xe0 },
18062306a36Sopenharmony_ci	{ "P_MESGOUT",		0xa0, 0xe0 },
18162306a36Sopenharmony_ci	{ "P_STATUS",		0xc0, 0xe0 },
18262306a36Sopenharmony_ci	{ "P_MESGIN",		0xe0, 0xe0 },
18362306a36Sopenharmony_ci	{ "ACKI",		0x01, 0x01 },
18462306a36Sopenharmony_ci	{ "REQI",		0x02, 0x02 },
18562306a36Sopenharmony_ci	{ "BSYI",		0x04, 0x04 },
18662306a36Sopenharmony_ci	{ "SELI",		0x08, 0x08 },
18762306a36Sopenharmony_ci	{ "ATNI",		0x10, 0x10 },
18862306a36Sopenharmony_ci	{ "MSGI",		0x20, 0x20 },
18962306a36Sopenharmony_ci	{ "IOI",		0x40, 0x40 },
19062306a36Sopenharmony_ci	{ "CDI",		0x80, 0x80 },
19162306a36Sopenharmony_ci	{ "PHASE_MASK",		0xe0, 0xe0 }
19262306a36Sopenharmony_ci};
19362306a36Sopenharmony_ci
19462306a36Sopenharmony_ciint
19562306a36Sopenharmony_ciahd_scsisigi_print(u_int regvalue, u_int *cur_col, u_int wrap)
19662306a36Sopenharmony_ci{
19762306a36Sopenharmony_ci	return (ahd_print_register(SCSISIGI_parse_table, 17, "SCSISIGI",
19862306a36Sopenharmony_ci	    0x41, regvalue, cur_col, wrap));
19962306a36Sopenharmony_ci}
20062306a36Sopenharmony_ci
20162306a36Sopenharmony_cistatic const ahd_reg_parse_entry_t SCSIPHASE_parse_table[] = {
20262306a36Sopenharmony_ci	{ "DATA_OUT_PHASE",	0x01, 0x03 },
20362306a36Sopenharmony_ci	{ "DATA_IN_PHASE",	0x02, 0x03 },
20462306a36Sopenharmony_ci	{ "DATA_PHASE_MASK",	0x03, 0x03 },
20562306a36Sopenharmony_ci	{ "MSG_OUT_PHASE",	0x04, 0x04 },
20662306a36Sopenharmony_ci	{ "MSG_IN_PHASE",	0x08, 0x08 },
20762306a36Sopenharmony_ci	{ "COMMAND_PHASE",	0x10, 0x10 },
20862306a36Sopenharmony_ci	{ "STATUS_PHASE",	0x20, 0x20 }
20962306a36Sopenharmony_ci};
21062306a36Sopenharmony_ci
21162306a36Sopenharmony_ciint
21262306a36Sopenharmony_ciahd_scsiphase_print(u_int regvalue, u_int *cur_col, u_int wrap)
21362306a36Sopenharmony_ci{
21462306a36Sopenharmony_ci	return (ahd_print_register(SCSIPHASE_parse_table, 7, "SCSIPHASE",
21562306a36Sopenharmony_ci	    0x42, regvalue, cur_col, wrap));
21662306a36Sopenharmony_ci}
21762306a36Sopenharmony_ci
21862306a36Sopenharmony_ciint
21962306a36Sopenharmony_ciahd_scsibus_print(u_int regvalue, u_int *cur_col, u_int wrap)
22062306a36Sopenharmony_ci{
22162306a36Sopenharmony_ci	return (ahd_print_register(NULL, 0, "SCSIBUS",
22262306a36Sopenharmony_ci	    0x46, regvalue, cur_col, wrap));
22362306a36Sopenharmony_ci}
22462306a36Sopenharmony_ci
22562306a36Sopenharmony_cistatic const ahd_reg_parse_entry_t SELID_parse_table[] = {
22662306a36Sopenharmony_ci	{ "ONEBIT",		0x08, 0x08 },
22762306a36Sopenharmony_ci	{ "SELID_MASK",		0xf0, 0xf0 }
22862306a36Sopenharmony_ci};
22962306a36Sopenharmony_ci
23062306a36Sopenharmony_ciint
23162306a36Sopenharmony_ciahd_selid_print(u_int regvalue, u_int *cur_col, u_int wrap)
23262306a36Sopenharmony_ci{
23362306a36Sopenharmony_ci	return (ahd_print_register(SELID_parse_table, 2, "SELID",
23462306a36Sopenharmony_ci	    0x49, regvalue, cur_col, wrap));
23562306a36Sopenharmony_ci}
23662306a36Sopenharmony_ci
23762306a36Sopenharmony_cistatic const ahd_reg_parse_entry_t SIMODE0_parse_table[] = {
23862306a36Sopenharmony_ci	{ "ENARBDO",		0x01, 0x01 },
23962306a36Sopenharmony_ci	{ "ENSPIORDY",		0x02, 0x02 },
24062306a36Sopenharmony_ci	{ "ENOVERRUN",		0x04, 0x04 },
24162306a36Sopenharmony_ci	{ "ENIOERR",		0x08, 0x08 },
24262306a36Sopenharmony_ci	{ "ENSELINGO",		0x10, 0x10 },
24362306a36Sopenharmony_ci	{ "ENSELDI",		0x20, 0x20 },
24462306a36Sopenharmony_ci	{ "ENSELDO",		0x40, 0x40 }
24562306a36Sopenharmony_ci};
24662306a36Sopenharmony_ci
24762306a36Sopenharmony_ciint
24862306a36Sopenharmony_ciahd_simode0_print(u_int regvalue, u_int *cur_col, u_int wrap)
24962306a36Sopenharmony_ci{
25062306a36Sopenharmony_ci	return (ahd_print_register(SIMODE0_parse_table, 7, "SIMODE0",
25162306a36Sopenharmony_ci	    0x4b, regvalue, cur_col, wrap));
25262306a36Sopenharmony_ci}
25362306a36Sopenharmony_ci
25462306a36Sopenharmony_cistatic const ahd_reg_parse_entry_t SSTAT0_parse_table[] = {
25562306a36Sopenharmony_ci	{ "ARBDO",		0x01, 0x01 },
25662306a36Sopenharmony_ci	{ "SPIORDY",		0x02, 0x02 },
25762306a36Sopenharmony_ci	{ "OVERRUN",		0x04, 0x04 },
25862306a36Sopenharmony_ci	{ "IOERR",		0x08, 0x08 },
25962306a36Sopenharmony_ci	{ "SELINGO",		0x10, 0x10 },
26062306a36Sopenharmony_ci	{ "SELDI",		0x20, 0x20 },
26162306a36Sopenharmony_ci	{ "SELDO",		0x40, 0x40 },
26262306a36Sopenharmony_ci	{ "TARGET",		0x80, 0x80 }
26362306a36Sopenharmony_ci};
26462306a36Sopenharmony_ci
26562306a36Sopenharmony_ciint
26662306a36Sopenharmony_ciahd_sstat0_print(u_int regvalue, u_int *cur_col, u_int wrap)
26762306a36Sopenharmony_ci{
26862306a36Sopenharmony_ci	return (ahd_print_register(SSTAT0_parse_table, 8, "SSTAT0",
26962306a36Sopenharmony_ci	    0x4b, regvalue, cur_col, wrap));
27062306a36Sopenharmony_ci}
27162306a36Sopenharmony_ci
27262306a36Sopenharmony_cistatic const ahd_reg_parse_entry_t SSTAT1_parse_table[] = {
27362306a36Sopenharmony_ci	{ "REQINIT",		0x01, 0x01 },
27462306a36Sopenharmony_ci	{ "STRB2FAST",		0x02, 0x02 },
27562306a36Sopenharmony_ci	{ "SCSIPERR",		0x04, 0x04 },
27662306a36Sopenharmony_ci	{ "BUSFREE",		0x08, 0x08 },
27762306a36Sopenharmony_ci	{ "PHASEMIS",		0x10, 0x10 },
27862306a36Sopenharmony_ci	{ "SCSIRSTI",		0x20, 0x20 },
27962306a36Sopenharmony_ci	{ "ATNTARG",		0x40, 0x40 },
28062306a36Sopenharmony_ci	{ "SELTO",		0x80, 0x80 }
28162306a36Sopenharmony_ci};
28262306a36Sopenharmony_ci
28362306a36Sopenharmony_ciint
28462306a36Sopenharmony_ciahd_sstat1_print(u_int regvalue, u_int *cur_col, u_int wrap)
28562306a36Sopenharmony_ci{
28662306a36Sopenharmony_ci	return (ahd_print_register(SSTAT1_parse_table, 8, "SSTAT1",
28762306a36Sopenharmony_ci	    0x4c, regvalue, cur_col, wrap));
28862306a36Sopenharmony_ci}
28962306a36Sopenharmony_ci
29062306a36Sopenharmony_cistatic const ahd_reg_parse_entry_t SSTAT2_parse_table[] = {
29162306a36Sopenharmony_ci	{ "BUSFREE_LQO",	0x40, 0xc0 },
29262306a36Sopenharmony_ci	{ "BUSFREE_DFF0",	0x80, 0xc0 },
29362306a36Sopenharmony_ci	{ "BUSFREE_DFF1",	0xc0, 0xc0 },
29462306a36Sopenharmony_ci	{ "DMADONE",		0x01, 0x01 },
29562306a36Sopenharmony_ci	{ "SDONE",		0x02, 0x02 },
29662306a36Sopenharmony_ci	{ "WIDE_RES",		0x04, 0x04 },
29762306a36Sopenharmony_ci	{ "BSYX",		0x08, 0x08 },
29862306a36Sopenharmony_ci	{ "EXP_ACTIVE",		0x10, 0x10 },
29962306a36Sopenharmony_ci	{ "NONPACKREQ",		0x20, 0x20 },
30062306a36Sopenharmony_ci	{ "BUSFREETIME",	0xc0, 0xc0 }
30162306a36Sopenharmony_ci};
30262306a36Sopenharmony_ci
30362306a36Sopenharmony_ciint
30462306a36Sopenharmony_ciahd_sstat2_print(u_int regvalue, u_int *cur_col, u_int wrap)
30562306a36Sopenharmony_ci{
30662306a36Sopenharmony_ci	return (ahd_print_register(SSTAT2_parse_table, 10, "SSTAT2",
30762306a36Sopenharmony_ci	    0x4d, regvalue, cur_col, wrap));
30862306a36Sopenharmony_ci}
30962306a36Sopenharmony_ci
31062306a36Sopenharmony_cistatic const ahd_reg_parse_entry_t PERRDIAG_parse_table[] = {
31162306a36Sopenharmony_ci	{ "DTERR",		0x01, 0x01 },
31262306a36Sopenharmony_ci	{ "DGFORMERR",		0x02, 0x02 },
31362306a36Sopenharmony_ci	{ "CRCERR",		0x04, 0x04 },
31462306a36Sopenharmony_ci	{ "AIPERR",		0x08, 0x08 },
31562306a36Sopenharmony_ci	{ "PARITYERR",		0x10, 0x10 },
31662306a36Sopenharmony_ci	{ "PREVPHASE",		0x20, 0x20 },
31762306a36Sopenharmony_ci	{ "HIPERR",		0x40, 0x40 },
31862306a36Sopenharmony_ci	{ "HIZERO",		0x80, 0x80 }
31962306a36Sopenharmony_ci};
32062306a36Sopenharmony_ci
32162306a36Sopenharmony_ciint
32262306a36Sopenharmony_ciahd_perrdiag_print(u_int regvalue, u_int *cur_col, u_int wrap)
32362306a36Sopenharmony_ci{
32462306a36Sopenharmony_ci	return (ahd_print_register(PERRDIAG_parse_table, 8, "PERRDIAG",
32562306a36Sopenharmony_ci	    0x4e, regvalue, cur_col, wrap));
32662306a36Sopenharmony_ci}
32762306a36Sopenharmony_ci
32862306a36Sopenharmony_ciint
32962306a36Sopenharmony_ciahd_soffcnt_print(u_int regvalue, u_int *cur_col, u_int wrap)
33062306a36Sopenharmony_ci{
33162306a36Sopenharmony_ci	return (ahd_print_register(NULL, 0, "SOFFCNT",
33262306a36Sopenharmony_ci	    0x4f, regvalue, cur_col, wrap));
33362306a36Sopenharmony_ci}
33462306a36Sopenharmony_ci
33562306a36Sopenharmony_cistatic const ahd_reg_parse_entry_t LQISTAT0_parse_table[] = {
33662306a36Sopenharmony_ci	{ "LQIATNCMD",		0x01, 0x01 },
33762306a36Sopenharmony_ci	{ "LQIATNLQ",		0x02, 0x02 },
33862306a36Sopenharmony_ci	{ "LQIBADLQT",		0x04, 0x04 },
33962306a36Sopenharmony_ci	{ "LQICRCT2",		0x08, 0x08 },
34062306a36Sopenharmony_ci	{ "LQICRCT1",		0x10, 0x10 },
34162306a36Sopenharmony_ci	{ "LQIATNQAS",		0x20, 0x20 }
34262306a36Sopenharmony_ci};
34362306a36Sopenharmony_ci
34462306a36Sopenharmony_ciint
34562306a36Sopenharmony_ciahd_lqistat0_print(u_int regvalue, u_int *cur_col, u_int wrap)
34662306a36Sopenharmony_ci{
34762306a36Sopenharmony_ci	return (ahd_print_register(LQISTAT0_parse_table, 6, "LQISTAT0",
34862306a36Sopenharmony_ci	    0x50, regvalue, cur_col, wrap));
34962306a36Sopenharmony_ci}
35062306a36Sopenharmony_ci
35162306a36Sopenharmony_cistatic const ahd_reg_parse_entry_t LQISTAT1_parse_table[] = {
35262306a36Sopenharmony_ci	{ "LQIOVERI_NLQ",	0x01, 0x01 },
35362306a36Sopenharmony_ci	{ "LQIOVERI_LQ",	0x02, 0x02 },
35462306a36Sopenharmony_ci	{ "LQIBADLQI",		0x04, 0x04 },
35562306a36Sopenharmony_ci	{ "LQICRCI_NLQ",	0x08, 0x08 },
35662306a36Sopenharmony_ci	{ "LQICRCI_LQ",		0x10, 0x10 },
35762306a36Sopenharmony_ci	{ "LQIABORT",		0x20, 0x20 },
35862306a36Sopenharmony_ci	{ "LQIPHASE_NLQ",	0x40, 0x40 },
35962306a36Sopenharmony_ci	{ "LQIPHASE_LQ",	0x80, 0x80 }
36062306a36Sopenharmony_ci};
36162306a36Sopenharmony_ci
36262306a36Sopenharmony_ciint
36362306a36Sopenharmony_ciahd_lqistat1_print(u_int regvalue, u_int *cur_col, u_int wrap)
36462306a36Sopenharmony_ci{
36562306a36Sopenharmony_ci	return (ahd_print_register(LQISTAT1_parse_table, 8, "LQISTAT1",
36662306a36Sopenharmony_ci	    0x51, regvalue, cur_col, wrap));
36762306a36Sopenharmony_ci}
36862306a36Sopenharmony_ci
36962306a36Sopenharmony_cistatic const ahd_reg_parse_entry_t LQISTAT2_parse_table[] = {
37062306a36Sopenharmony_ci	{ "LQIGSAVAIL",		0x01, 0x01 },
37162306a36Sopenharmony_ci	{ "LQISTOPCMD",		0x02, 0x02 },
37262306a36Sopenharmony_ci	{ "LQISTOPLQ",		0x04, 0x04 },
37362306a36Sopenharmony_ci	{ "LQISTOPPKT",		0x08, 0x08 },
37462306a36Sopenharmony_ci	{ "LQIWAITFIFO",	0x10, 0x10 },
37562306a36Sopenharmony_ci	{ "LQIWORKONLQ",	0x20, 0x20 },
37662306a36Sopenharmony_ci	{ "LQIPHASE_OUTPKT",	0x40, 0x40 },
37762306a36Sopenharmony_ci	{ "PACKETIZED",		0x80, 0x80 }
37862306a36Sopenharmony_ci};
37962306a36Sopenharmony_ci
38062306a36Sopenharmony_ciint
38162306a36Sopenharmony_ciahd_lqistat2_print(u_int regvalue, u_int *cur_col, u_int wrap)
38262306a36Sopenharmony_ci{
38362306a36Sopenharmony_ci	return (ahd_print_register(LQISTAT2_parse_table, 8, "LQISTAT2",
38462306a36Sopenharmony_ci	    0x52, regvalue, cur_col, wrap));
38562306a36Sopenharmony_ci}
38662306a36Sopenharmony_ci
38762306a36Sopenharmony_cistatic const ahd_reg_parse_entry_t SSTAT3_parse_table[] = {
38862306a36Sopenharmony_ci	{ "OSRAMPERR",		0x01, 0x01 },
38962306a36Sopenharmony_ci	{ "NTRAMPERR",		0x02, 0x02 }
39062306a36Sopenharmony_ci};
39162306a36Sopenharmony_ci
39262306a36Sopenharmony_ciint
39362306a36Sopenharmony_ciahd_sstat3_print(u_int regvalue, u_int *cur_col, u_int wrap)
39462306a36Sopenharmony_ci{
39562306a36Sopenharmony_ci	return (ahd_print_register(SSTAT3_parse_table, 2, "SSTAT3",
39662306a36Sopenharmony_ci	    0x53, regvalue, cur_col, wrap));
39762306a36Sopenharmony_ci}
39862306a36Sopenharmony_ci
39962306a36Sopenharmony_cistatic const ahd_reg_parse_entry_t LQOSTAT0_parse_table[] = {
40062306a36Sopenharmony_ci	{ "LQOTCRC",		0x01, 0x01 },
40162306a36Sopenharmony_ci	{ "LQOATNPKT",		0x02, 0x02 },
40262306a36Sopenharmony_ci	{ "LQOATNLQ",		0x04, 0x04 },
40362306a36Sopenharmony_ci	{ "LQOSTOPT2",		0x08, 0x08 },
40462306a36Sopenharmony_ci	{ "LQOTARGSCBPERR",	0x10, 0x10 }
40562306a36Sopenharmony_ci};
40662306a36Sopenharmony_ci
40762306a36Sopenharmony_ciint
40862306a36Sopenharmony_ciahd_lqostat0_print(u_int regvalue, u_int *cur_col, u_int wrap)
40962306a36Sopenharmony_ci{
41062306a36Sopenharmony_ci	return (ahd_print_register(LQOSTAT0_parse_table, 5, "LQOSTAT0",
41162306a36Sopenharmony_ci	    0x54, regvalue, cur_col, wrap));
41262306a36Sopenharmony_ci}
41362306a36Sopenharmony_ci
41462306a36Sopenharmony_cistatic const ahd_reg_parse_entry_t LQOSTAT1_parse_table[] = {
41562306a36Sopenharmony_ci	{ "LQOPHACHGINPKT",	0x01, 0x01 },
41662306a36Sopenharmony_ci	{ "LQOBUSFREE",		0x02, 0x02 },
41762306a36Sopenharmony_ci	{ "LQOBADQAS",		0x04, 0x04 },
41862306a36Sopenharmony_ci	{ "LQOSTOPI2",		0x08, 0x08 },
41962306a36Sopenharmony_ci	{ "LQOINITSCBPERR",	0x10, 0x10 }
42062306a36Sopenharmony_ci};
42162306a36Sopenharmony_ci
42262306a36Sopenharmony_ciint
42362306a36Sopenharmony_ciahd_lqostat1_print(u_int regvalue, u_int *cur_col, u_int wrap)
42462306a36Sopenharmony_ci{
42562306a36Sopenharmony_ci	return (ahd_print_register(LQOSTAT1_parse_table, 5, "LQOSTAT1",
42662306a36Sopenharmony_ci	    0x55, regvalue, cur_col, wrap));
42762306a36Sopenharmony_ci}
42862306a36Sopenharmony_ci
42962306a36Sopenharmony_cistatic const ahd_reg_parse_entry_t LQOSTAT2_parse_table[] = {
43062306a36Sopenharmony_ci	{ "LQOSTOP0",		0x01, 0x01 },
43162306a36Sopenharmony_ci	{ "LQOPHACHGOUTPKT",	0x02, 0x02 },
43262306a36Sopenharmony_ci	{ "LQOWAITFIFO",	0x10, 0x10 },
43362306a36Sopenharmony_ci	{ "LQOPKT",		0xe0, 0xe0 }
43462306a36Sopenharmony_ci};
43562306a36Sopenharmony_ci
43662306a36Sopenharmony_ciint
43762306a36Sopenharmony_ciahd_lqostat2_print(u_int regvalue, u_int *cur_col, u_int wrap)
43862306a36Sopenharmony_ci{
43962306a36Sopenharmony_ci	return (ahd_print_register(LQOSTAT2_parse_table, 4, "LQOSTAT2",
44062306a36Sopenharmony_ci	    0x56, regvalue, cur_col, wrap));
44162306a36Sopenharmony_ci}
44262306a36Sopenharmony_ci
44362306a36Sopenharmony_cistatic const ahd_reg_parse_entry_t SIMODE1_parse_table[] = {
44462306a36Sopenharmony_ci	{ "ENREQINIT",		0x01, 0x01 },
44562306a36Sopenharmony_ci	{ "ENSTRB2FAST",	0x02, 0x02 },
44662306a36Sopenharmony_ci	{ "ENSCSIPERR",		0x04, 0x04 },
44762306a36Sopenharmony_ci	{ "ENBUSFREE",		0x08, 0x08 },
44862306a36Sopenharmony_ci	{ "ENPHASEMIS",		0x10, 0x10 },
44962306a36Sopenharmony_ci	{ "ENSCSIRST",		0x20, 0x20 },
45062306a36Sopenharmony_ci	{ "ENATNTARG",		0x40, 0x40 },
45162306a36Sopenharmony_ci	{ "ENSELTIMO",		0x80, 0x80 }
45262306a36Sopenharmony_ci};
45362306a36Sopenharmony_ci
45462306a36Sopenharmony_ciint
45562306a36Sopenharmony_ciahd_simode1_print(u_int regvalue, u_int *cur_col, u_int wrap)
45662306a36Sopenharmony_ci{
45762306a36Sopenharmony_ci	return (ahd_print_register(SIMODE1_parse_table, 8, "SIMODE1",
45862306a36Sopenharmony_ci	    0x57, regvalue, cur_col, wrap));
45962306a36Sopenharmony_ci}
46062306a36Sopenharmony_ci
46162306a36Sopenharmony_cistatic const ahd_reg_parse_entry_t DFFSXFRCTL_parse_table[] = {
46262306a36Sopenharmony_ci	{ "RSTCHN",		0x01, 0x01 },
46362306a36Sopenharmony_ci	{ "CLRCHN",		0x02, 0x02 },
46462306a36Sopenharmony_ci	{ "CLRSHCNT",		0x04, 0x04 },
46562306a36Sopenharmony_ci	{ "DFFBITBUCKET",	0x08, 0x08 }
46662306a36Sopenharmony_ci};
46762306a36Sopenharmony_ci
46862306a36Sopenharmony_ciint
46962306a36Sopenharmony_ciahd_dffsxfrctl_print(u_int regvalue, u_int *cur_col, u_int wrap)
47062306a36Sopenharmony_ci{
47162306a36Sopenharmony_ci	return (ahd_print_register(DFFSXFRCTL_parse_table, 4, "DFFSXFRCTL",
47262306a36Sopenharmony_ci	    0x5a, regvalue, cur_col, wrap));
47362306a36Sopenharmony_ci}
47462306a36Sopenharmony_ci
47562306a36Sopenharmony_cistatic const ahd_reg_parse_entry_t SEQINTSRC_parse_table[] = {
47662306a36Sopenharmony_ci	{ "CFG4TCMD",		0x01, 0x01 },
47762306a36Sopenharmony_ci	{ "CFG4ICMD",		0x02, 0x02 },
47862306a36Sopenharmony_ci	{ "CFG4TSTAT",		0x04, 0x04 },
47962306a36Sopenharmony_ci	{ "CFG4ISTAT",		0x08, 0x08 },
48062306a36Sopenharmony_ci	{ "CFG4DATA",		0x10, 0x10 },
48162306a36Sopenharmony_ci	{ "SAVEPTRS",		0x20, 0x20 },
48262306a36Sopenharmony_ci	{ "CTXTDONE",		0x40, 0x40 }
48362306a36Sopenharmony_ci};
48462306a36Sopenharmony_ci
48562306a36Sopenharmony_ciint
48662306a36Sopenharmony_ciahd_seqintsrc_print(u_int regvalue, u_int *cur_col, u_int wrap)
48762306a36Sopenharmony_ci{
48862306a36Sopenharmony_ci	return (ahd_print_register(SEQINTSRC_parse_table, 7, "SEQINTSRC",
48962306a36Sopenharmony_ci	    0x5b, regvalue, cur_col, wrap));
49062306a36Sopenharmony_ci}
49162306a36Sopenharmony_ci
49262306a36Sopenharmony_cistatic const ahd_reg_parse_entry_t SEQIMODE_parse_table[] = {
49362306a36Sopenharmony_ci	{ "ENCFG4TCMD",		0x01, 0x01 },
49462306a36Sopenharmony_ci	{ "ENCFG4ICMD",		0x02, 0x02 },
49562306a36Sopenharmony_ci	{ "ENCFG4TSTAT",	0x04, 0x04 },
49662306a36Sopenharmony_ci	{ "ENCFG4ISTAT",	0x08, 0x08 },
49762306a36Sopenharmony_ci	{ "ENCFG4DATA",		0x10, 0x10 },
49862306a36Sopenharmony_ci	{ "ENSAVEPTRS",		0x20, 0x20 },
49962306a36Sopenharmony_ci	{ "ENCTXTDONE",		0x40, 0x40 }
50062306a36Sopenharmony_ci};
50162306a36Sopenharmony_ci
50262306a36Sopenharmony_ciint
50362306a36Sopenharmony_ciahd_seqimode_print(u_int regvalue, u_int *cur_col, u_int wrap)
50462306a36Sopenharmony_ci{
50562306a36Sopenharmony_ci	return (ahd_print_register(SEQIMODE_parse_table, 7, "SEQIMODE",
50662306a36Sopenharmony_ci	    0x5c, regvalue, cur_col, wrap));
50762306a36Sopenharmony_ci}
50862306a36Sopenharmony_ci
50962306a36Sopenharmony_cistatic const ahd_reg_parse_entry_t MDFFSTAT_parse_table[] = {
51062306a36Sopenharmony_ci	{ "FIFOFREE",		0x01, 0x01 },
51162306a36Sopenharmony_ci	{ "DATAINFIFO",		0x02, 0x02 },
51262306a36Sopenharmony_ci	{ "DLZERO",		0x04, 0x04 },
51362306a36Sopenharmony_ci	{ "SHVALID",		0x08, 0x08 },
51462306a36Sopenharmony_ci	{ "LASTSDONE",		0x10, 0x10 },
51562306a36Sopenharmony_ci	{ "SHCNTMINUS1",	0x20, 0x20 },
51662306a36Sopenharmony_ci	{ "SHCNTNEGATIVE",	0x40, 0x40 }
51762306a36Sopenharmony_ci};
51862306a36Sopenharmony_ci
51962306a36Sopenharmony_ciint
52062306a36Sopenharmony_ciahd_mdffstat_print(u_int regvalue, u_int *cur_col, u_int wrap)
52162306a36Sopenharmony_ci{
52262306a36Sopenharmony_ci	return (ahd_print_register(MDFFSTAT_parse_table, 7, "MDFFSTAT",
52362306a36Sopenharmony_ci	    0x5d, regvalue, cur_col, wrap));
52462306a36Sopenharmony_ci}
52562306a36Sopenharmony_ci
52662306a36Sopenharmony_ciint
52762306a36Sopenharmony_ciahd_seloid_print(u_int regvalue, u_int *cur_col, u_int wrap)
52862306a36Sopenharmony_ci{
52962306a36Sopenharmony_ci	return (ahd_print_register(NULL, 0, "SELOID",
53062306a36Sopenharmony_ci	    0x6b, regvalue, cur_col, wrap));
53162306a36Sopenharmony_ci}
53262306a36Sopenharmony_ci
53362306a36Sopenharmony_cistatic const ahd_reg_parse_entry_t SG_STATE_parse_table[] = {
53462306a36Sopenharmony_ci	{ "SEGS_AVAIL",		0x01, 0x01 },
53562306a36Sopenharmony_ci	{ "LOADING_NEEDED",	0x02, 0x02 },
53662306a36Sopenharmony_ci	{ "FETCH_INPROG",	0x04, 0x04 }
53762306a36Sopenharmony_ci};
53862306a36Sopenharmony_ci
53962306a36Sopenharmony_ciint
54062306a36Sopenharmony_ciahd_sg_state_print(u_int regvalue, u_int *cur_col, u_int wrap)
54162306a36Sopenharmony_ci{
54262306a36Sopenharmony_ci	return (ahd_print_register(SG_STATE_parse_table, 3, "SG_STATE",
54362306a36Sopenharmony_ci	    0xa6, regvalue, cur_col, wrap));
54462306a36Sopenharmony_ci}
54562306a36Sopenharmony_ci
54662306a36Sopenharmony_cistatic const ahd_reg_parse_entry_t CCSCBCTL_parse_table[] = {
54762306a36Sopenharmony_ci	{ "CCSCBRESET",		0x01, 0x01 },
54862306a36Sopenharmony_ci	{ "CCSCBDIR",		0x04, 0x04 },
54962306a36Sopenharmony_ci	{ "CCSCBEN",		0x08, 0x08 },
55062306a36Sopenharmony_ci	{ "CCARREN",		0x10, 0x10 },
55162306a36Sopenharmony_ci	{ "ARRDONE",		0x40, 0x40 },
55262306a36Sopenharmony_ci	{ "CCSCBDONE",		0x80, 0x80 }
55362306a36Sopenharmony_ci};
55462306a36Sopenharmony_ci
55562306a36Sopenharmony_ciint
55662306a36Sopenharmony_ciahd_ccscbctl_print(u_int regvalue, u_int *cur_col, u_int wrap)
55762306a36Sopenharmony_ci{
55862306a36Sopenharmony_ci	return (ahd_print_register(CCSCBCTL_parse_table, 6, "CCSCBCTL",
55962306a36Sopenharmony_ci	    0xad, regvalue, cur_col, wrap));
56062306a36Sopenharmony_ci}
56162306a36Sopenharmony_ci
56262306a36Sopenharmony_cistatic const ahd_reg_parse_entry_t CCSGCTL_parse_table[] = {
56362306a36Sopenharmony_ci	{ "CCSGRESET",		0x01, 0x01 },
56462306a36Sopenharmony_ci	{ "SG_FETCH_REQ",	0x02, 0x02 },
56562306a36Sopenharmony_ci	{ "CCSGENACK",		0x08, 0x08 },
56662306a36Sopenharmony_ci	{ "SG_CACHE_AVAIL",	0x10, 0x10 },
56762306a36Sopenharmony_ci	{ "CCSGDONE",		0x80, 0x80 },
56862306a36Sopenharmony_ci	{ "CCSGEN",		0x0c, 0x0c }
56962306a36Sopenharmony_ci};
57062306a36Sopenharmony_ci
57162306a36Sopenharmony_ciint
57262306a36Sopenharmony_ciahd_ccsgctl_print(u_int regvalue, u_int *cur_col, u_int wrap)
57362306a36Sopenharmony_ci{
57462306a36Sopenharmony_ci	return (ahd_print_register(CCSGCTL_parse_table, 6, "CCSGCTL",
57562306a36Sopenharmony_ci	    0xad, regvalue, cur_col, wrap));
57662306a36Sopenharmony_ci}
57762306a36Sopenharmony_ci
57862306a36Sopenharmony_cistatic const ahd_reg_parse_entry_t SEQCTL0_parse_table[] = {
57962306a36Sopenharmony_ci	{ "LOADRAM",		0x01, 0x01 },
58062306a36Sopenharmony_ci	{ "SEQRESET",		0x02, 0x02 },
58162306a36Sopenharmony_ci	{ "STEP",		0x04, 0x04 },
58262306a36Sopenharmony_ci	{ "BRKADRINTEN",	0x08, 0x08 },
58362306a36Sopenharmony_ci	{ "FASTMODE",		0x10, 0x10 },
58462306a36Sopenharmony_ci	{ "FAILDIS",		0x20, 0x20 },
58562306a36Sopenharmony_ci	{ "PAUSEDIS",		0x40, 0x40 },
58662306a36Sopenharmony_ci	{ "PERRORDIS",		0x80, 0x80 }
58762306a36Sopenharmony_ci};
58862306a36Sopenharmony_ci
58962306a36Sopenharmony_ciint
59062306a36Sopenharmony_ciahd_seqctl0_print(u_int regvalue, u_int *cur_col, u_int wrap)
59162306a36Sopenharmony_ci{
59262306a36Sopenharmony_ci	return (ahd_print_register(SEQCTL0_parse_table, 8, "SEQCTL0",
59362306a36Sopenharmony_ci	    0xd6, regvalue, cur_col, wrap));
59462306a36Sopenharmony_ci}
59562306a36Sopenharmony_ci
59662306a36Sopenharmony_cistatic const ahd_reg_parse_entry_t SEQINTCTL_parse_table[] = {
59762306a36Sopenharmony_ci	{ "IRET",		0x01, 0x01 },
59862306a36Sopenharmony_ci	{ "INTMASK1",		0x02, 0x02 },
59962306a36Sopenharmony_ci	{ "INTMASK2",		0x04, 0x04 },
60062306a36Sopenharmony_ci	{ "SCS_SEQ_INT1M0",	0x08, 0x08 },
60162306a36Sopenharmony_ci	{ "SCS_SEQ_INT1M1",	0x10, 0x10 },
60262306a36Sopenharmony_ci	{ "INT1_CONTEXT",	0x20, 0x20 },
60362306a36Sopenharmony_ci	{ "INTVEC1DSL",		0x80, 0x80 }
60462306a36Sopenharmony_ci};
60562306a36Sopenharmony_ci
60662306a36Sopenharmony_ciint
60762306a36Sopenharmony_ciahd_seqintctl_print(u_int regvalue, u_int *cur_col, u_int wrap)
60862306a36Sopenharmony_ci{
60962306a36Sopenharmony_ci	return (ahd_print_register(SEQINTCTL_parse_table, 7, "SEQINTCTL",
61062306a36Sopenharmony_ci	    0xd9, regvalue, cur_col, wrap));
61162306a36Sopenharmony_ci}
61262306a36Sopenharmony_ci
61362306a36Sopenharmony_ciint
61462306a36Sopenharmony_ciahd_sram_base_print(u_int regvalue, u_int *cur_col, u_int wrap)
61562306a36Sopenharmony_ci{
61662306a36Sopenharmony_ci	return (ahd_print_register(NULL, 0, "SRAM_BASE",
61762306a36Sopenharmony_ci	    0x100, regvalue, cur_col, wrap));
61862306a36Sopenharmony_ci}
61962306a36Sopenharmony_ci
62062306a36Sopenharmony_ciint
62162306a36Sopenharmony_ciahd_qfreeze_count_print(u_int regvalue, u_int *cur_col, u_int wrap)
62262306a36Sopenharmony_ci{
62362306a36Sopenharmony_ci	return (ahd_print_register(NULL, 0, "QFREEZE_COUNT",
62462306a36Sopenharmony_ci	    0x132, regvalue, cur_col, wrap));
62562306a36Sopenharmony_ci}
62662306a36Sopenharmony_ci
62762306a36Sopenharmony_ciint
62862306a36Sopenharmony_ciahd_kernel_qfreeze_count_print(u_int regvalue, u_int *cur_col, u_int wrap)
62962306a36Sopenharmony_ci{
63062306a36Sopenharmony_ci	return (ahd_print_register(NULL, 0, "KERNEL_QFREEZE_COUNT",
63162306a36Sopenharmony_ci	    0x134, regvalue, cur_col, wrap));
63262306a36Sopenharmony_ci}
63362306a36Sopenharmony_ci
63462306a36Sopenharmony_ciint
63562306a36Sopenharmony_ciahd_saved_mode_print(u_int regvalue, u_int *cur_col, u_int wrap)
63662306a36Sopenharmony_ci{
63762306a36Sopenharmony_ci	return (ahd_print_register(NULL, 0, "SAVED_MODE",
63862306a36Sopenharmony_ci	    0x136, regvalue, cur_col, wrap));
63962306a36Sopenharmony_ci}
64062306a36Sopenharmony_ci
64162306a36Sopenharmony_cistatic const ahd_reg_parse_entry_t SEQ_FLAGS_parse_table[] = {
64262306a36Sopenharmony_ci	{ "NO_DISCONNECT",	0x01, 0x01 },
64362306a36Sopenharmony_ci	{ "SPHASE_PENDING",	0x02, 0x02 },
64462306a36Sopenharmony_ci	{ "DPHASE_PENDING",	0x04, 0x04 },
64562306a36Sopenharmony_ci	{ "CMDPHASE_PENDING",	0x08, 0x08 },
64662306a36Sopenharmony_ci	{ "TARG_CMD_PENDING",	0x10, 0x10 },
64762306a36Sopenharmony_ci	{ "DPHASE",		0x20, 0x20 },
64862306a36Sopenharmony_ci	{ "NO_CDB_SENT",	0x40, 0x40 },
64962306a36Sopenharmony_ci	{ "TARGET_CMD_IS_TAGGED",0x40, 0x40 },
65062306a36Sopenharmony_ci	{ "NOT_IDENTIFIED",	0x80, 0x80 }
65162306a36Sopenharmony_ci};
65262306a36Sopenharmony_ci
65362306a36Sopenharmony_ciint
65462306a36Sopenharmony_ciahd_seq_flags_print(u_int regvalue, u_int *cur_col, u_int wrap)
65562306a36Sopenharmony_ci{
65662306a36Sopenharmony_ci	return (ahd_print_register(SEQ_FLAGS_parse_table, 9, "SEQ_FLAGS",
65762306a36Sopenharmony_ci	    0x139, regvalue, cur_col, wrap));
65862306a36Sopenharmony_ci}
65962306a36Sopenharmony_ci
66062306a36Sopenharmony_cistatic const ahd_reg_parse_entry_t LASTPHASE_parse_table[] = {
66162306a36Sopenharmony_ci	{ "P_DATAOUT",		0x00, 0xe0 },
66262306a36Sopenharmony_ci	{ "P_DATAOUT_DT",	0x20, 0xe0 },
66362306a36Sopenharmony_ci	{ "P_DATAIN",		0x40, 0xe0 },
66462306a36Sopenharmony_ci	{ "P_DATAIN_DT",	0x60, 0xe0 },
66562306a36Sopenharmony_ci	{ "P_COMMAND",		0x80, 0xe0 },
66662306a36Sopenharmony_ci	{ "P_MESGOUT",		0xa0, 0xe0 },
66762306a36Sopenharmony_ci	{ "P_STATUS",		0xc0, 0xe0 },
66862306a36Sopenharmony_ci	{ "P_MESGIN",		0xe0, 0xe0 },
66962306a36Sopenharmony_ci	{ "P_BUSFREE",		0x01, 0x01 },
67062306a36Sopenharmony_ci	{ "MSGI",		0x20, 0x20 },
67162306a36Sopenharmony_ci	{ "IOI",		0x40, 0x40 },
67262306a36Sopenharmony_ci	{ "CDI",		0x80, 0x80 },
67362306a36Sopenharmony_ci	{ "PHASE_MASK",		0xe0, 0xe0 }
67462306a36Sopenharmony_ci};
67562306a36Sopenharmony_ci
67662306a36Sopenharmony_ciint
67762306a36Sopenharmony_ciahd_lastphase_print(u_int regvalue, u_int *cur_col, u_int wrap)
67862306a36Sopenharmony_ci{
67962306a36Sopenharmony_ci	return (ahd_print_register(LASTPHASE_parse_table, 13, "LASTPHASE",
68062306a36Sopenharmony_ci	    0x13c, regvalue, cur_col, wrap));
68162306a36Sopenharmony_ci}
68262306a36Sopenharmony_ci
68362306a36Sopenharmony_cistatic const ahd_reg_parse_entry_t SEQ_FLAGS2_parse_table[] = {
68462306a36Sopenharmony_ci	{ "PENDING_MK_MESSAGE",	0x01, 0x01 },
68562306a36Sopenharmony_ci	{ "TARGET_MSG_PENDING",	0x02, 0x02 },
68662306a36Sopenharmony_ci	{ "SELECTOUT_QFROZEN",	0x04, 0x04 }
68762306a36Sopenharmony_ci};
68862306a36Sopenharmony_ci
68962306a36Sopenharmony_ciint
69062306a36Sopenharmony_ciahd_seq_flags2_print(u_int regvalue, u_int *cur_col, u_int wrap)
69162306a36Sopenharmony_ci{
69262306a36Sopenharmony_ci	return (ahd_print_register(SEQ_FLAGS2_parse_table, 3, "SEQ_FLAGS2",
69362306a36Sopenharmony_ci	    0x14d, regvalue, cur_col, wrap));
69462306a36Sopenharmony_ci}
69562306a36Sopenharmony_ci
69662306a36Sopenharmony_ciint
69762306a36Sopenharmony_ciahd_mk_message_scb_print(u_int regvalue, u_int *cur_col, u_int wrap)
69862306a36Sopenharmony_ci{
69962306a36Sopenharmony_ci	return (ahd_print_register(NULL, 0, "MK_MESSAGE_SCB",
70062306a36Sopenharmony_ci	    0x160, regvalue, cur_col, wrap));
70162306a36Sopenharmony_ci}
70262306a36Sopenharmony_ci
70362306a36Sopenharmony_ciint
70462306a36Sopenharmony_ciahd_mk_message_scsiid_print(u_int regvalue, u_int *cur_col, u_int wrap)
70562306a36Sopenharmony_ci{
70662306a36Sopenharmony_ci	return (ahd_print_register(NULL, 0, "MK_MESSAGE_SCSIID",
70762306a36Sopenharmony_ci	    0x162, regvalue, cur_col, wrap));
70862306a36Sopenharmony_ci}
70962306a36Sopenharmony_ci
71062306a36Sopenharmony_ciint
71162306a36Sopenharmony_ciahd_scb_base_print(u_int regvalue, u_int *cur_col, u_int wrap)
71262306a36Sopenharmony_ci{
71362306a36Sopenharmony_ci	return (ahd_print_register(NULL, 0, "SCB_BASE",
71462306a36Sopenharmony_ci	    0x180, regvalue, cur_col, wrap));
71562306a36Sopenharmony_ci}
71662306a36Sopenharmony_ci
71762306a36Sopenharmony_cistatic const ahd_reg_parse_entry_t SCB_CONTROL_parse_table[] = {
71862306a36Sopenharmony_ci	{ "SCB_TAG_TYPE",	0x03, 0x03 },
71962306a36Sopenharmony_ci	{ "DISCONNECTED",	0x04, 0x04 },
72062306a36Sopenharmony_ci	{ "STATUS_RCVD",	0x08, 0x08 },
72162306a36Sopenharmony_ci	{ "MK_MESSAGE",		0x10, 0x10 },
72262306a36Sopenharmony_ci	{ "TAG_ENB",		0x20, 0x20 },
72362306a36Sopenharmony_ci	{ "DISCENB",		0x40, 0x40 },
72462306a36Sopenharmony_ci	{ "TARGET_SCB",		0x80, 0x80 }
72562306a36Sopenharmony_ci};
72662306a36Sopenharmony_ci
72762306a36Sopenharmony_ciint
72862306a36Sopenharmony_ciahd_scb_control_print(u_int regvalue, u_int *cur_col, u_int wrap)
72962306a36Sopenharmony_ci{
73062306a36Sopenharmony_ci	return (ahd_print_register(SCB_CONTROL_parse_table, 7, "SCB_CONTROL",
73162306a36Sopenharmony_ci	    0x192, regvalue, cur_col, wrap));
73262306a36Sopenharmony_ci}
73362306a36Sopenharmony_ci
73462306a36Sopenharmony_cistatic const ahd_reg_parse_entry_t SCB_SCSIID_parse_table[] = {
73562306a36Sopenharmony_ci	{ "OID",		0x0f, 0x0f },
73662306a36Sopenharmony_ci	{ "TID",		0xf0, 0xf0 }
73762306a36Sopenharmony_ci};
73862306a36Sopenharmony_ci
73962306a36Sopenharmony_ciint
74062306a36Sopenharmony_ciahd_scb_scsiid_print(u_int regvalue, u_int *cur_col, u_int wrap)
74162306a36Sopenharmony_ci{
74262306a36Sopenharmony_ci	return (ahd_print_register(SCB_SCSIID_parse_table, 2, "SCB_SCSIID",
74362306a36Sopenharmony_ci	    0x193, regvalue, cur_col, wrap));
74462306a36Sopenharmony_ci}
74562306a36Sopenharmony_ci
746