11da177e4SLinus Torvalds/*
21da177e4SLinus Torvalds * DO NOT EDIT - This file is automatically generated
31da177e4SLinus Torvalds *		 from the following source files:
41da177e4SLinus Torvalds *
51da177e4SLinus Torvalds * $Id: //depot/aic7xxx/aic7xxx/aic79xx.seq#94 $
61da177e4SLinus Torvalds * $Id: //depot/aic7xxx/aic7xxx/aic79xx.reg#70 $
71da177e4SLinus Torvalds */
81da177e4SLinus Torvaldstypedef int (ahd_reg_print_t)(u_int, u_int *, u_int);
91da177e4SLinus Torvaldstypedef struct ahd_reg_parse_entry {
101da177e4SLinus Torvalds	char	*name;
111da177e4SLinus Torvalds	uint8_t	 value;
121da177e4SLinus Torvalds	uint8_t	 mask;
131da177e4SLinus Torvalds} ahd_reg_parse_entry_t;
141da177e4SLinus Torvalds
151da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
161da177e4SLinus Torvaldsahd_reg_print_t ahd_mode_ptr_print;
171da177e4SLinus Torvalds#else
181da177e4SLinus Torvalds#define ahd_mode_ptr_print(regvalue, cur_col, wrap) \
191da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "MODE_PTR", 0x00, regvalue, cur_col, wrap)
201da177e4SLinus Torvalds#endif
211da177e4SLinus Torvalds
221da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
231da177e4SLinus Torvaldsahd_reg_print_t ahd_intstat_print;
241da177e4SLinus Torvalds#else
251da177e4SLinus Torvalds#define ahd_intstat_print(regvalue, cur_col, wrap) \
261da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "INTSTAT", 0x01, regvalue, cur_col, wrap)
271da177e4SLinus Torvalds#endif
281da177e4SLinus Torvalds
291da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
301da177e4SLinus Torvaldsahd_reg_print_t ahd_seqintcode_print;
311da177e4SLinus Torvalds#else
321da177e4SLinus Torvalds#define ahd_seqintcode_print(regvalue, cur_col, wrap) \
331da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SEQINTCODE", 0x02, regvalue, cur_col, wrap)
341da177e4SLinus Torvalds#endif
351da177e4SLinus Torvalds
361da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
371da177e4SLinus Torvaldsahd_reg_print_t ahd_clrint_print;
381da177e4SLinus Torvalds#else
391da177e4SLinus Torvalds#define ahd_clrint_print(regvalue, cur_col, wrap) \
401da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "CLRINT", 0x03, regvalue, cur_col, wrap)
411da177e4SLinus Torvalds#endif
421da177e4SLinus Torvalds
431da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
441da177e4SLinus Torvaldsahd_reg_print_t ahd_error_print;
451da177e4SLinus Torvalds#else
461da177e4SLinus Torvalds#define ahd_error_print(regvalue, cur_col, wrap) \
471da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "ERROR", 0x04, regvalue, cur_col, wrap)
481da177e4SLinus Torvalds#endif
491da177e4SLinus Torvalds
501da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
511da177e4SLinus Torvaldsahd_reg_print_t ahd_clrerr_print;
521da177e4SLinus Torvalds#else
531da177e4SLinus Torvalds#define ahd_clrerr_print(regvalue, cur_col, wrap) \
541da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "CLRERR", 0x04, regvalue, cur_col, wrap)
551da177e4SLinus Torvalds#endif
561da177e4SLinus Torvalds
571da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
581da177e4SLinus Torvaldsahd_reg_print_t ahd_hcntrl_print;
591da177e4SLinus Torvalds#else
601da177e4SLinus Torvalds#define ahd_hcntrl_print(regvalue, cur_col, wrap) \
611da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "HCNTRL", 0x05, regvalue, cur_col, wrap)
621da177e4SLinus Torvalds#endif
631da177e4SLinus Torvalds
641da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
651da177e4SLinus Torvaldsahd_reg_print_t ahd_hnscb_qoff_print;
661da177e4SLinus Torvalds#else
671da177e4SLinus Torvalds#define ahd_hnscb_qoff_print(regvalue, cur_col, wrap) \
681da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "HNSCB_QOFF", 0x06, regvalue, cur_col, wrap)
691da177e4SLinus Torvalds#endif
701da177e4SLinus Torvalds
711da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
721da177e4SLinus Torvaldsahd_reg_print_t ahd_hescb_qoff_print;
731da177e4SLinus Torvalds#else
741da177e4SLinus Torvalds#define ahd_hescb_qoff_print(regvalue, cur_col, wrap) \
751da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "HESCB_QOFF", 0x08, regvalue, cur_col, wrap)
761da177e4SLinus Torvalds#endif
771da177e4SLinus Torvalds
781da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
791da177e4SLinus Torvaldsahd_reg_print_t ahd_hs_mailbox_print;
801da177e4SLinus Torvalds#else
811da177e4SLinus Torvalds#define ahd_hs_mailbox_print(regvalue, cur_col, wrap) \
821da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "HS_MAILBOX", 0x0b, regvalue, cur_col, wrap)
831da177e4SLinus Torvalds#endif
841da177e4SLinus Torvalds
851da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
861da177e4SLinus Torvaldsahd_reg_print_t ahd_clrseqintstat_print;
871da177e4SLinus Torvalds#else
881da177e4SLinus Torvalds#define ahd_clrseqintstat_print(regvalue, cur_col, wrap) \
891da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "CLRSEQINTSTAT", 0x0c, regvalue, cur_col, wrap)
901da177e4SLinus Torvalds#endif
911da177e4SLinus Torvalds
921da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
931da177e4SLinus Torvaldsahd_reg_print_t ahd_seqintstat_print;
941da177e4SLinus Torvalds#else
951da177e4SLinus Torvalds#define ahd_seqintstat_print(regvalue, cur_col, wrap) \
961da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SEQINTSTAT", 0x0c, regvalue, cur_col, wrap)
971da177e4SLinus Torvalds#endif
981da177e4SLinus Torvalds
991da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
1001da177e4SLinus Torvaldsahd_reg_print_t ahd_swtimer_print;
1011da177e4SLinus Torvalds#else
1021da177e4SLinus Torvalds#define ahd_swtimer_print(regvalue, cur_col, wrap) \
1031da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SWTIMER", 0x0e, regvalue, cur_col, wrap)
1041da177e4SLinus Torvalds#endif
1051da177e4SLinus Torvalds
1061da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
1071da177e4SLinus Torvaldsahd_reg_print_t ahd_snscb_qoff_print;
1081da177e4SLinus Torvalds#else
1091da177e4SLinus Torvalds#define ahd_snscb_qoff_print(regvalue, cur_col, wrap) \
1101da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SNSCB_QOFF", 0x10, regvalue, cur_col, wrap)
1111da177e4SLinus Torvalds#endif
1121da177e4SLinus Torvalds
1131da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
1141da177e4SLinus Torvaldsahd_reg_print_t ahd_sescb_qoff_print;
1151da177e4SLinus Torvalds#else
1161da177e4SLinus Torvalds#define ahd_sescb_qoff_print(regvalue, cur_col, wrap) \
1171da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SESCB_QOFF", 0x12, regvalue, cur_col, wrap)
1181da177e4SLinus Torvalds#endif
1191da177e4SLinus Torvalds
1201da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
1211da177e4SLinus Torvaldsahd_reg_print_t ahd_sdscb_qoff_print;
1221da177e4SLinus Torvalds#else
1231da177e4SLinus Torvalds#define ahd_sdscb_qoff_print(regvalue, cur_col, wrap) \
1241da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SDSCB_QOFF", 0x14, regvalue, cur_col, wrap)
1251da177e4SLinus Torvalds#endif
1261da177e4SLinus Torvalds
1271da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
1281da177e4SLinus Torvaldsahd_reg_print_t ahd_qoff_ctlsta_print;
1291da177e4SLinus Torvalds#else
1301da177e4SLinus Torvalds#define ahd_qoff_ctlsta_print(regvalue, cur_col, wrap) \
1311da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "QOFF_CTLSTA", 0x16, regvalue, cur_col, wrap)
1321da177e4SLinus Torvalds#endif
1331da177e4SLinus Torvalds
1341da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
1351da177e4SLinus Torvaldsahd_reg_print_t ahd_intctl_print;
1361da177e4SLinus Torvalds#else
1371da177e4SLinus Torvalds#define ahd_intctl_print(regvalue, cur_col, wrap) \
1381da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "INTCTL", 0x18, regvalue, cur_col, wrap)
1391da177e4SLinus Torvalds#endif
1401da177e4SLinus Torvalds
1411da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
1421da177e4SLinus Torvaldsahd_reg_print_t ahd_dfcntrl_print;
1431da177e4SLinus Torvalds#else
1441da177e4SLinus Torvalds#define ahd_dfcntrl_print(regvalue, cur_col, wrap) \
1451da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "DFCNTRL", 0x19, regvalue, cur_col, wrap)
1461da177e4SLinus Torvalds#endif
1471da177e4SLinus Torvalds
1481da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
1491da177e4SLinus Torvaldsahd_reg_print_t ahd_dscommand0_print;
1501da177e4SLinus Torvalds#else
1511da177e4SLinus Torvalds#define ahd_dscommand0_print(regvalue, cur_col, wrap) \
1521da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "DSCOMMAND0", 0x19, regvalue, cur_col, wrap)
1531da177e4SLinus Torvalds#endif
1541da177e4SLinus Torvalds
1551da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
1561da177e4SLinus Torvaldsahd_reg_print_t ahd_dfstatus_print;
1571da177e4SLinus Torvalds#else
1581da177e4SLinus Torvalds#define ahd_dfstatus_print(regvalue, cur_col, wrap) \
1591da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "DFSTATUS", 0x1a, regvalue, cur_col, wrap)
1601da177e4SLinus Torvalds#endif
1611da177e4SLinus Torvalds
1621da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
1631da177e4SLinus Torvaldsahd_reg_print_t ahd_sg_cache_shadow_print;
1641da177e4SLinus Torvalds#else
1651da177e4SLinus Torvalds#define ahd_sg_cache_shadow_print(regvalue, cur_col, wrap) \
1661da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SG_CACHE_SHADOW", 0x1b, regvalue, cur_col, wrap)
1671da177e4SLinus Torvalds#endif
1681da177e4SLinus Torvalds
1691da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
1701da177e4SLinus Torvaldsahd_reg_print_t ahd_arbctl_print;
1711da177e4SLinus Torvalds#else
1721da177e4SLinus Torvalds#define ahd_arbctl_print(regvalue, cur_col, wrap) \
1731da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "ARBCTL", 0x1b, regvalue, cur_col, wrap)
1741da177e4SLinus Torvalds#endif
1751da177e4SLinus Torvalds
1761da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
1771da177e4SLinus Torvaldsahd_reg_print_t ahd_sg_cache_pre_print;
1781da177e4SLinus Torvalds#else
1791da177e4SLinus Torvalds#define ahd_sg_cache_pre_print(regvalue, cur_col, wrap) \
1801da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SG_CACHE_PRE", 0x1b, regvalue, cur_col, wrap)
1811da177e4SLinus Torvalds#endif
1821da177e4SLinus Torvalds
1831da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
1841da177e4SLinus Torvaldsahd_reg_print_t ahd_lqin_print;
1851da177e4SLinus Torvalds#else
1861da177e4SLinus Torvalds#define ahd_lqin_print(regvalue, cur_col, wrap) \
1871da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "LQIN", 0x20, regvalue, cur_col, wrap)
1881da177e4SLinus Torvalds#endif
1891da177e4SLinus Torvalds
1901da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
1911da177e4SLinus Torvaldsahd_reg_print_t ahd_typeptr_print;
1921da177e4SLinus Torvalds#else
1931da177e4SLinus Torvalds#define ahd_typeptr_print(regvalue, cur_col, wrap) \
1941da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "TYPEPTR", 0x20, regvalue, cur_col, wrap)
1951da177e4SLinus Torvalds#endif
1961da177e4SLinus Torvalds
1971da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
1981da177e4SLinus Torvaldsahd_reg_print_t ahd_tagptr_print;
1991da177e4SLinus Torvalds#else
2001da177e4SLinus Torvalds#define ahd_tagptr_print(regvalue, cur_col, wrap) \
2011da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "TAGPTR", 0x21, regvalue, cur_col, wrap)
2021da177e4SLinus Torvalds#endif
2031da177e4SLinus Torvalds
2041da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
2051da177e4SLinus Torvaldsahd_reg_print_t ahd_lunptr_print;
2061da177e4SLinus Torvalds#else
2071da177e4SLinus Torvalds#define ahd_lunptr_print(regvalue, cur_col, wrap) \
2081da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "LUNPTR", 0x22, regvalue, cur_col, wrap)
2091da177e4SLinus Torvalds#endif
2101da177e4SLinus Torvalds
2111da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
2121da177e4SLinus Torvaldsahd_reg_print_t ahd_datalenptr_print;
2131da177e4SLinus Torvalds#else
2141da177e4SLinus Torvalds#define ahd_datalenptr_print(regvalue, cur_col, wrap) \
2151da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "DATALENPTR", 0x23, regvalue, cur_col, wrap)
2161da177e4SLinus Torvalds#endif
2171da177e4SLinus Torvalds
2181da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
2191da177e4SLinus Torvaldsahd_reg_print_t ahd_statlenptr_print;
2201da177e4SLinus Torvalds#else
2211da177e4SLinus Torvalds#define ahd_statlenptr_print(regvalue, cur_col, wrap) \
2221da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "STATLENPTR", 0x24, regvalue, cur_col, wrap)
2231da177e4SLinus Torvalds#endif
2241da177e4SLinus Torvalds
2251da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
2261da177e4SLinus Torvaldsahd_reg_print_t ahd_cmdlenptr_print;
2271da177e4SLinus Torvalds#else
2281da177e4SLinus Torvalds#define ahd_cmdlenptr_print(regvalue, cur_col, wrap) \
2291da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "CMDLENPTR", 0x25, regvalue, cur_col, wrap)
2301da177e4SLinus Torvalds#endif
2311da177e4SLinus Torvalds
2321da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
2331da177e4SLinus Torvaldsahd_reg_print_t ahd_attrptr_print;
2341da177e4SLinus Torvalds#else
2351da177e4SLinus Torvalds#define ahd_attrptr_print(regvalue, cur_col, wrap) \
2361da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "ATTRPTR", 0x26, regvalue, cur_col, wrap)
2371da177e4SLinus Torvalds#endif
2381da177e4SLinus Torvalds
2391da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
2401da177e4SLinus Torvaldsahd_reg_print_t ahd_flagptr_print;
2411da177e4SLinus Torvalds#else
2421da177e4SLinus Torvalds#define ahd_flagptr_print(regvalue, cur_col, wrap) \
2431da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "FLAGPTR", 0x27, regvalue, cur_col, wrap)
2441da177e4SLinus Torvalds#endif
2451da177e4SLinus Torvalds
2461da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
2471da177e4SLinus Torvaldsahd_reg_print_t ahd_cmdptr_print;
2481da177e4SLinus Torvalds#else
2491da177e4SLinus Torvalds#define ahd_cmdptr_print(regvalue, cur_col, wrap) \
2501da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "CMDPTR", 0x28, regvalue, cur_col, wrap)
2511da177e4SLinus Torvalds#endif
2521da177e4SLinus Torvalds
2531da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
2541da177e4SLinus Torvaldsahd_reg_print_t ahd_qnextptr_print;
2551da177e4SLinus Torvalds#else
2561da177e4SLinus Torvalds#define ahd_qnextptr_print(regvalue, cur_col, wrap) \
2571da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "QNEXTPTR", 0x29, regvalue, cur_col, wrap)
2581da177e4SLinus Torvalds#endif
2591da177e4SLinus Torvalds
2601da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
2611da177e4SLinus Torvaldsahd_reg_print_t ahd_idptr_print;
2621da177e4SLinus Torvalds#else
2631da177e4SLinus Torvalds#define ahd_idptr_print(regvalue, cur_col, wrap) \
2641da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "IDPTR", 0x2a, regvalue, cur_col, wrap)
2651da177e4SLinus Torvalds#endif
2661da177e4SLinus Torvalds
2671da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
2681da177e4SLinus Torvaldsahd_reg_print_t ahd_abrtbyteptr_print;
2691da177e4SLinus Torvalds#else
2701da177e4SLinus Torvalds#define ahd_abrtbyteptr_print(regvalue, cur_col, wrap) \
2711da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "ABRTBYTEPTR", 0x2b, regvalue, cur_col, wrap)
2721da177e4SLinus Torvalds#endif
2731da177e4SLinus Torvalds
2741da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
2751da177e4SLinus Torvaldsahd_reg_print_t ahd_abrtbitptr_print;
2761da177e4SLinus Torvalds#else
2771da177e4SLinus Torvalds#define ahd_abrtbitptr_print(regvalue, cur_col, wrap) \
2781da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "ABRTBITPTR", 0x2c, regvalue, cur_col, wrap)
2791da177e4SLinus Torvalds#endif
2801da177e4SLinus Torvalds
2811da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
2821da177e4SLinus Torvaldsahd_reg_print_t ahd_maxcmdbytes_print;
2831da177e4SLinus Torvalds#else
2841da177e4SLinus Torvalds#define ahd_maxcmdbytes_print(regvalue, cur_col, wrap) \
2851da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "MAXCMDBYTES", 0x2d, regvalue, cur_col, wrap)
2861da177e4SLinus Torvalds#endif
2871da177e4SLinus Torvalds
2881da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
2891da177e4SLinus Torvaldsahd_reg_print_t ahd_maxcmd2rcv_print;
2901da177e4SLinus Torvalds#else
2911da177e4SLinus Torvalds#define ahd_maxcmd2rcv_print(regvalue, cur_col, wrap) \
2921da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "MAXCMD2RCV", 0x2e, regvalue, cur_col, wrap)
2931da177e4SLinus Torvalds#endif
2941da177e4SLinus Torvalds
2951da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
2961da177e4SLinus Torvaldsahd_reg_print_t ahd_shortthresh_print;
2971da177e4SLinus Torvalds#else
2981da177e4SLinus Torvalds#define ahd_shortthresh_print(regvalue, cur_col, wrap) \
2991da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SHORTTHRESH", 0x2f, regvalue, cur_col, wrap)
3001da177e4SLinus Torvalds#endif
3011da177e4SLinus Torvalds
3021da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
3031da177e4SLinus Torvaldsahd_reg_print_t ahd_lunlen_print;
3041da177e4SLinus Torvalds#else
3051da177e4SLinus Torvalds#define ahd_lunlen_print(regvalue, cur_col, wrap) \
3061da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "LUNLEN", 0x30, regvalue, cur_col, wrap)
3071da177e4SLinus Torvalds#endif
3081da177e4SLinus Torvalds
3091da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
3101da177e4SLinus Torvaldsahd_reg_print_t ahd_cdblimit_print;
3111da177e4SLinus Torvalds#else
3121da177e4SLinus Torvalds#define ahd_cdblimit_print(regvalue, cur_col, wrap) \
3131da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "CDBLIMIT", 0x31, regvalue, cur_col, wrap)
3141da177e4SLinus Torvalds#endif
3151da177e4SLinus Torvalds
3161da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
3171da177e4SLinus Torvaldsahd_reg_print_t ahd_maxcmd_print;
3181da177e4SLinus Torvalds#else
3191da177e4SLinus Torvalds#define ahd_maxcmd_print(regvalue, cur_col, wrap) \
3201da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "MAXCMD", 0x32, regvalue, cur_col, wrap)
3211da177e4SLinus Torvalds#endif
3221da177e4SLinus Torvalds
3231da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
3241da177e4SLinus Torvaldsahd_reg_print_t ahd_maxcmdcnt_print;
3251da177e4SLinus Torvalds#else
3261da177e4SLinus Torvalds#define ahd_maxcmdcnt_print(regvalue, cur_col, wrap) \
3271da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "MAXCMDCNT", 0x33, regvalue, cur_col, wrap)
3281da177e4SLinus Torvalds#endif
3291da177e4SLinus Torvalds
3301da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
3311da177e4SLinus Torvaldsahd_reg_print_t ahd_lqrsvd01_print;
3321da177e4SLinus Torvalds#else
3331da177e4SLinus Torvalds#define ahd_lqrsvd01_print(regvalue, cur_col, wrap) \
3341da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "LQRSVD01", 0x34, regvalue, cur_col, wrap)
3351da177e4SLinus Torvalds#endif
3361da177e4SLinus Torvalds
3371da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
3381da177e4SLinus Torvaldsahd_reg_print_t ahd_lqrsvd16_print;
3391da177e4SLinus Torvalds#else
3401da177e4SLinus Torvalds#define ahd_lqrsvd16_print(regvalue, cur_col, wrap) \
3411da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "LQRSVD16", 0x35, regvalue, cur_col, wrap)
3421da177e4SLinus Torvalds#endif
3431da177e4SLinus Torvalds
3441da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
3451da177e4SLinus Torvaldsahd_reg_print_t ahd_lqrsvd17_print;
3461da177e4SLinus Torvalds#else
3471da177e4SLinus Torvalds#define ahd_lqrsvd17_print(regvalue, cur_col, wrap) \
3481da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "LQRSVD17", 0x36, regvalue, cur_col, wrap)
3491da177e4SLinus Torvalds#endif
3501da177e4SLinus Torvalds
3511da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
3521da177e4SLinus Torvaldsahd_reg_print_t ahd_cmdrsvd0_print;
3531da177e4SLinus Torvalds#else
3541da177e4SLinus Torvalds#define ahd_cmdrsvd0_print(regvalue, cur_col, wrap) \
3551da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "CMDRSVD0", 0x37, regvalue, cur_col, wrap)
3561da177e4SLinus Torvalds#endif
3571da177e4SLinus Torvalds
3581da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
3591da177e4SLinus Torvaldsahd_reg_print_t ahd_lqctl0_print;
3601da177e4SLinus Torvalds#else
3611da177e4SLinus Torvalds#define ahd_lqctl0_print(regvalue, cur_col, wrap) \
3621da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "LQCTL0", 0x38, regvalue, cur_col, wrap)
3631da177e4SLinus Torvalds#endif
3641da177e4SLinus Torvalds
3651da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
3661da177e4SLinus Torvaldsahd_reg_print_t ahd_lqctl1_print;
3671da177e4SLinus Torvalds#else
3681da177e4SLinus Torvalds#define ahd_lqctl1_print(regvalue, cur_col, wrap) \
3691da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "LQCTL1", 0x38, regvalue, cur_col, wrap)
3701da177e4SLinus Torvalds#endif
3711da177e4SLinus Torvalds
3721da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
3731da177e4SLinus Torvaldsahd_reg_print_t ahd_scsbist0_print;
3741da177e4SLinus Torvalds#else
3751da177e4SLinus Torvalds#define ahd_scsbist0_print(regvalue, cur_col, wrap) \
3761da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SCSBIST0", 0x39, regvalue, cur_col, wrap)
3771da177e4SLinus Torvalds#endif
3781da177e4SLinus Torvalds
3791da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
3801da177e4SLinus Torvaldsahd_reg_print_t ahd_lqctl2_print;
3811da177e4SLinus Torvalds#else
3821da177e4SLinus Torvalds#define ahd_lqctl2_print(regvalue, cur_col, wrap) \
3831da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "LQCTL2", 0x39, regvalue, cur_col, wrap)
3841da177e4SLinus Torvalds#endif
3851da177e4SLinus Torvalds
3861da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
3871da177e4SLinus Torvaldsahd_reg_print_t ahd_scsbist1_print;
3881da177e4SLinus Torvalds#else
3891da177e4SLinus Torvalds#define ahd_scsbist1_print(regvalue, cur_col, wrap) \
3901da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SCSBIST1", 0x3a, regvalue, cur_col, wrap)
3911da177e4SLinus Torvalds#endif
3921da177e4SLinus Torvalds
3931da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
3941da177e4SLinus Torvaldsahd_reg_print_t ahd_scsiseq0_print;
3951da177e4SLinus Torvalds#else
3961da177e4SLinus Torvalds#define ahd_scsiseq0_print(regvalue, cur_col, wrap) \
3971da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SCSISEQ0", 0x3a, regvalue, cur_col, wrap)
3981da177e4SLinus Torvalds#endif
3991da177e4SLinus Torvalds
4001da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
4011da177e4SLinus Torvaldsahd_reg_print_t ahd_scsiseq1_print;
4021da177e4SLinus Torvalds#else
4031da177e4SLinus Torvalds#define ahd_scsiseq1_print(regvalue, cur_col, wrap) \
4041da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SCSISEQ1", 0x3b, regvalue, cur_col, wrap)
4051da177e4SLinus Torvalds#endif
4061da177e4SLinus Torvalds
4071da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
4081da177e4SLinus Torvaldsahd_reg_print_t ahd_sxfrctl0_print;
4091da177e4SLinus Torvalds#else
4101da177e4SLinus Torvalds#define ahd_sxfrctl0_print(regvalue, cur_col, wrap) \
4111da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SXFRCTL0", 0x3c, regvalue, cur_col, wrap)
4121da177e4SLinus Torvalds#endif
4131da177e4SLinus Torvalds
4141da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
4151da177e4SLinus Torvaldsahd_reg_print_t ahd_businitid_print;
4161da177e4SLinus Torvalds#else
4171da177e4SLinus Torvalds#define ahd_businitid_print(regvalue, cur_col, wrap) \
4181da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "BUSINITID", 0x3c, regvalue, cur_col, wrap)
4191da177e4SLinus Torvalds#endif
4201da177e4SLinus Torvalds
4211da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
4221da177e4SLinus Torvaldsahd_reg_print_t ahd_dlcount_print;
4231da177e4SLinus Torvalds#else
4241da177e4SLinus Torvalds#define ahd_dlcount_print(regvalue, cur_col, wrap) \
4251da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "DLCOUNT", 0x3c, regvalue, cur_col, wrap)
4261da177e4SLinus Torvalds#endif
4271da177e4SLinus Torvalds
4281da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
4291da177e4SLinus Torvaldsahd_reg_print_t ahd_sxfrctl1_print;
4301da177e4SLinus Torvalds#else
4311da177e4SLinus Torvalds#define ahd_sxfrctl1_print(regvalue, cur_col, wrap) \
4321da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SXFRCTL1", 0x3d, regvalue, cur_col, wrap)
4331da177e4SLinus Torvalds#endif
4341da177e4SLinus Torvalds
4351da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
4361da177e4SLinus Torvaldsahd_reg_print_t ahd_bustargid_print;
4371da177e4SLinus Torvalds#else
4381da177e4SLinus Torvalds#define ahd_bustargid_print(regvalue, cur_col, wrap) \
4391da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "BUSTARGID", 0x3e, regvalue, cur_col, wrap)
4401da177e4SLinus Torvalds#endif
4411da177e4SLinus Torvalds
4421da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
4431da177e4SLinus Torvaldsahd_reg_print_t ahd_sxfrctl2_print;
4441da177e4SLinus Torvalds#else
4451da177e4SLinus Torvalds#define ahd_sxfrctl2_print(regvalue, cur_col, wrap) \
4461da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SXFRCTL2", 0x3e, regvalue, cur_col, wrap)
4471da177e4SLinus Torvalds#endif
4481da177e4SLinus Torvalds
4491da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
4501da177e4SLinus Torvaldsahd_reg_print_t ahd_dffstat_print;
4511da177e4SLinus Torvalds#else
4521da177e4SLinus Torvalds#define ahd_dffstat_print(regvalue, cur_col, wrap) \
4531da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "DFFSTAT", 0x3f, regvalue, cur_col, wrap)
4541da177e4SLinus Torvalds#endif
4551da177e4SLinus Torvalds
4561da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
4571da177e4SLinus Torvaldsahd_reg_print_t ahd_scsisigo_print;
4581da177e4SLinus Torvalds#else
4591da177e4SLinus Torvalds#define ahd_scsisigo_print(regvalue, cur_col, wrap) \
4601da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SCSISIGO", 0x40, regvalue, cur_col, wrap)
4611da177e4SLinus Torvalds#endif
4621da177e4SLinus Torvalds
4631da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
4641da177e4SLinus Torvaldsahd_reg_print_t ahd_multargid_print;
4651da177e4SLinus Torvalds#else
4661da177e4SLinus Torvalds#define ahd_multargid_print(regvalue, cur_col, wrap) \
4671da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "MULTARGID", 0x40, regvalue, cur_col, wrap)
4681da177e4SLinus Torvalds#endif
4691da177e4SLinus Torvalds
4701da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
4711da177e4SLinus Torvaldsahd_reg_print_t ahd_scsisigi_print;
4721da177e4SLinus Torvalds#else
4731da177e4SLinus Torvalds#define ahd_scsisigi_print(regvalue, cur_col, wrap) \
4741da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SCSISIGI", 0x41, regvalue, cur_col, wrap)
4751da177e4SLinus Torvalds#endif
4761da177e4SLinus Torvalds
4771da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
4781da177e4SLinus Torvaldsahd_reg_print_t ahd_scsiphase_print;
4791da177e4SLinus Torvalds#else
4801da177e4SLinus Torvalds#define ahd_scsiphase_print(regvalue, cur_col, wrap) \
4811da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SCSIPHASE", 0x42, regvalue, cur_col, wrap)
4821da177e4SLinus Torvalds#endif
4831da177e4SLinus Torvalds
4841da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
4851da177e4SLinus Torvaldsahd_reg_print_t ahd_scsidat0_img_print;
4861da177e4SLinus Torvalds#else
4871da177e4SLinus Torvalds#define ahd_scsidat0_img_print(regvalue, cur_col, wrap) \
4881da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SCSIDAT0_IMG", 0x43, regvalue, cur_col, wrap)
4891da177e4SLinus Torvalds#endif
4901da177e4SLinus Torvalds
4911da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
4921da177e4SLinus Torvaldsahd_reg_print_t ahd_scsidat_print;
4931da177e4SLinus Torvalds#else
4941da177e4SLinus Torvalds#define ahd_scsidat_print(regvalue, cur_col, wrap) \
4951da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SCSIDAT", 0x44, regvalue, cur_col, wrap)
4961da177e4SLinus Torvalds#endif
4971da177e4SLinus Torvalds
4981da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
4991da177e4SLinus Torvaldsahd_reg_print_t ahd_scsibus_print;
5001da177e4SLinus Torvalds#else
5011da177e4SLinus Torvalds#define ahd_scsibus_print(regvalue, cur_col, wrap) \
5021da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SCSIBUS", 0x46, regvalue, cur_col, wrap)
5031da177e4SLinus Torvalds#endif
5041da177e4SLinus Torvalds
5051da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
5061da177e4SLinus Torvaldsahd_reg_print_t ahd_targidin_print;
5071da177e4SLinus Torvalds#else
5081da177e4SLinus Torvalds#define ahd_targidin_print(regvalue, cur_col, wrap) \
5091da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "TARGIDIN", 0x48, regvalue, cur_col, wrap)
5101da177e4SLinus Torvalds#endif
5111da177e4SLinus Torvalds
5121da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
5131da177e4SLinus Torvaldsahd_reg_print_t ahd_selid_print;
5141da177e4SLinus Torvalds#else
5151da177e4SLinus Torvalds#define ahd_selid_print(regvalue, cur_col, wrap) \
5161da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SELID", 0x49, regvalue, cur_col, wrap)
5171da177e4SLinus Torvalds#endif
5181da177e4SLinus Torvalds
5191da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
5201da177e4SLinus Torvaldsahd_reg_print_t ahd_sblkctl_print;
5211da177e4SLinus Torvalds#else
5221da177e4SLinus Torvalds#define ahd_sblkctl_print(regvalue, cur_col, wrap) \
5231da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SBLKCTL", 0x4a, regvalue, cur_col, wrap)
5241da177e4SLinus Torvalds#endif
5251da177e4SLinus Torvalds
5261da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
5271da177e4SLinus Torvaldsahd_reg_print_t ahd_optionmode_print;
5281da177e4SLinus Torvalds#else
5291da177e4SLinus Torvalds#define ahd_optionmode_print(regvalue, cur_col, wrap) \
5301da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "OPTIONMODE", 0x4a, regvalue, cur_col, wrap)
5311da177e4SLinus Torvalds#endif
5321da177e4SLinus Torvalds
5331da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
5341da177e4SLinus Torvaldsahd_reg_print_t ahd_sstat0_print;
5351da177e4SLinus Torvalds#else
5361da177e4SLinus Torvalds#define ahd_sstat0_print(regvalue, cur_col, wrap) \
5371da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SSTAT0", 0x4b, regvalue, cur_col, wrap)
5381da177e4SLinus Torvalds#endif
5391da177e4SLinus Torvalds
5401da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
5411da177e4SLinus Torvaldsahd_reg_print_t ahd_clrsint0_print;
5421da177e4SLinus Torvalds#else
5431da177e4SLinus Torvalds#define ahd_clrsint0_print(regvalue, cur_col, wrap) \
5441da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "CLRSINT0", 0x4b, regvalue, cur_col, wrap)
5451da177e4SLinus Torvalds#endif
5461da177e4SLinus Torvalds
5471da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
5481da177e4SLinus Torvaldsahd_reg_print_t ahd_simode0_print;
5491da177e4SLinus Torvalds#else
5501da177e4SLinus Torvalds#define ahd_simode0_print(regvalue, cur_col, wrap) \
5511da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SIMODE0", 0x4b, regvalue, cur_col, wrap)
5521da177e4SLinus Torvalds#endif
5531da177e4SLinus Torvalds
5541da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
5551da177e4SLinus Torvaldsahd_reg_print_t ahd_clrsint1_print;
5561da177e4SLinus Torvalds#else
5571da177e4SLinus Torvalds#define ahd_clrsint1_print(regvalue, cur_col, wrap) \
5581da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "CLRSINT1", 0x4c, regvalue, cur_col, wrap)
5591da177e4SLinus Torvalds#endif
5601da177e4SLinus Torvalds
5611da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
5621da177e4SLinus Torvaldsahd_reg_print_t ahd_sstat1_print;
5631da177e4SLinus Torvalds#else
5641da177e4SLinus Torvalds#define ahd_sstat1_print(regvalue, cur_col, wrap) \
5651da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SSTAT1", 0x4c, regvalue, cur_col, wrap)
5661da177e4SLinus Torvalds#endif
5671da177e4SLinus Torvalds
5681da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
5691da177e4SLinus Torvaldsahd_reg_print_t ahd_sstat2_print;
5701da177e4SLinus Torvalds#else
5711da177e4SLinus Torvalds#define ahd_sstat2_print(regvalue, cur_col, wrap) \
5721da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SSTAT2", 0x4d, regvalue, cur_col, wrap)
5731da177e4SLinus Torvalds#endif
5741da177e4SLinus Torvalds
5751da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
5761da177e4SLinus Torvaldsahd_reg_print_t ahd_clrsint2_print;
5771da177e4SLinus Torvalds#else
5781da177e4SLinus Torvalds#define ahd_clrsint2_print(regvalue, cur_col, wrap) \
5791da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "CLRSINT2", 0x4d, regvalue, cur_col, wrap)
5801da177e4SLinus Torvalds#endif
5811da177e4SLinus Torvalds
5821da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
5831da177e4SLinus Torvaldsahd_reg_print_t ahd_simode2_print;
5841da177e4SLinus Torvalds#else
5851da177e4SLinus Torvalds#define ahd_simode2_print(regvalue, cur_col, wrap) \
5861da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SIMODE2", 0x4d, regvalue, cur_col, wrap)
5871da177e4SLinus Torvalds#endif
5881da177e4SLinus Torvalds
5891da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
5901da177e4SLinus Torvaldsahd_reg_print_t ahd_perrdiag_print;
5911da177e4SLinus Torvalds#else
5921da177e4SLinus Torvalds#define ahd_perrdiag_print(regvalue, cur_col, wrap) \
5931da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "PERRDIAG", 0x4e, regvalue, cur_col, wrap)
5941da177e4SLinus Torvalds#endif
5951da177e4SLinus Torvalds
5961da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
5971da177e4SLinus Torvaldsahd_reg_print_t ahd_lqistate_print;
5981da177e4SLinus Torvalds#else
5991da177e4SLinus Torvalds#define ahd_lqistate_print(regvalue, cur_col, wrap) \
6001da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "LQISTATE", 0x4e, regvalue, cur_col, wrap)
6011da177e4SLinus Torvalds#endif
6021da177e4SLinus Torvalds
6031da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
6041da177e4SLinus Torvaldsahd_reg_print_t ahd_soffcnt_print;
6051da177e4SLinus Torvalds#else
6061da177e4SLinus Torvalds#define ahd_soffcnt_print(regvalue, cur_col, wrap) \
6071da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SOFFCNT", 0x4f, regvalue, cur_col, wrap)
6081da177e4SLinus Torvalds#endif
6091da177e4SLinus Torvalds
6101da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
6111da177e4SLinus Torvaldsahd_reg_print_t ahd_lqostate_print;
6121da177e4SLinus Torvalds#else
6131da177e4SLinus Torvalds#define ahd_lqostate_print(regvalue, cur_col, wrap) \
6141da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "LQOSTATE", 0x4f, regvalue, cur_col, wrap)
6151da177e4SLinus Torvalds#endif
6161da177e4SLinus Torvalds
6171da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
6181da177e4SLinus Torvaldsahd_reg_print_t ahd_lqistat0_print;
6191da177e4SLinus Torvalds#else
6201da177e4SLinus Torvalds#define ahd_lqistat0_print(regvalue, cur_col, wrap) \
6211da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "LQISTAT0", 0x50, regvalue, cur_col, wrap)
6221da177e4SLinus Torvalds#endif
6231da177e4SLinus Torvalds
6241da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
6251da177e4SLinus Torvaldsahd_reg_print_t ahd_clrlqiint0_print;
6261da177e4SLinus Torvalds#else
6271da177e4SLinus Torvalds#define ahd_clrlqiint0_print(regvalue, cur_col, wrap) \
6281da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "CLRLQIINT0", 0x50, regvalue, cur_col, wrap)
6291da177e4SLinus Torvalds#endif
6301da177e4SLinus Torvalds
6311da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
6321da177e4SLinus Torvaldsahd_reg_print_t ahd_lqimode0_print;
6331da177e4SLinus Torvalds#else
6341da177e4SLinus Torvalds#define ahd_lqimode0_print(regvalue, cur_col, wrap) \
6351da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "LQIMODE0", 0x50, regvalue, cur_col, wrap)
6361da177e4SLinus Torvalds#endif
6371da177e4SLinus Torvalds
6381da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
6391da177e4SLinus Torvaldsahd_reg_print_t ahd_lqimode1_print;
6401da177e4SLinus Torvalds#else
6411da177e4SLinus Torvalds#define ahd_lqimode1_print(regvalue, cur_col, wrap) \
6421da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "LQIMODE1", 0x51, regvalue, cur_col, wrap)
6431da177e4SLinus Torvalds#endif
6441da177e4SLinus Torvalds
6451da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
6461da177e4SLinus Torvaldsahd_reg_print_t ahd_lqistat1_print;
6471da177e4SLinus Torvalds#else
6481da177e4SLinus Torvalds#define ahd_lqistat1_print(regvalue, cur_col, wrap) \
6491da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "LQISTAT1", 0x51, regvalue, cur_col, wrap)
6501da177e4SLinus Torvalds#endif
6511da177e4SLinus Torvalds
6521da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
6531da177e4SLinus Torvaldsahd_reg_print_t ahd_clrlqiint1_print;
6541da177e4SLinus Torvalds#else
6551da177e4SLinus Torvalds#define ahd_clrlqiint1_print(regvalue, cur_col, wrap) \
6561da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "CLRLQIINT1", 0x51, regvalue, cur_col, wrap)
6571da177e4SLinus Torvalds#endif
6581da177e4SLinus Torvalds
6591da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
6601da177e4SLinus Torvaldsahd_reg_print_t ahd_lqistat2_print;
6611da177e4SLinus Torvalds#else
6621da177e4SLinus Torvalds#define ahd_lqistat2_print(regvalue, cur_col, wrap) \
6631da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "LQISTAT2", 0x52, regvalue, cur_col, wrap)
6641da177e4SLinus Torvalds#endif
6651da177e4SLinus Torvalds
6661da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
6671da177e4SLinus Torvaldsahd_reg_print_t ahd_sstat3_print;
6681da177e4SLinus Torvalds#else
6691da177e4SLinus Torvalds#define ahd_sstat3_print(regvalue, cur_col, wrap) \
6701da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SSTAT3", 0x53, regvalue, cur_col, wrap)
6711da177e4SLinus Torvalds#endif
6721da177e4SLinus Torvalds
6731da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
6741da177e4SLinus Torvaldsahd_reg_print_t ahd_simode3_print;
6751da177e4SLinus Torvalds#else
6761da177e4SLinus Torvalds#define ahd_simode3_print(regvalue, cur_col, wrap) \
6771da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SIMODE3", 0x53, regvalue, cur_col, wrap)
6781da177e4SLinus Torvalds#endif
6791da177e4SLinus Torvalds
6801da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
6811da177e4SLinus Torvaldsahd_reg_print_t ahd_clrsint3_print;
6821da177e4SLinus Torvalds#else
6831da177e4SLinus Torvalds#define ahd_clrsint3_print(regvalue, cur_col, wrap) \
6841da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "CLRSINT3", 0x53, regvalue, cur_col, wrap)
6851da177e4SLinus Torvalds#endif
6861da177e4SLinus Torvalds
6871da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
6881da177e4SLinus Torvaldsahd_reg_print_t ahd_lqomode0_print;
6891da177e4SLinus Torvalds#else
6901da177e4SLinus Torvalds#define ahd_lqomode0_print(regvalue, cur_col, wrap) \
6911da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "LQOMODE0", 0x54, regvalue, cur_col, wrap)
6921da177e4SLinus Torvalds#endif
6931da177e4SLinus Torvalds
6941da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
6951da177e4SLinus Torvaldsahd_reg_print_t ahd_lqostat0_print;
6961da177e4SLinus Torvalds#else
6971da177e4SLinus Torvalds#define ahd_lqostat0_print(regvalue, cur_col, wrap) \
6981da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "LQOSTAT0", 0x54, regvalue, cur_col, wrap)
6991da177e4SLinus Torvalds#endif
7001da177e4SLinus Torvalds
7011da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
7021da177e4SLinus Torvaldsahd_reg_print_t ahd_clrlqoint0_print;
7031da177e4SLinus Torvalds#else
7041da177e4SLinus Torvalds#define ahd_clrlqoint0_print(regvalue, cur_col, wrap) \
7051da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "CLRLQOINT0", 0x54, regvalue, cur_col, wrap)
7061da177e4SLinus Torvalds#endif
7071da177e4SLinus Torvalds
7081da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
7091da177e4SLinus Torvaldsahd_reg_print_t ahd_lqostat1_print;
7101da177e4SLinus Torvalds#else
7111da177e4SLinus Torvalds#define ahd_lqostat1_print(regvalue, cur_col, wrap) \
7121da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "LQOSTAT1", 0x55, regvalue, cur_col, wrap)
7131da177e4SLinus Torvalds#endif
7141da177e4SLinus Torvalds
7151da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
7161da177e4SLinus Torvaldsahd_reg_print_t ahd_clrlqoint1_print;
7171da177e4SLinus Torvalds#else
7181da177e4SLinus Torvalds#define ahd_clrlqoint1_print(regvalue, cur_col, wrap) \
7191da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "CLRLQOINT1", 0x55, regvalue, cur_col, wrap)
7201da177e4SLinus Torvalds#endif
7211da177e4SLinus Torvalds
7221da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
7231da177e4SLinus Torvaldsahd_reg_print_t ahd_lqomode1_print;
7241da177e4SLinus Torvalds#else
7251da177e4SLinus Torvalds#define ahd_lqomode1_print(regvalue, cur_col, wrap) \
7261da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "LQOMODE1", 0x55, regvalue, cur_col, wrap)
7271da177e4SLinus Torvalds#endif
7281da177e4SLinus Torvalds
7291da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
7301da177e4SLinus Torvaldsahd_reg_print_t ahd_lqostat2_print;
7311da177e4SLinus Torvalds#else
7321da177e4SLinus Torvalds#define ahd_lqostat2_print(regvalue, cur_col, wrap) \
7331da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "LQOSTAT2", 0x56, regvalue, cur_col, wrap)
7341da177e4SLinus Torvalds#endif
7351da177e4SLinus Torvalds
7361da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
7371da177e4SLinus Torvaldsahd_reg_print_t ahd_os_space_cnt_print;
7381da177e4SLinus Torvalds#else
7391da177e4SLinus Torvalds#define ahd_os_space_cnt_print(regvalue, cur_col, wrap) \
7401da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "OS_SPACE_CNT", 0x56, regvalue, cur_col, wrap)
7411da177e4SLinus Torvalds#endif
7421da177e4SLinus Torvalds
7431da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
7441da177e4SLinus Torvaldsahd_reg_print_t ahd_simode1_print;
7451da177e4SLinus Torvalds#else
7461da177e4SLinus Torvalds#define ahd_simode1_print(regvalue, cur_col, wrap) \
7471da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SIMODE1", 0x57, regvalue, cur_col, wrap)
7481da177e4SLinus Torvalds#endif
7491da177e4SLinus Torvalds
7501da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
7511da177e4SLinus Torvaldsahd_reg_print_t ahd_gsfifo_print;
7521da177e4SLinus Torvalds#else
7531da177e4SLinus Torvalds#define ahd_gsfifo_print(regvalue, cur_col, wrap) \
7541da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "GSFIFO", 0x58, regvalue, cur_col, wrap)
7551da177e4SLinus Torvalds#endif
7561da177e4SLinus Torvalds
7571da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
7581da177e4SLinus Torvaldsahd_reg_print_t ahd_dffsxfrctl_print;
7591da177e4SLinus Torvalds#else
7601da177e4SLinus Torvalds#define ahd_dffsxfrctl_print(regvalue, cur_col, wrap) \
7611da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "DFFSXFRCTL", 0x5a, regvalue, cur_col, wrap)
7621da177e4SLinus Torvalds#endif
7631da177e4SLinus Torvalds
7641da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
7651da177e4SLinus Torvaldsahd_reg_print_t ahd_lqoscsctl_print;
7661da177e4SLinus Torvalds#else
7671da177e4SLinus Torvalds#define ahd_lqoscsctl_print(regvalue, cur_col, wrap) \
7681da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "LQOSCSCTL", 0x5a, regvalue, cur_col, wrap)
7691da177e4SLinus Torvalds#endif
7701da177e4SLinus Torvalds
7711da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
7721da177e4SLinus Torvaldsahd_reg_print_t ahd_nextscb_print;
7731da177e4SLinus Torvalds#else
7741da177e4SLinus Torvalds#define ahd_nextscb_print(regvalue, cur_col, wrap) \
7751da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "NEXTSCB", 0x5a, regvalue, cur_col, wrap)
7761da177e4SLinus Torvalds#endif
7771da177e4SLinus Torvalds
7781da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
7791da177e4SLinus Torvaldsahd_reg_print_t ahd_clrseqintsrc_print;
7801da177e4SLinus Torvalds#else
7811da177e4SLinus Torvalds#define ahd_clrseqintsrc_print(regvalue, cur_col, wrap) \
7821da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "CLRSEQINTSRC", 0x5b, regvalue, cur_col, wrap)
7831da177e4SLinus Torvalds#endif
7841da177e4SLinus Torvalds
7851da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
7861da177e4SLinus Torvaldsahd_reg_print_t ahd_seqintsrc_print;
7871da177e4SLinus Torvalds#else
7881da177e4SLinus Torvalds#define ahd_seqintsrc_print(regvalue, cur_col, wrap) \
7891da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SEQINTSRC", 0x5b, regvalue, cur_col, wrap)
7901da177e4SLinus Torvalds#endif
7911da177e4SLinus Torvalds
7921da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
7931da177e4SLinus Torvaldsahd_reg_print_t ahd_currscb_print;
7941da177e4SLinus Torvalds#else
7951da177e4SLinus Torvalds#define ahd_currscb_print(regvalue, cur_col, wrap) \
7961da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "CURRSCB", 0x5c, regvalue, cur_col, wrap)
7971da177e4SLinus Torvalds#endif
7981da177e4SLinus Torvalds
7991da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
8001da177e4SLinus Torvaldsahd_reg_print_t ahd_seqimode_print;
8011da177e4SLinus Torvalds#else
8021da177e4SLinus Torvalds#define ahd_seqimode_print(regvalue, cur_col, wrap) \
8031da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SEQIMODE", 0x5c, regvalue, cur_col, wrap)
8041da177e4SLinus Torvalds#endif
8051da177e4SLinus Torvalds
8061da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
8071da177e4SLinus Torvaldsahd_reg_print_t ahd_mdffstat_print;
8081da177e4SLinus Torvalds#else
8091da177e4SLinus Torvalds#define ahd_mdffstat_print(regvalue, cur_col, wrap) \
8101da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "MDFFSTAT", 0x5d, regvalue, cur_col, wrap)
8111da177e4SLinus Torvalds#endif
8121da177e4SLinus Torvalds
8131da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
8141da177e4SLinus Torvaldsahd_reg_print_t ahd_crccontrol_print;
8151da177e4SLinus Torvalds#else
8161da177e4SLinus Torvalds#define ahd_crccontrol_print(regvalue, cur_col, wrap) \
8171da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "CRCCONTROL", 0x5d, regvalue, cur_col, wrap)
8181da177e4SLinus Torvalds#endif
8191da177e4SLinus Torvalds
8201da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
8211da177e4SLinus Torvaldsahd_reg_print_t ahd_dfftag_print;
8221da177e4SLinus Torvalds#else
8231da177e4SLinus Torvalds#define ahd_dfftag_print(regvalue, cur_col, wrap) \
8241da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "DFFTAG", 0x5e, regvalue, cur_col, wrap)
8251da177e4SLinus Torvalds#endif
8261da177e4SLinus Torvalds
8271da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
8281da177e4SLinus Torvaldsahd_reg_print_t ahd_lastscb_print;
8291da177e4SLinus Torvalds#else
8301da177e4SLinus Torvalds#define ahd_lastscb_print(regvalue, cur_col, wrap) \
8311da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "LASTSCB", 0x5e, regvalue, cur_col, wrap)
8321da177e4SLinus Torvalds#endif
8331da177e4SLinus Torvalds
8341da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
8351da177e4SLinus Torvaldsahd_reg_print_t ahd_scsitest_print;
8361da177e4SLinus Torvalds#else
8371da177e4SLinus Torvalds#define ahd_scsitest_print(regvalue, cur_col, wrap) \
8381da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SCSITEST", 0x5e, regvalue, cur_col, wrap)
8391da177e4SLinus Torvalds#endif
8401da177e4SLinus Torvalds
8411da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
8421da177e4SLinus Torvaldsahd_reg_print_t ahd_iopdnctl_print;
8431da177e4SLinus Torvalds#else
8441da177e4SLinus Torvalds#define ahd_iopdnctl_print(regvalue, cur_col, wrap) \
8451da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "IOPDNCTL", 0x5f, regvalue, cur_col, wrap)
8461da177e4SLinus Torvalds#endif
8471da177e4SLinus Torvalds
8481da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
8491da177e4SLinus Torvaldsahd_reg_print_t ahd_shaddr_print;
8501da177e4SLinus Torvalds#else
8511da177e4SLinus Torvalds#define ahd_shaddr_print(regvalue, cur_col, wrap) \
8521da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SHADDR", 0x60, regvalue, cur_col, wrap)
8531da177e4SLinus Torvalds#endif
8541da177e4SLinus Torvalds
8551da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
8561da177e4SLinus Torvaldsahd_reg_print_t ahd_negoaddr_print;
8571da177e4SLinus Torvalds#else
8581da177e4SLinus Torvalds#define ahd_negoaddr_print(regvalue, cur_col, wrap) \
8591da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "NEGOADDR", 0x60, regvalue, cur_col, wrap)
8601da177e4SLinus Torvalds#endif
8611da177e4SLinus Torvalds
8621da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
8631da177e4SLinus Torvaldsahd_reg_print_t ahd_dgrpcrci_print;
8641da177e4SLinus Torvalds#else
8651da177e4SLinus Torvalds#define ahd_dgrpcrci_print(regvalue, cur_col, wrap) \
8661da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "DGRPCRCI", 0x60, regvalue, cur_col, wrap)
8671da177e4SLinus Torvalds#endif
8681da177e4SLinus Torvalds
8691da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
8701da177e4SLinus Torvaldsahd_reg_print_t ahd_negperiod_print;
8711da177e4SLinus Torvalds#else
8721da177e4SLinus Torvalds#define ahd_negperiod_print(regvalue, cur_col, wrap) \
8731da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "NEGPERIOD", 0x61, regvalue, cur_col, wrap)
8741da177e4SLinus Torvalds#endif
8751da177e4SLinus Torvalds
8761da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
8771da177e4SLinus Torvaldsahd_reg_print_t ahd_packcrci_print;
8781da177e4SLinus Torvalds#else
8791da177e4SLinus Torvalds#define ahd_packcrci_print(regvalue, cur_col, wrap) \
8801da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "PACKCRCI", 0x62, regvalue, cur_col, wrap)
8811da177e4SLinus Torvalds#endif
8821da177e4SLinus Torvalds
8831da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
8841da177e4SLinus Torvaldsahd_reg_print_t ahd_negoffset_print;
8851da177e4SLinus Torvalds#else
8861da177e4SLinus Torvalds#define ahd_negoffset_print(regvalue, cur_col, wrap) \
8871da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "NEGOFFSET", 0x62, regvalue, cur_col, wrap)
8881da177e4SLinus Torvalds#endif
8891da177e4SLinus Torvalds
8901da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
8911da177e4SLinus Torvaldsahd_reg_print_t ahd_negppropts_print;
8921da177e4SLinus Torvalds#else
8931da177e4SLinus Torvalds#define ahd_negppropts_print(regvalue, cur_col, wrap) \
8941da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "NEGPPROPTS", 0x63, regvalue, cur_col, wrap)
8951da177e4SLinus Torvalds#endif
8961da177e4SLinus Torvalds
8971da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
8981da177e4SLinus Torvaldsahd_reg_print_t ahd_negconopts_print;
8991da177e4SLinus Torvalds#else
9001da177e4SLinus Torvalds#define ahd_negconopts_print(regvalue, cur_col, wrap) \
9011da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "NEGCONOPTS", 0x64, regvalue, cur_col, wrap)
9021da177e4SLinus Torvalds#endif
9031da177e4SLinus Torvalds
9041da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
9051da177e4SLinus Torvaldsahd_reg_print_t ahd_annexcol_print;
9061da177e4SLinus Torvalds#else
9071da177e4SLinus Torvalds#define ahd_annexcol_print(regvalue, cur_col, wrap) \
9081da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "ANNEXCOL", 0x65, regvalue, cur_col, wrap)
9091da177e4SLinus Torvalds#endif
9101da177e4SLinus Torvalds
9111da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
9121da177e4SLinus Torvaldsahd_reg_print_t ahd_scschkn_print;
9131da177e4SLinus Torvalds#else
9141da177e4SLinus Torvalds#define ahd_scschkn_print(regvalue, cur_col, wrap) \
9151da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SCSCHKN", 0x66, regvalue, cur_col, wrap)
9161da177e4SLinus Torvalds#endif
9171da177e4SLinus Torvalds
9181da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
9191da177e4SLinus Torvaldsahd_reg_print_t ahd_annexdat_print;
9201da177e4SLinus Torvalds#else
9211da177e4SLinus Torvalds#define ahd_annexdat_print(regvalue, cur_col, wrap) \
9221da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "ANNEXDAT", 0x66, regvalue, cur_col, wrap)
9231da177e4SLinus Torvalds#endif
9241da177e4SLinus Torvalds
9251da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
9261da177e4SLinus Torvaldsahd_reg_print_t ahd_iownid_print;
9271da177e4SLinus Torvalds#else
9281da177e4SLinus Torvalds#define ahd_iownid_print(regvalue, cur_col, wrap) \
9291da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "IOWNID", 0x67, regvalue, cur_col, wrap)
9301da177e4SLinus Torvalds#endif
9311da177e4SLinus Torvalds
9321da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
9331da177e4SLinus Torvaldsahd_reg_print_t ahd_pll960ctl0_print;
9341da177e4SLinus Torvalds#else
9351da177e4SLinus Torvalds#define ahd_pll960ctl0_print(regvalue, cur_col, wrap) \
9361da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "PLL960CTL0", 0x68, regvalue, cur_col, wrap)
9371da177e4SLinus Torvalds#endif
9381da177e4SLinus Torvalds
9391da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
9401da177e4SLinus Torvaldsahd_reg_print_t ahd_shcnt_print;
9411da177e4SLinus Torvalds#else
9421da177e4SLinus Torvalds#define ahd_shcnt_print(regvalue, cur_col, wrap) \
9431da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SHCNT", 0x68, regvalue, cur_col, wrap)
9441da177e4SLinus Torvalds#endif
9451da177e4SLinus Torvalds
9461da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
9471da177e4SLinus Torvaldsahd_reg_print_t ahd_townid_print;
9481da177e4SLinus Torvalds#else
9491da177e4SLinus Torvalds#define ahd_townid_print(regvalue, cur_col, wrap) \
9501da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "TOWNID", 0x69, regvalue, cur_col, wrap)
9511da177e4SLinus Torvalds#endif
9521da177e4SLinus Torvalds
9531da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
9541da177e4SLinus Torvaldsahd_reg_print_t ahd_pll960ctl1_print;
9551da177e4SLinus Torvalds#else
9561da177e4SLinus Torvalds#define ahd_pll960ctl1_print(regvalue, cur_col, wrap) \
9571da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "PLL960CTL1", 0x69, regvalue, cur_col, wrap)
9581da177e4SLinus Torvalds#endif
9591da177e4SLinus Torvalds
9601da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
9611da177e4SLinus Torvaldsahd_reg_print_t ahd_pll960cnt0_print;
9621da177e4SLinus Torvalds#else
9631da177e4SLinus Torvalds#define ahd_pll960cnt0_print(regvalue, cur_col, wrap) \
9641da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "PLL960CNT0", 0x6a, regvalue, cur_col, wrap)
9651da177e4SLinus Torvalds#endif
9661da177e4SLinus Torvalds
9671da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
9681da177e4SLinus Torvaldsahd_reg_print_t ahd_xsig_print;
9691da177e4SLinus Torvalds#else
9701da177e4SLinus Torvalds#define ahd_xsig_print(regvalue, cur_col, wrap) \
9711da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "XSIG", 0x6a, regvalue, cur_col, wrap)
9721da177e4SLinus Torvalds#endif
9731da177e4SLinus Torvalds
9741da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
9751da177e4SLinus Torvaldsahd_reg_print_t ahd_seloid_print;
9761da177e4SLinus Torvalds#else
9771da177e4SLinus Torvalds#define ahd_seloid_print(regvalue, cur_col, wrap) \
9781da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SELOID", 0x6b, regvalue, cur_col, wrap)
9791da177e4SLinus Torvalds#endif
9801da177e4SLinus Torvalds
9811da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
9821da177e4SLinus Torvaldsahd_reg_print_t ahd_pll400ctl0_print;
9831da177e4SLinus Torvalds#else
9841da177e4SLinus Torvalds#define ahd_pll400ctl0_print(regvalue, cur_col, wrap) \
9851da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "PLL400CTL0", 0x6c, regvalue, cur_col, wrap)
9861da177e4SLinus Torvalds#endif
9871da177e4SLinus Torvalds
9881da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
9891da177e4SLinus Torvaldsahd_reg_print_t ahd_fairness_print;
9901da177e4SLinus Torvalds#else
9911da177e4SLinus Torvalds#define ahd_fairness_print(regvalue, cur_col, wrap) \
9921da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "FAIRNESS", 0x6c, regvalue, cur_col, wrap)
9931da177e4SLinus Torvalds#endif
9941da177e4SLinus Torvalds
9951da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
9961da177e4SLinus Torvaldsahd_reg_print_t ahd_pll400ctl1_print;
9971da177e4SLinus Torvalds#else
9981da177e4SLinus Torvalds#define ahd_pll400ctl1_print(regvalue, cur_col, wrap) \
9991da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "PLL400CTL1", 0x6d, regvalue, cur_col, wrap)
10001da177e4SLinus Torvalds#endif
10011da177e4SLinus Torvalds
10021da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
10031da177e4SLinus Torvaldsahd_reg_print_t ahd_pll400cnt0_print;
10041da177e4SLinus Torvalds#else
10051da177e4SLinus Torvalds#define ahd_pll400cnt0_print(regvalue, cur_col, wrap) \
10061da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "PLL400CNT0", 0x6e, regvalue, cur_col, wrap)
10071da177e4SLinus Torvalds#endif
10081da177e4SLinus Torvalds
10091da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
10101da177e4SLinus Torvaldsahd_reg_print_t ahd_unfairness_print;
10111da177e4SLinus Torvalds#else
10121da177e4SLinus Torvalds#define ahd_unfairness_print(regvalue, cur_col, wrap) \
10131da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "UNFAIRNESS", 0x6e, regvalue, cur_col, wrap)
10141da177e4SLinus Torvalds#endif
10151da177e4SLinus Torvalds
10161da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
10171da177e4SLinus Torvaldsahd_reg_print_t ahd_haddr_print;
10181da177e4SLinus Torvalds#else
10191da177e4SLinus Torvalds#define ahd_haddr_print(regvalue, cur_col, wrap) \
10201da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "HADDR", 0x70, regvalue, cur_col, wrap)
10211da177e4SLinus Torvalds#endif
10221da177e4SLinus Torvalds
10231da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
10241da177e4SLinus Torvaldsahd_reg_print_t ahd_plldelay_print;
10251da177e4SLinus Torvalds#else
10261da177e4SLinus Torvalds#define ahd_plldelay_print(regvalue, cur_col, wrap) \
10271da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "PLLDELAY", 0x70, regvalue, cur_col, wrap)
10281da177e4SLinus Torvalds#endif
10291da177e4SLinus Torvalds
10301da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
10311da177e4SLinus Torvaldsahd_reg_print_t ahd_hodmaadr_print;
10321da177e4SLinus Torvalds#else
10331da177e4SLinus Torvalds#define ahd_hodmaadr_print(regvalue, cur_col, wrap) \
10341da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "HODMAADR", 0x70, regvalue, cur_col, wrap)
10351da177e4SLinus Torvalds#endif
10361da177e4SLinus Torvalds
10371da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
10381da177e4SLinus Torvaldsahd_reg_print_t ahd_hodmacnt_print;
10391da177e4SLinus Torvalds#else
10401da177e4SLinus Torvalds#define ahd_hodmacnt_print(regvalue, cur_col, wrap) \
10411da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "HODMACNT", 0x78, regvalue, cur_col, wrap)
10421da177e4SLinus Torvalds#endif
10431da177e4SLinus Torvalds
10441da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
10451da177e4SLinus Torvaldsahd_reg_print_t ahd_hcnt_print;
10461da177e4SLinus Torvalds#else
10471da177e4SLinus Torvalds#define ahd_hcnt_print(regvalue, cur_col, wrap) \
10481da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "HCNT", 0x78, regvalue, cur_col, wrap)
10491da177e4SLinus Torvalds#endif
10501da177e4SLinus Torvalds
10511da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
10521da177e4SLinus Torvaldsahd_reg_print_t ahd_hodmaen_print;
10531da177e4SLinus Torvalds#else
10541da177e4SLinus Torvalds#define ahd_hodmaen_print(regvalue, cur_col, wrap) \
10551da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "HODMAEN", 0x7a, regvalue, cur_col, wrap)
10561da177e4SLinus Torvalds#endif
10571da177e4SLinus Torvalds
10581da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
10591da177e4SLinus Torvaldsahd_reg_print_t ahd_sghaddr_print;
10601da177e4SLinus Torvalds#else
10611da177e4SLinus Torvalds#define ahd_sghaddr_print(regvalue, cur_col, wrap) \
10621da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SGHADDR", 0x7c, regvalue, cur_col, wrap)
10631da177e4SLinus Torvalds#endif
10641da177e4SLinus Torvalds
10651da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
10661da177e4SLinus Torvaldsahd_reg_print_t ahd_scbhaddr_print;
10671da177e4SLinus Torvalds#else
10681da177e4SLinus Torvalds#define ahd_scbhaddr_print(regvalue, cur_col, wrap) \
10691da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SCBHADDR", 0x7c, regvalue, cur_col, wrap)
10701da177e4SLinus Torvalds#endif
10711da177e4SLinus Torvalds
10721da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
10731da177e4SLinus Torvaldsahd_reg_print_t ahd_sghcnt_print;
10741da177e4SLinus Torvalds#else
10751da177e4SLinus Torvalds#define ahd_sghcnt_print(regvalue, cur_col, wrap) \
10761da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SGHCNT", 0x84, regvalue, cur_col, wrap)
10771da177e4SLinus Torvalds#endif
10781da177e4SLinus Torvalds
10791da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
10801da177e4SLinus Torvaldsahd_reg_print_t ahd_scbhcnt_print;
10811da177e4SLinus Torvalds#else
10821da177e4SLinus Torvalds#define ahd_scbhcnt_print(regvalue, cur_col, wrap) \
10831da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SCBHCNT", 0x84, regvalue, cur_col, wrap)
10841da177e4SLinus Torvalds#endif
10851da177e4SLinus Torvalds
10861da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
10871da177e4SLinus Torvaldsahd_reg_print_t ahd_dff_thrsh_print;
10881da177e4SLinus Torvalds#else
10891da177e4SLinus Torvalds#define ahd_dff_thrsh_print(regvalue, cur_col, wrap) \
10901da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "DFF_THRSH", 0x88, regvalue, cur_col, wrap)
10911da177e4SLinus Torvalds#endif
10921da177e4SLinus Torvalds
10931da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
10941da177e4SLinus Torvaldsahd_reg_print_t ahd_romaddr_print;
10951da177e4SLinus Torvalds#else
10961da177e4SLinus Torvalds#define ahd_romaddr_print(regvalue, cur_col, wrap) \
10971da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "ROMADDR", 0x8a, regvalue, cur_col, wrap)
10981da177e4SLinus Torvalds#endif
10991da177e4SLinus Torvalds
11001da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
11011da177e4SLinus Torvaldsahd_reg_print_t ahd_romcntrl_print;
11021da177e4SLinus Torvalds#else
11031da177e4SLinus Torvalds#define ahd_romcntrl_print(regvalue, cur_col, wrap) \
11041da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "ROMCNTRL", 0x8d, regvalue, cur_col, wrap)
11051da177e4SLinus Torvalds#endif
11061da177e4SLinus Torvalds
11071da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
11081da177e4SLinus Torvaldsahd_reg_print_t ahd_romdata_print;
11091da177e4SLinus Torvalds#else
11101da177e4SLinus Torvalds#define ahd_romdata_print(regvalue, cur_col, wrap) \
11111da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "ROMDATA", 0x8e, regvalue, cur_col, wrap)
11121da177e4SLinus Torvalds#endif
11131da177e4SLinus Torvalds
11141da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
11151da177e4SLinus Torvaldsahd_reg_print_t ahd_cmcrxmsg0_print;
11161da177e4SLinus Torvalds#else
11171da177e4SLinus Torvalds#define ahd_cmcrxmsg0_print(regvalue, cur_col, wrap) \
11181da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "CMCRXMSG0", 0x90, regvalue, cur_col, wrap)
11191da177e4SLinus Torvalds#endif
11201da177e4SLinus Torvalds
11211da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
11221da177e4SLinus Torvaldsahd_reg_print_t ahd_roenable_print;
11231da177e4SLinus Torvalds#else
11241da177e4SLinus Torvalds#define ahd_roenable_print(regvalue, cur_col, wrap) \
11251da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "ROENABLE", 0x90, regvalue, cur_col, wrap)
11261da177e4SLinus Torvalds#endif
11271da177e4SLinus Torvalds
11281da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
11291da177e4SLinus Torvaldsahd_reg_print_t ahd_ovlyrxmsg0_print;
11301da177e4SLinus Torvalds#else
11311da177e4SLinus Torvalds#define ahd_ovlyrxmsg0_print(regvalue, cur_col, wrap) \
11321da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "OVLYRXMSG0", 0x90, regvalue, cur_col, wrap)
11331da177e4SLinus Torvalds#endif
11341da177e4SLinus Torvalds
11351da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
11361da177e4SLinus Torvaldsahd_reg_print_t ahd_dchrxmsg0_print;
11371da177e4SLinus Torvalds#else
11381da177e4SLinus Torvalds#define ahd_dchrxmsg0_print(regvalue, cur_col, wrap) \
11391da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "DCHRXMSG0", 0x90, regvalue, cur_col, wrap)
11401da177e4SLinus Torvalds#endif
11411da177e4SLinus Torvalds
11421da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
11431da177e4SLinus Torvaldsahd_reg_print_t ahd_ovlyrxmsg1_print;
11441da177e4SLinus Torvalds#else
11451da177e4SLinus Torvalds#define ahd_ovlyrxmsg1_print(regvalue, cur_col, wrap) \
11461da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "OVLYRXMSG1", 0x91, regvalue, cur_col, wrap)
11471da177e4SLinus Torvalds#endif
11481da177e4SLinus Torvalds
11491da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
11501da177e4SLinus Torvaldsahd_reg_print_t ahd_nsenable_print;
11511da177e4SLinus Torvalds#else
11521da177e4SLinus Torvalds#define ahd_nsenable_print(regvalue, cur_col, wrap) \
11531da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "NSENABLE", 0x91, regvalue, cur_col, wrap)
11541da177e4SLinus Torvalds#endif
11551da177e4SLinus Torvalds
11561da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
11571da177e4SLinus Torvaldsahd_reg_print_t ahd_dchrxmsg1_print;
11581da177e4SLinus Torvalds#else
11591da177e4SLinus Torvalds#define ahd_dchrxmsg1_print(regvalue, cur_col, wrap) \
11601da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "DCHRXMSG1", 0x91, regvalue, cur_col, wrap)
11611da177e4SLinus Torvalds#endif
11621da177e4SLinus Torvalds
11631da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
11641da177e4SLinus Torvaldsahd_reg_print_t ahd_cmcrxmsg1_print;
11651da177e4SLinus Torvalds#else
11661da177e4SLinus Torvalds#define ahd_cmcrxmsg1_print(regvalue, cur_col, wrap) \
11671da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "CMCRXMSG1", 0x91, regvalue, cur_col, wrap)
11681da177e4SLinus Torvalds#endif
11691da177e4SLinus Torvalds
11701da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
11711da177e4SLinus Torvaldsahd_reg_print_t ahd_dchrxmsg2_print;
11721da177e4SLinus Torvalds#else
11731da177e4SLinus Torvalds#define ahd_dchrxmsg2_print(regvalue, cur_col, wrap) \
11741da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "DCHRXMSG2", 0x92, regvalue, cur_col, wrap)
11751da177e4SLinus Torvalds#endif
11761da177e4SLinus Torvalds
11771da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
11781da177e4SLinus Torvaldsahd_reg_print_t ahd_ovlyrxmsg2_print;
11791da177e4SLinus Torvalds#else
11801da177e4SLinus Torvalds#define ahd_ovlyrxmsg2_print(regvalue, cur_col, wrap) \
11811da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "OVLYRXMSG2", 0x92, regvalue, cur_col, wrap)
11821da177e4SLinus Torvalds#endif
11831da177e4SLinus Torvalds
11841da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
11851da177e4SLinus Torvaldsahd_reg_print_t ahd_cmcrxmsg2_print;
11861da177e4SLinus Torvalds#else
11871da177e4SLinus Torvalds#define ahd_cmcrxmsg2_print(regvalue, cur_col, wrap) \
11881da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "CMCRXMSG2", 0x92, regvalue, cur_col, wrap)
11891da177e4SLinus Torvalds#endif
11901da177e4SLinus Torvalds
11911da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
11921da177e4SLinus Torvaldsahd_reg_print_t ahd_ost_print;
11931da177e4SLinus Torvalds#else
11941da177e4SLinus Torvalds#define ahd_ost_print(regvalue, cur_col, wrap) \
11951da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "OST", 0x92, regvalue, cur_col, wrap)
11961da177e4SLinus Torvalds#endif
11971da177e4SLinus Torvalds
11981da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
11991da177e4SLinus Torvaldsahd_reg_print_t ahd_dchrxmsg3_print;
12001da177e4SLinus Torvalds#else
12011da177e4SLinus Torvalds#define ahd_dchrxmsg3_print(regvalue, cur_col, wrap) \
12021da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "DCHRXMSG3", 0x93, regvalue, cur_col, wrap)
12031da177e4SLinus Torvalds#endif
12041da177e4SLinus Torvalds
12051da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
12061da177e4SLinus Torvaldsahd_reg_print_t ahd_cmcrxmsg3_print;
12071da177e4SLinus Torvalds#else
12081da177e4SLinus Torvalds#define ahd_cmcrxmsg3_print(regvalue, cur_col, wrap) \
12091da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "CMCRXMSG3", 0x93, regvalue, cur_col, wrap)
12101da177e4SLinus Torvalds#endif
12111da177e4SLinus Torvalds
12121da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
12131da177e4SLinus Torvaldsahd_reg_print_t ahd_pcixctl_print;
12141da177e4SLinus Torvalds#else
12151da177e4SLinus Torvalds#define ahd_pcixctl_print(regvalue, cur_col, wrap) \
12161da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "PCIXCTL", 0x93, regvalue, cur_col, wrap)
12171da177e4SLinus Torvalds#endif
12181da177e4SLinus Torvalds
12191da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
12201da177e4SLinus Torvaldsahd_reg_print_t ahd_ovlyrxmsg3_print;
12211da177e4SLinus Torvalds#else
12221da177e4SLinus Torvalds#define ahd_ovlyrxmsg3_print(regvalue, cur_col, wrap) \
12231da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "OVLYRXMSG3", 0x93, regvalue, cur_col, wrap)
12241da177e4SLinus Torvalds#endif
12251da177e4SLinus Torvalds
12261da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
12271da177e4SLinus Torvaldsahd_reg_print_t ahd_ovlyseqbcnt_print;
12281da177e4SLinus Torvalds#else
12291da177e4SLinus Torvalds#define ahd_ovlyseqbcnt_print(regvalue, cur_col, wrap) \
12301da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "OVLYSEQBCNT", 0x94, regvalue, cur_col, wrap)
12311da177e4SLinus Torvalds#endif
12321da177e4SLinus Torvalds
12331da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
12341da177e4SLinus Torvaldsahd_reg_print_t ahd_cmcseqbcnt_print;
12351da177e4SLinus Torvalds#else
12361da177e4SLinus Torvalds#define ahd_cmcseqbcnt_print(regvalue, cur_col, wrap) \
12371da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "CMCSEQBCNT", 0x94, regvalue, cur_col, wrap)
12381da177e4SLinus Torvalds#endif
12391da177e4SLinus Torvalds
12401da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
12411da177e4SLinus Torvaldsahd_reg_print_t ahd_dchseqbcnt_print;
12421da177e4SLinus Torvalds#else
12431da177e4SLinus Torvalds#define ahd_dchseqbcnt_print(regvalue, cur_col, wrap) \
12441da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "DCHSEQBCNT", 0x94, regvalue, cur_col, wrap)
12451da177e4SLinus Torvalds#endif
12461da177e4SLinus Torvalds
12471da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
12481da177e4SLinus Torvaldsahd_reg_print_t ahd_cmcspltstat0_print;
12491da177e4SLinus Torvalds#else
12501da177e4SLinus Torvalds#define ahd_cmcspltstat0_print(regvalue, cur_col, wrap) \
12511da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "CMCSPLTSTAT0", 0x96, regvalue, cur_col, wrap)
12521da177e4SLinus Torvalds#endif
12531da177e4SLinus Torvalds
12541da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
12551da177e4SLinus Torvaldsahd_reg_print_t ahd_ovlyspltstat0_print;
12561da177e4SLinus Torvalds#else
12571da177e4SLinus Torvalds#define ahd_ovlyspltstat0_print(regvalue, cur_col, wrap) \
12581da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "OVLYSPLTSTAT0", 0x96, regvalue, cur_col, wrap)
12591da177e4SLinus Torvalds#endif
12601da177e4SLinus Torvalds
12611da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
12621da177e4SLinus Torvaldsahd_reg_print_t ahd_dchspltstat0_print;
12631da177e4SLinus Torvalds#else
12641da177e4SLinus Torvalds#define ahd_dchspltstat0_print(regvalue, cur_col, wrap) \
12651da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "DCHSPLTSTAT0", 0x96, regvalue, cur_col, wrap)
12661da177e4SLinus Torvalds#endif
12671da177e4SLinus Torvalds
12681da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
12691da177e4SLinus Torvaldsahd_reg_print_t ahd_dchspltstat1_print;
12701da177e4SLinus Torvalds#else
12711da177e4SLinus Torvalds#define ahd_dchspltstat1_print(regvalue, cur_col, wrap) \
12721da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "DCHSPLTSTAT1", 0x97, regvalue, cur_col, wrap)
12731da177e4SLinus Torvalds#endif
12741da177e4SLinus Torvalds
12751da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
12761da177e4SLinus Torvaldsahd_reg_print_t ahd_cmcspltstat1_print;
12771da177e4SLinus Torvalds#else
12781da177e4SLinus Torvalds#define ahd_cmcspltstat1_print(regvalue, cur_col, wrap) \
12791da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "CMCSPLTSTAT1", 0x97, regvalue, cur_col, wrap)
12801da177e4SLinus Torvalds#endif
12811da177e4SLinus Torvalds
12821da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
12831da177e4SLinus Torvaldsahd_reg_print_t ahd_ovlyspltstat1_print;
12841da177e4SLinus Torvalds#else
12851da177e4SLinus Torvalds#define ahd_ovlyspltstat1_print(regvalue, cur_col, wrap) \
12861da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "OVLYSPLTSTAT1", 0x97, regvalue, cur_col, wrap)
12871da177e4SLinus Torvalds#endif
12881da177e4SLinus Torvalds
12891da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
12901da177e4SLinus Torvaldsahd_reg_print_t ahd_sgrxmsg0_print;
12911da177e4SLinus Torvalds#else
12921da177e4SLinus Torvalds#define ahd_sgrxmsg0_print(regvalue, cur_col, wrap) \
12931da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SGRXMSG0", 0x98, regvalue, cur_col, wrap)
12941da177e4SLinus Torvalds#endif
12951da177e4SLinus Torvalds
12961da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
12971da177e4SLinus Torvaldsahd_reg_print_t ahd_slvspltoutadr0_print;
12981da177e4SLinus Torvalds#else
12991da177e4SLinus Torvalds#define ahd_slvspltoutadr0_print(regvalue, cur_col, wrap) \
13001da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SLVSPLTOUTADR0", 0x98, regvalue, cur_col, wrap)
13011da177e4SLinus Torvalds#endif
13021da177e4SLinus Torvalds
13031da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
13041da177e4SLinus Torvaldsahd_reg_print_t ahd_sgrxmsg1_print;
13051da177e4SLinus Torvalds#else
13061da177e4SLinus Torvalds#define ahd_sgrxmsg1_print(regvalue, cur_col, wrap) \
13071da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SGRXMSG1", 0x99, regvalue, cur_col, wrap)
13081da177e4SLinus Torvalds#endif
13091da177e4SLinus Torvalds
13101da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
13111da177e4SLinus Torvaldsahd_reg_print_t ahd_slvspltoutadr1_print;
13121da177e4SLinus Torvalds#else
13131da177e4SLinus Torvalds#define ahd_slvspltoutadr1_print(regvalue, cur_col, wrap) \
13141da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SLVSPLTOUTADR1", 0x99, regvalue, cur_col, wrap)
13151da177e4SLinus Torvalds#endif
13161da177e4SLinus Torvalds
13171da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
13181da177e4SLinus Torvaldsahd_reg_print_t ahd_sgrxmsg2_print;
13191da177e4SLinus Torvalds#else
13201da177e4SLinus Torvalds#define ahd_sgrxmsg2_print(regvalue, cur_col, wrap) \
13211da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SGRXMSG2", 0x9a, regvalue, cur_col, wrap)
13221da177e4SLinus Torvalds#endif
13231da177e4SLinus Torvalds
13241da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
13251da177e4SLinus Torvaldsahd_reg_print_t ahd_slvspltoutadr2_print;
13261da177e4SLinus Torvalds#else
13271da177e4SLinus Torvalds#define ahd_slvspltoutadr2_print(regvalue, cur_col, wrap) \
13281da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SLVSPLTOUTADR2", 0x9a, regvalue, cur_col, wrap)
13291da177e4SLinus Torvalds#endif
13301da177e4SLinus Torvalds
13311da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
13321da177e4SLinus Torvaldsahd_reg_print_t ahd_sgrxmsg3_print;
13331da177e4SLinus Torvalds#else
13341da177e4SLinus Torvalds#define ahd_sgrxmsg3_print(regvalue, cur_col, wrap) \
13351da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SGRXMSG3", 0x9b, regvalue, cur_col, wrap)
13361da177e4SLinus Torvalds#endif
13371da177e4SLinus Torvalds
13381da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
13391da177e4SLinus Torvaldsahd_reg_print_t ahd_slvspltoutadr3_print;
13401da177e4SLinus Torvalds#else
13411da177e4SLinus Torvalds#define ahd_slvspltoutadr3_print(regvalue, cur_col, wrap) \
13421da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SLVSPLTOUTADR3", 0x9b, regvalue, cur_col, wrap)
13431da177e4SLinus Torvalds#endif
13441da177e4SLinus Torvalds
13451da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
13461da177e4SLinus Torvaldsahd_reg_print_t ahd_sgseqbcnt_print;
13471da177e4SLinus Torvalds#else
13481da177e4SLinus Torvalds#define ahd_sgseqbcnt_print(regvalue, cur_col, wrap) \
13491da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SGSEQBCNT", 0x9c, regvalue, cur_col, wrap)
13501da177e4SLinus Torvalds#endif
13511da177e4SLinus Torvalds
13521da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
13531da177e4SLinus Torvaldsahd_reg_print_t ahd_slvspltoutattr0_print;
13541da177e4SLinus Torvalds#else
13551da177e4SLinus Torvalds#define ahd_slvspltoutattr0_print(regvalue, cur_col, wrap) \
13561da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SLVSPLTOUTATTR0", 0x9c, regvalue, cur_col, wrap)
13571da177e4SLinus Torvalds#endif
13581da177e4SLinus Torvalds
13591da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
13601da177e4SLinus Torvaldsahd_reg_print_t ahd_slvspltoutattr1_print;
13611da177e4SLinus Torvalds#else
13621da177e4SLinus Torvalds#define ahd_slvspltoutattr1_print(regvalue, cur_col, wrap) \
13631da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SLVSPLTOUTATTR1", 0x9d, regvalue, cur_col, wrap)
13641da177e4SLinus Torvalds#endif
13651da177e4SLinus Torvalds
13661da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
13671da177e4SLinus Torvaldsahd_reg_print_t ahd_slvspltoutattr2_print;
13681da177e4SLinus Torvalds#else
13691da177e4SLinus Torvalds#define ahd_slvspltoutattr2_print(regvalue, cur_col, wrap) \
13701da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SLVSPLTOUTATTR2", 0x9e, regvalue, cur_col, wrap)
13711da177e4SLinus Torvalds#endif
13721da177e4SLinus Torvalds
13731da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
13741da177e4SLinus Torvaldsahd_reg_print_t ahd_sgspltstat0_print;
13751da177e4SLinus Torvalds#else
13761da177e4SLinus Torvalds#define ahd_sgspltstat0_print(regvalue, cur_col, wrap) \
13771da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SGSPLTSTAT0", 0x9e, regvalue, cur_col, wrap)
13781da177e4SLinus Torvalds#endif
13791da177e4SLinus Torvalds
13801da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
13811da177e4SLinus Torvaldsahd_reg_print_t ahd_sfunct_print;
13821da177e4SLinus Torvalds#else
13831da177e4SLinus Torvalds#define ahd_sfunct_print(regvalue, cur_col, wrap) \
13841da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SFUNCT", 0x9f, regvalue, cur_col, wrap)
13851da177e4SLinus Torvalds#endif
13861da177e4SLinus Torvalds
13871da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
13881da177e4SLinus Torvaldsahd_reg_print_t ahd_sgspltstat1_print;
13891da177e4SLinus Torvalds#else
13901da177e4SLinus Torvalds#define ahd_sgspltstat1_print(regvalue, cur_col, wrap) \
13911da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SGSPLTSTAT1", 0x9f, regvalue, cur_col, wrap)
13921da177e4SLinus Torvalds#endif
13931da177e4SLinus Torvalds
13941da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
13951da177e4SLinus Torvaldsahd_reg_print_t ahd_df0pcistat_print;
13961da177e4SLinus Torvalds#else
13971da177e4SLinus Torvalds#define ahd_df0pcistat_print(regvalue, cur_col, wrap) \
13981da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "DF0PCISTAT", 0xa0, regvalue, cur_col, wrap)
13991da177e4SLinus Torvalds#endif
14001da177e4SLinus Torvalds
14011da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
14021da177e4SLinus Torvaldsahd_reg_print_t ahd_reg0_print;
14031da177e4SLinus Torvalds#else
14041da177e4SLinus Torvalds#define ahd_reg0_print(regvalue, cur_col, wrap) \
14051da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "REG0", 0xa0, regvalue, cur_col, wrap)
14061da177e4SLinus Torvalds#endif
14071da177e4SLinus Torvalds
14081da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
14091da177e4SLinus Torvaldsahd_reg_print_t ahd_df1pcistat_print;
14101da177e4SLinus Torvalds#else
14111da177e4SLinus Torvalds#define ahd_df1pcistat_print(regvalue, cur_col, wrap) \
14121da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "DF1PCISTAT", 0xa1, regvalue, cur_col, wrap)
14131da177e4SLinus Torvalds#endif
14141da177e4SLinus Torvalds
14151da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
14161da177e4SLinus Torvaldsahd_reg_print_t ahd_sgpcistat_print;
14171da177e4SLinus Torvalds#else
14181da177e4SLinus Torvalds#define ahd_sgpcistat_print(regvalue, cur_col, wrap) \
14191da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SGPCISTAT", 0xa2, regvalue, cur_col, wrap)
14201da177e4SLinus Torvalds#endif
14211da177e4SLinus Torvalds
14221da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
14231da177e4SLinus Torvaldsahd_reg_print_t ahd_reg1_print;
14241da177e4SLinus Torvalds#else
14251da177e4SLinus Torvalds#define ahd_reg1_print(regvalue, cur_col, wrap) \
14261da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "REG1", 0xa2, regvalue, cur_col, wrap)
14271da177e4SLinus Torvalds#endif
14281da177e4SLinus Torvalds
14291da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
14301da177e4SLinus Torvaldsahd_reg_print_t ahd_cmcpcistat_print;
14311da177e4SLinus Torvalds#else
14321da177e4SLinus Torvalds#define ahd_cmcpcistat_print(regvalue, cur_col, wrap) \
14331da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "CMCPCISTAT", 0xa3, regvalue, cur_col, wrap)
14341da177e4SLinus Torvalds#endif
14351da177e4SLinus Torvalds
14361da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
14371da177e4SLinus Torvaldsahd_reg_print_t ahd_ovlypcistat_print;
14381da177e4SLinus Torvalds#else
14391da177e4SLinus Torvalds#define ahd_ovlypcistat_print(regvalue, cur_col, wrap) \
14401da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "OVLYPCISTAT", 0xa4, regvalue, cur_col, wrap)
14411da177e4SLinus Torvalds#endif
14421da177e4SLinus Torvalds
14431da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
14441da177e4SLinus Torvaldsahd_reg_print_t ahd_reg_isr_print;
14451da177e4SLinus Torvalds#else
14461da177e4SLinus Torvalds#define ahd_reg_isr_print(regvalue, cur_col, wrap) \
14471da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "REG_ISR", 0xa4, regvalue, cur_col, wrap)
14481da177e4SLinus Torvalds#endif
14491da177e4SLinus Torvalds
14501da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
14511da177e4SLinus Torvaldsahd_reg_print_t ahd_sg_state_print;
14521da177e4SLinus Torvalds#else
14531da177e4SLinus Torvalds#define ahd_sg_state_print(regvalue, cur_col, wrap) \
14541da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SG_STATE", 0xa6, regvalue, cur_col, wrap)
14551da177e4SLinus Torvalds#endif
14561da177e4SLinus Torvalds
14571da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
14581da177e4SLinus Torvaldsahd_reg_print_t ahd_msipcistat_print;
14591da177e4SLinus Torvalds#else
14601da177e4SLinus Torvalds#define ahd_msipcistat_print(regvalue, cur_col, wrap) \
14611da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "MSIPCISTAT", 0xa6, regvalue, cur_col, wrap)
14621da177e4SLinus Torvalds#endif
14631da177e4SLinus Torvalds
14641da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
14651da177e4SLinus Torvaldsahd_reg_print_t ahd_targpcistat_print;
14661da177e4SLinus Torvalds#else
14671da177e4SLinus Torvalds#define ahd_targpcistat_print(regvalue, cur_col, wrap) \
14681da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "TARGPCISTAT", 0xa7, regvalue, cur_col, wrap)
14691da177e4SLinus Torvalds#endif
14701da177e4SLinus Torvalds
14711da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
14721da177e4SLinus Torvaldsahd_reg_print_t ahd_data_count_odd_print;
14731da177e4SLinus Torvalds#else
14741da177e4SLinus Torvalds#define ahd_data_count_odd_print(regvalue, cur_col, wrap) \
14751da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "DATA_COUNT_ODD", 0xa7, regvalue, cur_col, wrap)
14761da177e4SLinus Torvalds#endif
14771da177e4SLinus Torvalds
14781da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
14791da177e4SLinus Torvaldsahd_reg_print_t ahd_scbptr_print;
14801da177e4SLinus Torvalds#else
14811da177e4SLinus Torvalds#define ahd_scbptr_print(regvalue, cur_col, wrap) \
14821da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SCBPTR", 0xa8, regvalue, cur_col, wrap)
14831da177e4SLinus Torvalds#endif
14841da177e4SLinus Torvalds
14851da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
14861da177e4SLinus Torvaldsahd_reg_print_t ahd_ccscbacnt_print;
14871da177e4SLinus Torvalds#else
14881da177e4SLinus Torvalds#define ahd_ccscbacnt_print(regvalue, cur_col, wrap) \
14891da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "CCSCBACNT", 0xab, regvalue, cur_col, wrap)
14901da177e4SLinus Torvalds#endif
14911da177e4SLinus Torvalds
14921da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
14931da177e4SLinus Torvaldsahd_reg_print_t ahd_scbautoptr_print;
14941da177e4SLinus Torvalds#else
14951da177e4SLinus Torvalds#define ahd_scbautoptr_print(regvalue, cur_col, wrap) \
14961da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SCBAUTOPTR", 0xab, regvalue, cur_col, wrap)
14971da177e4SLinus Torvalds#endif
14981da177e4SLinus Torvalds
14991da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
15001da177e4SLinus Torvaldsahd_reg_print_t ahd_ccsgaddr_print;
15011da177e4SLinus Torvalds#else
15021da177e4SLinus Torvalds#define ahd_ccsgaddr_print(regvalue, cur_col, wrap) \
15031da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "CCSGADDR", 0xac, regvalue, cur_col, wrap)
15041da177e4SLinus Torvalds#endif
15051da177e4SLinus Torvalds
15061da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
15071da177e4SLinus Torvaldsahd_reg_print_t ahd_ccscbaddr_print;
15081da177e4SLinus Torvalds#else
15091da177e4SLinus Torvalds#define ahd_ccscbaddr_print(regvalue, cur_col, wrap) \
15101da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "CCSCBADDR", 0xac, regvalue, cur_col, wrap)
15111da177e4SLinus Torvalds#endif
15121da177e4SLinus Torvalds
15131da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
15141da177e4SLinus Torvaldsahd_reg_print_t ahd_ccscbadr_bk_print;
15151da177e4SLinus Torvalds#else
15161da177e4SLinus Torvalds#define ahd_ccscbadr_bk_print(regvalue, cur_col, wrap) \
15171da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "CCSCBADR_BK", 0xac, regvalue, cur_col, wrap)
15181da177e4SLinus Torvalds#endif
15191da177e4SLinus Torvalds
15201da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
15211da177e4SLinus Torvaldsahd_reg_print_t ahd_cmc_rambist_print;
15221da177e4SLinus Torvalds#else
15231da177e4SLinus Torvalds#define ahd_cmc_rambist_print(regvalue, cur_col, wrap) \
15241da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "CMC_RAMBIST", 0xad, regvalue, cur_col, wrap)
15251da177e4SLinus Torvalds#endif
15261da177e4SLinus Torvalds
15271da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
15281da177e4SLinus Torvaldsahd_reg_print_t ahd_ccsgctl_print;
15291da177e4SLinus Torvalds#else
15301da177e4SLinus Torvalds#define ahd_ccsgctl_print(regvalue, cur_col, wrap) \
15311da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "CCSGCTL", 0xad, regvalue, cur_col, wrap)
15321da177e4SLinus Torvalds#endif
15331da177e4SLinus Torvalds
15341da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
15351da177e4SLinus Torvaldsahd_reg_print_t ahd_ccscbctl_print;
15361da177e4SLinus Torvalds#else
15371da177e4SLinus Torvalds#define ahd_ccscbctl_print(regvalue, cur_col, wrap) \
15381da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "CCSCBCTL", 0xad, regvalue, cur_col, wrap)
15391da177e4SLinus Torvalds#endif
15401da177e4SLinus Torvalds
15411da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
15421da177e4SLinus Torvaldsahd_reg_print_t ahd_ccsgram_print;
15431da177e4SLinus Torvalds#else
15441da177e4SLinus Torvalds#define ahd_ccsgram_print(regvalue, cur_col, wrap) \
15451da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "CCSGRAM", 0xb0, regvalue, cur_col, wrap)
15461da177e4SLinus Torvalds#endif
15471da177e4SLinus Torvalds
15481da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
15491da177e4SLinus Torvaldsahd_reg_print_t ahd_flexadr_print;
15501da177e4SLinus Torvalds#else
15511da177e4SLinus Torvalds#define ahd_flexadr_print(regvalue, cur_col, wrap) \
15521da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "FLEXADR", 0xb0, regvalue, cur_col, wrap)
15531da177e4SLinus Torvalds#endif
15541da177e4SLinus Torvalds
15551da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
15561da177e4SLinus Torvaldsahd_reg_print_t ahd_ccscbram_print;
15571da177e4SLinus Torvalds#else
15581da177e4SLinus Torvalds#define ahd_ccscbram_print(regvalue, cur_col, wrap) \
15591da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "CCSCBRAM", 0xb0, regvalue, cur_col, wrap)
15601da177e4SLinus Torvalds#endif
15611da177e4SLinus Torvalds
15621da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
15631da177e4SLinus Torvaldsahd_reg_print_t ahd_flexcnt_print;
15641da177e4SLinus Torvalds#else
15651da177e4SLinus Torvalds#define ahd_flexcnt_print(regvalue, cur_col, wrap) \
15661da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "FLEXCNT", 0xb3, regvalue, cur_col, wrap)
15671da177e4SLinus Torvalds#endif
15681da177e4SLinus Torvalds
15691da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
15701da177e4SLinus Torvaldsahd_reg_print_t ahd_flexdmastat_print;
15711da177e4SLinus Torvalds#else
15721da177e4SLinus Torvalds#define ahd_flexdmastat_print(regvalue, cur_col, wrap) \
15731da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "FLEXDMASTAT", 0xb5, regvalue, cur_col, wrap)
15741da177e4SLinus Torvalds#endif
15751da177e4SLinus Torvalds
15761da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
15771da177e4SLinus Torvaldsahd_reg_print_t ahd_flexdata_print;
15781da177e4SLinus Torvalds#else
15791da177e4SLinus Torvalds#define ahd_flexdata_print(regvalue, cur_col, wrap) \
15801da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "FLEXDATA", 0xb6, regvalue, cur_col, wrap)
15811da177e4SLinus Torvalds#endif
15821da177e4SLinus Torvalds
15831da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
15841da177e4SLinus Torvaldsahd_reg_print_t ahd_brddat_print;
15851da177e4SLinus Torvalds#else
15861da177e4SLinus Torvalds#define ahd_brddat_print(regvalue, cur_col, wrap) \
15871da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "BRDDAT", 0xb8, regvalue, cur_col, wrap)
15881da177e4SLinus Torvalds#endif
15891da177e4SLinus Torvalds
15901da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
15911da177e4SLinus Torvaldsahd_reg_print_t ahd_brdctl_print;
15921da177e4SLinus Torvalds#else
15931da177e4SLinus Torvalds#define ahd_brdctl_print(regvalue, cur_col, wrap) \
15941da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "BRDCTL", 0xb9, regvalue, cur_col, wrap)
15951da177e4SLinus Torvalds#endif
15961da177e4SLinus Torvalds
15971da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
15981da177e4SLinus Torvaldsahd_reg_print_t ahd_seeadr_print;
15991da177e4SLinus Torvalds#else
16001da177e4SLinus Torvalds#define ahd_seeadr_print(regvalue, cur_col, wrap) \
16011da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SEEADR", 0xba, regvalue, cur_col, wrap)
16021da177e4SLinus Torvalds#endif
16031da177e4SLinus Torvalds
16041da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
16051da177e4SLinus Torvaldsahd_reg_print_t ahd_seedat_print;
16061da177e4SLinus Torvalds#else
16071da177e4SLinus Torvalds#define ahd_seedat_print(regvalue, cur_col, wrap) \
16081da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SEEDAT", 0xbc, regvalue, cur_col, wrap)
16091da177e4SLinus Torvalds#endif
16101da177e4SLinus Torvalds
16111da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
16121da177e4SLinus Torvaldsahd_reg_print_t ahd_seectl_print;
16131da177e4SLinus Torvalds#else
16141da177e4SLinus Torvalds#define ahd_seectl_print(regvalue, cur_col, wrap) \
16151da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SEECTL", 0xbe, regvalue, cur_col, wrap)
16161da177e4SLinus Torvalds#endif
16171da177e4SLinus Torvalds
16181da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
16191da177e4SLinus Torvaldsahd_reg_print_t ahd_seestat_print;
16201da177e4SLinus Torvalds#else
16211da177e4SLinus Torvalds#define ahd_seestat_print(regvalue, cur_col, wrap) \
16221da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SEESTAT", 0xbe, regvalue, cur_col, wrap)
16231da177e4SLinus Torvalds#endif
16241da177e4SLinus Torvalds
16251da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
16261da177e4SLinus Torvaldsahd_reg_print_t ahd_scbcnt_print;
16271da177e4SLinus Torvalds#else
16281da177e4SLinus Torvalds#define ahd_scbcnt_print(regvalue, cur_col, wrap) \
16291da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SCBCNT", 0xbf, regvalue, cur_col, wrap)
16301da177e4SLinus Torvalds#endif
16311da177e4SLinus Torvalds
16321da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
16331da177e4SLinus Torvaldsahd_reg_print_t ahd_dfwaddr_print;
16341da177e4SLinus Torvalds#else
16351da177e4SLinus Torvalds#define ahd_dfwaddr_print(regvalue, cur_col, wrap) \
16361da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "DFWADDR", 0xc0, regvalue, cur_col, wrap)
16371da177e4SLinus Torvalds#endif
16381da177e4SLinus Torvalds
16391da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
16401da177e4SLinus Torvaldsahd_reg_print_t ahd_dspfltrctl_print;
16411da177e4SLinus Torvalds#else
16421da177e4SLinus Torvalds#define ahd_dspfltrctl_print(regvalue, cur_col, wrap) \
16431da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "DSPFLTRCTL", 0xc0, regvalue, cur_col, wrap)
16441da177e4SLinus Torvalds#endif
16451da177e4SLinus Torvalds
16461da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
16471da177e4SLinus Torvaldsahd_reg_print_t ahd_dspdatactl_print;
16481da177e4SLinus Torvalds#else
16491da177e4SLinus Torvalds#define ahd_dspdatactl_print(regvalue, cur_col, wrap) \
16501da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "DSPDATACTL", 0xc1, regvalue, cur_col, wrap)
16511da177e4SLinus Torvalds#endif
16521da177e4SLinus Torvalds
16531da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
16541da177e4SLinus Torvaldsahd_reg_print_t ahd_dfraddr_print;
16551da177e4SLinus Torvalds#else
16561da177e4SLinus Torvalds#define ahd_dfraddr_print(regvalue, cur_col, wrap) \
16571da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "DFRADDR", 0xc2, regvalue, cur_col, wrap)
16581da177e4SLinus Torvalds#endif
16591da177e4SLinus Torvalds
16601da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
16611da177e4SLinus Torvaldsahd_reg_print_t ahd_dspreqctl_print;
16621da177e4SLinus Torvalds#else
16631da177e4SLinus Torvalds#define ahd_dspreqctl_print(regvalue, cur_col, wrap) \
16641da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "DSPREQCTL", 0xc2, regvalue, cur_col, wrap)
16651da177e4SLinus Torvalds#endif
16661da177e4SLinus Torvalds
16671da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
16681da177e4SLinus Torvaldsahd_reg_print_t ahd_dspackctl_print;
16691da177e4SLinus Torvalds#else
16701da177e4SLinus Torvalds#define ahd_dspackctl_print(regvalue, cur_col, wrap) \
16711da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "DSPACKCTL", 0xc3, regvalue, cur_col, wrap)
16721da177e4SLinus Torvalds#endif
16731da177e4SLinus Torvalds
16741da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
16751da177e4SLinus Torvaldsahd_reg_print_t ahd_dfdat_print;
16761da177e4SLinus Torvalds#else
16771da177e4SLinus Torvalds#define ahd_dfdat_print(regvalue, cur_col, wrap) \
16781da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "DFDAT", 0xc4, regvalue, cur_col, wrap)
16791da177e4SLinus Torvalds#endif
16801da177e4SLinus Torvalds
16811da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
16821da177e4SLinus Torvaldsahd_reg_print_t ahd_dspselect_print;
16831da177e4SLinus Torvalds#else
16841da177e4SLinus Torvalds#define ahd_dspselect_print(regvalue, cur_col, wrap) \
16851da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "DSPSELECT", 0xc4, regvalue, cur_col, wrap)
16861da177e4SLinus Torvalds#endif
16871da177e4SLinus Torvalds
16881da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
16891da177e4SLinus Torvaldsahd_reg_print_t ahd_wrtbiasctl_print;
16901da177e4SLinus Torvalds#else
16911da177e4SLinus Torvalds#define ahd_wrtbiasctl_print(regvalue, cur_col, wrap) \
16921da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "WRTBIASCTL", 0xc5, regvalue, cur_col, wrap)
16931da177e4SLinus Torvalds#endif
16941da177e4SLinus Torvalds
16951da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
16961da177e4SLinus Torvaldsahd_reg_print_t ahd_rcvrbiosctl_print;
16971da177e4SLinus Torvalds#else
16981da177e4SLinus Torvalds#define ahd_rcvrbiosctl_print(regvalue, cur_col, wrap) \
16991da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "RCVRBIOSCTL", 0xc6, regvalue, cur_col, wrap)
17001da177e4SLinus Torvalds#endif
17011da177e4SLinus Torvalds
17021da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
17031da177e4SLinus Torvaldsahd_reg_print_t ahd_wrtbiascalc_print;
17041da177e4SLinus Torvalds#else
17051da177e4SLinus Torvalds#define ahd_wrtbiascalc_print(regvalue, cur_col, wrap) \
17061da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "WRTBIASCALC", 0xc7, regvalue, cur_col, wrap)
17071da177e4SLinus Torvalds#endif
17081da177e4SLinus Torvalds
17091da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
17101da177e4SLinus Torvaldsahd_reg_print_t ahd_dfptrs_print;
17111da177e4SLinus Torvalds#else
17121da177e4SLinus Torvalds#define ahd_dfptrs_print(regvalue, cur_col, wrap) \
17131da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "DFPTRS", 0xc8, regvalue, cur_col, wrap)
17141da177e4SLinus Torvalds#endif
17151da177e4SLinus Torvalds
17161da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
17171da177e4SLinus Torvaldsahd_reg_print_t ahd_rcvrbiascalc_print;
17181da177e4SLinus Torvalds#else
17191da177e4SLinus Torvalds#define ahd_rcvrbiascalc_print(regvalue, cur_col, wrap) \
17201da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "RCVRBIASCALC", 0xc8, regvalue, cur_col, wrap)
17211da177e4SLinus Torvalds#endif
17221da177e4SLinus Torvalds
17231da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
17241da177e4SLinus Torvaldsahd_reg_print_t ahd_dfbkptr_print;
17251da177e4SLinus Torvalds#else
17261da177e4SLinus Torvalds#define ahd_dfbkptr_print(regvalue, cur_col, wrap) \
17271da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "DFBKPTR", 0xc9, regvalue, cur_col, wrap)
17281da177e4SLinus Torvalds#endif
17291da177e4SLinus Torvalds
17301da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
17311da177e4SLinus Torvaldsahd_reg_print_t ahd_skewcalc_print;
17321da177e4SLinus Torvalds#else
17331da177e4SLinus Torvalds#define ahd_skewcalc_print(regvalue, cur_col, wrap) \
17341da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SKEWCALC", 0xc9, regvalue, cur_col, wrap)
17351da177e4SLinus Torvalds#endif
17361da177e4SLinus Torvalds
17371da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
17381da177e4SLinus Torvaldsahd_reg_print_t ahd_dfdbctl_print;
17391da177e4SLinus Torvalds#else
17401da177e4SLinus Torvalds#define ahd_dfdbctl_print(regvalue, cur_col, wrap) \
17411da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "DFDBCTL", 0xcb, regvalue, cur_col, wrap)
17421da177e4SLinus Torvalds#endif
17431da177e4SLinus Torvalds
17441da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
17451da177e4SLinus Torvaldsahd_reg_print_t ahd_dfscnt_print;
17461da177e4SLinus Torvalds#else
17471da177e4SLinus Torvalds#define ahd_dfscnt_print(regvalue, cur_col, wrap) \
17481da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "DFSCNT", 0xcc, regvalue, cur_col, wrap)
17491da177e4SLinus Torvalds#endif
17501da177e4SLinus Torvalds
17511da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
17521da177e4SLinus Torvaldsahd_reg_print_t ahd_dfbcnt_print;
17531da177e4SLinus Torvalds#else
17541da177e4SLinus Torvalds#define ahd_dfbcnt_print(regvalue, cur_col, wrap) \
17551da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "DFBCNT", 0xce, regvalue, cur_col, wrap)
17561da177e4SLinus Torvalds#endif
17571da177e4SLinus Torvalds
17581da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
17591da177e4SLinus Torvaldsahd_reg_print_t ahd_ovlyaddr_print;
17601da177e4SLinus Torvalds#else
17611da177e4SLinus Torvalds#define ahd_ovlyaddr_print(regvalue, cur_col, wrap) \
17621da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "OVLYADDR", 0xd4, regvalue, cur_col, wrap)
17631da177e4SLinus Torvalds#endif
17641da177e4SLinus Torvalds
17651da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
17661da177e4SLinus Torvaldsahd_reg_print_t ahd_seqctl0_print;
17671da177e4SLinus Torvalds#else
17681da177e4SLinus Torvalds#define ahd_seqctl0_print(regvalue, cur_col, wrap) \
17691da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SEQCTL0", 0xd6, regvalue, cur_col, wrap)
17701da177e4SLinus Torvalds#endif
17711da177e4SLinus Torvalds
17721da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
17731da177e4SLinus Torvaldsahd_reg_print_t ahd_seqctl1_print;
17741da177e4SLinus Torvalds#else
17751da177e4SLinus Torvalds#define ahd_seqctl1_print(regvalue, cur_col, wrap) \
17761da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SEQCTL1", 0xd7, regvalue, cur_col, wrap)
17771da177e4SLinus Torvalds#endif
17781da177e4SLinus Torvalds
17791da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
17801da177e4SLinus Torvaldsahd_reg_print_t ahd_flags_print;
17811da177e4SLinus Torvalds#else
17821da177e4SLinus Torvalds#define ahd_flags_print(regvalue, cur_col, wrap) \
17831da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "FLAGS", 0xd8, regvalue, cur_col, wrap)
17841da177e4SLinus Torvalds#endif
17851da177e4SLinus Torvalds
17861da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
17871da177e4SLinus Torvaldsahd_reg_print_t ahd_seqintctl_print;
17881da177e4SLinus Torvalds#else
17891da177e4SLinus Torvalds#define ahd_seqintctl_print(regvalue, cur_col, wrap) \
17901da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SEQINTCTL", 0xd9, regvalue, cur_col, wrap)
17911da177e4SLinus Torvalds#endif
17921da177e4SLinus Torvalds
17931da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
17941da177e4SLinus Torvaldsahd_reg_print_t ahd_seqram_print;
17951da177e4SLinus Torvalds#else
17961da177e4SLinus Torvalds#define ahd_seqram_print(regvalue, cur_col, wrap) \
17971da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SEQRAM", 0xda, regvalue, cur_col, wrap)
17981da177e4SLinus Torvalds#endif
17991da177e4SLinus Torvalds
18001da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
18011da177e4SLinus Torvaldsahd_reg_print_t ahd_prgmcnt_print;
18021da177e4SLinus Torvalds#else
18031da177e4SLinus Torvalds#define ahd_prgmcnt_print(regvalue, cur_col, wrap) \
18041da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "PRGMCNT", 0xde, regvalue, cur_col, wrap)
18051da177e4SLinus Torvalds#endif
18061da177e4SLinus Torvalds
18071da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
18081da177e4SLinus Torvaldsahd_reg_print_t ahd_accum_print;
18091da177e4SLinus Torvalds#else
18101da177e4SLinus Torvalds#define ahd_accum_print(regvalue, cur_col, wrap) \
18111da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "ACCUM", 0xe0, regvalue, cur_col, wrap)
18121da177e4SLinus Torvalds#endif
18131da177e4SLinus Torvalds
18141da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
18151da177e4SLinus Torvaldsahd_reg_print_t ahd_sindex_print;
18161da177e4SLinus Torvalds#else
18171da177e4SLinus Torvalds#define ahd_sindex_print(regvalue, cur_col, wrap) \
18181da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SINDEX", 0xe2, regvalue, cur_col, wrap)
18191da177e4SLinus Torvalds#endif
18201da177e4SLinus Torvalds
18211da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
18221da177e4SLinus Torvaldsahd_reg_print_t ahd_dindex_print;
18231da177e4SLinus Torvalds#else
18241da177e4SLinus Torvalds#define ahd_dindex_print(regvalue, cur_col, wrap) \
18251da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "DINDEX", 0xe4, regvalue, cur_col, wrap)
18261da177e4SLinus Torvalds#endif
18271da177e4SLinus Torvalds
18281da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
18291da177e4SLinus Torvaldsahd_reg_print_t ahd_brkaddr1_print;
18301da177e4SLinus Torvalds#else
18311da177e4SLinus Torvalds#define ahd_brkaddr1_print(regvalue, cur_col, wrap) \
18321da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "BRKADDR1", 0xe6, regvalue, cur_col, wrap)
18331da177e4SLinus Torvalds#endif
18341da177e4SLinus Torvalds
18351da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
18361da177e4SLinus Torvaldsahd_reg_print_t ahd_brkaddr0_print;
18371da177e4SLinus Torvalds#else
18381da177e4SLinus Torvalds#define ahd_brkaddr0_print(regvalue, cur_col, wrap) \
18391da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "BRKADDR0", 0xe6, regvalue, cur_col, wrap)
18401da177e4SLinus Torvalds#endif
18411da177e4SLinus Torvalds
18421da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
18431da177e4SLinus Torvaldsahd_reg_print_t ahd_allones_print;
18441da177e4SLinus Torvalds#else
18451da177e4SLinus Torvalds#define ahd_allones_print(regvalue, cur_col, wrap) \
18461da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "ALLONES", 0xe8, regvalue, cur_col, wrap)
18471da177e4SLinus Torvalds#endif
18481da177e4SLinus Torvalds
18491da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
18501da177e4SLinus Torvaldsahd_reg_print_t ahd_allzeros_print;
18511da177e4SLinus Torvalds#else
18521da177e4SLinus Torvalds#define ahd_allzeros_print(regvalue, cur_col, wrap) \
18531da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "ALLZEROS", 0xea, regvalue, cur_col, wrap)
18541da177e4SLinus Torvalds#endif
18551da177e4SLinus Torvalds
18561da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
18571da177e4SLinus Torvaldsahd_reg_print_t ahd_none_print;
18581da177e4SLinus Torvalds#else
18591da177e4SLinus Torvalds#define ahd_none_print(regvalue, cur_col, wrap) \
18601da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "NONE", 0xea, regvalue, cur_col, wrap)
18611da177e4SLinus Torvalds#endif
18621da177e4SLinus Torvalds
18631da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
18641da177e4SLinus Torvaldsahd_reg_print_t ahd_sindir_print;
18651da177e4SLinus Torvalds#else
18661da177e4SLinus Torvalds#define ahd_sindir_print(regvalue, cur_col, wrap) \
18671da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SINDIR", 0xec, regvalue, cur_col, wrap)
18681da177e4SLinus Torvalds#endif
18691da177e4SLinus Torvalds
18701da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
18711da177e4SLinus Torvaldsahd_reg_print_t ahd_dindir_print;
18721da177e4SLinus Torvalds#else
18731da177e4SLinus Torvalds#define ahd_dindir_print(regvalue, cur_col, wrap) \
18741da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "DINDIR", 0xed, regvalue, cur_col, wrap)
18751da177e4SLinus Torvalds#endif
18761da177e4SLinus Torvalds
18771da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
18781da177e4SLinus Torvaldsahd_reg_print_t ahd_function1_print;
18791da177e4SLinus Torvalds#else
18801da177e4SLinus Torvalds#define ahd_function1_print(regvalue, cur_col, wrap) \
18811da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "FUNCTION1", 0xf0, regvalue, cur_col, wrap)
18821da177e4SLinus Torvalds#endif
18831da177e4SLinus Torvalds
18841da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
18851da177e4SLinus Torvaldsahd_reg_print_t ahd_stack_print;
18861da177e4SLinus Torvalds#else
18871da177e4SLinus Torvalds#define ahd_stack_print(regvalue, cur_col, wrap) \
18881da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "STACK", 0xf2, regvalue, cur_col, wrap)
18891da177e4SLinus Torvalds#endif
18901da177e4SLinus Torvalds
18911da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
18921da177e4SLinus Torvaldsahd_reg_print_t ahd_curaddr_print;
18931da177e4SLinus Torvalds#else
18941da177e4SLinus Torvalds#define ahd_curaddr_print(regvalue, cur_col, wrap) \
18951da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "CURADDR", 0xf4, regvalue, cur_col, wrap)
18961da177e4SLinus Torvalds#endif
18971da177e4SLinus Torvalds
18981da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
18991da177e4SLinus Torvaldsahd_reg_print_t ahd_intvec1_addr_print;
19001da177e4SLinus Torvalds#else
19011da177e4SLinus Torvalds#define ahd_intvec1_addr_print(regvalue, cur_col, wrap) \
19021da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "INTVEC1_ADDR", 0xf4, regvalue, cur_col, wrap)
19031da177e4SLinus Torvalds#endif
19041da177e4SLinus Torvalds
19051da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
19061da177e4SLinus Torvaldsahd_reg_print_t ahd_intvec2_addr_print;
19071da177e4SLinus Torvalds#else
19081da177e4SLinus Torvalds#define ahd_intvec2_addr_print(regvalue, cur_col, wrap) \
19091da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "INTVEC2_ADDR", 0xf6, regvalue, cur_col, wrap)
19101da177e4SLinus Torvalds#endif
19111da177e4SLinus Torvalds
19121da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
19131da177e4SLinus Torvaldsahd_reg_print_t ahd_lastaddr_print;
19141da177e4SLinus Torvalds#else
19151da177e4SLinus Torvalds#define ahd_lastaddr_print(regvalue, cur_col, wrap) \
19161da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "LASTADDR", 0xf6, regvalue, cur_col, wrap)
19171da177e4SLinus Torvalds#endif
19181da177e4SLinus Torvalds
19191da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
19201da177e4SLinus Torvaldsahd_reg_print_t ahd_longjmp_addr_print;
19211da177e4SLinus Torvalds#else
19221da177e4SLinus Torvalds#define ahd_longjmp_addr_print(regvalue, cur_col, wrap) \
19231da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "LONGJMP_ADDR", 0xf8, regvalue, cur_col, wrap)
19241da177e4SLinus Torvalds#endif
19251da177e4SLinus Torvalds
19261da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
19271da177e4SLinus Torvaldsahd_reg_print_t ahd_accum_save_print;
19281da177e4SLinus Torvalds#else
19291da177e4SLinus Torvalds#define ahd_accum_save_print(regvalue, cur_col, wrap) \
19301da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "ACCUM_SAVE", 0xfa, regvalue, cur_col, wrap)
19311da177e4SLinus Torvalds#endif
19321da177e4SLinus Torvalds
19331da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
19341da177e4SLinus Torvaldsahd_reg_print_t ahd_waiting_scb_tails_print;
19351da177e4SLinus Torvalds#else
19361da177e4SLinus Torvalds#define ahd_waiting_scb_tails_print(regvalue, cur_col, wrap) \
19371da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "WAITING_SCB_TAILS", 0x100, regvalue, cur_col, wrap)
19381da177e4SLinus Torvalds#endif
19391da177e4SLinus Torvalds
19401da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
19411da177e4SLinus Torvaldsahd_reg_print_t ahd_ahd_pci_config_base_print;
19421da177e4SLinus Torvalds#else
19431da177e4SLinus Torvalds#define ahd_ahd_pci_config_base_print(regvalue, cur_col, wrap) \
19441da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "AHD_PCI_CONFIG_BASE", 0x100, regvalue, cur_col, wrap)
19451da177e4SLinus Torvalds#endif
19461da177e4SLinus Torvalds
19471da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
19481da177e4SLinus Torvaldsahd_reg_print_t ahd_sram_base_print;
19491da177e4SLinus Torvalds#else
19501da177e4SLinus Torvalds#define ahd_sram_base_print(regvalue, cur_col, wrap) \
19511da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SRAM_BASE", 0x100, regvalue, cur_col, wrap)
19521da177e4SLinus Torvalds#endif
19531da177e4SLinus Torvalds
19541da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
19551da177e4SLinus Torvaldsahd_reg_print_t ahd_waiting_tid_head_print;
19561da177e4SLinus Torvalds#else
19571da177e4SLinus Torvalds#define ahd_waiting_tid_head_print(regvalue, cur_col, wrap) \
19581da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "WAITING_TID_HEAD", 0x120, regvalue, cur_col, wrap)
19591da177e4SLinus Torvalds#endif
19601da177e4SLinus Torvalds
19611da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
19621da177e4SLinus Torvaldsahd_reg_print_t ahd_waiting_tid_tail_print;
19631da177e4SLinus Torvalds#else
19641da177e4SLinus Torvalds#define ahd_waiting_tid_tail_print(regvalue, cur_col, wrap) \
19651da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "WAITING_TID_TAIL", 0x122, regvalue, cur_col, wrap)
19661da177e4SLinus Torvalds#endif
19671da177e4SLinus Torvalds
19681da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
19691da177e4SLinus Torvaldsahd_reg_print_t ahd_next_queued_scb_addr_print;
19701da177e4SLinus Torvalds#else
19711da177e4SLinus Torvalds#define ahd_next_queued_scb_addr_print(regvalue, cur_col, wrap) \
19721da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "NEXT_QUEUED_SCB_ADDR", 0x124, regvalue, cur_col, wrap)
19731da177e4SLinus Torvalds#endif
19741da177e4SLinus Torvalds
19751da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
19761da177e4SLinus Torvaldsahd_reg_print_t ahd_complete_scb_head_print;
19771da177e4SLinus Torvalds#else
19781da177e4SLinus Torvalds#define ahd_complete_scb_head_print(regvalue, cur_col, wrap) \
19791da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "COMPLETE_SCB_HEAD", 0x128, regvalue, cur_col, wrap)
19801da177e4SLinus Torvalds#endif
19811da177e4SLinus Torvalds
19821da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
19831da177e4SLinus Torvaldsahd_reg_print_t ahd_complete_scb_dmainprog_head_print;
19841da177e4SLinus Torvalds#else
19851da177e4SLinus Torvalds#define ahd_complete_scb_dmainprog_head_print(regvalue, cur_col, wrap) \
19861da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "COMPLETE_SCB_DMAINPROG_HEAD", 0x12a, regvalue, cur_col, wrap)
19871da177e4SLinus Torvalds#endif
19881da177e4SLinus Torvalds
19891da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
19901da177e4SLinus Torvaldsahd_reg_print_t ahd_complete_dma_scb_head_print;
19911da177e4SLinus Torvalds#else
19921da177e4SLinus Torvalds#define ahd_complete_dma_scb_head_print(regvalue, cur_col, wrap) \
19931da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "COMPLETE_DMA_SCB_HEAD", 0x12c, regvalue, cur_col, wrap)
19941da177e4SLinus Torvalds#endif
19951da177e4SLinus Torvalds
19961da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
19971da177e4SLinus Torvaldsahd_reg_print_t ahd_qfreeze_count_print;
19981da177e4SLinus Torvalds#else
19991da177e4SLinus Torvalds#define ahd_qfreeze_count_print(regvalue, cur_col, wrap) \
20001da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "QFREEZE_COUNT", 0x12e, regvalue, cur_col, wrap)
20011da177e4SLinus Torvalds#endif
20021da177e4SLinus Torvalds
20031da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
20041da177e4SLinus Torvaldsahd_reg_print_t ahd_saved_mode_print;
20051da177e4SLinus Torvalds#else
20061da177e4SLinus Torvalds#define ahd_saved_mode_print(regvalue, cur_col, wrap) \
20071da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SAVED_MODE", 0x130, regvalue, cur_col, wrap)
20081da177e4SLinus Torvalds#endif
20091da177e4SLinus Torvalds
20101da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
20111da177e4SLinus Torvaldsahd_reg_print_t ahd_msg_out_print;
20121da177e4SLinus Torvalds#else
20131da177e4SLinus Torvalds#define ahd_msg_out_print(regvalue, cur_col, wrap) \
20141da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "MSG_OUT", 0x131, regvalue, cur_col, wrap)
20151da177e4SLinus Torvalds#endif
20161da177e4SLinus Torvalds
20171da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
20181da177e4SLinus Torvaldsahd_reg_print_t ahd_dmaparams_print;
20191da177e4SLinus Torvalds#else
20201da177e4SLinus Torvalds#define ahd_dmaparams_print(regvalue, cur_col, wrap) \
20211da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "DMAPARAMS", 0x132, regvalue, cur_col, wrap)
20221da177e4SLinus Torvalds#endif
20231da177e4SLinus Torvalds
20241da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
20251da177e4SLinus Torvaldsahd_reg_print_t ahd_seq_flags_print;
20261da177e4SLinus Torvalds#else
20271da177e4SLinus Torvalds#define ahd_seq_flags_print(regvalue, cur_col, wrap) \
20281da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SEQ_FLAGS", 0x133, regvalue, cur_col, wrap)
20291da177e4SLinus Torvalds#endif
20301da177e4SLinus Torvalds
20311da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
20321da177e4SLinus Torvaldsahd_reg_print_t ahd_saved_scsiid_print;
20331da177e4SLinus Torvalds#else
20341da177e4SLinus Torvalds#define ahd_saved_scsiid_print(regvalue, cur_col, wrap) \
20351da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SAVED_SCSIID", 0x134, regvalue, cur_col, wrap)
20361da177e4SLinus Torvalds#endif
20371da177e4SLinus Torvalds
20381da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
20391da177e4SLinus Torvaldsahd_reg_print_t ahd_saved_lun_print;
20401da177e4SLinus Torvalds#else
20411da177e4SLinus Torvalds#define ahd_saved_lun_print(regvalue, cur_col, wrap) \
20421da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SAVED_LUN", 0x135, regvalue, cur_col, wrap)
20431da177e4SLinus Torvalds#endif
20441da177e4SLinus Torvalds
20451da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
20461da177e4SLinus Torvaldsahd_reg_print_t ahd_lastphase_print;
20471da177e4SLinus Torvalds#else
20481da177e4SLinus Torvalds#define ahd_lastphase_print(regvalue, cur_col, wrap) \
20491da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "LASTPHASE", 0x136, regvalue, cur_col, wrap)
20501da177e4SLinus Torvalds#endif
20511da177e4SLinus Torvalds
20521da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
20531da177e4SLinus Torvaldsahd_reg_print_t ahd_qoutfifo_entry_valid_tag_print;
20541da177e4SLinus Torvalds#else
20551da177e4SLinus Torvalds#define ahd_qoutfifo_entry_valid_tag_print(regvalue, cur_col, wrap) \
20561da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "QOUTFIFO_ENTRY_VALID_TAG", 0x137, regvalue, cur_col, wrap)
20571da177e4SLinus Torvalds#endif
20581da177e4SLinus Torvalds
20591da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
20601da177e4SLinus Torvaldsahd_reg_print_t ahd_shared_data_addr_print;
20611da177e4SLinus Torvalds#else
20621da177e4SLinus Torvalds#define ahd_shared_data_addr_print(regvalue, cur_col, wrap) \
20631da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SHARED_DATA_ADDR", 0x138, regvalue, cur_col, wrap)
20641da177e4SLinus Torvalds#endif
20651da177e4SLinus Torvalds
20661da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
20671da177e4SLinus Torvaldsahd_reg_print_t ahd_qoutfifo_next_addr_print;
20681da177e4SLinus Torvalds#else
20691da177e4SLinus Torvalds#define ahd_qoutfifo_next_addr_print(regvalue, cur_col, wrap) \
20701da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "QOUTFIFO_NEXT_ADDR", 0x13c, regvalue, cur_col, wrap)
20711da177e4SLinus Torvalds#endif
20721da177e4SLinus Torvalds
20731da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
20741da177e4SLinus Torvaldsahd_reg_print_t ahd_kernel_tqinpos_print;
20751da177e4SLinus Torvalds#else
20761da177e4SLinus Torvalds#define ahd_kernel_tqinpos_print(regvalue, cur_col, wrap) \
20771da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "KERNEL_TQINPOS", 0x140, regvalue, cur_col, wrap)
20781da177e4SLinus Torvalds#endif
20791da177e4SLinus Torvalds
20801da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
20811da177e4SLinus Torvaldsahd_reg_print_t ahd_tqinpos_print;
20821da177e4SLinus Torvalds#else
20831da177e4SLinus Torvalds#define ahd_tqinpos_print(regvalue, cur_col, wrap) \
20841da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "TQINPOS", 0x141, regvalue, cur_col, wrap)
20851da177e4SLinus Torvalds#endif
20861da177e4SLinus Torvalds
20871da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
20881da177e4SLinus Torvaldsahd_reg_print_t ahd_arg_1_print;
20891da177e4SLinus Torvalds#else
20901da177e4SLinus Torvalds#define ahd_arg_1_print(regvalue, cur_col, wrap) \
20911da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "ARG_1", 0x142, regvalue, cur_col, wrap)
20921da177e4SLinus Torvalds#endif
20931da177e4SLinus Torvalds
20941da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
20951da177e4SLinus Torvaldsahd_reg_print_t ahd_arg_2_print;
20961da177e4SLinus Torvalds#else
20971da177e4SLinus Torvalds#define ahd_arg_2_print(regvalue, cur_col, wrap) \
20981da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "ARG_2", 0x143, regvalue, cur_col, wrap)
20991da177e4SLinus Torvalds#endif
21001da177e4SLinus Torvalds
21011da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
21021da177e4SLinus Torvaldsahd_reg_print_t ahd_last_msg_print;
21031da177e4SLinus Torvalds#else
21041da177e4SLinus Torvalds#define ahd_last_msg_print(regvalue, cur_col, wrap) \
21051da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "LAST_MSG", 0x144, regvalue, cur_col, wrap)
21061da177e4SLinus Torvalds#endif
21071da177e4SLinus Torvalds
21081da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
21091da177e4SLinus Torvaldsahd_reg_print_t ahd_scsiseq_template_print;
21101da177e4SLinus Torvalds#else
21111da177e4SLinus Torvalds#define ahd_scsiseq_template_print(regvalue, cur_col, wrap) \
21121da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SCSISEQ_TEMPLATE", 0x145, regvalue, cur_col, wrap)
21131da177e4SLinus Torvalds#endif
21141da177e4SLinus Torvalds
21151da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
21161da177e4SLinus Torvaldsahd_reg_print_t ahd_initiator_tag_print;
21171da177e4SLinus Torvalds#else
21181da177e4SLinus Torvalds#define ahd_initiator_tag_print(regvalue, cur_col, wrap) \
21191da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "INITIATOR_TAG", 0x146, regvalue, cur_col, wrap)
21201da177e4SLinus Torvalds#endif
21211da177e4SLinus Torvalds
21221da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
21231da177e4SLinus Torvaldsahd_reg_print_t ahd_seq_flags2_print;
21241da177e4SLinus Torvalds#else
21251da177e4SLinus Torvalds#define ahd_seq_flags2_print(regvalue, cur_col, wrap) \
21261da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SEQ_FLAGS2", 0x147, regvalue, cur_col, wrap)
21271da177e4SLinus Torvalds#endif
21281da177e4SLinus Torvalds
21291da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
21301da177e4SLinus Torvaldsahd_reg_print_t ahd_allocfifo_scbptr_print;
21311da177e4SLinus Torvalds#else
21321da177e4SLinus Torvalds#define ahd_allocfifo_scbptr_print(regvalue, cur_col, wrap) \
21331da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "ALLOCFIFO_SCBPTR", 0x148, regvalue, cur_col, wrap)
21341da177e4SLinus Torvalds#endif
21351da177e4SLinus Torvalds
21361da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
21371da177e4SLinus Torvaldsahd_reg_print_t ahd_int_coalescing_timer_print;
21381da177e4SLinus Torvalds#else
21391da177e4SLinus Torvalds#define ahd_int_coalescing_timer_print(regvalue, cur_col, wrap) \
21401da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "INT_COALESCING_TIMER", 0x14a, regvalue, cur_col, wrap)
21411da177e4SLinus Torvalds#endif
21421da177e4SLinus Torvalds
21431da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
21441da177e4SLinus Torvaldsahd_reg_print_t ahd_int_coalescing_maxcmds_print;
21451da177e4SLinus Torvalds#else
21461da177e4SLinus Torvalds#define ahd_int_coalescing_maxcmds_print(regvalue, cur_col, wrap) \
21471da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "INT_COALESCING_MAXCMDS", 0x14c, regvalue, cur_col, wrap)
21481da177e4SLinus Torvalds#endif
21491da177e4SLinus Torvalds
21501da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
21511da177e4SLinus Torvaldsahd_reg_print_t ahd_int_coalescing_mincmds_print;
21521da177e4SLinus Torvalds#else
21531da177e4SLinus Torvalds#define ahd_int_coalescing_mincmds_print(regvalue, cur_col, wrap) \
21541da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "INT_COALESCING_MINCMDS", 0x14d, regvalue, cur_col, wrap)
21551da177e4SLinus Torvalds#endif
21561da177e4SLinus Torvalds
21571da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
21581da177e4SLinus Torvaldsahd_reg_print_t ahd_cmds_pending_print;
21591da177e4SLinus Torvalds#else
21601da177e4SLinus Torvalds#define ahd_cmds_pending_print(regvalue, cur_col, wrap) \
21611da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "CMDS_PENDING", 0x14e, regvalue, cur_col, wrap)
21621da177e4SLinus Torvalds#endif
21631da177e4SLinus Torvalds
21641da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
21651da177e4SLinus Torvaldsahd_reg_print_t ahd_int_coalescing_cmdcount_print;
21661da177e4SLinus Torvalds#else
21671da177e4SLinus Torvalds#define ahd_int_coalescing_cmdcount_print(regvalue, cur_col, wrap) \
21681da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "INT_COALESCING_CMDCOUNT", 0x150, regvalue, cur_col, wrap)
21691da177e4SLinus Torvalds#endif
21701da177e4SLinus Torvalds
21711da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
21721da177e4SLinus Torvaldsahd_reg_print_t ahd_local_hs_mailbox_print;
21731da177e4SLinus Torvalds#else
21741da177e4SLinus Torvalds#define ahd_local_hs_mailbox_print(regvalue, cur_col, wrap) \
21751da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "LOCAL_HS_MAILBOX", 0x151, regvalue, cur_col, wrap)
21761da177e4SLinus Torvalds#endif
21771da177e4SLinus Torvalds
21781da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
21791da177e4SLinus Torvaldsahd_reg_print_t ahd_cmdsize_table_print;
21801da177e4SLinus Torvalds#else
21811da177e4SLinus Torvalds#define ahd_cmdsize_table_print(regvalue, cur_col, wrap) \
21821da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "CMDSIZE_TABLE", 0x152, regvalue, cur_col, wrap)
21831da177e4SLinus Torvalds#endif
21841da177e4SLinus Torvalds
21851da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
21861da177e4SLinus Torvaldsahd_reg_print_t ahd_scb_base_print;
21871da177e4SLinus Torvalds#else
21881da177e4SLinus Torvalds#define ahd_scb_base_print(regvalue, cur_col, wrap) \
21891da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SCB_BASE", 0x180, regvalue, cur_col, wrap)
21901da177e4SLinus Torvalds#endif
21911da177e4SLinus Torvalds
21921da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
21931da177e4SLinus Torvaldsahd_reg_print_t ahd_scb_residual_datacnt_print;
21941da177e4SLinus Torvalds#else
21951da177e4SLinus Torvalds#define ahd_scb_residual_datacnt_print(regvalue, cur_col, wrap) \
21961da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SCB_RESIDUAL_DATACNT", 0x180, regvalue, cur_col, wrap)
21971da177e4SLinus Torvalds#endif
21981da177e4SLinus Torvalds
21991da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
22001da177e4SLinus Torvaldsahd_reg_print_t ahd_scb_residual_sgptr_print;
22011da177e4SLinus Torvalds#else
22021da177e4SLinus Torvalds#define ahd_scb_residual_sgptr_print(regvalue, cur_col, wrap) \
22031da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SCB_RESIDUAL_SGPTR", 0x184, regvalue, cur_col, wrap)
22041da177e4SLinus Torvalds#endif
22051da177e4SLinus Torvalds
22061da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
22071da177e4SLinus Torvaldsahd_reg_print_t ahd_scb_scsi_status_print;
22081da177e4SLinus Torvalds#else
22091da177e4SLinus Torvalds#define ahd_scb_scsi_status_print(regvalue, cur_col, wrap) \
22101da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SCB_SCSI_STATUS", 0x188, regvalue, cur_col, wrap)
22111da177e4SLinus Torvalds#endif
22121da177e4SLinus Torvalds
22131da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
22141da177e4SLinus Torvaldsahd_reg_print_t ahd_scb_target_phases_print;
22151da177e4SLinus Torvalds#else
22161da177e4SLinus Torvalds#define ahd_scb_target_phases_print(regvalue, cur_col, wrap) \
22171da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SCB_TARGET_PHASES", 0x189, regvalue, cur_col, wrap)
22181da177e4SLinus Torvalds#endif
22191da177e4SLinus Torvalds
22201da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
22211da177e4SLinus Torvaldsahd_reg_print_t ahd_scb_target_data_dir_print;
22221da177e4SLinus Torvalds#else
22231da177e4SLinus Torvalds#define ahd_scb_target_data_dir_print(regvalue, cur_col, wrap) \
22241da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SCB_TARGET_DATA_DIR", 0x18a, regvalue, cur_col, wrap)
22251da177e4SLinus Torvalds#endif
22261da177e4SLinus Torvalds
22271da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
22281da177e4SLinus Torvaldsahd_reg_print_t ahd_scb_target_itag_print;
22291da177e4SLinus Torvalds#else
22301da177e4SLinus Torvalds#define ahd_scb_target_itag_print(regvalue, cur_col, wrap) \
22311da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SCB_TARGET_ITAG", 0x18b, regvalue, cur_col, wrap)
22321da177e4SLinus Torvalds#endif
22331da177e4SLinus Torvalds
22341da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
22351da177e4SLinus Torvaldsahd_reg_print_t ahd_scb_sense_busaddr_print;
22361da177e4SLinus Torvalds#else
22371da177e4SLinus Torvalds#define ahd_scb_sense_busaddr_print(regvalue, cur_col, wrap) \
22381da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SCB_SENSE_BUSADDR", 0x18c, regvalue, cur_col, wrap)
22391da177e4SLinus Torvalds#endif
22401da177e4SLinus Torvalds
22411da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
22421da177e4SLinus Torvaldsahd_reg_print_t ahd_scb_tag_print;
22431da177e4SLinus Torvalds#else
22441da177e4SLinus Torvalds#define ahd_scb_tag_print(regvalue, cur_col, wrap) \
22451da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SCB_TAG", 0x190, regvalue, cur_col, wrap)
22461da177e4SLinus Torvalds#endif
22471da177e4SLinus Torvalds
22481da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
22491da177e4SLinus Torvaldsahd_reg_print_t ahd_scb_control_print;
22501da177e4SLinus Torvalds#else
22511da177e4SLinus Torvalds#define ahd_scb_control_print(regvalue, cur_col, wrap) \
22521da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SCB_CONTROL", 0x192, regvalue, cur_col, wrap)
22531da177e4SLinus Torvalds#endif
22541da177e4SLinus Torvalds
22551da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
22561da177e4SLinus Torvaldsahd_reg_print_t ahd_scb_scsiid_print;
22571da177e4SLinus Torvalds#else
22581da177e4SLinus Torvalds#define ahd_scb_scsiid_print(regvalue, cur_col, wrap) \
22591da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SCB_SCSIID", 0x193, regvalue, cur_col, wrap)
22601da177e4SLinus Torvalds#endif
22611da177e4SLinus Torvalds
22621da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
22631da177e4SLinus Torvaldsahd_reg_print_t ahd_scb_lun_print;
22641da177e4SLinus Torvalds#else
22651da177e4SLinus Torvalds#define ahd_scb_lun_print(regvalue, cur_col, wrap) \
22661da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SCB_LUN", 0x194, regvalue, cur_col, wrap)
22671da177e4SLinus Torvalds#endif
22681da177e4SLinus Torvalds
22691da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
22701da177e4SLinus Torvaldsahd_reg_print_t ahd_scb_task_attribute_print;
22711da177e4SLinus Torvalds#else
22721da177e4SLinus Torvalds#define ahd_scb_task_attribute_print(regvalue, cur_col, wrap) \
22731da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SCB_TASK_ATTRIBUTE", 0x195, regvalue, cur_col, wrap)
22741da177e4SLinus Torvalds#endif
22751da177e4SLinus Torvalds
22761da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
22771da177e4SLinus Torvaldsahd_reg_print_t ahd_scb_cdb_len_print;
22781da177e4SLinus Torvalds#else
22791da177e4SLinus Torvalds#define ahd_scb_cdb_len_print(regvalue, cur_col, wrap) \
22801da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SCB_CDB_LEN", 0x196, regvalue, cur_col, wrap)
22811da177e4SLinus Torvalds#endif
22821da177e4SLinus Torvalds
22831da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
22841da177e4SLinus Torvaldsahd_reg_print_t ahd_scb_task_management_print;
22851da177e4SLinus Torvalds#else
22861da177e4SLinus Torvalds#define ahd_scb_task_management_print(regvalue, cur_col, wrap) \
22871da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SCB_TASK_MANAGEMENT", 0x197, regvalue, cur_col, wrap)
22881da177e4SLinus Torvalds#endif
22891da177e4SLinus Torvalds
22901da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
22911da177e4SLinus Torvaldsahd_reg_print_t ahd_scb_dataptr_print;
22921da177e4SLinus Torvalds#else
22931da177e4SLinus Torvalds#define ahd_scb_dataptr_print(regvalue, cur_col, wrap) \
22941da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SCB_DATAPTR", 0x198, regvalue, cur_col, wrap)
22951da177e4SLinus Torvalds#endif
22961da177e4SLinus Torvalds
22971da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
22981da177e4SLinus Torvaldsahd_reg_print_t ahd_scb_datacnt_print;
22991da177e4SLinus Torvalds#else
23001da177e4SLinus Torvalds#define ahd_scb_datacnt_print(regvalue, cur_col, wrap) \
23011da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SCB_DATACNT", 0x1a0, regvalue, cur_col, wrap)
23021da177e4SLinus Torvalds#endif
23031da177e4SLinus Torvalds
23041da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
23051da177e4SLinus Torvaldsahd_reg_print_t ahd_scb_sgptr_print;
23061da177e4SLinus Torvalds#else
23071da177e4SLinus Torvalds#define ahd_scb_sgptr_print(regvalue, cur_col, wrap) \
23081da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SCB_SGPTR", 0x1a4, regvalue, cur_col, wrap)
23091da177e4SLinus Torvalds#endif
23101da177e4SLinus Torvalds
23111da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
23121da177e4SLinus Torvaldsahd_reg_print_t ahd_scb_busaddr_print;
23131da177e4SLinus Torvalds#else
23141da177e4SLinus Torvalds#define ahd_scb_busaddr_print(regvalue, cur_col, wrap) \
23151da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SCB_BUSADDR", 0x1a8, regvalue, cur_col, wrap)
23161da177e4SLinus Torvalds#endif
23171da177e4SLinus Torvalds
23181da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
23191da177e4SLinus Torvaldsahd_reg_print_t ahd_scb_next_print;
23201da177e4SLinus Torvalds#else
23211da177e4SLinus Torvalds#define ahd_scb_next_print(regvalue, cur_col, wrap) \
23221da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SCB_NEXT", 0x1ac, regvalue, cur_col, wrap)
23231da177e4SLinus Torvalds#endif
23241da177e4SLinus Torvalds
23251da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
23261da177e4SLinus Torvaldsahd_reg_print_t ahd_scb_next2_print;
23271da177e4SLinus Torvalds#else
23281da177e4SLinus Torvalds#define ahd_scb_next2_print(regvalue, cur_col, wrap) \
23291da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SCB_NEXT2", 0x1ae, regvalue, cur_col, wrap)
23301da177e4SLinus Torvalds#endif
23311da177e4SLinus Torvalds
23321da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
23331da177e4SLinus Torvaldsahd_reg_print_t ahd_scb_spare_print;
23341da177e4SLinus Torvalds#else
23351da177e4SLinus Torvalds#define ahd_scb_spare_print(regvalue, cur_col, wrap) \
23361da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SCB_SPARE", 0x1b0, regvalue, cur_col, wrap)
23371da177e4SLinus Torvalds#endif
23381da177e4SLinus Torvalds
23391da177e4SLinus Torvalds#if AIC_DEBUG_REGISTERS
23401da177e4SLinus Torvaldsahd_reg_print_t ahd_scb_disconnected_lists_print;
23411da177e4SLinus Torvalds#else
23421da177e4SLinus Torvalds#define ahd_scb_disconnected_lists_print(regvalue, cur_col, wrap) \
23431da177e4SLinus Torvalds    ahd_print_register(NULL, 0, "SCB_DISCONNECTED_LISTS", 0x1b8, regvalue, cur_col, wrap)
23441da177e4SLinus Torvalds#endif
23451da177e4SLinus Torvalds
23461da177e4SLinus Torvalds
23471da177e4SLinus Torvalds#define	MODE_PTR        		0x00
23481da177e4SLinus Torvalds#define		DST_MODE        	0x70
23491da177e4SLinus Torvalds#define		SRC_MODE        	0x07
23501da177e4SLinus Torvalds
23511da177e4SLinus Torvalds#define	INTSTAT         		0x01
23521da177e4SLinus Torvalds#define		INT_PEND        	0xff
23531da177e4SLinus Torvalds#define		HWERRINT        	0x80
23541da177e4SLinus Torvalds#define		BRKADRINT       	0x40
23551da177e4SLinus Torvalds#define		SWTMINT         	0x20
23561da177e4SLinus Torvalds#define		PCIINT          	0x10
23571da177e4SLinus Torvalds#define		SCSIINT         	0x08
23581da177e4SLinus Torvalds#define		SEQINT          	0x04
23591da177e4SLinus Torvalds#define		CMDCMPLT        	0x02
23601da177e4SLinus Torvalds#define		SPLTINT         	0x01
23611da177e4SLinus Torvalds
23621da177e4SLinus Torvalds#define	SEQINTCODE      		0x02
23631da177e4SLinus Torvalds#define		BAD_SCB_STATUS  	0x1a
23641da177e4SLinus Torvalds#define		SAW_HWERR       	0x19
23651da177e4SLinus Torvalds#define		TRACEPOINT3     	0x18
23661da177e4SLinus Torvalds#define		TRACEPOINT2     	0x17
23671da177e4SLinus Torvalds#define		TRACEPOINT1     	0x16
23681da177e4SLinus Torvalds#define		TRACEPOINT0     	0x15
23691da177e4SLinus Torvalds#define		TASKMGMT_CMD_CMPLT_OKAY	0x14
23701da177e4SLinus Torvalds#define		TASKMGMT_FUNC_COMPLETE	0x13
23711da177e4SLinus Torvalds#define		ENTERING_NONPACK	0x12
23721da177e4SLinus Torvalds#define		CFG4OVERRUN     	0x11
23731da177e4SLinus Torvalds#define		STATUS_OVERRUN  	0x10
23741da177e4SLinus Torvalds#define		CFG4ISTAT_INTR  	0x0f
23751da177e4SLinus Torvalds#define		INVALID_SEQINT  	0x0e
23761da177e4SLinus Torvalds#define		ILLEGAL_PHASE   	0x0d
23771da177e4SLinus Torvalds#define		DUMP_CARD_STATE 	0x0c
23781da177e4SLinus Torvalds#define		MISSED_BUSFREE  	0x0b
23791da177e4SLinus Torvalds#define		MKMSG_FAILED    	0x0a
23801da177e4SLinus Torvalds#define		DATA_OVERRUN    	0x09
23811da177e4SLinus Torvalds#define		BAD_STATUS      	0x08
23821da177e4SLinus Torvalds#define		HOST_MSG_LOOP   	0x07
23831da177e4SLinus Torvalds#define		PDATA_REINIT    	0x06
23841da177e4SLinus Torvalds#define		IGN_WIDE_RES    	0x05
23851da177e4SLinus Torvalds#define		NO_MATCH        	0x04
23861da177e4SLinus Torvalds#define		PROTO_VIOLATION 	0x03
23871da177e4SLinus Torvalds#define		SEND_REJECT     	0x02
23881da177e4SLinus Torvalds#define		BAD_PHASE       	0x01
23891da177e4SLinus Torvalds#define		NO_SEQINT       	0x00
23901da177e4SLinus Torvalds
23911da177e4SLinus Torvalds#define	CLRINT          		0x03
23921da177e4SLinus Torvalds#define		CLRHWERRINT     	0x80
23931da177e4SLinus Torvalds#define		CLRBRKADRINT    	0x40
23941da177e4SLinus Torvalds#define		CLRSWTMINT      	0x20
23951da177e4SLinus Torvalds#define		CLRPCIINT       	0x10
23961da177e4SLinus Torvalds#define		CLRSCSIINT      	0x08
23971da177e4SLinus Torvalds#define		CLRSEQINT       	0x04
23981da177e4SLinus Torvalds#define		CLRCMDINT       	0x02
23991da177e4SLinus Torvalds#define		CLRSPLTINT      	0x01
24001da177e4SLinus Torvalds
24011da177e4SLinus Torvalds#define	ERROR           		0x04
24021da177e4SLinus Torvalds#define		CIOPARERR       	0x80
24031da177e4SLinus Torvalds#define		CIOACCESFAIL    	0x40
24041da177e4SLinus Torvalds#define		MPARERR         	0x20
24051da177e4SLinus Torvalds#define		DPARERR         	0x10
24061da177e4SLinus Torvalds#define		SQPARERR        	0x08
24071da177e4SLinus Torvalds#define		ILLOPCODE       	0x04
24081da177e4SLinus Torvalds#define		DSCTMOUT        	0x02
24091da177e4SLinus Torvalds
24101da177e4SLinus Torvalds#define	CLRERR          		0x04
24111da177e4SLinus Torvalds#define		CLRCIOPARERR    	0x80
24121da177e4SLinus Torvalds#define		CLRCIOACCESFAIL 	0x40
24131da177e4SLinus Torvalds#define		CLRMPARERR      	0x20
24141da177e4SLinus Torvalds#define		CLRDPARERR      	0x10
24151da177e4SLinus Torvalds#define		CLRSQPARERR     	0x08
24161da177e4SLinus Torvalds#define		CLRILLOPCODE    	0x04
24171da177e4SLinus Torvalds#define		CLRDSCTMOUT     	0x02
24181da177e4SLinus Torvalds
24191da177e4SLinus Torvalds#define	HCNTRL          		0x05
24201da177e4SLinus Torvalds#define		SEQ_RESET       	0x80
24211da177e4SLinus Torvalds#define		POWRDN          	0x40
24221da177e4SLinus Torvalds#define		SWINT           	0x10
24231da177e4SLinus Torvalds#define		SWTIMER_START_B 	0x08
24241da177e4SLinus Torvalds#define		PAUSE           	0x04
24251da177e4SLinus Torvalds#define		INTEN           	0x02
24261da177e4SLinus Torvalds#define		CHIPRST         	0x01
24271da177e4SLinus Torvalds#define		CHIPRSTACK      	0x01
24281da177e4SLinus Torvalds
24291da177e4SLinus Torvalds#define	HNSCB_QOFF      		0x06
24301da177e4SLinus Torvalds
24311da177e4SLinus Torvalds#define	HESCB_QOFF      		0x08
24321da177e4SLinus Torvalds
24331da177e4SLinus Torvalds#define	HS_MAILBOX      		0x0b
24341da177e4SLinus Torvalds#define		HOST_TQINPOS    	0x80
24351da177e4SLinus Torvalds#define		ENINT_COALESCE  	0x40
24361da177e4SLinus Torvalds
24371da177e4SLinus Torvalds#define	CLRSEQINTSTAT   		0x0c
24381da177e4SLinus Torvalds#define		CLRSEQ_SWTMRTO  	0x10
24391da177e4SLinus Torvalds#define		CLRSEQ_SEQINT   	0x08
24401da177e4SLinus Torvalds#define		CLRSEQ_SCSIINT  	0x04
24411da177e4SLinus Torvalds#define		CLRSEQ_PCIINT   	0x02
24421da177e4SLinus Torvalds#define		CLRSEQ_SPLTINT  	0x01
24431da177e4SLinus Torvalds
24441da177e4SLinus Torvalds#define	SEQINTSTAT      		0x0c
24451da177e4SLinus Torvalds#define		SEQ_SWTMRTO     	0x10
24461da177e4SLinus Torvalds#define		SEQ_SEQINT      	0x08
24471da177e4SLinus Torvalds#define		SEQ_SCSIINT     	0x04
24481da177e4SLinus Torvalds#define		SEQ_PCIINT      	0x02
24491da177e4SLinus Torvalds#define		SEQ_SPLTINT     	0x01
24501da177e4SLinus Torvalds
24511da177e4SLinus Torvalds#define	SWTIMER         		0x0e
24521da177e4SLinus Torvalds
24531da177e4SLinus Torvalds#define	SNSCB_QOFF      		0x10
24541da177e4SLinus Torvalds
24551da177e4SLinus Torvalds#define	SESCB_QOFF      		0x12
24561da177e4SLinus Torvalds
24571da177e4SLinus Torvalds#define	SDSCB_QOFF      		0x14
24581da177e4SLinus Torvalds
24591da177e4SLinus Torvalds#define	QOFF_CTLSTA     		0x16
24601da177e4SLinus Torvalds#define		EMPTY_SCB_AVAIL 	0x80
24611da177e4SLinus Torvalds#define		NEW_SCB_AVAIL   	0x40
24621da177e4SLinus Torvalds#define		SDSCB_ROLLOVR   	0x20
24631da177e4SLinus Torvalds#define		HS_MAILBOX_ACT  	0x10
24641da177e4SLinus Torvalds#define		SCB_QSIZE       	0x0f
24651da177e4SLinus Torvalds#define		SCB_QSIZE_16384 	0x0c
24661da177e4SLinus Torvalds#define		SCB_QSIZE_8192  	0x0b
24671da177e4SLinus Torvalds#define		SCB_QSIZE_4096  	0x0a
24681da177e4SLinus Torvalds#define		SCB_QSIZE_2048  	0x09
24691da177e4SLinus Torvalds#define		SCB_QSIZE_1024  	0x08
24701da177e4SLinus Torvalds#define		SCB_QSIZE_512   	0x07
24711da177e4SLinus Torvalds#define		SCB_QSIZE_256   	0x06
24721da177e4SLinus Torvalds#define		SCB_QSIZE_128   	0x05
24731da177e4SLinus Torvalds#define		SCB_QSIZE_64    	0x04
24741da177e4SLinus Torvalds#define		SCB_QSIZE_32    	0x03
24751da177e4SLinus Torvalds#define		SCB_QSIZE_16    	0x02
24761da177e4SLinus Torvalds#define		SCB_QSIZE_8     	0x01
24771da177e4SLinus Torvalds#define		SCB_QSIZE_4     	0x00
24781da177e4SLinus Torvalds
24791da177e4SLinus Torvalds#define	INTCTL          		0x18
24801da177e4SLinus Torvalds#define		SWTMINTMASK     	0x80
24811da177e4SLinus Torvalds#define		SWTMINTEN       	0x40
24821da177e4SLinus Torvalds#define		SWTIMER_START   	0x20
24831da177e4SLinus Torvalds#define		AUTOCLRCMDINT   	0x10
24841da177e4SLinus Torvalds#define		PCIINTEN        	0x08
24851da177e4SLinus Torvalds#define		SCSIINTEN       	0x04
24861da177e4SLinus Torvalds#define		SEQINTEN        	0x02
24871da177e4SLinus Torvalds#define		SPLTINTEN       	0x01
24881da177e4SLinus Torvalds
24891da177e4SLinus Torvalds#define	DFCNTRL         		0x19
24901da177e4SLinus Torvalds#define		SCSIENWRDIS     	0x40
24911da177e4SLinus Torvalds#define		SCSIENACK       	0x20
24921da177e4SLinus Torvalds#define		DIRECTIONACK    	0x04
24931da177e4SLinus Torvalds#define		FIFOFLUSHACK    	0x02
24941da177e4SLinus Torvalds#define		DIRECTIONEN     	0x01
24951da177e4SLinus Torvalds
24961da177e4SLinus Torvalds#define	DSCOMMAND0      		0x19
24971da177e4SLinus Torvalds#define		CACHETHEN       	0x80
24981da177e4SLinus Torvalds#define		DPARCKEN        	0x40
24991da177e4SLinus Torvalds#define		MPARCKEN        	0x20
25001da177e4SLinus Torvalds#define		EXTREQLCK       	0x10
25011da177e4SLinus Torvalds#define		DISABLE_TWATE   	0x02
25021da177e4SLinus Torvalds#define		CIOPARCKEN      	0x01
25031da177e4SLinus Torvalds
25041da177e4SLinus Torvalds#define	DFSTATUS        		0x1a
25051da177e4SLinus Torvalds#define		PRELOAD_AVAIL   	0x80
25061da177e4SLinus Torvalds#define		PKT_PRELOAD_AVAIL	0x40
25071da177e4SLinus Torvalds#define		MREQPEND        	0x10
25081da177e4SLinus Torvalds#define		HDONE           	0x08
25091da177e4SLinus Torvalds#define		DFTHRESH        	0x04
25101da177e4SLinus Torvalds#define		FIFOFULL        	0x02
25111da177e4SLinus Torvalds#define		FIFOEMP         	0x01
25121da177e4SLinus Torvalds
25131da177e4SLinus Torvalds#define	SG_CACHE_SHADOW 		0x1b
25141da177e4SLinus Torvalds#define		ODD_SEG         	0x04
25151da177e4SLinus Torvalds#define		LAST_SEG        	0x02
25161da177e4SLinus Torvalds#define		LAST_SEG_DONE   	0x01
25171da177e4SLinus Torvalds
25181da177e4SLinus Torvalds#define	ARBCTL          		0x1b
25191da177e4SLinus Torvalds#define		RESET_HARB      	0x80
25201da177e4SLinus Torvalds#define		RETRY_SWEN      	0x08
25211da177e4SLinus Torvalds#define		USE_TIME        	0x07
25221da177e4SLinus Torvalds
25231da177e4SLinus Torvalds#define	SG_CACHE_PRE    		0x1b
25241da177e4SLinus Torvalds
25251da177e4SLinus Torvalds#define	LQIN            		0x20
25261da177e4SLinus Torvalds
25271da177e4SLinus Torvalds#define	TYPEPTR         		0x20
25281da177e4SLinus Torvalds
25291da177e4SLinus Torvalds#define	TAGPTR          		0x21
25301da177e4SLinus Torvalds
25311da177e4SLinus Torvalds#define	LUNPTR          		0x22
25321da177e4SLinus Torvalds
25331da177e4SLinus Torvalds#define	DATALENPTR      		0x23
25341da177e4SLinus Torvalds
25351da177e4SLinus Torvalds#define	STATLENPTR      		0x24
25361da177e4SLinus Torvalds
25371da177e4SLinus Torvalds#define	CMDLENPTR       		0x25
25381da177e4SLinus Torvalds
25391da177e4SLinus Torvalds#define	ATTRPTR         		0x26
25401da177e4SLinus Torvalds
25411da177e4SLinus Torvalds#define	FLAGPTR         		0x27
25421da177e4SLinus Torvalds
25431da177e4SLinus Torvalds#define	CMDPTR          		0x28
25441da177e4SLinus Torvalds
25451da177e4SLinus Torvalds#define	QNEXTPTR        		0x29
25461da177e4SLinus Torvalds
25471da177e4SLinus Torvalds#define	IDPTR           		0x2a
25481da177e4SLinus Torvalds
25491da177e4SLinus Torvalds#define	ABRTBYTEPTR     		0x2b
25501da177e4SLinus Torvalds
25511da177e4SLinus Torvalds#define	ABRTBITPTR      		0x2c
25521da177e4SLinus Torvalds
25531da177e4SLinus Torvalds#define	MAXCMDBYTES     		0x2d
25541da177e4SLinus Torvalds
25551da177e4SLinus Torvalds#define	MAXCMD2RCV      		0x2e
25561da177e4SLinus Torvalds
25571da177e4SLinus Torvalds#define	SHORTTHRESH     		0x2f
25581da177e4SLinus Torvalds
25591da177e4SLinus Torvalds#define	LUNLEN          		0x30
25601da177e4SLinus Torvalds#define		TLUNLEN         	0xf0
25611da177e4SLinus Torvalds#define		ILUNLEN         	0x0f
25621da177e4SLinus Torvalds
25631da177e4SLinus Torvalds#define	CDBLIMIT        		0x31
25641da177e4SLinus Torvalds
25651da177e4SLinus Torvalds#define	MAXCMD          		0x32
25661da177e4SLinus Torvalds
25671da177e4SLinus Torvalds#define	MAXCMDCNT       		0x33
25681da177e4SLinus Torvalds
25691da177e4SLinus Torvalds#define	LQRSVD01        		0x34
25701da177e4SLinus Torvalds
25711da177e4SLinus Torvalds#define	LQRSVD16        		0x35
25721da177e4SLinus Torvalds
25731da177e4SLinus Torvalds#define	LQRSVD17        		0x36
25741da177e4SLinus Torvalds
25751da177e4SLinus Torvalds#define	CMDRSVD0        		0x37
25761da177e4SLinus Torvalds
25771da177e4SLinus Torvalds#define	LQCTL0          		0x38
25781da177e4SLinus Torvalds#define		LQITARGCLT      	0xc0
25791da177e4SLinus Torvalds#define		LQIINITGCLT     	0x30
25801da177e4SLinus Torvalds#define		LQ0TARGCLT      	0x0c
25811da177e4SLinus Torvalds#define		LQ0INITGCLT     	0x03
25821da177e4SLinus Torvalds
25831da177e4SLinus Torvalds#define	LQCTL1          		0x38
25841da177e4SLinus Torvalds#define		PCI2PCI         	0x04
25851da177e4SLinus Torvalds#define		SINGLECMD       	0x02
25861da177e4SLinus Torvalds#define		ABORTPENDING    	0x01
25871da177e4SLinus Torvalds
25881da177e4SLinus Torvalds#define	SCSBIST0        		0x39
25891da177e4SLinus Torvalds#define		GSBISTERR       	0x40
25901da177e4SLinus Torvalds#define		GSBISTDONE      	0x20
25911da177e4SLinus Torvalds#define		GSBISTRUN       	0x10
25921da177e4SLinus Torvalds#define		OSBISTERR       	0x04
25931da177e4SLinus Torvalds#define		OSBISTDONE      	0x02
25941da177e4SLinus Torvalds#define		OSBISTRUN       	0x01
25951da177e4SLinus Torvalds
25961da177e4SLinus Torvalds#define	LQCTL2          		0x39
25971da177e4SLinus Torvalds#define		LQIRETRY        	0x80
25981da177e4SLinus Torvalds#define		LQICONTINUE     	0x40
25991da177e4SLinus Torvalds#define		LQITOIDLE       	0x20
26001da177e4SLinus Torvalds#define		LQIPAUSE        	0x10
26011da177e4SLinus Torvalds#define		LQORETRY        	0x08
26021da177e4SLinus Torvalds#define		LQOCONTINUE     	0x04
26031da177e4SLinus Torvalds#define		LQOTOIDLE       	0x02
26041da177e4SLinus Torvalds#define		LQOPAUSE        	0x01
26051da177e4SLinus Torvalds
26061da177e4SLinus Torvalds#define	SCSBIST1        		0x3a
26071da177e4SLinus Torvalds#define		NTBISTERR       	0x04
26081da177e4SLinus Torvalds#define		NTBISTDONE      	0x02
26091da177e4SLinus Torvalds#define		NTBISTRUN       	0x01
26101da177e4SLinus Torvalds
26111da177e4SLinus Torvalds#define	SCSISEQ0        		0x3a
26121da177e4SLinus Torvalds#define		TEMODEO         	0x80
26131da177e4SLinus Torvalds#define		ENSELO          	0x40
26141da177e4SLinus Torvalds#define		ENARBO          	0x20
26151da177e4SLinus Torvalds#define		FORCEBUSFREE    	0x10
26161da177e4SLinus Torvalds#define		SCSIRSTO        	0x01
26171da177e4SLinus Torvalds
26181da177e4SLinus Torvalds#define	SCSISEQ1        		0x3b
26191da177e4SLinus Torvalds
26201da177e4SLinus Torvalds#define	SXFRCTL0        		0x3c
26211da177e4SLinus Torvalds#define		DFON            	0x80
26221da177e4SLinus Torvalds#define		DFPEXP          	0x40
26231da177e4SLinus Torvalds#define		BIOSCANCELEN    	0x10
26241da177e4SLinus Torvalds#define		SPIOEN          	0x08
26251da177e4SLinus Torvalds
26261da177e4SLinus Torvalds#define	BUSINITID       		0x3c
26271da177e4SLinus Torvalds
26281da177e4SLinus Torvalds#define	DLCOUNT         		0x3c
26291da177e4SLinus Torvalds
26301da177e4SLinus Torvalds#define	SXFRCTL1        		0x3d
26311da177e4SLinus Torvalds#define		BITBUCKET       	0x80
26321da177e4SLinus Torvalds#define		ENSACHK         	0x40
26331da177e4SLinus Torvalds#define		ENSPCHK         	0x20
26341da177e4SLinus Torvalds#define		STIMESEL        	0x18
26351da177e4SLinus Torvalds#define		ENSTIMER        	0x04
26361da177e4SLinus Torvalds#define		ACTNEGEN        	0x02
26371da177e4SLinus Torvalds#define		STPWEN          	0x01
26381da177e4SLinus Torvalds
26391da177e4SLinus Torvalds#define	BUSTARGID       		0x3e
26401da177e4SLinus Torvalds
26411da177e4SLinus Torvalds#define	SXFRCTL2        		0x3e
26421da177e4SLinus Torvalds#define		AUTORSTDIS      	0x10
26431da177e4SLinus Torvalds#define		CMDDMAEN        	0x08
26441da177e4SLinus Torvalds#define		ASU             	0x07
26451da177e4SLinus Torvalds
26461da177e4SLinus Torvalds#define	DFFSTAT         		0x3f
26471da177e4SLinus Torvalds#define		CURRFIFO        	0x03
26481da177e4SLinus Torvalds#define		FIFO1FREE       	0x20
26491da177e4SLinus Torvalds#define		FIFO0FREE       	0x10
26501da177e4SLinus Torvalds#define		CURRFIFO_NONE   	0x03
26511da177e4SLinus Torvalds#define		CURRFIFO_1      	0x01
26521da177e4SLinus Torvalds#define		CURRFIFO_0      	0x00
26531da177e4SLinus Torvalds
26541da177e4SLinus Torvalds#define	SCSISIGO        		0x40
26551da177e4SLinus Torvalds#define		CDO             	0x80
26561da177e4SLinus Torvalds#define		IOO             	0x40
26571da177e4SLinus Torvalds#define		MSGO            	0x20
26581da177e4SLinus Torvalds#define		ATNO            	0x10
26591da177e4SLinus Torvalds#define		SELO            	0x08
26601da177e4SLinus Torvalds#define		BSYO            	0x04
26611da177e4SLinus Torvalds#define		REQO            	0x02
26621da177e4SLinus Torvalds#define		ACKO            	0x01
26631da177e4SLinus Torvalds
26641da177e4SLinus Torvalds#define	MULTARGID       		0x40
26651da177e4SLinus Torvalds
26661da177e4SLinus Torvalds#define	SCSISIGI        		0x41
26671da177e4SLinus Torvalds#define		ATNI            	0x10
26681da177e4SLinus Torvalds#define		SELI            	0x08
26691da177e4SLinus Torvalds#define		BSYI            	0x04
26701da177e4SLinus Torvalds#define		REQI            	0x02
26711da177e4SLinus Torvalds#define		ACKI            	0x01
26721da177e4SLinus Torvalds
26731da177e4SLinus Torvalds#define	SCSIPHASE       		0x42
26741da177e4SLinus Torvalds#define		STATUS_PHASE    	0x20
26751da177e4SLinus Torvalds#define		COMMAND_PHASE   	0x10
26761da177e4SLinus Torvalds#define		MSG_IN_PHASE    	0x08
26771da177e4SLinus Torvalds#define		MSG_OUT_PHASE   	0x04
26781da177e4SLinus Torvalds#define		DATA_PHASE_MASK 	0x03
26791da177e4SLinus Torvalds#define		DATA_IN_PHASE   	0x02
26801da177e4SLinus Torvalds#define		DATA_OUT_PHASE  	0x01
26811da177e4SLinus Torvalds
26821da177e4SLinus Torvalds#define	SCSIDAT0_IMG    		0x43
26831da177e4SLinus Torvalds
26841da177e4SLinus Torvalds#define	SCSIDAT         		0x44
26851da177e4SLinus Torvalds
26861da177e4SLinus Torvalds#define	SCSIBUS         		0x46
26871da177e4SLinus Torvalds
26881da177e4SLinus Torvalds#define	TARGIDIN        		0x48
26891da177e4SLinus Torvalds#define		CLKOUT          	0x80
26901da177e4SLinus Torvalds#define		TARGID          	0x0f
26911da177e4SLinus Torvalds
26921da177e4SLinus Torvalds#define	SELID           		0x49
26931da177e4SLinus Torvalds#define		SELID_MASK      	0xf0
26941da177e4SLinus Torvalds#define		ONEBIT          	0x08
26951da177e4SLinus Torvalds
26961da177e4SLinus Torvalds#define	SBLKCTL         		0x4a
26971da177e4SLinus Torvalds#define		DIAGLEDEN       	0x80
26981da177e4SLinus Torvalds#define		DIAGLEDON       	0x40
26991da177e4SLinus Torvalds#define		ENAB40          	0x08
27001da177e4SLinus Torvalds#define		ENAB20          	0x04
27011da177e4SLinus Torvalds#define		SELWIDE         	0x02
27021da177e4SLinus Torvalds
27031da177e4SLinus Torvalds#define	OPTIONMODE      		0x4a
27041da177e4SLinus Torvalds#define		OPTIONMODE_DEFAULTS	0x02
27051da177e4SLinus Torvalds#define		BIOSCANCTL      	0x80
27061da177e4SLinus Torvalds#define		AUTOACKEN       	0x40
27071da177e4SLinus Torvalds#define		BIASCANCTL      	0x20
27081da177e4SLinus Torvalds#define		BUSFREEREV      	0x10
27091da177e4SLinus Torvalds#define		ENDGFORMCHK     	0x04
27101da177e4SLinus Torvalds#define		AUTO_MSGOUT_DE  	0x02
27111da177e4SLinus Torvalds
27121da177e4SLinus Torvalds#define	SSTAT0          		0x4b
27131da177e4SLinus Torvalds#define		TARGET          	0x80
27141da177e4SLinus Torvalds#define		SELDO           	0x40
27151da177e4SLinus Torvalds#define		SELDI           	0x20
27161da177e4SLinus Torvalds#define		SELINGO         	0x10
27171da177e4SLinus Torvalds#define		IOERR           	0x08
27181da177e4SLinus Torvalds#define		OVERRUN         	0x04
27191da177e4SLinus Torvalds#define		SPIORDY         	0x02
27201da177e4SLinus Torvalds#define		ARBDO           	0x01
27211da177e4SLinus Torvalds
27221da177e4SLinus Torvalds#define	CLRSINT0        		0x4b
27231da177e4SLinus Torvalds#define		CLRSELDO        	0x40
27241da177e4SLinus Torvalds#define		CLRSELDI        	0x20
27251da177e4SLinus Torvalds#define		CLRSELINGO      	0x10
27261da177e4SLinus Torvalds#define		CLRIOERR        	0x08
27271da177e4SLinus Torvalds#define		CLROVERRUN      	0x04
27281da177e4SLinus Torvalds#define		CLRSPIORDY      	0x02
27291da177e4SLinus Torvalds#define		CLRARBDO        	0x01
27301da177e4SLinus Torvalds
27311da177e4SLinus Torvalds#define	SIMODE0         		0x4b
27321da177e4SLinus Torvalds#define		ENSELDO         	0x40
27331da177e4SLinus Torvalds#define		ENSELDI         	0x20
27341da177e4SLinus Torvalds#define		ENSELINGO       	0x10
27351da177e4SLinus Torvalds#define		ENIOERR         	0x08
27361da177e4SLinus Torvalds#define		ENOVERRUN       	0x04
27371da177e4SLinus Torvalds#define		ENSPIORDY       	0x02
27381da177e4SLinus Torvalds#define		ENARBDO         	0x01
27391da177e4SLinus Torvalds
27401da177e4SLinus Torvalds#define	CLRSINT1        		0x4c
27411da177e4SLinus Torvalds#define		CLRSELTIMEO     	0x80
27421da177e4SLinus Torvalds#define		CLRATNO         	0x40
27431da177e4SLinus Torvalds#define		CLRSCSIRSTI     	0x20
27441da177e4SLinus Torvalds#define		CLRBUSFREE      	0x08
27451da177e4SLinus Torvalds#define		CLRSCSIPERR     	0x04
27461da177e4SLinus Torvalds#define		CLRSTRB2FAST    	0x02
27471da177e4SLinus Torvalds#define		CLRREQINIT      	0x01
27481da177e4SLinus Torvalds
27491da177e4SLinus Torvalds#define	SSTAT1          		0x4c
27501da177e4SLinus Torvalds#define		SELTO           	0x80
27511da177e4SLinus Torvalds#define		ATNTARG         	0x40
27521da177e4SLinus Torvalds#define		SCSIRSTI        	0x20
27531da177e4SLinus Torvalds#define		PHASEMIS        	0x10
27541da177e4SLinus Torvalds#define		BUSFREE         	0x08
27551da177e4SLinus Torvalds#define		SCSIPERR        	0x04
27561da177e4SLinus Torvalds#define		STRB2FAST       	0x02
27571da177e4SLinus Torvalds#define		REQINIT         	0x01
27581da177e4SLinus Torvalds
27591da177e4SLinus Torvalds#define	SSTAT2          		0x4d
27601da177e4SLinus Torvalds#define		BUSFREETIME     	0xc0
27611da177e4SLinus Torvalds#define		NONPACKREQ      	0x20
27621da177e4SLinus Torvalds#define		EXP_ACTIVE      	0x10
27631da177e4SLinus Torvalds#define		BSYX            	0x08
27641da177e4SLinus Torvalds#define		WIDE_RES        	0x04
27651da177e4SLinus Torvalds#define		SDONE           	0x02
27661da177e4SLinus Torvalds#define		DMADONE         	0x01
27671da177e4SLinus Torvalds#define		BUSFREE_DFF1    	0xc0
27681da177e4SLinus Torvalds#define		BUSFREE_DFF0    	0x80
27691da177e4SLinus Torvalds#define		BUSFREE_LQO     	0x40
27701da177e4SLinus Torvalds
27711da177e4SLinus Torvalds#define	CLRSINT2        		0x4d
27721da177e4SLinus Torvalds#define		CLRNONPACKREQ   	0x20
27731da177e4SLinus Torvalds#define		CLRWIDE_RES     	0x04
27741da177e4SLinus Torvalds#define		CLRSDONE        	0x02
27751da177e4SLinus Torvalds#define		CLRDMADONE      	0x01
27761da177e4SLinus Torvalds
27771da177e4SLinus Torvalds#define	SIMODE2         		0x4d
27781da177e4SLinus Torvalds#define		ENWIDE_RES      	0x04
27791da177e4SLinus Torvalds#define		ENSDONE         	0x02
27801da177e4SLinus Torvalds#define		ENDMADONE       	0x01
27811da177e4SLinus Torvalds
27821da177e4SLinus Torvalds#define	PERRDIAG        		0x4e
27831da177e4SLinus Torvalds#define		HIZERO          	0x80
27841da177e4SLinus Torvalds#define		HIPERR          	0x40
27851da177e4SLinus Torvalds#define		PREVPHASE       	0x20
27861da177e4SLinus Torvalds#define		PARITYERR       	0x10
27871da177e4SLinus Torvalds#define		AIPERR          	0x08
27881da177e4SLinus Torvalds#define		CRCERR          	0x04
27891da177e4SLinus Torvalds#define		DGFORMERR       	0x02
27901da177e4SLinus Torvalds#define		DTERR           	0x01
27911da177e4SLinus Torvalds
27921da177e4SLinus Torvalds#define	LQISTATE        		0x4e
27931da177e4SLinus Torvalds
27941da177e4SLinus Torvalds#define	SOFFCNT         		0x4f
27951da177e4SLinus Torvalds
27961da177e4SLinus Torvalds#define	LQOSTATE        		0x4f
27971da177e4SLinus Torvalds
27981da177e4SLinus Torvalds#define	LQISTAT0        		0x50
27991da177e4SLinus Torvalds#define		LQIATNQAS       	0x20
28001da177e4SLinus Torvalds#define		LQICRCT1        	0x10
28011da177e4SLinus Torvalds#define		LQICRCT2        	0x08
28021da177e4SLinus Torvalds#define		LQIBADLQT       	0x04
28031da177e4SLinus Torvalds#define		LQIATNLQ        	0x02
28041da177e4SLinus Torvalds#define		LQIATNCMD       	0x01
28051da177e4SLinus Torvalds
28061da177e4SLinus Torvalds#define	CLRLQIINT0      		0x50
28071da177e4SLinus Torvalds#define		CLRLQIATNQAS    	0x20
28081da177e4SLinus Torvalds#define		CLRLQICRCT1     	0x10
28091da177e4SLinus Torvalds#define		CLRLQICRCT2     	0x08
28101da177e4SLinus Torvalds#define		CLRLQIBADLQT    	0x04
28111da177e4SLinus Torvalds#define		CLRLQIATNLQ     	0x02
28121da177e4SLinus Torvalds#define		CLRLQIATNCMD    	0x01
28131da177e4SLinus Torvalds
28141da177e4SLinus Torvalds#define	LQIMODE0        		0x50
28151da177e4SLinus Torvalds#define		ENLQIATNQASK    	0x20
28161da177e4SLinus Torvalds#define		ENLQICRCT1      	0x10
28171da177e4SLinus Torvalds#define		ENLQICRCT2      	0x08
28181da177e4SLinus Torvalds#define		ENLQIBADLQT     	0x04
28191da177e4SLinus Torvalds#define		ENLQIATNLQ      	0x02
28201da177e4SLinus Torvalds#define		ENLQIATNCMD     	0x01
28211da177e4SLinus Torvalds
28221da177e4SLinus Torvalds#define	LQIMODE1        		0x51
28231da177e4SLinus Torvalds#define		ENLQIPHASE_LQ   	0x80
28241da177e4SLinus Torvalds#define		ENLQIPHASE_NLQ  	0x40
28251da177e4SLinus Torvalds#define		ENLIQABORT      	0x20
28261da177e4SLinus Torvalds#define		ENLQICRCI_LQ    	0x10
28271da177e4SLinus Torvalds#define		ENLQICRCI_NLQ   	0x08
28281da177e4SLinus Torvalds#define		ENLQIBADLQI     	0x04
28291da177e4SLinus Torvalds#define		ENLQIOVERI_LQ   	0x02
28301da177e4SLinus Torvalds#define		ENLQIOVERI_NLQ  	0x01
28311da177e4SLinus Torvalds
28321da177e4SLinus Torvalds#define	LQISTAT1        		0x51
28331da177e4SLinus Torvalds#define		LQIPHASE_LQ     	0x80
28341da177e4SLinus Torvalds#define		LQIPHASE_NLQ    	0x40
28351da177e4SLinus Torvalds#define		LQIABORT        	0x20
28361da177e4SLinus Torvalds#define		LQICRCI_LQ      	0x10
28371da177e4SLinus Torvalds#define		LQICRCI_NLQ     	0x08
28381da177e4SLinus Torvalds#define		LQIBADLQI       	0x04
28391da177e4SLinus Torvalds#define		LQIOVERI_LQ     	0x02
28401da177e4SLinus Torvalds#define		LQIOVERI_NLQ    	0x01
28411da177e4SLinus Torvalds
28421da177e4SLinus Torvalds#define	CLRLQIINT1      		0x51
28431da177e4SLinus Torvalds#define		CLRLQIPHASE_LQ  	0x80
28441da177e4SLinus Torvalds#define		CLRLQIPHASE_NLQ 	0x40
28451da177e4SLinus Torvalds#define		CLRLIQABORT     	0x20
28461da177e4SLinus Torvalds#define		CLRLQICRCI_LQ   	0x10
28471da177e4SLinus Torvalds#define		CLRLQICRCI_NLQ  	0x08
28481da177e4SLinus Torvalds#define		CLRLQIBADLQI    	0x04
28491da177e4SLinus Torvalds#define		CLRLQIOVERI_LQ  	0x02
28501da177e4SLinus Torvalds#define		CLRLQIOVERI_NLQ 	0x01
28511da177e4SLinus Torvalds
28521da177e4SLinus Torvalds#define	LQISTAT2        		0x52
28531da177e4SLinus Torvalds#define		PACKETIZED      	0x80
28541da177e4SLinus Torvalds#define		LQIPHASE_OUTPKT 	0x40
28551da177e4SLinus Torvalds#define		LQIWORKONLQ     	0x20
28561da177e4SLinus Torvalds#define		LQIWAITFIFO     	0x10
28571da177e4SLinus Torvalds#define		LQISTOPPKT      	0x08
28581da177e4SLinus Torvalds#define		LQISTOPLQ       	0x04
28591da177e4SLinus Torvalds#define		LQISTOPCMD      	0x02
28601da177e4SLinus Torvalds#define		LQIGSAVAIL      	0x01
28611da177e4SLinus Torvalds
28621da177e4SLinus Torvalds#define	SSTAT3          		0x53
28631da177e4SLinus Torvalds#define		NTRAMPERR       	0x02
28641da177e4SLinus Torvalds#define		OSRAMPERR       	0x01
28651da177e4SLinus Torvalds
28661da177e4SLinus Torvalds#define	SIMODE3         		0x53
28671da177e4SLinus Torvalds#define		ENNTRAMPERR     	0x02
28681da177e4SLinus Torvalds#define		ENOSRAMPERR     	0x01
28691da177e4SLinus Torvalds
28701da177e4SLinus Torvalds#define	CLRSINT3        		0x53
28711da177e4SLinus Torvalds#define		CLRNTRAMPERR    	0x02
28721da177e4SLinus Torvalds#define		CLROSRAMPERR    	0x01
28731da177e4SLinus Torvalds
28741da177e4SLinus Torvalds#define	LQOMODE0        		0x54
28751da177e4SLinus Torvalds#define		ENLQOTARGSCBPERR	0x10
28761da177e4SLinus Torvalds#define		ENLQOSTOPT2     	0x08
28771da177e4SLinus Torvalds#define		ENLQOATNLQ      	0x04
28781da177e4SLinus Torvalds#define		ENLQOATNPKT     	0x02
28791da177e4SLinus Torvalds#define		ENLQOTCRC       	0x01
28801da177e4SLinus Torvalds
28811da177e4SLinus Torvalds#define	LQOSTAT0        		0x54
28821da177e4SLinus Torvalds#define		LQOTARGSCBPERR  	0x10
28831da177e4SLinus Torvalds#define		LQOSTOPT2       	0x08
28841da177e4SLinus Torvalds#define		LQOATNLQ        	0x04
28851da177e4SLinus Torvalds#define		LQOATNPKT       	0x02
28861da177e4SLinus Torvalds#define		LQOTCRC         	0x01
28871da177e4SLinus Torvalds
28881da177e4SLinus Torvalds#define	CLRLQOINT0      		0x54
28891da177e4SLinus Torvalds#define		CLRLQOTARGSCBPERR	0x10
28901da177e4SLinus Torvalds#define		CLRLQOSTOPT2    	0x08
28911da177e4SLinus Torvalds#define		CLRLQOATNLQ     	0x04
28921da177e4SLinus Torvalds#define		CLRLQOATNPKT    	0x02
28931da177e4SLinus Torvalds#define		CLRLQOTCRC      	0x01
28941da177e4SLinus Torvalds
28951da177e4SLinus Torvalds#define	LQOSTAT1        		0x55
28961da177e4SLinus Torvalds#define		LQOINITSCBPERR  	0x10
28971da177e4SLinus Torvalds#define		LQOSTOPI2       	0x08
28981da177e4SLinus Torvalds#define		LQOBADQAS       	0x04
28991da177e4SLinus Torvalds#define		LQOBUSFREE      	0x02
29001da177e4SLinus Torvalds#define		LQOPHACHGINPKT  	0x01
29011da177e4SLinus Torvalds
29021da177e4SLinus Torvalds#define	CLRLQOINT1      		0x55
29031da177e4SLinus Torvalds#define		CLRLQOINITSCBPERR	0x10
29041da177e4SLinus Torvalds#define		CLRLQOSTOPI2    	0x08
29051da177e4SLinus Torvalds#define		CLRLQOBADQAS    	0x04
29061da177e4SLinus Torvalds#define		CLRLQOBUSFREE   	0x02
29071da177e4SLinus Torvalds#define		CLRLQOPHACHGINPKT	0x01
29081da177e4SLinus Torvalds
29091da177e4SLinus Torvalds#define	LQOMODE1        		0x55
29101da177e4SLinus Torvalds#define		ENLQOINITSCBPERR	0x10
29111da177e4SLinus Torvalds#define		ENLQOSTOPI2     	0x08
29121da177e4SLinus Torvalds#define		ENLQOBADQAS     	0x04
29131da177e4SLinus Torvalds#define		ENLQOBUSFREE    	0x02
29141da177e4SLinus Torvalds#define		ENLQOPHACHGINPKT	0x01
29151da177e4SLinus Torvalds
29161da177e4SLinus Torvalds#define	LQOSTAT2        		0x56
29171da177e4SLinus Torvalds#define		LQOPKT          	0xe0
29181da177e4SLinus Torvalds#define		LQOWAITFIFO     	0x10
29191da177e4SLinus Torvalds#define		LQOPHACHGOUTPKT 	0x02
29201da177e4SLinus Torvalds#define		LQOSTOP0        	0x01
29211da177e4SLinus Torvalds
29221da177e4SLinus Torvalds#define	OS_SPACE_CNT    		0x56
29231da177e4SLinus Torvalds
29241da177e4SLinus Torvalds#define	SIMODE1         		0x57
29251da177e4SLinus Torvalds#define		ENSELTIMO       	0x80
29261da177e4SLinus Torvalds#define		ENATNTARG       	0x40
29271da177e4SLinus Torvalds#define		ENSCSIRST       	0x20
29281da177e4SLinus Torvalds#define		ENPHASEMIS      	0x10
29291da177e4SLinus Torvalds#define		ENBUSFREE       	0x08
29301da177e4SLinus Torvalds#define		ENSCSIPERR      	0x04
29311da177e4SLinus Torvalds#define		ENSTRB2FAST     	0x02
29321da177e4SLinus Torvalds#define		ENREQINIT       	0x01
29331da177e4SLinus Torvalds
29341da177e4SLinus Torvalds#define	GSFIFO          		0x58
29351da177e4SLinus Torvalds
29361da177e4SLinus Torvalds#define	DFFSXFRCTL      		0x5a
29371da177e4SLinus Torvalds#define		DFFBITBUCKET    	0x08
29381da177e4SLinus Torvalds#define		CLRSHCNT        	0x04
29391da177e4SLinus Torvalds#define		CLRCHN          	0x02
29401da177e4SLinus Torvalds#define		RSTCHN          	0x01
29411da177e4SLinus Torvalds
29421da177e4SLinus Torvalds#define	LQOSCSCTL       		0x5a
29431da177e4SLinus Torvalds#define		LQOH2A_VERSION  	0x80
29441da177e4SLinus Torvalds#define		LQONOCHKOVER    	0x01
29451da177e4SLinus Torvalds
29461da177e4SLinus Torvalds#define	NEXTSCB         		0x5a
29471da177e4SLinus Torvalds
29481da177e4SLinus Torvalds#define	CLRSEQINTSRC    		0x5b
29491da177e4SLinus Torvalds#define		CLRCTXTDONE     	0x40
29501da177e4SLinus Torvalds#define		CLRSAVEPTRS     	0x20
29511da177e4SLinus Torvalds#define		CLRCFG4DATA     	0x10
29521da177e4SLinus Torvalds#define		CLRCFG4ISTAT    	0x08
29531da177e4SLinus Torvalds#define		CLRCFG4TSTAT    	0x04
29541da177e4SLinus Torvalds#define		CLRCFG4ICMD     	0x02
29551da177e4SLinus Torvalds#define		CLRCFG4TCMD     	0x01
29561da177e4SLinus Torvalds
29571da177e4SLinus Torvalds#define	SEQINTSRC       		0x5b
29581da177e4SLinus Torvalds#define		CTXTDONE        	0x40
29591da177e4SLinus Torvalds#define		SAVEPTRS        	0x20
29601da177e4SLinus Torvalds#define		CFG4DATA        	0x10
29611da177e4SLinus Torvalds#define		CFG4ISTAT       	0x08
29621da177e4SLinus Torvalds#define		CFG4TSTAT       	0x04
29631da177e4SLinus Torvalds#define		CFG4ICMD        	0x02
29641da177e4SLinus Torvalds#define		CFG4TCMD        	0x01
29651da177e4SLinus Torvalds
29661da177e4SLinus Torvalds#define	CURRSCB         		0x5c
29671da177e4SLinus Torvalds
29681da177e4SLinus Torvalds#define	SEQIMODE        		0x5c
29691da177e4SLinus Torvalds#define		ENCTXTDONE      	0x40
29701da177e4SLinus Torvalds#define		ENSAVEPTRS      	0x20
29711da177e4SLinus Torvalds#define		ENCFG4DATA      	0x10
29721da177e4SLinus Torvalds#define		ENCFG4ISTAT     	0x08
29731da177e4SLinus Torvalds#define		ENCFG4TSTAT     	0x04
29741da177e4SLinus Torvalds#define		ENCFG4ICMD      	0x02
29751da177e4SLinus Torvalds#define		ENCFG4TCMD      	0x01
29761da177e4SLinus Torvalds
29771da177e4SLinus Torvalds#define	MDFFSTAT        		0x5d
29781da177e4SLinus Torvalds#define		SHCNTNEGATIVE   	0x40
29791da177e4SLinus Torvalds#define		SHCNTMINUS1     	0x20
29801da177e4SLinus Torvalds#define		LASTSDONE       	0x10
29811da177e4SLinus Torvalds#define		SHVALID         	0x08
29821da177e4SLinus Torvalds#define		DLZERO          	0x04
29831da177e4SLinus Torvalds#define		DATAINFIFO      	0x02
29841da177e4SLinus Torvalds#define		FIFOFREE        	0x01
29851da177e4SLinus Torvalds
29861da177e4SLinus Torvalds#define	CRCCONTROL      		0x5d
29871da177e4SLinus Torvalds#define		CRCVALCHKEN     	0x40
29881da177e4SLinus Torvalds
29891da177e4SLinus Torvalds#define	DFFTAG          		0x5e
29901da177e4SLinus Torvalds
29911da177e4SLinus Torvalds#define	LASTSCB         		0x5e
29921da177e4SLinus Torvalds
29931da177e4SLinus Torvalds#define	SCSITEST        		0x5e
29941da177e4SLinus Torvalds#define		CNTRTEST        	0x08
29951da177e4SLinus Torvalds#define		SEL_TXPLL_DEBUG 	0x04
29961da177e4SLinus Torvalds
29971da177e4SLinus Torvalds#define	IOPDNCTL        		0x5f
29981da177e4SLinus Torvalds#define		DISABLE_OE      	0x80
29991da177e4SLinus Torvalds#define		PDN_IDIST       	0x04
30001da177e4SLinus Torvalds#define		PDN_DIFFSENSE   	0x01
30011da177e4SLinus Torvalds
30021da177e4SLinus Torvalds#define	SHADDR          		0x60
30031da177e4SLinus Torvalds
30041da177e4SLinus Torvalds#define	NEGOADDR        		0x60
30051da177e4SLinus Torvalds
30061da177e4SLinus Torvalds#define	DGRPCRCI        		0x60
30071da177e4SLinus Torvalds
30081da177e4SLinus Torvalds#define	NEGPERIOD       		0x61
30091da177e4SLinus Torvalds
30101da177e4SLinus Torvalds#define	PACKCRCI        		0x62
30111da177e4SLinus Torvalds
30121da177e4SLinus Torvalds#define	NEGOFFSET       		0x62
30131da177e4SLinus Torvalds
30141da177e4SLinus Torvalds#define	NEGPPROPTS      		0x63
30151da177e4SLinus Torvalds#define		PPROPT_PACE     	0x08
30161da177e4SLinus Torvalds#define		PPROPT_QAS      	0x04
30171da177e4SLinus Torvalds#define		PPROPT_DT       	0x02
30181da177e4SLinus Torvalds#define		PPROPT_IUT      	0x01
30191da177e4SLinus Torvalds
30201da177e4SLinus Torvalds#define	NEGCONOPTS      		0x64
30211da177e4SLinus Torvalds#define		ENSNAPSHOT      	0x40
30221da177e4SLinus Torvalds#define		RTI_WRTDIS      	0x20
30231da177e4SLinus Torvalds#define		RTI_OVRDTRN     	0x10
30241da177e4SLinus Torvalds#define		ENSLOWCRC       	0x08
30251da177e4SLinus Torvalds#define		ENAUTOATNI      	0x04
30261da177e4SLinus Torvalds#define		ENAUTOATNO      	0x02
30271da177e4SLinus Torvalds#define		WIDEXFER        	0x01
30281da177e4SLinus Torvalds
30291da177e4SLinus Torvalds#define	ANNEXCOL        		0x65
30301da177e4SLinus Torvalds
30311da177e4SLinus Torvalds#define	SCSCHKN         		0x66
30321da177e4SLinus Torvalds#define		STSELSKIDDIS    	0x40
30331da177e4SLinus Torvalds#define		CURRFIFODEF     	0x20
30341da177e4SLinus Torvalds#define		WIDERESEN       	0x10
30351da177e4SLinus Torvalds#define		SDONEMSKDIS     	0x08
30361da177e4SLinus Torvalds#define		DFFACTCLR       	0x04
30371da177e4SLinus Torvalds#define		SHVALIDSTDIS    	0x02
30381da177e4SLinus Torvalds#define		LSTSGCLRDIS     	0x01
30391da177e4SLinus Torvalds
30401da177e4SLinus Torvalds#define	ANNEXDAT        		0x66
30411da177e4SLinus Torvalds
30421da177e4SLinus Torvalds#define	IOWNID          		0x67
30431da177e4SLinus Torvalds
30441da177e4SLinus Torvalds#define	PLL960CTL0      		0x68
30451da177e4SLinus Torvalds
30461da177e4SLinus Torvalds#define	SHCNT           		0x68
30471da177e4SLinus Torvalds
30481da177e4SLinus Torvalds#define	TOWNID          		0x69
30491da177e4SLinus Torvalds
30501da177e4SLinus Torvalds#define	PLL960CTL1      		0x69
30511da177e4SLinus Torvalds
30521da177e4SLinus Torvalds#define	PLL960CNT0      		0x6a
30531da177e4SLinus Torvalds
30541da177e4SLinus Torvalds#define	XSIG            		0x6a
30551da177e4SLinus Torvalds
30561da177e4SLinus Torvalds#define	SELOID          		0x6b
30571da177e4SLinus Torvalds
30581da177e4SLinus Torvalds#define	PLL400CTL0      		0x6c
30591da177e4SLinus Torvalds#define		PLL_VCOSEL      	0x80
30601da177e4SLinus Torvalds#define		PLL_PWDN        	0x40
30611da177e4SLinus Torvalds#define		PLL_NS          	0x30
30621da177e4SLinus Torvalds#define		PLL_ENLUD       	0x08
30631da177e4SLinus Torvalds#define		PLL_ENLPF       	0x04
30641da177e4SLinus Torvalds#define		PLL_DLPF        	0x02
30651da177e4SLinus Torvalds#define		PLL_ENFBM       	0x01
30661da177e4SLinus Torvalds
30671da177e4SLinus Torvalds#define	FAIRNESS        		0x6c
30681da177e4SLinus Torvalds
30691da177e4SLinus Torvalds#define	PLL400CTL1      		0x6d
30701da177e4SLinus Torvalds#define		PLL_CNTEN       	0x80
30711da177e4SLinus Torvalds#define		PLL_CNTCLR      	0x40
30721da177e4SLinus Torvalds#define		PLL_RST         	0x01
30731da177e4SLinus Torvalds
30741da177e4SLinus Torvalds#define	PLL400CNT0      		0x6e
30751da177e4SLinus Torvalds
30761da177e4SLinus Torvalds#define	UNFAIRNESS      		0x6e
30771da177e4SLinus Torvalds
30781da177e4SLinus Torvalds#define	HADDR           		0x70
30791da177e4SLinus Torvalds
30801da177e4SLinus Torvalds#define	PLLDELAY        		0x70
30811da177e4SLinus Torvalds#define		SPLIT_DROP_REQ  	0x80
30821da177e4SLinus Torvalds
30831da177e4SLinus Torvalds#define	HODMAADR        		0x70
30841da177e4SLinus Torvalds
30851da177e4SLinus Torvalds#define	HODMACNT        		0x78
30861da177e4SLinus Torvalds
30871da177e4SLinus Torvalds#define	HCNT            		0x78
30881da177e4SLinus Torvalds
30891da177e4SLinus Torvalds#define	HODMAEN         		0x7a
30901da177e4SLinus Torvalds
30911da177e4SLinus Torvalds#define	SGHADDR         		0x7c
30921da177e4SLinus Torvalds
30931da177e4SLinus Torvalds#define	SCBHADDR        		0x7c
30941da177e4SLinus Torvalds
30951da177e4SLinus Torvalds#define	SGHCNT          		0x84
30961da177e4SLinus Torvalds
30971da177e4SLinus Torvalds#define	SCBHCNT         		0x84
30981da177e4SLinus Torvalds
30991da177e4SLinus Torvalds#define	DFF_THRSH       		0x88
31001da177e4SLinus Torvalds#define		WR_DFTHRSH      	0x70
31011da177e4SLinus Torvalds#define		RD_DFTHRSH      	0x07
31021da177e4SLinus Torvalds#define		WR_DFTHRSH_MAX  	0x70
31031da177e4SLinus Torvalds#define		WR_DFTHRSH_90   	0x60
31041da177e4SLinus Torvalds#define		WR_DFTHRSH_85   	0x50
31051da177e4SLinus Torvalds#define		WR_DFTHRSH_75   	0x40
31061da177e4SLinus Torvalds#define		WR_DFTHRSH_63   	0x30
31071da177e4SLinus Torvalds#define		WR_DFTHRSH_50   	0x20
31081da177e4SLinus Torvalds#define		WR_DFTHRSH_25   	0x10
31091da177e4SLinus Torvalds#define		RD_DFTHRSH_MAX  	0x07
31101da177e4SLinus Torvalds#define		RD_DFTHRSH_90   	0x06
31111da177e4SLinus Torvalds#define		RD_DFTHRSH_85   	0x05
31121da177e4SLinus Torvalds#define		RD_DFTHRSH_75   	0x04
31131da177e4SLinus Torvalds#define		RD_DFTHRSH_63   	0x03
31141da177e4SLinus Torvalds#define		RD_DFTHRSH_50   	0x02
31151da177e4SLinus Torvalds#define		RD_DFTHRSH_25   	0x01
31161da177e4SLinus Torvalds#define		WR_DFTHRSH_MIN  	0x00
31171da177e4SLinus Torvalds#define		RD_DFTHRSH_MIN  	0x00
31181da177e4SLinus Torvalds
31191da177e4SLinus Torvalds#define	ROMADDR         		0x8a
31201da177e4SLinus Torvalds
31211da177e4SLinus Torvalds#define	ROMCNTRL        		0x8d
31221da177e4SLinus Torvalds#define		ROMOP           	0xe0
31231da177e4SLinus Torvalds#define		ROMSPD          	0x18
31241da177e4SLinus Torvalds#define		REPEAT          	0x02
31251da177e4SLinus Torvalds#define		RDY             	0x01
31261da177e4SLinus Torvalds
31271da177e4SLinus Torvalds#define	ROMDATA         		0x8e
31281da177e4SLinus Torvalds
31291da177e4SLinus Torvalds#define	CMCRXMSG0       		0x90
31301da177e4SLinus Torvalds
31311da177e4SLinus Torvalds#define	ROENABLE        		0x90
31321da177e4SLinus Torvalds#define		MSIROEN         	0x20
31331da177e4SLinus Torvalds#define		OVLYROEN        	0x10
31341da177e4SLinus Torvalds#define		CMCROEN         	0x08
31351da177e4SLinus Torvalds#define		SGROEN          	0x04
31361da177e4SLinus Torvalds#define		DCH1ROEN        	0x02
31371da177e4SLinus Torvalds#define		DCH0ROEN        	0x01
31381da177e4SLinus Torvalds
31391da177e4SLinus Torvalds#define	OVLYRXMSG0      		0x90
31401da177e4SLinus Torvalds
31411da177e4SLinus Torvalds#define	DCHRXMSG0       		0x90
31421da177e4SLinus Torvalds
31431da177e4SLinus Torvalds#define	OVLYRXMSG1      		0x91
31441da177e4SLinus Torvalds
31451da177e4SLinus Torvalds#define	NSENABLE        		0x91
31461da177e4SLinus Torvalds#define		MSINSEN         	0x20
31471da177e4SLinus Torvalds#define		OVLYNSEN        	0x10
31481da177e4SLinus Torvalds#define		CMCNSEN         	0x08
31491da177e4SLinus Torvalds#define		SGNSEN          	0x04
31501da177e4SLinus Torvalds#define		DCH1NSEN        	0x02
31511da177e4SLinus Torvalds#define		DCH0NSEN        	0x01
31521da177e4SLinus Torvalds
31531da177e4SLinus Torvalds#define	DCHRXMSG1       		0x91
31541da177e4SLinus Torvalds
31551da177e4SLinus Torvalds#define	CMCRXMSG1       		0x91
31561da177e4SLinus Torvalds
31571da177e4SLinus Torvalds#define	DCHRXMSG2       		0x92
31581da177e4SLinus Torvalds
31591da177e4SLinus Torvalds#define	OVLYRXMSG2      		0x92
31601da177e4SLinus Torvalds
31611da177e4SLinus Torvalds#define	CMCRXMSG2       		0x92
31621da177e4SLinus Torvalds
31631da177e4SLinus Torvalds#define	OST             		0x92
31641da177e4SLinus Torvalds
31651da177e4SLinus Torvalds#define	DCHRXMSG3       		0x93
31661da177e4SLinus Torvalds
31671da177e4SLinus Torvalds#define	CMCRXMSG3       		0x93
31681da177e4SLinus Torvalds
31691da177e4SLinus Torvalds#define	PCIXCTL         		0x93
31701da177e4SLinus Torvalds#define		SERRPULSE       	0x80
31711da177e4SLinus Torvalds#define		UNEXPSCIEN      	0x20
31721da177e4SLinus Torvalds#define		SPLTSMADIS      	0x10
31731da177e4SLinus Torvalds#define		SPLTSTADIS      	0x08
31741da177e4SLinus Torvalds#define		SRSPDPEEN       	0x04
31751da177e4SLinus Torvalds#define		TSCSERREN       	0x02
31761da177e4SLinus Torvalds#define		CMPABCDIS       	0x01
31771da177e4SLinus Torvalds
31781da177e4SLinus Torvalds#define	OVLYRXMSG3      		0x93
31791da177e4SLinus Torvalds
31801da177e4SLinus Torvalds#define	OVLYSEQBCNT     		0x94
31811da177e4SLinus Torvalds
31821da177e4SLinus Torvalds#define	CMCSEQBCNT      		0x94
31831da177e4SLinus Torvalds
31841da177e4SLinus Torvalds#define	DCHSEQBCNT      		0x94
31851da177e4SLinus Torvalds
31861da177e4SLinus Torvalds#define	CMCSPLTSTAT0    		0x96
31871da177e4SLinus Torvalds
31881da177e4SLinus Torvalds#define	OVLYSPLTSTAT0   		0x96
31891da177e4SLinus Torvalds
31901da177e4SLinus Torvalds#define	DCHSPLTSTAT0    		0x96
31911da177e4SLinus Torvalds
31921da177e4SLinus Torvalds#define	DCHSPLTSTAT1    		0x97
31931da177e4SLinus Torvalds
31941da177e4SLinus Torvalds#define	CMCSPLTSTAT1    		0x97
31951da177e4SLinus Torvalds
31961da177e4SLinus Torvalds#define	OVLYSPLTSTAT1   		0x97
31971da177e4SLinus Torvalds
31981da177e4SLinus Torvalds#define	SGRXMSG0        		0x98
31991da177e4SLinus Torvalds#define		CDNUM           	0xf8
32001da177e4SLinus Torvalds#define		CFNUM           	0x07
32011da177e4SLinus Torvalds
32021da177e4SLinus Torvalds#define	SLVSPLTOUTADR0  		0x98
32031da177e4SLinus Torvalds#define		LOWER_ADDR      	0x7f
32041da177e4SLinus Torvalds
32051da177e4SLinus Torvalds#define	SGRXMSG1        		0x99
32061da177e4SLinus Torvalds#define		CBNUM           	0xff
32071da177e4SLinus Torvalds
32081da177e4SLinus Torvalds#define	SLVSPLTOUTADR1  		0x99
32091da177e4SLinus Torvalds#define		REQ_DNUM        	0xf8
32101da177e4SLinus Torvalds#define		REQ_FNUM        	0x07
32111da177e4SLinus Torvalds
32121da177e4SLinus Torvalds#define	SGRXMSG2        		0x9a
32131da177e4SLinus Torvalds#define		MINDEX          	0xff
32141da177e4SLinus Torvalds
32151da177e4SLinus Torvalds#define	SLVSPLTOUTADR2  		0x9a
32161da177e4SLinus Torvalds#define		REQ_BNUM        	0xff
32171da177e4SLinus Torvalds
32181da177e4SLinus Torvalds#define	SGRXMSG3        		0x9b
32191da177e4SLinus Torvalds#define		MCLASS          	0x0f
32201da177e4SLinus Torvalds
32211da177e4SLinus Torvalds#define	SLVSPLTOUTADR3  		0x9b
32221da177e4SLinus Torvalds#define		TAG_NUM         	0x1f
32231da177e4SLinus Torvalds#define		RLXORD          	0x10
32241da177e4SLinus Torvalds
32251da177e4SLinus Torvalds#define	SGSEQBCNT       		0x9c
32261da177e4SLinus Torvalds
32271da177e4SLinus Torvalds#define	SLVSPLTOUTATTR0 		0x9c
32281da177e4SLinus Torvalds#define		LOWER_BCNT      	0xff
32291da177e4SLinus Torvalds
32301da177e4SLinus Torvalds#define	SLVSPLTOUTATTR1 		0x9d
32311da177e4SLinus Torvalds#define		CMPLT_DNUM      	0xf8
32321da177e4SLinus Torvalds#define		CMPLT_FNUM      	0x07
32331da177e4SLinus Torvalds
32341da177e4SLinus Torvalds#define	SLVSPLTOUTATTR2 		0x9e
32351da177e4SLinus Torvalds#define		CMPLT_BNUM      	0xff
32361da177e4SLinus Torvalds
32371da177e4SLinus Torvalds#define	SGSPLTSTAT0     		0x9e
32381da177e4SLinus Torvalds#define		STAETERM        	0x80
32391da177e4SLinus Torvalds#define		SCBCERR         	0x40
32401da177e4SLinus Torvalds#define		SCADERR         	0x20
32411da177e4SLinus Torvalds#define		SCDATBUCKET     	0x10
32421da177e4SLinus Torvalds#define		CNTNOTCMPLT     	0x08
32431da177e4SLinus Torvalds#define		RXOVRUN         	0x04
32441da177e4SLinus Torvalds#define		RXSCEMSG        	0x02
32451da177e4SLinus Torvalds#define		RXSPLTRSP       	0x01
32461da177e4SLinus Torvalds
32471da177e4SLinus Torvalds#define	SFUNCT          		0x9f
32481da177e4SLinus Torvalds#define		TEST_GROUP      	0xf0
32491da177e4SLinus Torvalds#define		TEST_NUM        	0x0f
32501da177e4SLinus Torvalds
32511da177e4SLinus Torvalds#define	SGSPLTSTAT1     		0x9f
32521da177e4SLinus Torvalds#define		RXDATABUCKET    	0x01
32531da177e4SLinus Torvalds
32541da177e4SLinus Torvalds#define	DF0PCISTAT      		0xa0
32551da177e4SLinus Torvalds
32561da177e4SLinus Torvalds#define	REG0            		0xa0
32571da177e4SLinus Torvalds
32581da177e4SLinus Torvalds#define	DF1PCISTAT      		0xa1
32591da177e4SLinus Torvalds
32601da177e4SLinus Torvalds#define	SGPCISTAT       		0xa2
32611da177e4SLinus Torvalds
32621da177e4SLinus Torvalds#define	REG1            		0xa2
32631da177e4SLinus Torvalds
32641da177e4SLinus Torvalds#define	CMCPCISTAT      		0xa3
32651da177e4SLinus Torvalds
32661da177e4SLinus Torvalds#define	OVLYPCISTAT     		0xa4
32671da177e4SLinus Torvalds#define		SCAAPERR        	0x08
32681da177e4SLinus Torvalds#define		RDPERR          	0x04
32691da177e4SLinus Torvalds
32701da177e4SLinus Torvalds#define	REG_ISR         		0xa4
32711da177e4SLinus Torvalds
32721da177e4SLinus Torvalds#define	SG_STATE        		0xa6
32731da177e4SLinus Torvalds#define		FETCH_INPROG    	0x04
32741da177e4SLinus Torvalds#define		LOADING_NEEDED  	0x02
32751da177e4SLinus Torvalds#define		SEGS_AVAIL      	0x01
32761da177e4SLinus Torvalds
32771da177e4SLinus Torvalds#define	MSIPCISTAT      		0xa6
32781da177e4SLinus Torvalds#define		RMA             	0x20
32791da177e4SLinus Torvalds#define		RTA             	0x10
32801da177e4SLinus Torvalds#define		CLRPENDMSI      	0x08
32811da177e4SLinus Torvalds#define		DPR             	0x01
32821da177e4SLinus Torvalds
32831da177e4SLinus Torvalds#define	TARGPCISTAT     		0xa7
32841da177e4SLinus Torvalds#define		DPE             	0x80
32851da177e4SLinus Torvalds#define		SSE             	0x40
32861da177e4SLinus Torvalds#define		STA             	0x08
32871da177e4SLinus Torvalds#define		TWATERR         	0x02
32881da177e4SLinus Torvalds
32891da177e4SLinus Torvalds#define	DATA_COUNT_ODD  		0xa7
32901da177e4SLinus Torvalds
32911da177e4SLinus Torvalds#define	SCBPTR          		0xa8
32921da177e4SLinus Torvalds
32931da177e4SLinus Torvalds#define	CCSCBACNT       		0xab
32941da177e4SLinus Torvalds
32951da177e4SLinus Torvalds#define	SCBAUTOPTR      		0xab
32961da177e4SLinus Torvalds#define		AUSCBPTR_EN     	0x80
32971da177e4SLinus Torvalds#define		SCBPTR_ADDR     	0x38
32981da177e4SLinus Torvalds#define		SCBPTR_OFF      	0x07
32991da177e4SLinus Torvalds
33001da177e4SLinus Torvalds#define	CCSGADDR        		0xac
33011da177e4SLinus Torvalds
33021da177e4SLinus Torvalds#define	CCSCBADDR       		0xac
33031da177e4SLinus Torvalds
33041da177e4SLinus Torvalds#define	CCSCBADR_BK     		0xac
33051da177e4SLinus Torvalds
33061da177e4SLinus Torvalds#define	CMC_RAMBIST     		0xad
33071da177e4SLinus Torvalds#define		SG_ELEMENT_SIZE 	0x80
33081da177e4SLinus Torvalds#define		SCBRAMBIST_FAIL 	0x40
33091da177e4SLinus Torvalds#define		SG_BIST_FAIL    	0x20
33101da177e4SLinus Torvalds#define		SG_BIST_EN      	0x10
33111da177e4SLinus Torvalds#define		CMC_BUFFER_BIST_FAIL	0x02
33121da177e4SLinus Torvalds#define		CMC_BUFFER_BIST_EN	0x01
33131da177e4SLinus Torvalds
33141da177e4SLinus Torvalds#define	CCSGCTL         		0xad
33151da177e4SLinus Torvalds#define		CCSGEN          	0x0c
33161da177e4SLinus Torvalds#define		CCSGDONE        	0x80
33171da177e4SLinus Torvalds#define		SG_CACHE_AVAIL  	0x10
33181da177e4SLinus Torvalds#define		CCSGENACK       	0x08
33191da177e4SLinus Torvalds#define		SG_FETCH_REQ    	0x02
33201da177e4SLinus Torvalds#define		CCSGRESET       	0x01
33211da177e4SLinus Torvalds
33221da177e4SLinus Torvalds#define	CCSCBCTL        		0xad
33231da177e4SLinus Torvalds#define		CCSCBDONE       	0x80
33241da177e4SLinus Torvalds#define		ARRDONE         	0x40
33251da177e4SLinus Torvalds#define		CCARREN         	0x10
33261da177e4SLinus Torvalds#define		CCSCBEN         	0x08
33271da177e4SLinus Torvalds#define		CCSCBDIR        	0x04
33281da177e4SLinus Torvalds#define		CCSCBRESET      	0x01
33291da177e4SLinus Torvalds
33301da177e4SLinus Torvalds#define	CCSGRAM         		0xb0
33311da177e4SLinus Torvalds
33321da177e4SLinus Torvalds#define	FLEXADR         		0xb0
33331da177e4SLinus Torvalds
33341da177e4SLinus Torvalds#define	CCSCBRAM        		0xb0
33351da177e4SLinus Torvalds
33361da177e4SLinus Torvalds#define	FLEXCNT         		0xb3
33371da177e4SLinus Torvalds
33381da177e4SLinus Torvalds#define	FLEXDMASTAT     		0xb5
33391da177e4SLinus Torvalds#define		FLEXDMAERR      	0x02
33401da177e4SLinus Torvalds#define		FLEXDMADONE     	0x01
33411da177e4SLinus Torvalds
33421da177e4SLinus Torvalds#define	FLEXDATA        		0xb6
33431da177e4SLinus Torvalds
33441da177e4SLinus Torvalds#define	BRDDAT          		0xb8
33451da177e4SLinus Torvalds
33461da177e4SLinus Torvalds#define	BRDCTL          		0xb9
33471da177e4SLinus Torvalds#define		FLXARBACK       	0x80
33481da177e4SLinus Torvalds#define		FLXARBREQ       	0x40
33491da177e4SLinus Torvalds#define		BRDADDR         	0x38
33501da177e4SLinus Torvalds#define		BRDEN           	0x04
33511da177e4SLinus Torvalds#define		BRDRW           	0x02
33521da177e4SLinus Torvalds#define		BRDSTB          	0x01
33531da177e4SLinus Torvalds
33541da177e4SLinus Torvalds#define	SEEADR          		0xba
33551da177e4SLinus Torvalds
33561da177e4SLinus Torvalds#define	SEEDAT          		0xbc
33571da177e4SLinus Torvalds
33581da177e4SLinus Torvalds#define	SEECTL          		0xbe
33591da177e4SLinus Torvalds#define		SEEOP_EWEN      	0x40
33601da177e4SLinus Torvalds#define		SEEOP_WALL      	0x40
33611da177e4SLinus Torvalds#define		SEEOP_EWDS      	0x40
33621da177e4SLinus Torvalds#define		SEEOPCODE       	0x70
33631da177e4SLinus Torvalds#define		SEERST          	0x02
33641da177e4SLinus Torvalds#define		SEESTART        	0x01
33651da177e4SLinus Torvalds#define		SEEOP_ERASE     	0x70
33661da177e4SLinus Torvalds#define		SEEOP_READ      	0x60
33671da177e4SLinus Torvalds#define		SEEOP_WRITE     	0x50
33681da177e4SLinus Torvalds#define		SEEOP_ERAL      	0x40
33691da177e4SLinus Torvalds
33701da177e4SLinus Torvalds#define	SEESTAT         		0xbe
33711da177e4SLinus Torvalds#define		INIT_DONE       	0x80
33721da177e4SLinus Torvalds#define		LDALTID_L       	0x08
33731da177e4SLinus Torvalds#define		SEEARBACK       	0x04
33741da177e4SLinus Torvalds#define		SEEBUSY         	0x02
33751da177e4SLinus Torvalds
33761da177e4SLinus Torvalds#define	SCBCNT          		0xbf
33771da177e4SLinus Torvalds
33781da177e4SLinus Torvalds#define	DFWADDR         		0xc0
33791da177e4SLinus Torvalds
33801da177e4SLinus Torvalds#define	DSPFLTRCTL      		0xc0
33811da177e4SLinus Torvalds#define		FLTRDISABLE     	0x20
33821da177e4SLinus Torvalds#define		EDGESENSE       	0x10
33831da177e4SLinus Torvalds#define		DSPFCNTSEL      	0x0f
33841da177e4SLinus Torvalds
33851da177e4SLinus Torvalds#define	DSPDATACTL      		0xc1
33861da177e4SLinus Torvalds#define		BYPASSENAB      	0x80
33871da177e4SLinus Torvalds#define		DESQDIS         	0x10
33881da177e4SLinus Torvalds#define		RCVROFFSTDIS    	0x04
33891da177e4SLinus Torvalds#define		XMITOFFSTDIS    	0x02
33901da177e4SLinus Torvalds
33911da177e4SLinus Torvalds#define	DFRADDR         		0xc2
33921da177e4SLinus Torvalds
33931da177e4SLinus Torvalds#define	DSPREQCTL       		0xc2
33941da177e4SLinus Torvalds#define		MANREQCTL       	0xc0
33951da177e4SLinus Torvalds#define		MANREQDLY       	0x3f
33961da177e4SLinus Torvalds
33971da177e4SLinus Torvalds#define	DSPACKCTL       		0xc3
33981da177e4SLinus Torvalds#define		MANACKCTL       	0xc0
33991da177e4SLinus Torvalds#define		MANACKDLY       	0x3f
34001da177e4SLinus Torvalds
34011da177e4SLinus Torvalds#define	DFDAT           		0xc4
34021da177e4SLinus Torvalds
34031da177e4SLinus Torvalds#define	DSPSELECT       		0xc4
34041da177e4SLinus Torvalds#define		AUTOINCEN       	0x80
34051da177e4SLinus Torvalds#define		DSPSEL          	0x1f
34061da177e4SLinus Torvalds
34071da177e4SLinus Torvalds#define	WRTBIASCTL      		0xc5
34081da177e4SLinus Torvalds#define		AUTOXBCDIS      	0x80
34091da177e4SLinus Torvalds#define		XMITMANVAL      	0x3f
34101da177e4SLinus Torvalds
34111da177e4SLinus Torvalds#define	RCVRBIOSCTL     		0xc6
34121da177e4SLinus Torvalds#define		AUTORBCDIS      	0x80
34131da177e4SLinus Torvalds#define		RCVRMANVAL      	0x3f
34141da177e4SLinus Torvalds
34151da177e4SLinus Torvalds#define	WRTBIASCALC     		0xc7
34161da177e4SLinus Torvalds
34171da177e4SLinus Torvalds#define	DFPTRS          		0xc8
34181da177e4SLinus Torvalds
34191da177e4SLinus Torvalds#define	RCVRBIASCALC    		0xc8
34201da177e4SLinus Torvalds
34211da177e4SLinus Torvalds#define	DFBKPTR         		0xc9
34221da177e4SLinus Torvalds
34231da177e4SLinus Torvalds#define	SKEWCALC        		0xc9
34241da177e4SLinus Torvalds
34251da177e4SLinus Torvalds#define	DFDBCTL         		0xcb
34261da177e4SLinus Torvalds#define		DFF_CIO_WR_RDY  	0x20
34271da177e4SLinus Torvalds#define		DFF_CIO_RD_RDY  	0x10
34281da177e4SLinus Torvalds#define		DFF_DIR_ERR     	0x08
34291da177e4SLinus Torvalds#define		DFF_RAMBIST_FAIL	0x04
34301da177e4SLinus Torvalds#define		DFF_RAMBIST_DONE	0x02
34311da177e4SLinus Torvalds#define		DFF_RAMBIST_EN  	0x01
34321da177e4SLinus Torvalds
34331da177e4SLinus Torvalds#define	DFSCNT          		0xcc
34341da177e4SLinus Torvalds
34351da177e4SLinus Torvalds#define	DFBCNT          		0xce
34361da177e4SLinus Torvalds
34371da177e4SLinus Torvalds#define	OVLYADDR        		0xd4
34381da177e4SLinus Torvalds
34391da177e4SLinus Torvalds#define	SEQCTL0         		0xd6
34401da177e4SLinus Torvalds#define		PERRORDIS       	0x80
34411da177e4SLinus Torvalds#define		PAUSEDIS        	0x40
34421da177e4SLinus Torvalds#define		FAILDIS         	0x20
34431da177e4SLinus Torvalds#define		FASTMODE        	0x10
34441da177e4SLinus Torvalds#define		BRKADRINTEN     	0x08
34451da177e4SLinus Torvalds#define		STEP            	0x04
34461da177e4SLinus Torvalds#define		SEQRESET        	0x02
34471da177e4SLinus Torvalds#define		LOADRAM         	0x01
34481da177e4SLinus Torvalds
34491da177e4SLinus Torvalds#define	SEQCTL1         		0xd7
34501da177e4SLinus Torvalds#define		OVRLAY_DATA_CHK 	0x08
34511da177e4SLinus Torvalds#define		RAMBIST_DONE    	0x04
34521da177e4SLinus Torvalds#define		RAMBIST_FAIL    	0x02
34531da177e4SLinus Torvalds#define		RAMBIST_EN      	0x01
34541da177e4SLinus Torvalds
34551da177e4SLinus Torvalds#define	FLAGS           		0xd8
34561da177e4SLinus Torvalds#define		ZERO            	0x02
34571da177e4SLinus Torvalds#define		CARRY           	0x01
34581da177e4SLinus Torvalds
34591da177e4SLinus Torvalds#define	SEQINTCTL       		0xd9
34601da177e4SLinus Torvalds#define		INTVEC1DSL      	0x80
34611da177e4SLinus Torvalds#define		INT1_CONTEXT    	0x20
34621da177e4SLinus Torvalds#define		SCS_SEQ_INT1M1  	0x10
34631da177e4SLinus Torvalds#define		SCS_SEQ_INT1M0  	0x08
34641da177e4SLinus Torvalds#define		INTMASK2        	0x04
34651da177e4SLinus Torvalds#define		INTMASK1        	0x02
34661da177e4SLinus Torvalds#define		IRET            	0x01
34671da177e4SLinus Torvalds
34681da177e4SLinus Torvalds#define	SEQRAM          		0xda
34691da177e4SLinus Torvalds
34701da177e4SLinus Torvalds#define	PRGMCNT         		0xde
34711da177e4SLinus Torvalds
34721da177e4SLinus Torvalds#define	ACCUM           		0xe0
34731da177e4SLinus Torvalds
34741da177e4SLinus Torvalds#define	SINDEX          		0xe2
34751da177e4SLinus Torvalds
34761da177e4SLinus Torvalds#define	DINDEX          		0xe4
34771da177e4SLinus Torvalds
34781da177e4SLinus Torvalds#define	BRKADDR1        		0xe6
34791da177e4SLinus Torvalds#define		BRKDIS          	0x80
34801da177e4SLinus Torvalds
34811da177e4SLinus Torvalds#define	BRKADDR0        		0xe6
34821da177e4SLinus Torvalds
34831da177e4SLinus Torvalds#define	ALLONES         		0xe8
34841da177e4SLinus Torvalds
34851da177e4SLinus Torvalds#define	ALLZEROS        		0xea
34861da177e4SLinus Torvalds
34871da177e4SLinus Torvalds#define	NONE            		0xea
34881da177e4SLinus Torvalds
34891da177e4SLinus Torvalds#define	SINDIR          		0xec
34901da177e4SLinus Torvalds
34911da177e4SLinus Torvalds#define	DINDIR          		0xed
34921da177e4SLinus Torvalds
34931da177e4SLinus Torvalds#define	FUNCTION1       		0xf0
34941da177e4SLinus Torvalds
34951da177e4SLinus Torvalds#define	STACK           		0xf2
34961da177e4SLinus Torvalds
34971da177e4SLinus Torvalds#define	CURADDR         		0xf4
34981da177e4SLinus Torvalds
34991da177e4SLinus Torvalds#define	INTVEC1_ADDR    		0xf4
35001da177e4SLinus Torvalds
35011da177e4SLinus Torvalds#define	INTVEC2_ADDR    		0xf6
35021da177e4SLinus Torvalds
35031da177e4SLinus Torvalds#define	LASTADDR        		0xf6
35041da177e4SLinus Torvalds
35051da177e4SLinus Torvalds#define	LONGJMP_ADDR    		0xf8
35061da177e4SLinus Torvalds
35071da177e4SLinus Torvalds#define	ACCUM_SAVE      		0xfa
35081da177e4SLinus Torvalds
35091da177e4SLinus Torvalds#define	WAITING_SCB_TAILS		0x100
35101da177e4SLinus Torvalds
35111da177e4SLinus Torvalds#define	AHD_PCI_CONFIG_BASE		0x100
35121da177e4SLinus Torvalds
35131da177e4SLinus Torvalds#define	SRAM_BASE       		0x100
35141da177e4SLinus Torvalds
35151da177e4SLinus Torvalds#define	WAITING_TID_HEAD		0x120
35161da177e4SLinus Torvalds
35171da177e4SLinus Torvalds#define	WAITING_TID_TAIL		0x122
35181da177e4SLinus Torvalds
35191da177e4SLinus Torvalds#define	NEXT_QUEUED_SCB_ADDR		0x124
35201da177e4SLinus Torvalds
35211da177e4SLinus Torvalds#define	COMPLETE_SCB_HEAD		0x128
35221da177e4SLinus Torvalds
35231da177e4SLinus Torvalds#define	COMPLETE_SCB_DMAINPROG_HEAD		0x12a
35241da177e4SLinus Torvalds
35251da177e4SLinus Torvalds#define	COMPLETE_DMA_SCB_HEAD		0x12c
35261da177e4SLinus Torvalds
35271da177e4SLinus Torvalds#define	QFREEZE_COUNT   		0x12e
35281da177e4SLinus Torvalds
35291da177e4SLinus Torvalds#define	SAVED_MODE      		0x130
35301da177e4SLinus Torvalds
35311da177e4SLinus Torvalds#define	MSG_OUT         		0x131
35321da177e4SLinus Torvalds
35331da177e4SLinus Torvalds#define	DMAPARAMS       		0x132
35341da177e4SLinus Torvalds#define		PRELOADEN       	0x80
35351da177e4SLinus Torvalds#define		WIDEODD         	0x40
35361da177e4SLinus Torvalds#define		SCSIEN          	0x20
35371da177e4SLinus Torvalds#define		SDMAEN          	0x10
35381da177e4SLinus Torvalds#define		SDMAENACK       	0x10
35391da177e4SLinus Torvalds#define		HDMAENACK       	0x08
35401da177e4SLinus Torvalds#define		HDMAEN          	0x08
35411da177e4SLinus Torvalds#define		DIRECTION       	0x04
35421da177e4SLinus Torvalds#define		FIFOFLUSH       	0x02
35431da177e4SLinus Torvalds#define		FIFORESET       	0x01
35441da177e4SLinus Torvalds
35451da177e4SLinus Torvalds#define	SEQ_FLAGS       		0x133
35461da177e4SLinus Torvalds#define		NOT_IDENTIFIED  	0x80
35471da177e4SLinus Torvalds#define		NO_CDB_SENT     	0x40
35481da177e4SLinus Torvalds#define		TARGET_CMD_IS_TAGGED	0x40
35491da177e4SLinus Torvalds#define		DPHASE          	0x20
35501da177e4SLinus Torvalds#define		TARG_CMD_PENDING	0x10
35511da177e4SLinus Torvalds#define		CMDPHASE_PENDING	0x08
35521da177e4SLinus Torvalds#define		DPHASE_PENDING  	0x04
35531da177e4SLinus Torvalds#define		SPHASE_PENDING  	0x02
35541da177e4SLinus Torvalds#define		NO_DISCONNECT   	0x01
35551da177e4SLinus Torvalds
35561da177e4SLinus Torvalds#define	SAVED_SCSIID    		0x134
35571da177e4SLinus Torvalds
35581da177e4SLinus Torvalds#define	SAVED_LUN       		0x135
35591da177e4SLinus Torvalds
35601da177e4SLinus Torvalds#define	LASTPHASE       		0x136
35611da177e4SLinus Torvalds#define		PHASE_MASK      	0xe0
35621da177e4SLinus Torvalds#define		CDI             	0x80
35631da177e4SLinus Torvalds#define		IOI             	0x40
35641da177e4SLinus Torvalds#define		MSGI            	0x20
35651da177e4SLinus Torvalds#define		P_BUSFREE       	0x01
35661da177e4SLinus Torvalds#define		P_MESGIN        	0xe0
35671da177e4SLinus Torvalds#define		P_STATUS        	0xc0
35681da177e4SLinus Torvalds#define		P_MESGOUT       	0xa0
35691da177e4SLinus Torvalds#define		P_COMMAND       	0x80
35701da177e4SLinus Torvalds#define		P_DATAIN_DT     	0x60
35711da177e4SLinus Torvalds#define		P_DATAIN        	0x40
35721da177e4SLinus Torvalds#define		P_DATAOUT_DT    	0x20
35731da177e4SLinus Torvalds#define		P_DATAOUT       	0x00
35741da177e4SLinus Torvalds
35751da177e4SLinus Torvalds#define	QOUTFIFO_ENTRY_VALID_TAG		0x137
35761da177e4SLinus Torvalds
35771da177e4SLinus Torvalds#define	SHARED_DATA_ADDR		0x138
35781da177e4SLinus Torvalds
35791da177e4SLinus Torvalds#define	QOUTFIFO_NEXT_ADDR		0x13c
35801da177e4SLinus Torvalds
35811da177e4SLinus Torvalds#define	KERNEL_TQINPOS  		0x140
35821da177e4SLinus Torvalds
35831da177e4SLinus Torvalds#define	TQINPOS         		0x141
35841da177e4SLinus Torvalds
35851da177e4SLinus Torvalds#define	ARG_1           		0x142
35861da177e4SLinus Torvalds#define	RETURN_1        		0x142
35871da177e4SLinus Torvalds#define		SEND_MSG        	0x80
35881da177e4SLinus Torvalds#define		SEND_SENSE      	0x40
35891da177e4SLinus Torvalds#define		SEND_REJ        	0x20
35901da177e4SLinus Torvalds#define		MSGOUT_PHASEMIS 	0x10
35911da177e4SLinus Torvalds#define		EXIT_MSG_LOOP   	0x08
35921da177e4SLinus Torvalds#define		CONT_MSG_LOOP_WRITE	0x04
35931da177e4SLinus Torvalds#define		CONT_MSG_LOOP_READ	0x03
35941da177e4SLinus Torvalds#define		CONT_MSG_LOOP_TARG	0x02
35951da177e4SLinus Torvalds
35961da177e4SLinus Torvalds#define	ARG_2           		0x143
35971da177e4SLinus Torvalds#define	RETURN_2        		0x143
35981da177e4SLinus Torvalds
35991da177e4SLinus Torvalds#define	LAST_MSG        		0x144
36001da177e4SLinus Torvalds
36011da177e4SLinus Torvalds#define	SCSISEQ_TEMPLATE		0x145
36021da177e4SLinus Torvalds#define		MANUALCTL       	0x40
36031da177e4SLinus Torvalds#define		ENSELI          	0x20
36041da177e4SLinus Torvalds#define		ENRSELI         	0x10
36051da177e4SLinus Torvalds#define		MANUALP         	0x0c
36061da177e4SLinus Torvalds#define		ENAUTOATNP      	0x02
36071da177e4SLinus Torvalds#define		ALTSTIM         	0x01
36081da177e4SLinus Torvalds
36091da177e4SLinus Torvalds#define	INITIATOR_TAG   		0x146
36101da177e4SLinus Torvalds
36111da177e4SLinus Torvalds#define	SEQ_FLAGS2      		0x147
36121da177e4SLinus Torvalds#define		SELECTOUT_QFROZEN	0x04
36131da177e4SLinus Torvalds#define		TARGET_MSG_PENDING	0x02
36141da177e4SLinus Torvalds
36151da177e4SLinus Torvalds#define	ALLOCFIFO_SCBPTR		0x148
36161da177e4SLinus Torvalds
36171da177e4SLinus Torvalds#define	INT_COALESCING_TIMER		0x14a
36181da177e4SLinus Torvalds
36191da177e4SLinus Torvalds#define	INT_COALESCING_MAXCMDS		0x14c
36201da177e4SLinus Torvalds
36211da177e4SLinus Torvalds#define	INT_COALESCING_MINCMDS		0x14d
36221da177e4SLinus Torvalds
36231da177e4SLinus Torvalds#define	CMDS_PENDING    		0x14e
36241da177e4SLinus Torvalds
36251da177e4SLinus Torvalds#define	INT_COALESCING_CMDCOUNT		0x150
36261da177e4SLinus Torvalds
36271da177e4SLinus Torvalds#define	LOCAL_HS_MAILBOX		0x151
36281da177e4SLinus Torvalds
36291da177e4SLinus Torvalds#define	CMDSIZE_TABLE   		0x152
36301da177e4SLinus Torvalds
36311da177e4SLinus Torvalds#define	SCB_BASE        		0x180
36321da177e4SLinus Torvalds
36331da177e4SLinus Torvalds#define	SCB_RESIDUAL_DATACNT		0x180
36341da177e4SLinus Torvalds#define	SCB_CDB_STORE   		0x180
36351da177e4SLinus Torvalds#define	SCB_HOST_CDB_PTR		0x180
36361da177e4SLinus Torvalds
36371da177e4SLinus Torvalds#define	SCB_RESIDUAL_SGPTR		0x184
36381da177e4SLinus Torvalds#define		SG_ADDR_MASK    	0xf8
36391da177e4SLinus Torvalds#define		SG_OVERRUN_RESID	0x02
36401da177e4SLinus Torvalds
36411da177e4SLinus Torvalds#define	SCB_SCSI_STATUS 		0x188
36421da177e4SLinus Torvalds#define	SCB_HOST_CDB_LEN		0x188
36431da177e4SLinus Torvalds
36441da177e4SLinus Torvalds#define	SCB_TARGET_PHASES		0x189
36451da177e4SLinus Torvalds
36461da177e4SLinus Torvalds#define	SCB_TARGET_DATA_DIR		0x18a
36471da177e4SLinus Torvalds
36481da177e4SLinus Torvalds#define	SCB_TARGET_ITAG 		0x18b
36491da177e4SLinus Torvalds
36501da177e4SLinus Torvalds#define	SCB_SENSE_BUSADDR		0x18c
36511da177e4SLinus Torvalds#define	SCB_NEXT_COMPLETE		0x18c
36521da177e4SLinus Torvalds
36531da177e4SLinus Torvalds#define	SCB_TAG         		0x190
36541da177e4SLinus Torvalds#define	SCB_FIFO_USE_COUNT		0x190
36551da177e4SLinus Torvalds
36561da177e4SLinus Torvalds#define	SCB_CONTROL     		0x192
36571da177e4SLinus Torvalds#define		TARGET_SCB      	0x80
36581da177e4SLinus Torvalds#define		DISCENB         	0x40
36591da177e4SLinus Torvalds#define		TAG_ENB         	0x20
36601da177e4SLinus Torvalds#define		MK_MESSAGE      	0x10
36611da177e4SLinus Torvalds#define		STATUS_RCVD     	0x08
36621da177e4SLinus Torvalds#define		DISCONNECTED    	0x04
36631da177e4SLinus Torvalds#define		SCB_TAG_TYPE    	0x03
36641da177e4SLinus Torvalds
36651da177e4SLinus Torvalds#define	SCB_SCSIID      		0x193
36661da177e4SLinus Torvalds#define		TID             	0xf0
36671da177e4SLinus Torvalds#define		OID             	0x0f
36681da177e4SLinus Torvalds
36691da177e4SLinus Torvalds#define	SCB_LUN         		0x194
36701da177e4SLinus Torvalds#define		LID             	0xff
36711da177e4SLinus Torvalds
36721da177e4SLinus Torvalds#define	SCB_TASK_ATTRIBUTE		0x195
36731da177e4SLinus Torvalds#define		SCB_XFERLEN_ODD 	0x01
36741da177e4SLinus Torvalds
36751da177e4SLinus Torvalds#define	SCB_CDB_LEN     		0x196
36761da177e4SLinus Torvalds#define		SCB_CDB_LEN_PTR 	0x80
36771da177e4SLinus Torvalds
36781da177e4SLinus Torvalds#define	SCB_TASK_MANAGEMENT		0x197
36791da177e4SLinus Torvalds
36801da177e4SLinus Torvalds#define	SCB_DATAPTR     		0x198
36811da177e4SLinus Torvalds
36821da177e4SLinus Torvalds#define	SCB_DATACNT     		0x1a0
36831da177e4SLinus Torvalds#define		SG_LAST_SEG     	0x80
36841da177e4SLinus Torvalds#define		SG_HIGH_ADDR_BITS	0x7f
36851da177e4SLinus Torvalds
36861da177e4SLinus Torvalds#define	SCB_SGPTR       		0x1a4
36871da177e4SLinus Torvalds#define		SG_STATUS_VALID 	0x04
36881da177e4SLinus Torvalds#define		SG_FULL_RESID   	0x02
36891da177e4SLinus Torvalds#define		SG_LIST_NULL    	0x01
36901da177e4SLinus Torvalds
36911da177e4SLinus Torvalds#define	SCB_BUSADDR     		0x1a8
36921da177e4SLinus Torvalds
36931da177e4SLinus Torvalds#define	SCB_NEXT        		0x1ac
36941da177e4SLinus Torvalds#define	SCB_NEXT_SCB_BUSADDR		0x1ac
36951da177e4SLinus Torvalds
36961da177e4SLinus Torvalds#define	SCB_NEXT2       		0x1ae
36971da177e4SLinus Torvalds
36981da177e4SLinus Torvalds#define	SCB_SPARE       		0x1b0
36991da177e4SLinus Torvalds#define	SCB_PKT_LUN     		0x1b0
37001da177e4SLinus Torvalds
37011da177e4SLinus Torvalds#define	SCB_DISCONNECTED_LISTS		0x1b8
37021da177e4SLinus Torvalds
37031da177e4SLinus Torvalds
37041da177e4SLinus Torvalds#define	AHD_TIMER_US_PER_TICK	0x19
37051da177e4SLinus Torvalds#define	SCB_TRANSFER_SIZE_FULL_LUN	0x38
37061da177e4SLinus Torvalds#define	STATUS_QUEUE_FULL	0x28
37071da177e4SLinus Torvalds#define	STATUS_BUSY	0x08
37081da177e4SLinus Torvalds#define	MAX_OFFSET_NON_PACED	0x7f
37091da177e4SLinus Torvalds#define	MAX_OFFSET_PACED	0xfe
37101da177e4SLinus Torvalds#define	BUS_32_BIT	0x02
37111da177e4SLinus Torvalds#define	CCSGADDR_MAX	0x80
37121da177e4SLinus Torvalds#define	TID_SHIFT	0x04
37131da177e4SLinus Torvalds#define	MK_MESSAGE_BIT_OFFSET	0x04
37141da177e4SLinus Torvalds#define	WRTBIASCTL_HP_DEFAULT	0x00
37151da177e4SLinus Torvalds#define	SEEOP_EWDS_ADDR	0x00
37161da177e4SLinus Torvalds#define	AHD_AMPLITUDE_SHIFT	0x00
37171da177e4SLinus Torvalds#define	AHD_AMPLITUDE_MASK	0x07
37181da177e4SLinus Torvalds#define	AHD_ANNEXCOL_AMPLITUDE	0x06
37191da177e4SLinus Torvalds#define	AHD_SLEWRATE_DEF_REVA	0x08
37201da177e4SLinus Torvalds#define	AHD_SLEWRATE_SHIFT	0x03
37211da177e4SLinus Torvalds#define	AHD_SLEWRATE_MASK	0x78
37221da177e4SLinus Torvalds#define	AHD_PRECOMP_CUTBACK_29	0x06
37231da177e4SLinus Torvalds#define	AHD_NUM_PER_DEV_ANNEXCOLS	0x04
37241da177e4SLinus Torvalds#define	B_CURRFIFO_0	0x02
37251da177e4SLinus Torvalds#define	LUNLEN_SINGLE_LEVEL_LUN	0x0f
37261da177e4SLinus Torvalds#define	NVRAM_SCB_OFFSET	0x2c
37271da177e4SLinus Torvalds#define	AHD_TIMER_MAX_US	0x18ffe7
37281da177e4SLinus Torvalds#define	AHD_TIMER_MAX_TICKS	0xffff
37291da177e4SLinus Torvalds#define	STATUS_PKT_SENSE	0xff
37301da177e4SLinus Torvalds#define	CMD_GROUP_CODE_SHIFT	0x05
37311da177e4SLinus Torvalds#define	AHD_SENSE_BUFSIZE	0x100
37321da177e4SLinus Torvalds#define	MAX_OFFSET_PACED_BUG	0x7f
37331da177e4SLinus Torvalds#define	BUS_8_BIT	0x00
37341da177e4SLinus Torvalds#define	STIMESEL_BUG_ADJ	0x08
37351da177e4SLinus Torvalds#define	STIMESEL_MIN	0x18
37361da177e4SLinus Torvalds#define	STIMESEL_SHIFT	0x03
37371da177e4SLinus Torvalds#define	CCSGRAM_MAXSEGS	0x10
37381da177e4SLinus Torvalds#define	INVALID_ADDR	0x80
37391da177e4SLinus Torvalds#define	TARGET_CMD_CMPLT	0xfe
37401da177e4SLinus Torvalds#define	SEEOP_WRAL_ADDR	0x40
37411da177e4SLinus Torvalds#define	SEEOP_ERAL_ADDR	0x80
37421da177e4SLinus Torvalds#define	AHD_AMPLITUDE_DEF	0x07
37431da177e4SLinus Torvalds#define	AHD_SLEWRATE_DEF_REVB	0x08
37441da177e4SLinus Torvalds#define	AHD_PRECOMP_CUTBACK_37	0x07
37451da177e4SLinus Torvalds#define	AHD_PRECOMP_CUTBACK_17	0x04
37461da177e4SLinus Torvalds#define	AHD_PRECOMP_SHIFT	0x00
37471da177e4SLinus Torvalds#define	AHD_PRECOMP_MASK	0x07
37481da177e4SLinus Torvalds#define	AHD_ANNEXCOL_PRECOMP_SLEW	0x04
37491da177e4SLinus Torvalds#define	SRC_MODE_SHIFT	0x00
37501da177e4SLinus Torvalds#define	PKT_OVERRUN_BUFSIZE	0x200
37511da177e4SLinus Torvalds#define	SCB_TRANSFER_SIZE_1BYTE_LUN	0x30
37521da177e4SLinus Torvalds#define	TARGET_DATA_IN	0x01
37531da177e4SLinus Torvalds#define	HOST_MSG	0xff
37541da177e4SLinus Torvalds#define	MAX_OFFSET	0xfe
37551da177e4SLinus Torvalds#define	BUS_16_BIT	0x01
37561da177e4SLinus Torvalds#define	CCSCBADDR_MAX	0x80
37571da177e4SLinus Torvalds#define	NUMDSPS 	0x14
37581da177e4SLinus Torvalds#define	SEEOP_EWEN_ADDR	0xc0
37591da177e4SLinus Torvalds#define	AHD_ANNEXCOL_PER_DEV0	0x04
37601da177e4SLinus Torvalds#define	DST_MODE_SHIFT	0x04
37611da177e4SLinus Torvalds
37621da177e4SLinus Torvalds
37631da177e4SLinus Torvalds/* Downloaded Constant Definitions */
37641da177e4SLinus Torvalds#define	SCB_TRANSFER_SIZE	0x06
37651da177e4SLinus Torvalds#define	PKT_OVERRUN_BUFOFFSET	0x05
37661da177e4SLinus Torvalds#define	SG_SIZEOF	0x04
37671da177e4SLinus Torvalds#define	SG_PREFETCH_ADDR_MASK	0x03
37681da177e4SLinus Torvalds#define	SG_PREFETCH_ALIGN_MASK	0x02
37691da177e4SLinus Torvalds#define	SG_PREFETCH_CNT_LIMIT	0x01
37701da177e4SLinus Torvalds#define	SG_PREFETCH_CNT	0x00
37711da177e4SLinus Torvalds#define	DOWNLOAD_CONST_COUNT	0x07
37721da177e4SLinus Torvalds
37731da177e4SLinus Torvalds
37741da177e4SLinus Torvalds/* Exported Labels */
37751da177e4SLinus Torvalds#define	LABEL_seq_isr 	0x269
37761da177e4SLinus Torvalds#define	LABEL_timer_isr	0x265
3777