aic79xx_reg.h_shipped 102 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804
  1. /*
  2. * DO NOT EDIT - This file is automatically generated
  3. * from the following source files:
  4. *
  5. * $Id: //depot/aic7xxx/aic7xxx/aic79xx.seq#119 $
  6. * $Id: //depot/aic7xxx/aic7xxx/aic79xx.reg#76 $
  7. */
  8. typedef int (ahd_reg_print_t)(u_int, u_int *, u_int);
  9. typedef struct ahd_reg_parse_entry {
  10. char *name;
  11. uint8_t value;
  12. uint8_t mask;
  13. } ahd_reg_parse_entry_t;
  14. #if AIC_DEBUG_REGISTERS
  15. ahd_reg_print_t ahd_mode_ptr_print;
  16. #else
  17. #define ahd_mode_ptr_print(regvalue, cur_col, wrap) \
  18. ahd_print_register(NULL, 0, "MODE_PTR", 0x00, regvalue, cur_col, wrap)
  19. #endif
  20. #if AIC_DEBUG_REGISTERS
  21. ahd_reg_print_t ahd_intstat_print;
  22. #else
  23. #define ahd_intstat_print(regvalue, cur_col, wrap) \
  24. ahd_print_register(NULL, 0, "INTSTAT", 0x01, regvalue, cur_col, wrap)
  25. #endif
  26. #if AIC_DEBUG_REGISTERS
  27. ahd_reg_print_t ahd_seqintcode_print;
  28. #else
  29. #define ahd_seqintcode_print(regvalue, cur_col, wrap) \
  30. ahd_print_register(NULL, 0, "SEQINTCODE", 0x02, regvalue, cur_col, wrap)
  31. #endif
  32. #if AIC_DEBUG_REGISTERS
  33. ahd_reg_print_t ahd_clrint_print;
  34. #else
  35. #define ahd_clrint_print(regvalue, cur_col, wrap) \
  36. ahd_print_register(NULL, 0, "CLRINT", 0x03, regvalue, cur_col, wrap)
  37. #endif
  38. #if AIC_DEBUG_REGISTERS
  39. ahd_reg_print_t ahd_error_print;
  40. #else
  41. #define ahd_error_print(regvalue, cur_col, wrap) \
  42. ahd_print_register(NULL, 0, "ERROR", 0x04, regvalue, cur_col, wrap)
  43. #endif
  44. #if AIC_DEBUG_REGISTERS
  45. ahd_reg_print_t ahd_clrerr_print;
  46. #else
  47. #define ahd_clrerr_print(regvalue, cur_col, wrap) \
  48. ahd_print_register(NULL, 0, "CLRERR", 0x04, regvalue, cur_col, wrap)
  49. #endif
  50. #if AIC_DEBUG_REGISTERS
  51. ahd_reg_print_t ahd_hcntrl_print;
  52. #else
  53. #define ahd_hcntrl_print(regvalue, cur_col, wrap) \
  54. ahd_print_register(NULL, 0, "HCNTRL", 0x05, regvalue, cur_col, wrap)
  55. #endif
  56. #if AIC_DEBUG_REGISTERS
  57. ahd_reg_print_t ahd_hnscb_qoff_print;
  58. #else
  59. #define ahd_hnscb_qoff_print(regvalue, cur_col, wrap) \
  60. ahd_print_register(NULL, 0, "HNSCB_QOFF", 0x06, regvalue, cur_col, wrap)
  61. #endif
  62. #if AIC_DEBUG_REGISTERS
  63. ahd_reg_print_t ahd_hescb_qoff_print;
  64. #else
  65. #define ahd_hescb_qoff_print(regvalue, cur_col, wrap) \
  66. ahd_print_register(NULL, 0, "HESCB_QOFF", 0x08, regvalue, cur_col, wrap)
  67. #endif
  68. #if AIC_DEBUG_REGISTERS
  69. ahd_reg_print_t ahd_hs_mailbox_print;
  70. #else
  71. #define ahd_hs_mailbox_print(regvalue, cur_col, wrap) \
  72. ahd_print_register(NULL, 0, "HS_MAILBOX", 0x0b, regvalue, cur_col, wrap)
  73. #endif
  74. #if AIC_DEBUG_REGISTERS
  75. ahd_reg_print_t ahd_seqintstat_print;
  76. #else
  77. #define ahd_seqintstat_print(regvalue, cur_col, wrap) \
  78. ahd_print_register(NULL, 0, "SEQINTSTAT", 0x0c, regvalue, cur_col, wrap)
  79. #endif
  80. #if AIC_DEBUG_REGISTERS
  81. ahd_reg_print_t ahd_clrseqintstat_print;
  82. #else
  83. #define ahd_clrseqintstat_print(regvalue, cur_col, wrap) \
  84. ahd_print_register(NULL, 0, "CLRSEQINTSTAT", 0x0c, regvalue, cur_col, wrap)
  85. #endif
  86. #if AIC_DEBUG_REGISTERS
  87. ahd_reg_print_t ahd_swtimer_print;
  88. #else
  89. #define ahd_swtimer_print(regvalue, cur_col, wrap) \
  90. ahd_print_register(NULL, 0, "SWTIMER", 0x0e, regvalue, cur_col, wrap)
  91. #endif
  92. #if AIC_DEBUG_REGISTERS
  93. ahd_reg_print_t ahd_snscb_qoff_print;
  94. #else
  95. #define ahd_snscb_qoff_print(regvalue, cur_col, wrap) \
  96. ahd_print_register(NULL, 0, "SNSCB_QOFF", 0x10, regvalue, cur_col, wrap)
  97. #endif
  98. #if AIC_DEBUG_REGISTERS
  99. ahd_reg_print_t ahd_sescb_qoff_print;
  100. #else
  101. #define ahd_sescb_qoff_print(regvalue, cur_col, wrap) \
  102. ahd_print_register(NULL, 0, "SESCB_QOFF", 0x12, regvalue, cur_col, wrap)
  103. #endif
  104. #if AIC_DEBUG_REGISTERS
  105. ahd_reg_print_t ahd_sdscb_qoff_print;
  106. #else
  107. #define ahd_sdscb_qoff_print(regvalue, cur_col, wrap) \
  108. ahd_print_register(NULL, 0, "SDSCB_QOFF", 0x14, regvalue, cur_col, wrap)
  109. #endif
  110. #if AIC_DEBUG_REGISTERS
  111. ahd_reg_print_t ahd_qoff_ctlsta_print;
  112. #else
  113. #define ahd_qoff_ctlsta_print(regvalue, cur_col, wrap) \
  114. ahd_print_register(NULL, 0, "QOFF_CTLSTA", 0x16, regvalue, cur_col, wrap)
  115. #endif
  116. #if AIC_DEBUG_REGISTERS
  117. ahd_reg_print_t ahd_intctl_print;
  118. #else
  119. #define ahd_intctl_print(regvalue, cur_col, wrap) \
  120. ahd_print_register(NULL, 0, "INTCTL", 0x18, regvalue, cur_col, wrap)
  121. #endif
  122. #if AIC_DEBUG_REGISTERS
  123. ahd_reg_print_t ahd_dfcntrl_print;
  124. #else
  125. #define ahd_dfcntrl_print(regvalue, cur_col, wrap) \
  126. ahd_print_register(NULL, 0, "DFCNTRL", 0x19, regvalue, cur_col, wrap)
  127. #endif
  128. #if AIC_DEBUG_REGISTERS
  129. ahd_reg_print_t ahd_dscommand0_print;
  130. #else
  131. #define ahd_dscommand0_print(regvalue, cur_col, wrap) \
  132. ahd_print_register(NULL, 0, "DSCOMMAND0", 0x19, regvalue, cur_col, wrap)
  133. #endif
  134. #if AIC_DEBUG_REGISTERS
  135. ahd_reg_print_t ahd_dfstatus_print;
  136. #else
  137. #define ahd_dfstatus_print(regvalue, cur_col, wrap) \
  138. ahd_print_register(NULL, 0, "DFSTATUS", 0x1a, regvalue, cur_col, wrap)
  139. #endif
  140. #if AIC_DEBUG_REGISTERS
  141. ahd_reg_print_t ahd_sg_cache_shadow_print;
  142. #else
  143. #define ahd_sg_cache_shadow_print(regvalue, cur_col, wrap) \
  144. ahd_print_register(NULL, 0, "SG_CACHE_SHADOW", 0x1b, regvalue, cur_col, wrap)
  145. #endif
  146. #if AIC_DEBUG_REGISTERS
  147. ahd_reg_print_t ahd_arbctl_print;
  148. #else
  149. #define ahd_arbctl_print(regvalue, cur_col, wrap) \
  150. ahd_print_register(NULL, 0, "ARBCTL", 0x1b, regvalue, cur_col, wrap)
  151. #endif
  152. #if AIC_DEBUG_REGISTERS
  153. ahd_reg_print_t ahd_sg_cache_pre_print;
  154. #else
  155. #define ahd_sg_cache_pre_print(regvalue, cur_col, wrap) \
  156. ahd_print_register(NULL, 0, "SG_CACHE_PRE", 0x1b, regvalue, cur_col, wrap)
  157. #endif
  158. #if AIC_DEBUG_REGISTERS
  159. ahd_reg_print_t ahd_lqin_print;
  160. #else
  161. #define ahd_lqin_print(regvalue, cur_col, wrap) \
  162. ahd_print_register(NULL, 0, "LQIN", 0x20, regvalue, cur_col, wrap)
  163. #endif
  164. #if AIC_DEBUG_REGISTERS
  165. ahd_reg_print_t ahd_typeptr_print;
  166. #else
  167. #define ahd_typeptr_print(regvalue, cur_col, wrap) \
  168. ahd_print_register(NULL, 0, "TYPEPTR", 0x20, regvalue, cur_col, wrap)
  169. #endif
  170. #if AIC_DEBUG_REGISTERS
  171. ahd_reg_print_t ahd_tagptr_print;
  172. #else
  173. #define ahd_tagptr_print(regvalue, cur_col, wrap) \
  174. ahd_print_register(NULL, 0, "TAGPTR", 0x21, regvalue, cur_col, wrap)
  175. #endif
  176. #if AIC_DEBUG_REGISTERS
  177. ahd_reg_print_t ahd_lunptr_print;
  178. #else
  179. #define ahd_lunptr_print(regvalue, cur_col, wrap) \
  180. ahd_print_register(NULL, 0, "LUNPTR", 0x22, regvalue, cur_col, wrap)
  181. #endif
  182. #if AIC_DEBUG_REGISTERS
  183. ahd_reg_print_t ahd_datalenptr_print;
  184. #else
  185. #define ahd_datalenptr_print(regvalue, cur_col, wrap) \
  186. ahd_print_register(NULL, 0, "DATALENPTR", 0x23, regvalue, cur_col, wrap)
  187. #endif
  188. #if AIC_DEBUG_REGISTERS
  189. ahd_reg_print_t ahd_statlenptr_print;
  190. #else
  191. #define ahd_statlenptr_print(regvalue, cur_col, wrap) \
  192. ahd_print_register(NULL, 0, "STATLENPTR", 0x24, regvalue, cur_col, wrap)
  193. #endif
  194. #if AIC_DEBUG_REGISTERS
  195. ahd_reg_print_t ahd_cmdlenptr_print;
  196. #else
  197. #define ahd_cmdlenptr_print(regvalue, cur_col, wrap) \
  198. ahd_print_register(NULL, 0, "CMDLENPTR", 0x25, regvalue, cur_col, wrap)
  199. #endif
  200. #if AIC_DEBUG_REGISTERS
  201. ahd_reg_print_t ahd_attrptr_print;
  202. #else
  203. #define ahd_attrptr_print(regvalue, cur_col, wrap) \
  204. ahd_print_register(NULL, 0, "ATTRPTR", 0x26, regvalue, cur_col, wrap)
  205. #endif
  206. #if AIC_DEBUG_REGISTERS
  207. ahd_reg_print_t ahd_flagptr_print;
  208. #else
  209. #define ahd_flagptr_print(regvalue, cur_col, wrap) \
  210. ahd_print_register(NULL, 0, "FLAGPTR", 0x27, regvalue, cur_col, wrap)
  211. #endif
  212. #if AIC_DEBUG_REGISTERS
  213. ahd_reg_print_t ahd_cmdptr_print;
  214. #else
  215. #define ahd_cmdptr_print(regvalue, cur_col, wrap) \
  216. ahd_print_register(NULL, 0, "CMDPTR", 0x28, regvalue, cur_col, wrap)
  217. #endif
  218. #if AIC_DEBUG_REGISTERS
  219. ahd_reg_print_t ahd_qnextptr_print;
  220. #else
  221. #define ahd_qnextptr_print(regvalue, cur_col, wrap) \
  222. ahd_print_register(NULL, 0, "QNEXTPTR", 0x29, regvalue, cur_col, wrap)
  223. #endif
  224. #if AIC_DEBUG_REGISTERS
  225. ahd_reg_print_t ahd_idptr_print;
  226. #else
  227. #define ahd_idptr_print(regvalue, cur_col, wrap) \
  228. ahd_print_register(NULL, 0, "IDPTR", 0x2a, regvalue, cur_col, wrap)
  229. #endif
  230. #if AIC_DEBUG_REGISTERS
  231. ahd_reg_print_t ahd_abrtbyteptr_print;
  232. #else
  233. #define ahd_abrtbyteptr_print(regvalue, cur_col, wrap) \
  234. ahd_print_register(NULL, 0, "ABRTBYTEPTR", 0x2b, regvalue, cur_col, wrap)
  235. #endif
  236. #if AIC_DEBUG_REGISTERS
  237. ahd_reg_print_t ahd_abrtbitptr_print;
  238. #else
  239. #define ahd_abrtbitptr_print(regvalue, cur_col, wrap) \
  240. ahd_print_register(NULL, 0, "ABRTBITPTR", 0x2c, regvalue, cur_col, wrap)
  241. #endif
  242. #if AIC_DEBUG_REGISTERS
  243. ahd_reg_print_t ahd_maxcmdbytes_print;
  244. #else
  245. #define ahd_maxcmdbytes_print(regvalue, cur_col, wrap) \
  246. ahd_print_register(NULL, 0, "MAXCMDBYTES", 0x2d, regvalue, cur_col, wrap)
  247. #endif
  248. #if AIC_DEBUG_REGISTERS
  249. ahd_reg_print_t ahd_maxcmd2rcv_print;
  250. #else
  251. #define ahd_maxcmd2rcv_print(regvalue, cur_col, wrap) \
  252. ahd_print_register(NULL, 0, "MAXCMD2RCV", 0x2e, regvalue, cur_col, wrap)
  253. #endif
  254. #if AIC_DEBUG_REGISTERS
  255. ahd_reg_print_t ahd_shortthresh_print;
  256. #else
  257. #define ahd_shortthresh_print(regvalue, cur_col, wrap) \
  258. ahd_print_register(NULL, 0, "SHORTTHRESH", 0x2f, regvalue, cur_col, wrap)
  259. #endif
  260. #if AIC_DEBUG_REGISTERS
  261. ahd_reg_print_t ahd_lunlen_print;
  262. #else
  263. #define ahd_lunlen_print(regvalue, cur_col, wrap) \
  264. ahd_print_register(NULL, 0, "LUNLEN", 0x30, regvalue, cur_col, wrap)
  265. #endif
  266. #if AIC_DEBUG_REGISTERS
  267. ahd_reg_print_t ahd_cdblimit_print;
  268. #else
  269. #define ahd_cdblimit_print(regvalue, cur_col, wrap) \
  270. ahd_print_register(NULL, 0, "CDBLIMIT", 0x31, regvalue, cur_col, wrap)
  271. #endif
  272. #if AIC_DEBUG_REGISTERS
  273. ahd_reg_print_t ahd_maxcmd_print;
  274. #else
  275. #define ahd_maxcmd_print(regvalue, cur_col, wrap) \
  276. ahd_print_register(NULL, 0, "MAXCMD", 0x32, regvalue, cur_col, wrap)
  277. #endif
  278. #if AIC_DEBUG_REGISTERS
  279. ahd_reg_print_t ahd_maxcmdcnt_print;
  280. #else
  281. #define ahd_maxcmdcnt_print(regvalue, cur_col, wrap) \
  282. ahd_print_register(NULL, 0, "MAXCMDCNT", 0x33, regvalue, cur_col, wrap)
  283. #endif
  284. #if AIC_DEBUG_REGISTERS
  285. ahd_reg_print_t ahd_lqrsvd01_print;
  286. #else
  287. #define ahd_lqrsvd01_print(regvalue, cur_col, wrap) \
  288. ahd_print_register(NULL, 0, "LQRSVD01", 0x34, regvalue, cur_col, wrap)
  289. #endif
  290. #if AIC_DEBUG_REGISTERS
  291. ahd_reg_print_t ahd_lqrsvd16_print;
  292. #else
  293. #define ahd_lqrsvd16_print(regvalue, cur_col, wrap) \
  294. ahd_print_register(NULL, 0, "LQRSVD16", 0x35, regvalue, cur_col, wrap)
  295. #endif
  296. #if AIC_DEBUG_REGISTERS
  297. ahd_reg_print_t ahd_lqrsvd17_print;
  298. #else
  299. #define ahd_lqrsvd17_print(regvalue, cur_col, wrap) \
  300. ahd_print_register(NULL, 0, "LQRSVD17", 0x36, regvalue, cur_col, wrap)
  301. #endif
  302. #if AIC_DEBUG_REGISTERS
  303. ahd_reg_print_t ahd_cmdrsvd0_print;
  304. #else
  305. #define ahd_cmdrsvd0_print(regvalue, cur_col, wrap) \
  306. ahd_print_register(NULL, 0, "CMDRSVD0", 0x37, regvalue, cur_col, wrap)
  307. #endif
  308. #if AIC_DEBUG_REGISTERS
  309. ahd_reg_print_t ahd_lqctl0_print;
  310. #else
  311. #define ahd_lqctl0_print(regvalue, cur_col, wrap) \
  312. ahd_print_register(NULL, 0, "LQCTL0", 0x38, regvalue, cur_col, wrap)
  313. #endif
  314. #if AIC_DEBUG_REGISTERS
  315. ahd_reg_print_t ahd_lqctl1_print;
  316. #else
  317. #define ahd_lqctl1_print(regvalue, cur_col, wrap) \
  318. ahd_print_register(NULL, 0, "LQCTL1", 0x38, regvalue, cur_col, wrap)
  319. #endif
  320. #if AIC_DEBUG_REGISTERS
  321. ahd_reg_print_t ahd_scsbist0_print;
  322. #else
  323. #define ahd_scsbist0_print(regvalue, cur_col, wrap) \
  324. ahd_print_register(NULL, 0, "SCSBIST0", 0x39, regvalue, cur_col, wrap)
  325. #endif
  326. #if AIC_DEBUG_REGISTERS
  327. ahd_reg_print_t ahd_lqctl2_print;
  328. #else
  329. #define ahd_lqctl2_print(regvalue, cur_col, wrap) \
  330. ahd_print_register(NULL, 0, "LQCTL2", 0x39, regvalue, cur_col, wrap)
  331. #endif
  332. #if AIC_DEBUG_REGISTERS
  333. ahd_reg_print_t ahd_scsbist1_print;
  334. #else
  335. #define ahd_scsbist1_print(regvalue, cur_col, wrap) \
  336. ahd_print_register(NULL, 0, "SCSBIST1", 0x3a, regvalue, cur_col, wrap)
  337. #endif
  338. #if AIC_DEBUG_REGISTERS
  339. ahd_reg_print_t ahd_scsiseq0_print;
  340. #else
  341. #define ahd_scsiseq0_print(regvalue, cur_col, wrap) \
  342. ahd_print_register(NULL, 0, "SCSISEQ0", 0x3a, regvalue, cur_col, wrap)
  343. #endif
  344. #if AIC_DEBUG_REGISTERS
  345. ahd_reg_print_t ahd_scsiseq1_print;
  346. #else
  347. #define ahd_scsiseq1_print(regvalue, cur_col, wrap) \
  348. ahd_print_register(NULL, 0, "SCSISEQ1", 0x3b, regvalue, cur_col, wrap)
  349. #endif
  350. #if AIC_DEBUG_REGISTERS
  351. ahd_reg_print_t ahd_sxfrctl0_print;
  352. #else
  353. #define ahd_sxfrctl0_print(regvalue, cur_col, wrap) \
  354. ahd_print_register(NULL, 0, "SXFRCTL0", 0x3c, regvalue, cur_col, wrap)
  355. #endif
  356. #if AIC_DEBUG_REGISTERS
  357. ahd_reg_print_t ahd_dlcount_print;
  358. #else
  359. #define ahd_dlcount_print(regvalue, cur_col, wrap) \
  360. ahd_print_register(NULL, 0, "DLCOUNT", 0x3c, regvalue, cur_col, wrap)
  361. #endif
  362. #if AIC_DEBUG_REGISTERS
  363. ahd_reg_print_t ahd_businitid_print;
  364. #else
  365. #define ahd_businitid_print(regvalue, cur_col, wrap) \
  366. ahd_print_register(NULL, 0, "BUSINITID", 0x3c, regvalue, cur_col, wrap)
  367. #endif
  368. #if AIC_DEBUG_REGISTERS
  369. ahd_reg_print_t ahd_sxfrctl1_print;
  370. #else
  371. #define ahd_sxfrctl1_print(regvalue, cur_col, wrap) \
  372. ahd_print_register(NULL, 0, "SXFRCTL1", 0x3d, regvalue, cur_col, wrap)
  373. #endif
  374. #if AIC_DEBUG_REGISTERS
  375. ahd_reg_print_t ahd_bustargid_print;
  376. #else
  377. #define ahd_bustargid_print(regvalue, cur_col, wrap) \
  378. ahd_print_register(NULL, 0, "BUSTARGID", 0x3e, regvalue, cur_col, wrap)
  379. #endif
  380. #if AIC_DEBUG_REGISTERS
  381. ahd_reg_print_t ahd_sxfrctl2_print;
  382. #else
  383. #define ahd_sxfrctl2_print(regvalue, cur_col, wrap) \
  384. ahd_print_register(NULL, 0, "SXFRCTL2", 0x3e, regvalue, cur_col, wrap)
  385. #endif
  386. #if AIC_DEBUG_REGISTERS
  387. ahd_reg_print_t ahd_dffstat_print;
  388. #else
  389. #define ahd_dffstat_print(regvalue, cur_col, wrap) \
  390. ahd_print_register(NULL, 0, "DFFSTAT", 0x3f, regvalue, cur_col, wrap)
  391. #endif
  392. #if AIC_DEBUG_REGISTERS
  393. ahd_reg_print_t ahd_scsisigo_print;
  394. #else
  395. #define ahd_scsisigo_print(regvalue, cur_col, wrap) \
  396. ahd_print_register(NULL, 0, "SCSISIGO", 0x40, regvalue, cur_col, wrap)
  397. #endif
  398. #if AIC_DEBUG_REGISTERS
  399. ahd_reg_print_t ahd_multargid_print;
  400. #else
  401. #define ahd_multargid_print(regvalue, cur_col, wrap) \
  402. ahd_print_register(NULL, 0, "MULTARGID", 0x40, regvalue, cur_col, wrap)
  403. #endif
  404. #if AIC_DEBUG_REGISTERS
  405. ahd_reg_print_t ahd_scsisigi_print;
  406. #else
  407. #define ahd_scsisigi_print(regvalue, cur_col, wrap) \
  408. ahd_print_register(NULL, 0, "SCSISIGI", 0x41, regvalue, cur_col, wrap)
  409. #endif
  410. #if AIC_DEBUG_REGISTERS
  411. ahd_reg_print_t ahd_scsiphase_print;
  412. #else
  413. #define ahd_scsiphase_print(regvalue, cur_col, wrap) \
  414. ahd_print_register(NULL, 0, "SCSIPHASE", 0x42, regvalue, cur_col, wrap)
  415. #endif
  416. #if AIC_DEBUG_REGISTERS
  417. ahd_reg_print_t ahd_scsidat0_img_print;
  418. #else
  419. #define ahd_scsidat0_img_print(regvalue, cur_col, wrap) \
  420. ahd_print_register(NULL, 0, "SCSIDAT0_IMG", 0x43, regvalue, cur_col, wrap)
  421. #endif
  422. #if AIC_DEBUG_REGISTERS
  423. ahd_reg_print_t ahd_scsidat_print;
  424. #else
  425. #define ahd_scsidat_print(regvalue, cur_col, wrap) \
  426. ahd_print_register(NULL, 0, "SCSIDAT", 0x44, regvalue, cur_col, wrap)
  427. #endif
  428. #if AIC_DEBUG_REGISTERS
  429. ahd_reg_print_t ahd_scsibus_print;
  430. #else
  431. #define ahd_scsibus_print(regvalue, cur_col, wrap) \
  432. ahd_print_register(NULL, 0, "SCSIBUS", 0x46, regvalue, cur_col, wrap)
  433. #endif
  434. #if AIC_DEBUG_REGISTERS
  435. ahd_reg_print_t ahd_targidin_print;
  436. #else
  437. #define ahd_targidin_print(regvalue, cur_col, wrap) \
  438. ahd_print_register(NULL, 0, "TARGIDIN", 0x48, regvalue, cur_col, wrap)
  439. #endif
  440. #if AIC_DEBUG_REGISTERS
  441. ahd_reg_print_t ahd_selid_print;
  442. #else
  443. #define ahd_selid_print(regvalue, cur_col, wrap) \
  444. ahd_print_register(NULL, 0, "SELID", 0x49, regvalue, cur_col, wrap)
  445. #endif
  446. #if AIC_DEBUG_REGISTERS
  447. ahd_reg_print_t ahd_optionmode_print;
  448. #else
  449. #define ahd_optionmode_print(regvalue, cur_col, wrap) \
  450. ahd_print_register(NULL, 0, "OPTIONMODE", 0x4a, regvalue, cur_col, wrap)
  451. #endif
  452. #if AIC_DEBUG_REGISTERS
  453. ahd_reg_print_t ahd_sblkctl_print;
  454. #else
  455. #define ahd_sblkctl_print(regvalue, cur_col, wrap) \
  456. ahd_print_register(NULL, 0, "SBLKCTL", 0x4a, regvalue, cur_col, wrap)
  457. #endif
  458. #if AIC_DEBUG_REGISTERS
  459. ahd_reg_print_t ahd_clrsint0_print;
  460. #else
  461. #define ahd_clrsint0_print(regvalue, cur_col, wrap) \
  462. ahd_print_register(NULL, 0, "CLRSINT0", 0x4b, regvalue, cur_col, wrap)
  463. #endif
  464. #if AIC_DEBUG_REGISTERS
  465. ahd_reg_print_t ahd_sstat0_print;
  466. #else
  467. #define ahd_sstat0_print(regvalue, cur_col, wrap) \
  468. ahd_print_register(NULL, 0, "SSTAT0", 0x4b, regvalue, cur_col, wrap)
  469. #endif
  470. #if AIC_DEBUG_REGISTERS
  471. ahd_reg_print_t ahd_simode0_print;
  472. #else
  473. #define ahd_simode0_print(regvalue, cur_col, wrap) \
  474. ahd_print_register(NULL, 0, "SIMODE0", 0x4b, regvalue, cur_col, wrap)
  475. #endif
  476. #if AIC_DEBUG_REGISTERS
  477. ahd_reg_print_t ahd_clrsint1_print;
  478. #else
  479. #define ahd_clrsint1_print(regvalue, cur_col, wrap) \
  480. ahd_print_register(NULL, 0, "CLRSINT1", 0x4c, regvalue, cur_col, wrap)
  481. #endif
  482. #if AIC_DEBUG_REGISTERS
  483. ahd_reg_print_t ahd_sstat1_print;
  484. #else
  485. #define ahd_sstat1_print(regvalue, cur_col, wrap) \
  486. ahd_print_register(NULL, 0, "SSTAT1", 0x4c, regvalue, cur_col, wrap)
  487. #endif
  488. #if AIC_DEBUG_REGISTERS
  489. ahd_reg_print_t ahd_sstat2_print;
  490. #else
  491. #define ahd_sstat2_print(regvalue, cur_col, wrap) \
  492. ahd_print_register(NULL, 0, "SSTAT2", 0x4d, regvalue, cur_col, wrap)
  493. #endif
  494. #if AIC_DEBUG_REGISTERS
  495. ahd_reg_print_t ahd_simode2_print;
  496. #else
  497. #define ahd_simode2_print(regvalue, cur_col, wrap) \
  498. ahd_print_register(NULL, 0, "SIMODE2", 0x4d, regvalue, cur_col, wrap)
  499. #endif
  500. #if AIC_DEBUG_REGISTERS
  501. ahd_reg_print_t ahd_clrsint2_print;
  502. #else
  503. #define ahd_clrsint2_print(regvalue, cur_col, wrap) \
  504. ahd_print_register(NULL, 0, "CLRSINT2", 0x4d, regvalue, cur_col, wrap)
  505. #endif
  506. #if AIC_DEBUG_REGISTERS
  507. ahd_reg_print_t ahd_perrdiag_print;
  508. #else
  509. #define ahd_perrdiag_print(regvalue, cur_col, wrap) \
  510. ahd_print_register(NULL, 0, "PERRDIAG", 0x4e, regvalue, cur_col, wrap)
  511. #endif
  512. #if AIC_DEBUG_REGISTERS
  513. ahd_reg_print_t ahd_lqistate_print;
  514. #else
  515. #define ahd_lqistate_print(regvalue, cur_col, wrap) \
  516. ahd_print_register(NULL, 0, "LQISTATE", 0x4e, regvalue, cur_col, wrap)
  517. #endif
  518. #if AIC_DEBUG_REGISTERS
  519. ahd_reg_print_t ahd_soffcnt_print;
  520. #else
  521. #define ahd_soffcnt_print(regvalue, cur_col, wrap) \
  522. ahd_print_register(NULL, 0, "SOFFCNT", 0x4f, regvalue, cur_col, wrap)
  523. #endif
  524. #if AIC_DEBUG_REGISTERS
  525. ahd_reg_print_t ahd_lqostate_print;
  526. #else
  527. #define ahd_lqostate_print(regvalue, cur_col, wrap) \
  528. ahd_print_register(NULL, 0, "LQOSTATE", 0x4f, regvalue, cur_col, wrap)
  529. #endif
  530. #if AIC_DEBUG_REGISTERS
  531. ahd_reg_print_t ahd_lqistat0_print;
  532. #else
  533. #define ahd_lqistat0_print(regvalue, cur_col, wrap) \
  534. ahd_print_register(NULL, 0, "LQISTAT0", 0x50, regvalue, cur_col, wrap)
  535. #endif
  536. #if AIC_DEBUG_REGISTERS
  537. ahd_reg_print_t ahd_clrlqiint0_print;
  538. #else
  539. #define ahd_clrlqiint0_print(regvalue, cur_col, wrap) \
  540. ahd_print_register(NULL, 0, "CLRLQIINT0", 0x50, regvalue, cur_col, wrap)
  541. #endif
  542. #if AIC_DEBUG_REGISTERS
  543. ahd_reg_print_t ahd_lqimode0_print;
  544. #else
  545. #define ahd_lqimode0_print(regvalue, cur_col, wrap) \
  546. ahd_print_register(NULL, 0, "LQIMODE0", 0x50, regvalue, cur_col, wrap)
  547. #endif
  548. #if AIC_DEBUG_REGISTERS
  549. ahd_reg_print_t ahd_lqimode1_print;
  550. #else
  551. #define ahd_lqimode1_print(regvalue, cur_col, wrap) \
  552. ahd_print_register(NULL, 0, "LQIMODE1", 0x51, regvalue, cur_col, wrap)
  553. #endif
  554. #if AIC_DEBUG_REGISTERS
  555. ahd_reg_print_t ahd_lqistat1_print;
  556. #else
  557. #define ahd_lqistat1_print(regvalue, cur_col, wrap) \
  558. ahd_print_register(NULL, 0, "LQISTAT1", 0x51, regvalue, cur_col, wrap)
  559. #endif
  560. #if AIC_DEBUG_REGISTERS
  561. ahd_reg_print_t ahd_clrlqiint1_print;
  562. #else
  563. #define ahd_clrlqiint1_print(regvalue, cur_col, wrap) \
  564. ahd_print_register(NULL, 0, "CLRLQIINT1", 0x51, regvalue, cur_col, wrap)
  565. #endif
  566. #if AIC_DEBUG_REGISTERS
  567. ahd_reg_print_t ahd_lqistat2_print;
  568. #else
  569. #define ahd_lqistat2_print(regvalue, cur_col, wrap) \
  570. ahd_print_register(NULL, 0, "LQISTAT2", 0x52, regvalue, cur_col, wrap)
  571. #endif
  572. #if AIC_DEBUG_REGISTERS
  573. ahd_reg_print_t ahd_sstat3_print;
  574. #else
  575. #define ahd_sstat3_print(regvalue, cur_col, wrap) \
  576. ahd_print_register(NULL, 0, "SSTAT3", 0x53, regvalue, cur_col, wrap)
  577. #endif
  578. #if AIC_DEBUG_REGISTERS
  579. ahd_reg_print_t ahd_simode3_print;
  580. #else
  581. #define ahd_simode3_print(regvalue, cur_col, wrap) \
  582. ahd_print_register(NULL, 0, "SIMODE3", 0x53, regvalue, cur_col, wrap)
  583. #endif
  584. #if AIC_DEBUG_REGISTERS
  585. ahd_reg_print_t ahd_clrsint3_print;
  586. #else
  587. #define ahd_clrsint3_print(regvalue, cur_col, wrap) \
  588. ahd_print_register(NULL, 0, "CLRSINT3", 0x53, regvalue, cur_col, wrap)
  589. #endif
  590. #if AIC_DEBUG_REGISTERS
  591. ahd_reg_print_t ahd_lqostat0_print;
  592. #else
  593. #define ahd_lqostat0_print(regvalue, cur_col, wrap) \
  594. ahd_print_register(NULL, 0, "LQOSTAT0", 0x54, regvalue, cur_col, wrap)
  595. #endif
  596. #if AIC_DEBUG_REGISTERS
  597. ahd_reg_print_t ahd_clrlqoint0_print;
  598. #else
  599. #define ahd_clrlqoint0_print(regvalue, cur_col, wrap) \
  600. ahd_print_register(NULL, 0, "CLRLQOINT0", 0x54, regvalue, cur_col, wrap)
  601. #endif
  602. #if AIC_DEBUG_REGISTERS
  603. ahd_reg_print_t ahd_lqomode0_print;
  604. #else
  605. #define ahd_lqomode0_print(regvalue, cur_col, wrap) \
  606. ahd_print_register(NULL, 0, "LQOMODE0", 0x54, regvalue, cur_col, wrap)
  607. #endif
  608. #if AIC_DEBUG_REGISTERS
  609. ahd_reg_print_t ahd_lqomode1_print;
  610. #else
  611. #define ahd_lqomode1_print(regvalue, cur_col, wrap) \
  612. ahd_print_register(NULL, 0, "LQOMODE1", 0x55, regvalue, cur_col, wrap)
  613. #endif
  614. #if AIC_DEBUG_REGISTERS
  615. ahd_reg_print_t ahd_lqostat1_print;
  616. #else
  617. #define ahd_lqostat1_print(regvalue, cur_col, wrap) \
  618. ahd_print_register(NULL, 0, "LQOSTAT1", 0x55, regvalue, cur_col, wrap)
  619. #endif
  620. #if AIC_DEBUG_REGISTERS
  621. ahd_reg_print_t ahd_clrlqoint1_print;
  622. #else
  623. #define ahd_clrlqoint1_print(regvalue, cur_col, wrap) \
  624. ahd_print_register(NULL, 0, "CLRLQOINT1", 0x55, regvalue, cur_col, wrap)
  625. #endif
  626. #if AIC_DEBUG_REGISTERS
  627. ahd_reg_print_t ahd_lqostat2_print;
  628. #else
  629. #define ahd_lqostat2_print(regvalue, cur_col, wrap) \
  630. ahd_print_register(NULL, 0, "LQOSTAT2", 0x56, regvalue, cur_col, wrap)
  631. #endif
  632. #if AIC_DEBUG_REGISTERS
  633. ahd_reg_print_t ahd_os_space_cnt_print;
  634. #else
  635. #define ahd_os_space_cnt_print(regvalue, cur_col, wrap) \
  636. ahd_print_register(NULL, 0, "OS_SPACE_CNT", 0x56, regvalue, cur_col, wrap)
  637. #endif
  638. #if AIC_DEBUG_REGISTERS
  639. ahd_reg_print_t ahd_simode1_print;
  640. #else
  641. #define ahd_simode1_print(regvalue, cur_col, wrap) \
  642. ahd_print_register(NULL, 0, "SIMODE1", 0x57, regvalue, cur_col, wrap)
  643. #endif
  644. #if AIC_DEBUG_REGISTERS
  645. ahd_reg_print_t ahd_gsfifo_print;
  646. #else
  647. #define ahd_gsfifo_print(regvalue, cur_col, wrap) \
  648. ahd_print_register(NULL, 0, "GSFIFO", 0x58, regvalue, cur_col, wrap)
  649. #endif
  650. #if AIC_DEBUG_REGISTERS
  651. ahd_reg_print_t ahd_dffsxfrctl_print;
  652. #else
  653. #define ahd_dffsxfrctl_print(regvalue, cur_col, wrap) \
  654. ahd_print_register(NULL, 0, "DFFSXFRCTL", 0x5a, regvalue, cur_col, wrap)
  655. #endif
  656. #if AIC_DEBUG_REGISTERS
  657. ahd_reg_print_t ahd_lqoscsctl_print;
  658. #else
  659. #define ahd_lqoscsctl_print(regvalue, cur_col, wrap) \
  660. ahd_print_register(NULL, 0, "LQOSCSCTL", 0x5a, regvalue, cur_col, wrap)
  661. #endif
  662. #if AIC_DEBUG_REGISTERS
  663. ahd_reg_print_t ahd_nextscb_print;
  664. #else
  665. #define ahd_nextscb_print(regvalue, cur_col, wrap) \
  666. ahd_print_register(NULL, 0, "NEXTSCB", 0x5a, regvalue, cur_col, wrap)
  667. #endif
  668. #if AIC_DEBUG_REGISTERS
  669. ahd_reg_print_t ahd_clrseqintsrc_print;
  670. #else
  671. #define ahd_clrseqintsrc_print(regvalue, cur_col, wrap) \
  672. ahd_print_register(NULL, 0, "CLRSEQINTSRC", 0x5b, regvalue, cur_col, wrap)
  673. #endif
  674. #if AIC_DEBUG_REGISTERS
  675. ahd_reg_print_t ahd_seqintsrc_print;
  676. #else
  677. #define ahd_seqintsrc_print(regvalue, cur_col, wrap) \
  678. ahd_print_register(NULL, 0, "SEQINTSRC", 0x5b, regvalue, cur_col, wrap)
  679. #endif
  680. #if AIC_DEBUG_REGISTERS
  681. ahd_reg_print_t ahd_currscb_print;
  682. #else
  683. #define ahd_currscb_print(regvalue, cur_col, wrap) \
  684. ahd_print_register(NULL, 0, "CURRSCB", 0x5c, regvalue, cur_col, wrap)
  685. #endif
  686. #if AIC_DEBUG_REGISTERS
  687. ahd_reg_print_t ahd_seqimode_print;
  688. #else
  689. #define ahd_seqimode_print(regvalue, cur_col, wrap) \
  690. ahd_print_register(NULL, 0, "SEQIMODE", 0x5c, regvalue, cur_col, wrap)
  691. #endif
  692. #if AIC_DEBUG_REGISTERS
  693. ahd_reg_print_t ahd_mdffstat_print;
  694. #else
  695. #define ahd_mdffstat_print(regvalue, cur_col, wrap) \
  696. ahd_print_register(NULL, 0, "MDFFSTAT", 0x5d, regvalue, cur_col, wrap)
  697. #endif
  698. #if AIC_DEBUG_REGISTERS
  699. ahd_reg_print_t ahd_crccontrol_print;
  700. #else
  701. #define ahd_crccontrol_print(regvalue, cur_col, wrap) \
  702. ahd_print_register(NULL, 0, "CRCCONTROL", 0x5d, regvalue, cur_col, wrap)
  703. #endif
  704. #if AIC_DEBUG_REGISTERS
  705. ahd_reg_print_t ahd_dfftag_print;
  706. #else
  707. #define ahd_dfftag_print(regvalue, cur_col, wrap) \
  708. ahd_print_register(NULL, 0, "DFFTAG", 0x5e, regvalue, cur_col, wrap)
  709. #endif
  710. #if AIC_DEBUG_REGISTERS
  711. ahd_reg_print_t ahd_lastscb_print;
  712. #else
  713. #define ahd_lastscb_print(regvalue, cur_col, wrap) \
  714. ahd_print_register(NULL, 0, "LASTSCB", 0x5e, regvalue, cur_col, wrap)
  715. #endif
  716. #if AIC_DEBUG_REGISTERS
  717. ahd_reg_print_t ahd_scsitest_print;
  718. #else
  719. #define ahd_scsitest_print(regvalue, cur_col, wrap) \
  720. ahd_print_register(NULL, 0, "SCSITEST", 0x5e, regvalue, cur_col, wrap)
  721. #endif
  722. #if AIC_DEBUG_REGISTERS
  723. ahd_reg_print_t ahd_iopdnctl_print;
  724. #else
  725. #define ahd_iopdnctl_print(regvalue, cur_col, wrap) \
  726. ahd_print_register(NULL, 0, "IOPDNCTL", 0x5f, regvalue, cur_col, wrap)
  727. #endif
  728. #if AIC_DEBUG_REGISTERS
  729. ahd_reg_print_t ahd_shaddr_print;
  730. #else
  731. #define ahd_shaddr_print(regvalue, cur_col, wrap) \
  732. ahd_print_register(NULL, 0, "SHADDR", 0x60, regvalue, cur_col, wrap)
  733. #endif
  734. #if AIC_DEBUG_REGISTERS
  735. ahd_reg_print_t ahd_negoaddr_print;
  736. #else
  737. #define ahd_negoaddr_print(regvalue, cur_col, wrap) \
  738. ahd_print_register(NULL, 0, "NEGOADDR", 0x60, regvalue, cur_col, wrap)
  739. #endif
  740. #if AIC_DEBUG_REGISTERS
  741. ahd_reg_print_t ahd_dgrpcrci_print;
  742. #else
  743. #define ahd_dgrpcrci_print(regvalue, cur_col, wrap) \
  744. ahd_print_register(NULL, 0, "DGRPCRCI", 0x60, regvalue, cur_col, wrap)
  745. #endif
  746. #if AIC_DEBUG_REGISTERS
  747. ahd_reg_print_t ahd_negperiod_print;
  748. #else
  749. #define ahd_negperiod_print(regvalue, cur_col, wrap) \
  750. ahd_print_register(NULL, 0, "NEGPERIOD", 0x61, regvalue, cur_col, wrap)
  751. #endif
  752. #if AIC_DEBUG_REGISTERS
  753. ahd_reg_print_t ahd_packcrci_print;
  754. #else
  755. #define ahd_packcrci_print(regvalue, cur_col, wrap) \
  756. ahd_print_register(NULL, 0, "PACKCRCI", 0x62, regvalue, cur_col, wrap)
  757. #endif
  758. #if AIC_DEBUG_REGISTERS
  759. ahd_reg_print_t ahd_negoffset_print;
  760. #else
  761. #define ahd_negoffset_print(regvalue, cur_col, wrap) \
  762. ahd_print_register(NULL, 0, "NEGOFFSET", 0x62, regvalue, cur_col, wrap)
  763. #endif
  764. #if AIC_DEBUG_REGISTERS
  765. ahd_reg_print_t ahd_negppropts_print;
  766. #else
  767. #define ahd_negppropts_print(regvalue, cur_col, wrap) \
  768. ahd_print_register(NULL, 0, "NEGPPROPTS", 0x63, regvalue, cur_col, wrap)
  769. #endif
  770. #if AIC_DEBUG_REGISTERS
  771. ahd_reg_print_t ahd_negconopts_print;
  772. #else
  773. #define ahd_negconopts_print(regvalue, cur_col, wrap) \
  774. ahd_print_register(NULL, 0, "NEGCONOPTS", 0x64, regvalue, cur_col, wrap)
  775. #endif
  776. #if AIC_DEBUG_REGISTERS
  777. ahd_reg_print_t ahd_annexcol_print;
  778. #else
  779. #define ahd_annexcol_print(regvalue, cur_col, wrap) \
  780. ahd_print_register(NULL, 0, "ANNEXCOL", 0x65, regvalue, cur_col, wrap)
  781. #endif
  782. #if AIC_DEBUG_REGISTERS
  783. ahd_reg_print_t ahd_annexdat_print;
  784. #else
  785. #define ahd_annexdat_print(regvalue, cur_col, wrap) \
  786. ahd_print_register(NULL, 0, "ANNEXDAT", 0x66, regvalue, cur_col, wrap)
  787. #endif
  788. #if AIC_DEBUG_REGISTERS
  789. ahd_reg_print_t ahd_scschkn_print;
  790. #else
  791. #define ahd_scschkn_print(regvalue, cur_col, wrap) \
  792. ahd_print_register(NULL, 0, "SCSCHKN", 0x66, regvalue, cur_col, wrap)
  793. #endif
  794. #if AIC_DEBUG_REGISTERS
  795. ahd_reg_print_t ahd_iownid_print;
  796. #else
  797. #define ahd_iownid_print(regvalue, cur_col, wrap) \
  798. ahd_print_register(NULL, 0, "IOWNID", 0x67, regvalue, cur_col, wrap)
  799. #endif
  800. #if AIC_DEBUG_REGISTERS
  801. ahd_reg_print_t ahd_pll960ctl0_print;
  802. #else
  803. #define ahd_pll960ctl0_print(regvalue, cur_col, wrap) \
  804. ahd_print_register(NULL, 0, "PLL960CTL0", 0x68, regvalue, cur_col, wrap)
  805. #endif
  806. #if AIC_DEBUG_REGISTERS
  807. ahd_reg_print_t ahd_shcnt_print;
  808. #else
  809. #define ahd_shcnt_print(regvalue, cur_col, wrap) \
  810. ahd_print_register(NULL, 0, "SHCNT", 0x68, regvalue, cur_col, wrap)
  811. #endif
  812. #if AIC_DEBUG_REGISTERS
  813. ahd_reg_print_t ahd_townid_print;
  814. #else
  815. #define ahd_townid_print(regvalue, cur_col, wrap) \
  816. ahd_print_register(NULL, 0, "TOWNID", 0x69, regvalue, cur_col, wrap)
  817. #endif
  818. #if AIC_DEBUG_REGISTERS
  819. ahd_reg_print_t ahd_pll960ctl1_print;
  820. #else
  821. #define ahd_pll960ctl1_print(regvalue, cur_col, wrap) \
  822. ahd_print_register(NULL, 0, "PLL960CTL1", 0x69, regvalue, cur_col, wrap)
  823. #endif
  824. #if AIC_DEBUG_REGISTERS
  825. ahd_reg_print_t ahd_pll960cnt0_print;
  826. #else
  827. #define ahd_pll960cnt0_print(regvalue, cur_col, wrap) \
  828. ahd_print_register(NULL, 0, "PLL960CNT0", 0x6a, regvalue, cur_col, wrap)
  829. #endif
  830. #if AIC_DEBUG_REGISTERS
  831. ahd_reg_print_t ahd_xsig_print;
  832. #else
  833. #define ahd_xsig_print(regvalue, cur_col, wrap) \
  834. ahd_print_register(NULL, 0, "XSIG", 0x6a, regvalue, cur_col, wrap)
  835. #endif
  836. #if AIC_DEBUG_REGISTERS
  837. ahd_reg_print_t ahd_seloid_print;
  838. #else
  839. #define ahd_seloid_print(regvalue, cur_col, wrap) \
  840. ahd_print_register(NULL, 0, "SELOID", 0x6b, regvalue, cur_col, wrap)
  841. #endif
  842. #if AIC_DEBUG_REGISTERS
  843. ahd_reg_print_t ahd_pll400ctl0_print;
  844. #else
  845. #define ahd_pll400ctl0_print(regvalue, cur_col, wrap) \
  846. ahd_print_register(NULL, 0, "PLL400CTL0", 0x6c, regvalue, cur_col, wrap)
  847. #endif
  848. #if AIC_DEBUG_REGISTERS
  849. ahd_reg_print_t ahd_fairness_print;
  850. #else
  851. #define ahd_fairness_print(regvalue, cur_col, wrap) \
  852. ahd_print_register(NULL, 0, "FAIRNESS", 0x6c, regvalue, cur_col, wrap)
  853. #endif
  854. #if AIC_DEBUG_REGISTERS
  855. ahd_reg_print_t ahd_pll400ctl1_print;
  856. #else
  857. #define ahd_pll400ctl1_print(regvalue, cur_col, wrap) \
  858. ahd_print_register(NULL, 0, "PLL400CTL1", 0x6d, regvalue, cur_col, wrap)
  859. #endif
  860. #if AIC_DEBUG_REGISTERS
  861. ahd_reg_print_t ahd_unfairness_print;
  862. #else
  863. #define ahd_unfairness_print(regvalue, cur_col, wrap) \
  864. ahd_print_register(NULL, 0, "UNFAIRNESS", 0x6e, regvalue, cur_col, wrap)
  865. #endif
  866. #if AIC_DEBUG_REGISTERS
  867. ahd_reg_print_t ahd_pll400cnt0_print;
  868. #else
  869. #define ahd_pll400cnt0_print(regvalue, cur_col, wrap) \
  870. ahd_print_register(NULL, 0, "PLL400CNT0", 0x6e, regvalue, cur_col, wrap)
  871. #endif
  872. #if AIC_DEBUG_REGISTERS
  873. ahd_reg_print_t ahd_haddr_print;
  874. #else
  875. #define ahd_haddr_print(regvalue, cur_col, wrap) \
  876. ahd_print_register(NULL, 0, "HADDR", 0x70, regvalue, cur_col, wrap)
  877. #endif
  878. #if AIC_DEBUG_REGISTERS
  879. ahd_reg_print_t ahd_plldelay_print;
  880. #else
  881. #define ahd_plldelay_print(regvalue, cur_col, wrap) \
  882. ahd_print_register(NULL, 0, "PLLDELAY", 0x70, regvalue, cur_col, wrap)
  883. #endif
  884. #if AIC_DEBUG_REGISTERS
  885. ahd_reg_print_t ahd_hodmaadr_print;
  886. #else
  887. #define ahd_hodmaadr_print(regvalue, cur_col, wrap) \
  888. ahd_print_register(NULL, 0, "HODMAADR", 0x70, regvalue, cur_col, wrap)
  889. #endif
  890. #if AIC_DEBUG_REGISTERS
  891. ahd_reg_print_t ahd_hodmacnt_print;
  892. #else
  893. #define ahd_hodmacnt_print(regvalue, cur_col, wrap) \
  894. ahd_print_register(NULL, 0, "HODMACNT", 0x78, regvalue, cur_col, wrap)
  895. #endif
  896. #if AIC_DEBUG_REGISTERS
  897. ahd_reg_print_t ahd_hcnt_print;
  898. #else
  899. #define ahd_hcnt_print(regvalue, cur_col, wrap) \
  900. ahd_print_register(NULL, 0, "HCNT", 0x78, regvalue, cur_col, wrap)
  901. #endif
  902. #if AIC_DEBUG_REGISTERS
  903. ahd_reg_print_t ahd_hodmaen_print;
  904. #else
  905. #define ahd_hodmaen_print(regvalue, cur_col, wrap) \
  906. ahd_print_register(NULL, 0, "HODMAEN", 0x7a, regvalue, cur_col, wrap)
  907. #endif
  908. #if AIC_DEBUG_REGISTERS
  909. ahd_reg_print_t ahd_scbhaddr_print;
  910. #else
  911. #define ahd_scbhaddr_print(regvalue, cur_col, wrap) \
  912. ahd_print_register(NULL, 0, "SCBHADDR", 0x7c, regvalue, cur_col, wrap)
  913. #endif
  914. #if AIC_DEBUG_REGISTERS
  915. ahd_reg_print_t ahd_sghaddr_print;
  916. #else
  917. #define ahd_sghaddr_print(regvalue, cur_col, wrap) \
  918. ahd_print_register(NULL, 0, "SGHADDR", 0x7c, regvalue, cur_col, wrap)
  919. #endif
  920. #if AIC_DEBUG_REGISTERS
  921. ahd_reg_print_t ahd_scbhcnt_print;
  922. #else
  923. #define ahd_scbhcnt_print(regvalue, cur_col, wrap) \
  924. ahd_print_register(NULL, 0, "SCBHCNT", 0x84, regvalue, cur_col, wrap)
  925. #endif
  926. #if AIC_DEBUG_REGISTERS
  927. ahd_reg_print_t ahd_sghcnt_print;
  928. #else
  929. #define ahd_sghcnt_print(regvalue, cur_col, wrap) \
  930. ahd_print_register(NULL, 0, "SGHCNT", 0x84, regvalue, cur_col, wrap)
  931. #endif
  932. #if AIC_DEBUG_REGISTERS
  933. ahd_reg_print_t ahd_dff_thrsh_print;
  934. #else
  935. #define ahd_dff_thrsh_print(regvalue, cur_col, wrap) \
  936. ahd_print_register(NULL, 0, "DFF_THRSH", 0x88, regvalue, cur_col, wrap)
  937. #endif
  938. #if AIC_DEBUG_REGISTERS
  939. ahd_reg_print_t ahd_romaddr_print;
  940. #else
  941. #define ahd_romaddr_print(regvalue, cur_col, wrap) \
  942. ahd_print_register(NULL, 0, "ROMADDR", 0x8a, regvalue, cur_col, wrap)
  943. #endif
  944. #if AIC_DEBUG_REGISTERS
  945. ahd_reg_print_t ahd_romcntrl_print;
  946. #else
  947. #define ahd_romcntrl_print(regvalue, cur_col, wrap) \
  948. ahd_print_register(NULL, 0, "ROMCNTRL", 0x8d, regvalue, cur_col, wrap)
  949. #endif
  950. #if AIC_DEBUG_REGISTERS
  951. ahd_reg_print_t ahd_romdata_print;
  952. #else
  953. #define ahd_romdata_print(regvalue, cur_col, wrap) \
  954. ahd_print_register(NULL, 0, "ROMDATA", 0x8e, regvalue, cur_col, wrap)
  955. #endif
  956. #if AIC_DEBUG_REGISTERS
  957. ahd_reg_print_t ahd_cmcrxmsg0_print;
  958. #else
  959. #define ahd_cmcrxmsg0_print(regvalue, cur_col, wrap) \
  960. ahd_print_register(NULL, 0, "CMCRXMSG0", 0x90, regvalue, cur_col, wrap)
  961. #endif
  962. #if AIC_DEBUG_REGISTERS
  963. ahd_reg_print_t ahd_roenable_print;
  964. #else
  965. #define ahd_roenable_print(regvalue, cur_col, wrap) \
  966. ahd_print_register(NULL, 0, "ROENABLE", 0x90, regvalue, cur_col, wrap)
  967. #endif
  968. #if AIC_DEBUG_REGISTERS
  969. ahd_reg_print_t ahd_ovlyrxmsg0_print;
  970. #else
  971. #define ahd_ovlyrxmsg0_print(regvalue, cur_col, wrap) \
  972. ahd_print_register(NULL, 0, "OVLYRXMSG0", 0x90, regvalue, cur_col, wrap)
  973. #endif
  974. #if AIC_DEBUG_REGISTERS
  975. ahd_reg_print_t ahd_dchrxmsg0_print;
  976. #else
  977. #define ahd_dchrxmsg0_print(regvalue, cur_col, wrap) \
  978. ahd_print_register(NULL, 0, "DCHRXMSG0", 0x90, regvalue, cur_col, wrap)
  979. #endif
  980. #if AIC_DEBUG_REGISTERS
  981. ahd_reg_print_t ahd_ovlyrxmsg1_print;
  982. #else
  983. #define ahd_ovlyrxmsg1_print(regvalue, cur_col, wrap) \
  984. ahd_print_register(NULL, 0, "OVLYRXMSG1", 0x91, regvalue, cur_col, wrap)
  985. #endif
  986. #if AIC_DEBUG_REGISTERS
  987. ahd_reg_print_t ahd_nsenable_print;
  988. #else
  989. #define ahd_nsenable_print(regvalue, cur_col, wrap) \
  990. ahd_print_register(NULL, 0, "NSENABLE", 0x91, regvalue, cur_col, wrap)
  991. #endif
  992. #if AIC_DEBUG_REGISTERS
  993. ahd_reg_print_t ahd_cmcrxmsg1_print;
  994. #else
  995. #define ahd_cmcrxmsg1_print(regvalue, cur_col, wrap) \
  996. ahd_print_register(NULL, 0, "CMCRXMSG1", 0x91, regvalue, cur_col, wrap)
  997. #endif
  998. #if AIC_DEBUG_REGISTERS
  999. ahd_reg_print_t ahd_dchrxmsg1_print;
  1000. #else
  1001. #define ahd_dchrxmsg1_print(regvalue, cur_col, wrap) \
  1002. ahd_print_register(NULL, 0, "DCHRXMSG1", 0x91, regvalue, cur_col, wrap)
  1003. #endif
  1004. #if AIC_DEBUG_REGISTERS
  1005. ahd_reg_print_t ahd_dchrxmsg2_print;
  1006. #else
  1007. #define ahd_dchrxmsg2_print(regvalue, cur_col, wrap) \
  1008. ahd_print_register(NULL, 0, "DCHRXMSG2", 0x92, regvalue, cur_col, wrap)
  1009. #endif
  1010. #if AIC_DEBUG_REGISTERS
  1011. ahd_reg_print_t ahd_cmcrxmsg2_print;
  1012. #else
  1013. #define ahd_cmcrxmsg2_print(regvalue, cur_col, wrap) \
  1014. ahd_print_register(NULL, 0, "CMCRXMSG2", 0x92, regvalue, cur_col, wrap)
  1015. #endif
  1016. #if AIC_DEBUG_REGISTERS
  1017. ahd_reg_print_t ahd_ost_print;
  1018. #else
  1019. #define ahd_ost_print(regvalue, cur_col, wrap) \
  1020. ahd_print_register(NULL, 0, "OST", 0x92, regvalue, cur_col, wrap)
  1021. #endif
  1022. #if AIC_DEBUG_REGISTERS
  1023. ahd_reg_print_t ahd_ovlyrxmsg2_print;
  1024. #else
  1025. #define ahd_ovlyrxmsg2_print(regvalue, cur_col, wrap) \
  1026. ahd_print_register(NULL, 0, "OVLYRXMSG2", 0x92, regvalue, cur_col, wrap)
  1027. #endif
  1028. #if AIC_DEBUG_REGISTERS
  1029. ahd_reg_print_t ahd_dchrxmsg3_print;
  1030. #else
  1031. #define ahd_dchrxmsg3_print(regvalue, cur_col, wrap) \
  1032. ahd_print_register(NULL, 0, "DCHRXMSG3", 0x93, regvalue, cur_col, wrap)
  1033. #endif
  1034. #if AIC_DEBUG_REGISTERS
  1035. ahd_reg_print_t ahd_ovlyrxmsg3_print;
  1036. #else
  1037. #define ahd_ovlyrxmsg3_print(regvalue, cur_col, wrap) \
  1038. ahd_print_register(NULL, 0, "OVLYRXMSG3", 0x93, regvalue, cur_col, wrap)
  1039. #endif
  1040. #if AIC_DEBUG_REGISTERS
  1041. ahd_reg_print_t ahd_cmcrxmsg3_print;
  1042. #else
  1043. #define ahd_cmcrxmsg3_print(regvalue, cur_col, wrap) \
  1044. ahd_print_register(NULL, 0, "CMCRXMSG3", 0x93, regvalue, cur_col, wrap)
  1045. #endif
  1046. #if AIC_DEBUG_REGISTERS
  1047. ahd_reg_print_t ahd_pcixctl_print;
  1048. #else
  1049. #define ahd_pcixctl_print(regvalue, cur_col, wrap) \
  1050. ahd_print_register(NULL, 0, "PCIXCTL", 0x93, regvalue, cur_col, wrap)
  1051. #endif
  1052. #if AIC_DEBUG_REGISTERS
  1053. ahd_reg_print_t ahd_ovlyseqbcnt_print;
  1054. #else
  1055. #define ahd_ovlyseqbcnt_print(regvalue, cur_col, wrap) \
  1056. ahd_print_register(NULL, 0, "OVLYSEQBCNT", 0x94, regvalue, cur_col, wrap)
  1057. #endif
  1058. #if AIC_DEBUG_REGISTERS
  1059. ahd_reg_print_t ahd_dchseqbcnt_print;
  1060. #else
  1061. #define ahd_dchseqbcnt_print(regvalue, cur_col, wrap) \
  1062. ahd_print_register(NULL, 0, "DCHSEQBCNT", 0x94, regvalue, cur_col, wrap)
  1063. #endif
  1064. #if AIC_DEBUG_REGISTERS
  1065. ahd_reg_print_t ahd_cmcseqbcnt_print;
  1066. #else
  1067. #define ahd_cmcseqbcnt_print(regvalue, cur_col, wrap) \
  1068. ahd_print_register(NULL, 0, "CMCSEQBCNT", 0x94, regvalue, cur_col, wrap)
  1069. #endif
  1070. #if AIC_DEBUG_REGISTERS
  1071. ahd_reg_print_t ahd_cmcspltstat0_print;
  1072. #else
  1073. #define ahd_cmcspltstat0_print(regvalue, cur_col, wrap) \
  1074. ahd_print_register(NULL, 0, "CMCSPLTSTAT0", 0x96, regvalue, cur_col, wrap)
  1075. #endif
  1076. #if AIC_DEBUG_REGISTERS
  1077. ahd_reg_print_t ahd_dchspltstat0_print;
  1078. #else
  1079. #define ahd_dchspltstat0_print(regvalue, cur_col, wrap) \
  1080. ahd_print_register(NULL, 0, "DCHSPLTSTAT0", 0x96, regvalue, cur_col, wrap)
  1081. #endif
  1082. #if AIC_DEBUG_REGISTERS
  1083. ahd_reg_print_t ahd_ovlyspltstat0_print;
  1084. #else
  1085. #define ahd_ovlyspltstat0_print(regvalue, cur_col, wrap) \
  1086. ahd_print_register(NULL, 0, "OVLYSPLTSTAT0", 0x96, regvalue, cur_col, wrap)
  1087. #endif
  1088. #if AIC_DEBUG_REGISTERS
  1089. ahd_reg_print_t ahd_cmcspltstat1_print;
  1090. #else
  1091. #define ahd_cmcspltstat1_print(regvalue, cur_col, wrap) \
  1092. ahd_print_register(NULL, 0, "CMCSPLTSTAT1", 0x97, regvalue, cur_col, wrap)
  1093. #endif
  1094. #if AIC_DEBUG_REGISTERS
  1095. ahd_reg_print_t ahd_ovlyspltstat1_print;
  1096. #else
  1097. #define ahd_ovlyspltstat1_print(regvalue, cur_col, wrap) \
  1098. ahd_print_register(NULL, 0, "OVLYSPLTSTAT1", 0x97, regvalue, cur_col, wrap)
  1099. #endif
  1100. #if AIC_DEBUG_REGISTERS
  1101. ahd_reg_print_t ahd_dchspltstat1_print;
  1102. #else
  1103. #define ahd_dchspltstat1_print(regvalue, cur_col, wrap) \
  1104. ahd_print_register(NULL, 0, "DCHSPLTSTAT1", 0x97, regvalue, cur_col, wrap)
  1105. #endif
  1106. #if AIC_DEBUG_REGISTERS
  1107. ahd_reg_print_t ahd_sgrxmsg0_print;
  1108. #else
  1109. #define ahd_sgrxmsg0_print(regvalue, cur_col, wrap) \
  1110. ahd_print_register(NULL, 0, "SGRXMSG0", 0x98, regvalue, cur_col, wrap)
  1111. #endif
  1112. #if AIC_DEBUG_REGISTERS
  1113. ahd_reg_print_t ahd_slvspltoutadr0_print;
  1114. #else
  1115. #define ahd_slvspltoutadr0_print(regvalue, cur_col, wrap) \
  1116. ahd_print_register(NULL, 0, "SLVSPLTOUTADR0", 0x98, regvalue, cur_col, wrap)
  1117. #endif
  1118. #if AIC_DEBUG_REGISTERS
  1119. ahd_reg_print_t ahd_sgrxmsg1_print;
  1120. #else
  1121. #define ahd_sgrxmsg1_print(regvalue, cur_col, wrap) \
  1122. ahd_print_register(NULL, 0, "SGRXMSG1", 0x99, regvalue, cur_col, wrap)
  1123. #endif
  1124. #if AIC_DEBUG_REGISTERS
  1125. ahd_reg_print_t ahd_slvspltoutadr1_print;
  1126. #else
  1127. #define ahd_slvspltoutadr1_print(regvalue, cur_col, wrap) \
  1128. ahd_print_register(NULL, 0, "SLVSPLTOUTADR1", 0x99, regvalue, cur_col, wrap)
  1129. #endif
  1130. #if AIC_DEBUG_REGISTERS
  1131. ahd_reg_print_t ahd_sgrxmsg2_print;
  1132. #else
  1133. #define ahd_sgrxmsg2_print(regvalue, cur_col, wrap) \
  1134. ahd_print_register(NULL, 0, "SGRXMSG2", 0x9a, regvalue, cur_col, wrap)
  1135. #endif
  1136. #if AIC_DEBUG_REGISTERS
  1137. ahd_reg_print_t ahd_slvspltoutadr2_print;
  1138. #else
  1139. #define ahd_slvspltoutadr2_print(regvalue, cur_col, wrap) \
  1140. ahd_print_register(NULL, 0, "SLVSPLTOUTADR2", 0x9a, regvalue, cur_col, wrap)
  1141. #endif
  1142. #if AIC_DEBUG_REGISTERS
  1143. ahd_reg_print_t ahd_sgrxmsg3_print;
  1144. #else
  1145. #define ahd_sgrxmsg3_print(regvalue, cur_col, wrap) \
  1146. ahd_print_register(NULL, 0, "SGRXMSG3", 0x9b, regvalue, cur_col, wrap)
  1147. #endif
  1148. #if AIC_DEBUG_REGISTERS
  1149. ahd_reg_print_t ahd_slvspltoutadr3_print;
  1150. #else
  1151. #define ahd_slvspltoutadr3_print(regvalue, cur_col, wrap) \
  1152. ahd_print_register(NULL, 0, "SLVSPLTOUTADR3", 0x9b, regvalue, cur_col, wrap)
  1153. #endif
  1154. #if AIC_DEBUG_REGISTERS
  1155. ahd_reg_print_t ahd_sgseqbcnt_print;
  1156. #else
  1157. #define ahd_sgseqbcnt_print(regvalue, cur_col, wrap) \
  1158. ahd_print_register(NULL, 0, "SGSEQBCNT", 0x9c, regvalue, cur_col, wrap)
  1159. #endif
  1160. #if AIC_DEBUG_REGISTERS
  1161. ahd_reg_print_t ahd_slvspltoutattr0_print;
  1162. #else
  1163. #define ahd_slvspltoutattr0_print(regvalue, cur_col, wrap) \
  1164. ahd_print_register(NULL, 0, "SLVSPLTOUTATTR0", 0x9c, regvalue, cur_col, wrap)
  1165. #endif
  1166. #if AIC_DEBUG_REGISTERS
  1167. ahd_reg_print_t ahd_slvspltoutattr1_print;
  1168. #else
  1169. #define ahd_slvspltoutattr1_print(regvalue, cur_col, wrap) \
  1170. ahd_print_register(NULL, 0, "SLVSPLTOUTATTR1", 0x9d, regvalue, cur_col, wrap)
  1171. #endif
  1172. #if AIC_DEBUG_REGISTERS
  1173. ahd_reg_print_t ahd_slvspltoutattr2_print;
  1174. #else
  1175. #define ahd_slvspltoutattr2_print(regvalue, cur_col, wrap) \
  1176. ahd_print_register(NULL, 0, "SLVSPLTOUTATTR2", 0x9e, regvalue, cur_col, wrap)
  1177. #endif
  1178. #if AIC_DEBUG_REGISTERS
  1179. ahd_reg_print_t ahd_sgspltstat0_print;
  1180. #else
  1181. #define ahd_sgspltstat0_print(regvalue, cur_col, wrap) \
  1182. ahd_print_register(NULL, 0, "SGSPLTSTAT0", 0x9e, regvalue, cur_col, wrap)
  1183. #endif
  1184. #if AIC_DEBUG_REGISTERS
  1185. ahd_reg_print_t ahd_sgspltstat1_print;
  1186. #else
  1187. #define ahd_sgspltstat1_print(regvalue, cur_col, wrap) \
  1188. ahd_print_register(NULL, 0, "SGSPLTSTAT1", 0x9f, regvalue, cur_col, wrap)
  1189. #endif
  1190. #if AIC_DEBUG_REGISTERS
  1191. ahd_reg_print_t ahd_sfunct_print;
  1192. #else
  1193. #define ahd_sfunct_print(regvalue, cur_col, wrap) \
  1194. ahd_print_register(NULL, 0, "SFUNCT", 0x9f, regvalue, cur_col, wrap)
  1195. #endif
  1196. #if AIC_DEBUG_REGISTERS
  1197. ahd_reg_print_t ahd_df0pcistat_print;
  1198. #else
  1199. #define ahd_df0pcistat_print(regvalue, cur_col, wrap) \
  1200. ahd_print_register(NULL, 0, "DF0PCISTAT", 0xa0, regvalue, cur_col, wrap)
  1201. #endif
  1202. #if AIC_DEBUG_REGISTERS
  1203. ahd_reg_print_t ahd_reg0_print;
  1204. #else
  1205. #define ahd_reg0_print(regvalue, cur_col, wrap) \
  1206. ahd_print_register(NULL, 0, "REG0", 0xa0, regvalue, cur_col, wrap)
  1207. #endif
  1208. #if AIC_DEBUG_REGISTERS
  1209. ahd_reg_print_t ahd_df1pcistat_print;
  1210. #else
  1211. #define ahd_df1pcistat_print(regvalue, cur_col, wrap) \
  1212. ahd_print_register(NULL, 0, "DF1PCISTAT", 0xa1, regvalue, cur_col, wrap)
  1213. #endif
  1214. #if AIC_DEBUG_REGISTERS
  1215. ahd_reg_print_t ahd_sgpcistat_print;
  1216. #else
  1217. #define ahd_sgpcistat_print(regvalue, cur_col, wrap) \
  1218. ahd_print_register(NULL, 0, "SGPCISTAT", 0xa2, regvalue, cur_col, wrap)
  1219. #endif
  1220. #if AIC_DEBUG_REGISTERS
  1221. ahd_reg_print_t ahd_reg1_print;
  1222. #else
  1223. #define ahd_reg1_print(regvalue, cur_col, wrap) \
  1224. ahd_print_register(NULL, 0, "REG1", 0xa2, regvalue, cur_col, wrap)
  1225. #endif
  1226. #if AIC_DEBUG_REGISTERS
  1227. ahd_reg_print_t ahd_cmcpcistat_print;
  1228. #else
  1229. #define ahd_cmcpcistat_print(regvalue, cur_col, wrap) \
  1230. ahd_print_register(NULL, 0, "CMCPCISTAT", 0xa3, regvalue, cur_col, wrap)
  1231. #endif
  1232. #if AIC_DEBUG_REGISTERS
  1233. ahd_reg_print_t ahd_ovlypcistat_print;
  1234. #else
  1235. #define ahd_ovlypcistat_print(regvalue, cur_col, wrap) \
  1236. ahd_print_register(NULL, 0, "OVLYPCISTAT", 0xa4, regvalue, cur_col, wrap)
  1237. #endif
  1238. #if AIC_DEBUG_REGISTERS
  1239. ahd_reg_print_t ahd_reg_isr_print;
  1240. #else
  1241. #define ahd_reg_isr_print(regvalue, cur_col, wrap) \
  1242. ahd_print_register(NULL, 0, "REG_ISR", 0xa4, regvalue, cur_col, wrap)
  1243. #endif
  1244. #if AIC_DEBUG_REGISTERS
  1245. ahd_reg_print_t ahd_sg_state_print;
  1246. #else
  1247. #define ahd_sg_state_print(regvalue, cur_col, wrap) \
  1248. ahd_print_register(NULL, 0, "SG_STATE", 0xa6, regvalue, cur_col, wrap)
  1249. #endif
  1250. #if AIC_DEBUG_REGISTERS
  1251. ahd_reg_print_t ahd_msipcistat_print;
  1252. #else
  1253. #define ahd_msipcistat_print(regvalue, cur_col, wrap) \
  1254. ahd_print_register(NULL, 0, "MSIPCISTAT", 0xa6, regvalue, cur_col, wrap)
  1255. #endif
  1256. #if AIC_DEBUG_REGISTERS
  1257. ahd_reg_print_t ahd_targpcistat_print;
  1258. #else
  1259. #define ahd_targpcistat_print(regvalue, cur_col, wrap) \
  1260. ahd_print_register(NULL, 0, "TARGPCISTAT", 0xa7, regvalue, cur_col, wrap)
  1261. #endif
  1262. #if AIC_DEBUG_REGISTERS
  1263. ahd_reg_print_t ahd_data_count_odd_print;
  1264. #else
  1265. #define ahd_data_count_odd_print(regvalue, cur_col, wrap) \
  1266. ahd_print_register(NULL, 0, "DATA_COUNT_ODD", 0xa7, regvalue, cur_col, wrap)
  1267. #endif
  1268. #if AIC_DEBUG_REGISTERS
  1269. ahd_reg_print_t ahd_scbptr_print;
  1270. #else
  1271. #define ahd_scbptr_print(regvalue, cur_col, wrap) \
  1272. ahd_print_register(NULL, 0, "SCBPTR", 0xa8, regvalue, cur_col, wrap)
  1273. #endif
  1274. #if AIC_DEBUG_REGISTERS
  1275. ahd_reg_print_t ahd_ccscbacnt_print;
  1276. #else
  1277. #define ahd_ccscbacnt_print(regvalue, cur_col, wrap) \
  1278. ahd_print_register(NULL, 0, "CCSCBACNT", 0xab, regvalue, cur_col, wrap)
  1279. #endif
  1280. #if AIC_DEBUG_REGISTERS
  1281. ahd_reg_print_t ahd_scbautoptr_print;
  1282. #else
  1283. #define ahd_scbautoptr_print(regvalue, cur_col, wrap) \
  1284. ahd_print_register(NULL, 0, "SCBAUTOPTR", 0xab, regvalue, cur_col, wrap)
  1285. #endif
  1286. #if AIC_DEBUG_REGISTERS
  1287. ahd_reg_print_t ahd_ccsgaddr_print;
  1288. #else
  1289. #define ahd_ccsgaddr_print(regvalue, cur_col, wrap) \
  1290. ahd_print_register(NULL, 0, "CCSGADDR", 0xac, regvalue, cur_col, wrap)
  1291. #endif
  1292. #if AIC_DEBUG_REGISTERS
  1293. ahd_reg_print_t ahd_ccscbadr_bk_print;
  1294. #else
  1295. #define ahd_ccscbadr_bk_print(regvalue, cur_col, wrap) \
  1296. ahd_print_register(NULL, 0, "CCSCBADR_BK", 0xac, regvalue, cur_col, wrap)
  1297. #endif
  1298. #if AIC_DEBUG_REGISTERS
  1299. ahd_reg_print_t ahd_ccscbaddr_print;
  1300. #else
  1301. #define ahd_ccscbaddr_print(regvalue, cur_col, wrap) \
  1302. ahd_print_register(NULL, 0, "CCSCBADDR", 0xac, regvalue, cur_col, wrap)
  1303. #endif
  1304. #if AIC_DEBUG_REGISTERS
  1305. ahd_reg_print_t ahd_cmc_rambist_print;
  1306. #else
  1307. #define ahd_cmc_rambist_print(regvalue, cur_col, wrap) \
  1308. ahd_print_register(NULL, 0, "CMC_RAMBIST", 0xad, regvalue, cur_col, wrap)
  1309. #endif
  1310. #if AIC_DEBUG_REGISTERS
  1311. ahd_reg_print_t ahd_ccscbctl_print;
  1312. #else
  1313. #define ahd_ccscbctl_print(regvalue, cur_col, wrap) \
  1314. ahd_print_register(NULL, 0, "CCSCBCTL", 0xad, regvalue, cur_col, wrap)
  1315. #endif
  1316. #if AIC_DEBUG_REGISTERS
  1317. ahd_reg_print_t ahd_ccsgctl_print;
  1318. #else
  1319. #define ahd_ccsgctl_print(regvalue, cur_col, wrap) \
  1320. ahd_print_register(NULL, 0, "CCSGCTL", 0xad, regvalue, cur_col, wrap)
  1321. #endif
  1322. #if AIC_DEBUG_REGISTERS
  1323. ahd_reg_print_t ahd_ccsgram_print;
  1324. #else
  1325. #define ahd_ccsgram_print(regvalue, cur_col, wrap) \
  1326. ahd_print_register(NULL, 0, "CCSGRAM", 0xb0, regvalue, cur_col, wrap)
  1327. #endif
  1328. #if AIC_DEBUG_REGISTERS
  1329. ahd_reg_print_t ahd_flexadr_print;
  1330. #else
  1331. #define ahd_flexadr_print(regvalue, cur_col, wrap) \
  1332. ahd_print_register(NULL, 0, "FLEXADR", 0xb0, regvalue, cur_col, wrap)
  1333. #endif
  1334. #if AIC_DEBUG_REGISTERS
  1335. ahd_reg_print_t ahd_ccscbram_print;
  1336. #else
  1337. #define ahd_ccscbram_print(regvalue, cur_col, wrap) \
  1338. ahd_print_register(NULL, 0, "CCSCBRAM", 0xb0, regvalue, cur_col, wrap)
  1339. #endif
  1340. #if AIC_DEBUG_REGISTERS
  1341. ahd_reg_print_t ahd_flexcnt_print;
  1342. #else
  1343. #define ahd_flexcnt_print(regvalue, cur_col, wrap) \
  1344. ahd_print_register(NULL, 0, "FLEXCNT", 0xb3, regvalue, cur_col, wrap)
  1345. #endif
  1346. #if AIC_DEBUG_REGISTERS
  1347. ahd_reg_print_t ahd_flexdmastat_print;
  1348. #else
  1349. #define ahd_flexdmastat_print(regvalue, cur_col, wrap) \
  1350. ahd_print_register(NULL, 0, "FLEXDMASTAT", 0xb5, regvalue, cur_col, wrap)
  1351. #endif
  1352. #if AIC_DEBUG_REGISTERS
  1353. ahd_reg_print_t ahd_flexdata_print;
  1354. #else
  1355. #define ahd_flexdata_print(regvalue, cur_col, wrap) \
  1356. ahd_print_register(NULL, 0, "FLEXDATA", 0xb6, regvalue, cur_col, wrap)
  1357. #endif
  1358. #if AIC_DEBUG_REGISTERS
  1359. ahd_reg_print_t ahd_brddat_print;
  1360. #else
  1361. #define ahd_brddat_print(regvalue, cur_col, wrap) \
  1362. ahd_print_register(NULL, 0, "BRDDAT", 0xb8, regvalue, cur_col, wrap)
  1363. #endif
  1364. #if AIC_DEBUG_REGISTERS
  1365. ahd_reg_print_t ahd_brdctl_print;
  1366. #else
  1367. #define ahd_brdctl_print(regvalue, cur_col, wrap) \
  1368. ahd_print_register(NULL, 0, "BRDCTL", 0xb9, regvalue, cur_col, wrap)
  1369. #endif
  1370. #if AIC_DEBUG_REGISTERS
  1371. ahd_reg_print_t ahd_seeadr_print;
  1372. #else
  1373. #define ahd_seeadr_print(regvalue, cur_col, wrap) \
  1374. ahd_print_register(NULL, 0, "SEEADR", 0xba, regvalue, cur_col, wrap)
  1375. #endif
  1376. #if AIC_DEBUG_REGISTERS
  1377. ahd_reg_print_t ahd_seedat_print;
  1378. #else
  1379. #define ahd_seedat_print(regvalue, cur_col, wrap) \
  1380. ahd_print_register(NULL, 0, "SEEDAT", 0xbc, regvalue, cur_col, wrap)
  1381. #endif
  1382. #if AIC_DEBUG_REGISTERS
  1383. ahd_reg_print_t ahd_seectl_print;
  1384. #else
  1385. #define ahd_seectl_print(regvalue, cur_col, wrap) \
  1386. ahd_print_register(NULL, 0, "SEECTL", 0xbe, regvalue, cur_col, wrap)
  1387. #endif
  1388. #if AIC_DEBUG_REGISTERS
  1389. ahd_reg_print_t ahd_seestat_print;
  1390. #else
  1391. #define ahd_seestat_print(regvalue, cur_col, wrap) \
  1392. ahd_print_register(NULL, 0, "SEESTAT", 0xbe, regvalue, cur_col, wrap)
  1393. #endif
  1394. #if AIC_DEBUG_REGISTERS
  1395. ahd_reg_print_t ahd_scbcnt_print;
  1396. #else
  1397. #define ahd_scbcnt_print(regvalue, cur_col, wrap) \
  1398. ahd_print_register(NULL, 0, "SCBCNT", 0xbf, regvalue, cur_col, wrap)
  1399. #endif
  1400. #if AIC_DEBUG_REGISTERS
  1401. ahd_reg_print_t ahd_dfwaddr_print;
  1402. #else
  1403. #define ahd_dfwaddr_print(regvalue, cur_col, wrap) \
  1404. ahd_print_register(NULL, 0, "DFWADDR", 0xc0, regvalue, cur_col, wrap)
  1405. #endif
  1406. #if AIC_DEBUG_REGISTERS
  1407. ahd_reg_print_t ahd_dspfltrctl_print;
  1408. #else
  1409. #define ahd_dspfltrctl_print(regvalue, cur_col, wrap) \
  1410. ahd_print_register(NULL, 0, "DSPFLTRCTL", 0xc0, regvalue, cur_col, wrap)
  1411. #endif
  1412. #if AIC_DEBUG_REGISTERS
  1413. ahd_reg_print_t ahd_dspdatactl_print;
  1414. #else
  1415. #define ahd_dspdatactl_print(regvalue, cur_col, wrap) \
  1416. ahd_print_register(NULL, 0, "DSPDATACTL", 0xc1, regvalue, cur_col, wrap)
  1417. #endif
  1418. #if AIC_DEBUG_REGISTERS
  1419. ahd_reg_print_t ahd_dfraddr_print;
  1420. #else
  1421. #define ahd_dfraddr_print(regvalue, cur_col, wrap) \
  1422. ahd_print_register(NULL, 0, "DFRADDR", 0xc2, regvalue, cur_col, wrap)
  1423. #endif
  1424. #if AIC_DEBUG_REGISTERS
  1425. ahd_reg_print_t ahd_dspreqctl_print;
  1426. #else
  1427. #define ahd_dspreqctl_print(regvalue, cur_col, wrap) \
  1428. ahd_print_register(NULL, 0, "DSPREQCTL", 0xc2, regvalue, cur_col, wrap)
  1429. #endif
  1430. #if AIC_DEBUG_REGISTERS
  1431. ahd_reg_print_t ahd_dspackctl_print;
  1432. #else
  1433. #define ahd_dspackctl_print(regvalue, cur_col, wrap) \
  1434. ahd_print_register(NULL, 0, "DSPACKCTL", 0xc3, regvalue, cur_col, wrap)
  1435. #endif
  1436. #if AIC_DEBUG_REGISTERS
  1437. ahd_reg_print_t ahd_dfdat_print;
  1438. #else
  1439. #define ahd_dfdat_print(regvalue, cur_col, wrap) \
  1440. ahd_print_register(NULL, 0, "DFDAT", 0xc4, regvalue, cur_col, wrap)
  1441. #endif
  1442. #if AIC_DEBUG_REGISTERS
  1443. ahd_reg_print_t ahd_dspselect_print;
  1444. #else
  1445. #define ahd_dspselect_print(regvalue, cur_col, wrap) \
  1446. ahd_print_register(NULL, 0, "DSPSELECT", 0xc4, regvalue, cur_col, wrap)
  1447. #endif
  1448. #if AIC_DEBUG_REGISTERS
  1449. ahd_reg_print_t ahd_wrtbiasctl_print;
  1450. #else
  1451. #define ahd_wrtbiasctl_print(regvalue, cur_col, wrap) \
  1452. ahd_print_register(NULL, 0, "WRTBIASCTL", 0xc5, regvalue, cur_col, wrap)
  1453. #endif
  1454. #if AIC_DEBUG_REGISTERS
  1455. ahd_reg_print_t ahd_rcvrbiosctl_print;
  1456. #else
  1457. #define ahd_rcvrbiosctl_print(regvalue, cur_col, wrap) \
  1458. ahd_print_register(NULL, 0, "RCVRBIOSCTL", 0xc6, regvalue, cur_col, wrap)
  1459. #endif
  1460. #if AIC_DEBUG_REGISTERS
  1461. ahd_reg_print_t ahd_wrtbiascalc_print;
  1462. #else
  1463. #define ahd_wrtbiascalc_print(regvalue, cur_col, wrap) \
  1464. ahd_print_register(NULL, 0, "WRTBIASCALC", 0xc7, regvalue, cur_col, wrap)
  1465. #endif
  1466. #if AIC_DEBUG_REGISTERS
  1467. ahd_reg_print_t ahd_rcvrbiascalc_print;
  1468. #else
  1469. #define ahd_rcvrbiascalc_print(regvalue, cur_col, wrap) \
  1470. ahd_print_register(NULL, 0, "RCVRBIASCALC", 0xc8, regvalue, cur_col, wrap)
  1471. #endif
  1472. #if AIC_DEBUG_REGISTERS
  1473. ahd_reg_print_t ahd_dfptrs_print;
  1474. #else
  1475. #define ahd_dfptrs_print(regvalue, cur_col, wrap) \
  1476. ahd_print_register(NULL, 0, "DFPTRS", 0xc8, regvalue, cur_col, wrap)
  1477. #endif
  1478. #if AIC_DEBUG_REGISTERS
  1479. ahd_reg_print_t ahd_skewcalc_print;
  1480. #else
  1481. #define ahd_skewcalc_print(regvalue, cur_col, wrap) \
  1482. ahd_print_register(NULL, 0, "SKEWCALC", 0xc9, regvalue, cur_col, wrap)
  1483. #endif
  1484. #if AIC_DEBUG_REGISTERS
  1485. ahd_reg_print_t ahd_dfbkptr_print;
  1486. #else
  1487. #define ahd_dfbkptr_print(regvalue, cur_col, wrap) \
  1488. ahd_print_register(NULL, 0, "DFBKPTR", 0xc9, regvalue, cur_col, wrap)
  1489. #endif
  1490. #if AIC_DEBUG_REGISTERS
  1491. ahd_reg_print_t ahd_dfdbctl_print;
  1492. #else
  1493. #define ahd_dfdbctl_print(regvalue, cur_col, wrap) \
  1494. ahd_print_register(NULL, 0, "DFDBCTL", 0xcb, regvalue, cur_col, wrap)
  1495. #endif
  1496. #if AIC_DEBUG_REGISTERS
  1497. ahd_reg_print_t ahd_dfscnt_print;
  1498. #else
  1499. #define ahd_dfscnt_print(regvalue, cur_col, wrap) \
  1500. ahd_print_register(NULL, 0, "DFSCNT", 0xcc, regvalue, cur_col, wrap)
  1501. #endif
  1502. #if AIC_DEBUG_REGISTERS
  1503. ahd_reg_print_t ahd_dfbcnt_print;
  1504. #else
  1505. #define ahd_dfbcnt_print(regvalue, cur_col, wrap) \
  1506. ahd_print_register(NULL, 0, "DFBCNT", 0xce, regvalue, cur_col, wrap)
  1507. #endif
  1508. #if AIC_DEBUG_REGISTERS
  1509. ahd_reg_print_t ahd_ovlyaddr_print;
  1510. #else
  1511. #define ahd_ovlyaddr_print(regvalue, cur_col, wrap) \
  1512. ahd_print_register(NULL, 0, "OVLYADDR", 0xd4, regvalue, cur_col, wrap)
  1513. #endif
  1514. #if AIC_DEBUG_REGISTERS
  1515. ahd_reg_print_t ahd_seqctl0_print;
  1516. #else
  1517. #define ahd_seqctl0_print(regvalue, cur_col, wrap) \
  1518. ahd_print_register(NULL, 0, "SEQCTL0", 0xd6, regvalue, cur_col, wrap)
  1519. #endif
  1520. #if AIC_DEBUG_REGISTERS
  1521. ahd_reg_print_t ahd_seqctl1_print;
  1522. #else
  1523. #define ahd_seqctl1_print(regvalue, cur_col, wrap) \
  1524. ahd_print_register(NULL, 0, "SEQCTL1", 0xd7, regvalue, cur_col, wrap)
  1525. #endif
  1526. #if AIC_DEBUG_REGISTERS
  1527. ahd_reg_print_t ahd_flags_print;
  1528. #else
  1529. #define ahd_flags_print(regvalue, cur_col, wrap) \
  1530. ahd_print_register(NULL, 0, "FLAGS", 0xd8, regvalue, cur_col, wrap)
  1531. #endif
  1532. #if AIC_DEBUG_REGISTERS
  1533. ahd_reg_print_t ahd_seqintctl_print;
  1534. #else
  1535. #define ahd_seqintctl_print(regvalue, cur_col, wrap) \
  1536. ahd_print_register(NULL, 0, "SEQINTCTL", 0xd9, regvalue, cur_col, wrap)
  1537. #endif
  1538. #if AIC_DEBUG_REGISTERS
  1539. ahd_reg_print_t ahd_seqram_print;
  1540. #else
  1541. #define ahd_seqram_print(regvalue, cur_col, wrap) \
  1542. ahd_print_register(NULL, 0, "SEQRAM", 0xda, regvalue, cur_col, wrap)
  1543. #endif
  1544. #if AIC_DEBUG_REGISTERS
  1545. ahd_reg_print_t ahd_prgmcnt_print;
  1546. #else
  1547. #define ahd_prgmcnt_print(regvalue, cur_col, wrap) \
  1548. ahd_print_register(NULL, 0, "PRGMCNT", 0xde, regvalue, cur_col, wrap)
  1549. #endif
  1550. #if AIC_DEBUG_REGISTERS
  1551. ahd_reg_print_t ahd_accum_print;
  1552. #else
  1553. #define ahd_accum_print(regvalue, cur_col, wrap) \
  1554. ahd_print_register(NULL, 0, "ACCUM", 0xe0, regvalue, cur_col, wrap)
  1555. #endif
  1556. #if AIC_DEBUG_REGISTERS
  1557. ahd_reg_print_t ahd_sindex_print;
  1558. #else
  1559. #define ahd_sindex_print(regvalue, cur_col, wrap) \
  1560. ahd_print_register(NULL, 0, "SINDEX", 0xe2, regvalue, cur_col, wrap)
  1561. #endif
  1562. #if AIC_DEBUG_REGISTERS
  1563. ahd_reg_print_t ahd_dindex_print;
  1564. #else
  1565. #define ahd_dindex_print(regvalue, cur_col, wrap) \
  1566. ahd_print_register(NULL, 0, "DINDEX", 0xe4, regvalue, cur_col, wrap)
  1567. #endif
  1568. #if AIC_DEBUG_REGISTERS
  1569. ahd_reg_print_t ahd_brkaddr0_print;
  1570. #else
  1571. #define ahd_brkaddr0_print(regvalue, cur_col, wrap) \
  1572. ahd_print_register(NULL, 0, "BRKADDR0", 0xe6, regvalue, cur_col, wrap)
  1573. #endif
  1574. #if AIC_DEBUG_REGISTERS
  1575. ahd_reg_print_t ahd_brkaddr1_print;
  1576. #else
  1577. #define ahd_brkaddr1_print(regvalue, cur_col, wrap) \
  1578. ahd_print_register(NULL, 0, "BRKADDR1", 0xe6, regvalue, cur_col, wrap)
  1579. #endif
  1580. #if AIC_DEBUG_REGISTERS
  1581. ahd_reg_print_t ahd_allones_print;
  1582. #else
  1583. #define ahd_allones_print(regvalue, cur_col, wrap) \
  1584. ahd_print_register(NULL, 0, "ALLONES", 0xe8, regvalue, cur_col, wrap)
  1585. #endif
  1586. #if AIC_DEBUG_REGISTERS
  1587. ahd_reg_print_t ahd_allzeros_print;
  1588. #else
  1589. #define ahd_allzeros_print(regvalue, cur_col, wrap) \
  1590. ahd_print_register(NULL, 0, "ALLZEROS", 0xea, regvalue, cur_col, wrap)
  1591. #endif
  1592. #if AIC_DEBUG_REGISTERS
  1593. ahd_reg_print_t ahd_none_print;
  1594. #else
  1595. #define ahd_none_print(regvalue, cur_col, wrap) \
  1596. ahd_print_register(NULL, 0, "NONE", 0xea, regvalue, cur_col, wrap)
  1597. #endif
  1598. #if AIC_DEBUG_REGISTERS
  1599. ahd_reg_print_t ahd_sindir_print;
  1600. #else
  1601. #define ahd_sindir_print(regvalue, cur_col, wrap) \
  1602. ahd_print_register(NULL, 0, "SINDIR", 0xec, regvalue, cur_col, wrap)
  1603. #endif
  1604. #if AIC_DEBUG_REGISTERS
  1605. ahd_reg_print_t ahd_dindir_print;
  1606. #else
  1607. #define ahd_dindir_print(regvalue, cur_col, wrap) \
  1608. ahd_print_register(NULL, 0, "DINDIR", 0xed, regvalue, cur_col, wrap)
  1609. #endif
  1610. #if AIC_DEBUG_REGISTERS
  1611. ahd_reg_print_t ahd_function1_print;
  1612. #else
  1613. #define ahd_function1_print(regvalue, cur_col, wrap) \
  1614. ahd_print_register(NULL, 0, "FUNCTION1", 0xf0, regvalue, cur_col, wrap)
  1615. #endif
  1616. #if AIC_DEBUG_REGISTERS
  1617. ahd_reg_print_t ahd_stack_print;
  1618. #else
  1619. #define ahd_stack_print(regvalue, cur_col, wrap) \
  1620. ahd_print_register(NULL, 0, "STACK", 0xf2, regvalue, cur_col, wrap)
  1621. #endif
  1622. #if AIC_DEBUG_REGISTERS
  1623. ahd_reg_print_t ahd_intvec1_addr_print;
  1624. #else
  1625. #define ahd_intvec1_addr_print(regvalue, cur_col, wrap) \
  1626. ahd_print_register(NULL, 0, "INTVEC1_ADDR", 0xf4, regvalue, cur_col, wrap)
  1627. #endif
  1628. #if AIC_DEBUG_REGISTERS
  1629. ahd_reg_print_t ahd_curaddr_print;
  1630. #else
  1631. #define ahd_curaddr_print(regvalue, cur_col, wrap) \
  1632. ahd_print_register(NULL, 0, "CURADDR", 0xf4, regvalue, cur_col, wrap)
  1633. #endif
  1634. #if AIC_DEBUG_REGISTERS
  1635. ahd_reg_print_t ahd_lastaddr_print;
  1636. #else
  1637. #define ahd_lastaddr_print(regvalue, cur_col, wrap) \
  1638. ahd_print_register(NULL, 0, "LASTADDR", 0xf6, regvalue, cur_col, wrap)
  1639. #endif
  1640. #if AIC_DEBUG_REGISTERS
  1641. ahd_reg_print_t ahd_intvec2_addr_print;
  1642. #else
  1643. #define ahd_intvec2_addr_print(regvalue, cur_col, wrap) \
  1644. ahd_print_register(NULL, 0, "INTVEC2_ADDR", 0xf6, regvalue, cur_col, wrap)
  1645. #endif
  1646. #if AIC_DEBUG_REGISTERS
  1647. ahd_reg_print_t ahd_longjmp_addr_print;
  1648. #else
  1649. #define ahd_longjmp_addr_print(regvalue, cur_col, wrap) \
  1650. ahd_print_register(NULL, 0, "LONGJMP_ADDR", 0xf8, regvalue, cur_col, wrap)
  1651. #endif
  1652. #if AIC_DEBUG_REGISTERS
  1653. ahd_reg_print_t ahd_accum_save_print;
  1654. #else
  1655. #define ahd_accum_save_print(regvalue, cur_col, wrap) \
  1656. ahd_print_register(NULL, 0, "ACCUM_SAVE", 0xfa, regvalue, cur_col, wrap)
  1657. #endif
  1658. #if AIC_DEBUG_REGISTERS
  1659. ahd_reg_print_t ahd_waiting_scb_tails_print;
  1660. #else
  1661. #define ahd_waiting_scb_tails_print(regvalue, cur_col, wrap) \
  1662. ahd_print_register(NULL, 0, "WAITING_SCB_TAILS", 0x100, regvalue, cur_col, wrap)
  1663. #endif
  1664. #if AIC_DEBUG_REGISTERS
  1665. ahd_reg_print_t ahd_ahd_pci_config_base_print;
  1666. #else
  1667. #define ahd_ahd_pci_config_base_print(regvalue, cur_col, wrap) \
  1668. ahd_print_register(NULL, 0, "AHD_PCI_CONFIG_BASE", 0x100, regvalue, cur_col, wrap)
  1669. #endif
  1670. #if AIC_DEBUG_REGISTERS
  1671. ahd_reg_print_t ahd_sram_base_print;
  1672. #else
  1673. #define ahd_sram_base_print(regvalue, cur_col, wrap) \
  1674. ahd_print_register(NULL, 0, "SRAM_BASE", 0x100, regvalue, cur_col, wrap)
  1675. #endif
  1676. #if AIC_DEBUG_REGISTERS
  1677. ahd_reg_print_t ahd_waiting_tid_head_print;
  1678. #else
  1679. #define ahd_waiting_tid_head_print(regvalue, cur_col, wrap) \
  1680. ahd_print_register(NULL, 0, "WAITING_TID_HEAD", 0x120, regvalue, cur_col, wrap)
  1681. #endif
  1682. #if AIC_DEBUG_REGISTERS
  1683. ahd_reg_print_t ahd_waiting_tid_tail_print;
  1684. #else
  1685. #define ahd_waiting_tid_tail_print(regvalue, cur_col, wrap) \
  1686. ahd_print_register(NULL, 0, "WAITING_TID_TAIL", 0x122, regvalue, cur_col, wrap)
  1687. #endif
  1688. #if AIC_DEBUG_REGISTERS
  1689. ahd_reg_print_t ahd_next_queued_scb_addr_print;
  1690. #else
  1691. #define ahd_next_queued_scb_addr_print(regvalue, cur_col, wrap) \
  1692. ahd_print_register(NULL, 0, "NEXT_QUEUED_SCB_ADDR", 0x124, regvalue, cur_col, wrap)
  1693. #endif
  1694. #if AIC_DEBUG_REGISTERS
  1695. ahd_reg_print_t ahd_complete_scb_head_print;
  1696. #else
  1697. #define ahd_complete_scb_head_print(regvalue, cur_col, wrap) \
  1698. ahd_print_register(NULL, 0, "COMPLETE_SCB_HEAD", 0x128, regvalue, cur_col, wrap)
  1699. #endif
  1700. #if AIC_DEBUG_REGISTERS
  1701. ahd_reg_print_t ahd_complete_scb_dmainprog_head_print;
  1702. #else
  1703. #define ahd_complete_scb_dmainprog_head_print(regvalue, cur_col, wrap) \
  1704. ahd_print_register(NULL, 0, "COMPLETE_SCB_DMAINPROG_HEAD", 0x12a, regvalue, cur_col, wrap)
  1705. #endif
  1706. #if AIC_DEBUG_REGISTERS
  1707. ahd_reg_print_t ahd_complete_dma_scb_head_print;
  1708. #else
  1709. #define ahd_complete_dma_scb_head_print(regvalue, cur_col, wrap) \
  1710. ahd_print_register(NULL, 0, "COMPLETE_DMA_SCB_HEAD", 0x12c, regvalue, cur_col, wrap)
  1711. #endif
  1712. #if AIC_DEBUG_REGISTERS
  1713. ahd_reg_print_t ahd_complete_dma_scb_tail_print;
  1714. #else
  1715. #define ahd_complete_dma_scb_tail_print(regvalue, cur_col, wrap) \
  1716. ahd_print_register(NULL, 0, "COMPLETE_DMA_SCB_TAIL", 0x12e, regvalue, cur_col, wrap)
  1717. #endif
  1718. #if AIC_DEBUG_REGISTERS
  1719. ahd_reg_print_t ahd_complete_on_qfreeze_head_print;
  1720. #else
  1721. #define ahd_complete_on_qfreeze_head_print(regvalue, cur_col, wrap) \
  1722. ahd_print_register(NULL, 0, "COMPLETE_ON_QFREEZE_HEAD", 0x130, regvalue, cur_col, wrap)
  1723. #endif
  1724. #if AIC_DEBUG_REGISTERS
  1725. ahd_reg_print_t ahd_qfreeze_count_print;
  1726. #else
  1727. #define ahd_qfreeze_count_print(regvalue, cur_col, wrap) \
  1728. ahd_print_register(NULL, 0, "QFREEZE_COUNT", 0x132, regvalue, cur_col, wrap)
  1729. #endif
  1730. #if AIC_DEBUG_REGISTERS
  1731. ahd_reg_print_t ahd_kernel_qfreeze_count_print;
  1732. #else
  1733. #define ahd_kernel_qfreeze_count_print(regvalue, cur_col, wrap) \
  1734. ahd_print_register(NULL, 0, "KERNEL_QFREEZE_COUNT", 0x134, regvalue, cur_col, wrap)
  1735. #endif
  1736. #if AIC_DEBUG_REGISTERS
  1737. ahd_reg_print_t ahd_saved_mode_print;
  1738. #else
  1739. #define ahd_saved_mode_print(regvalue, cur_col, wrap) \
  1740. ahd_print_register(NULL, 0, "SAVED_MODE", 0x136, regvalue, cur_col, wrap)
  1741. #endif
  1742. #if AIC_DEBUG_REGISTERS
  1743. ahd_reg_print_t ahd_msg_out_print;
  1744. #else
  1745. #define ahd_msg_out_print(regvalue, cur_col, wrap) \
  1746. ahd_print_register(NULL, 0, "MSG_OUT", 0x137, regvalue, cur_col, wrap)
  1747. #endif
  1748. #if AIC_DEBUG_REGISTERS
  1749. ahd_reg_print_t ahd_dmaparams_print;
  1750. #else
  1751. #define ahd_dmaparams_print(regvalue, cur_col, wrap) \
  1752. ahd_print_register(NULL, 0, "DMAPARAMS", 0x138, regvalue, cur_col, wrap)
  1753. #endif
  1754. #if AIC_DEBUG_REGISTERS
  1755. ahd_reg_print_t ahd_seq_flags_print;
  1756. #else
  1757. #define ahd_seq_flags_print(regvalue, cur_col, wrap) \
  1758. ahd_print_register(NULL, 0, "SEQ_FLAGS", 0x139, regvalue, cur_col, wrap)
  1759. #endif
  1760. #if AIC_DEBUG_REGISTERS
  1761. ahd_reg_print_t ahd_saved_scsiid_print;
  1762. #else
  1763. #define ahd_saved_scsiid_print(regvalue, cur_col, wrap) \
  1764. ahd_print_register(NULL, 0, "SAVED_SCSIID", 0x13a, regvalue, cur_col, wrap)
  1765. #endif
  1766. #if AIC_DEBUG_REGISTERS
  1767. ahd_reg_print_t ahd_saved_lun_print;
  1768. #else
  1769. #define ahd_saved_lun_print(regvalue, cur_col, wrap) \
  1770. ahd_print_register(NULL, 0, "SAVED_LUN", 0x13b, regvalue, cur_col, wrap)
  1771. #endif
  1772. #if AIC_DEBUG_REGISTERS
  1773. ahd_reg_print_t ahd_lastphase_print;
  1774. #else
  1775. #define ahd_lastphase_print(regvalue, cur_col, wrap) \
  1776. ahd_print_register(NULL, 0, "LASTPHASE", 0x13c, regvalue, cur_col, wrap)
  1777. #endif
  1778. #if AIC_DEBUG_REGISTERS
  1779. ahd_reg_print_t ahd_qoutfifo_entry_valid_tag_print;
  1780. #else
  1781. #define ahd_qoutfifo_entry_valid_tag_print(regvalue, cur_col, wrap) \
  1782. ahd_print_register(NULL, 0, "QOUTFIFO_ENTRY_VALID_TAG", 0x13d, regvalue, cur_col, wrap)
  1783. #endif
  1784. #if AIC_DEBUG_REGISTERS
  1785. ahd_reg_print_t ahd_kernel_tqinpos_print;
  1786. #else
  1787. #define ahd_kernel_tqinpos_print(regvalue, cur_col, wrap) \
  1788. ahd_print_register(NULL, 0, "KERNEL_TQINPOS", 0x13e, regvalue, cur_col, wrap)
  1789. #endif
  1790. #if AIC_DEBUG_REGISTERS
  1791. ahd_reg_print_t ahd_tqinpos_print;
  1792. #else
  1793. #define ahd_tqinpos_print(regvalue, cur_col, wrap) \
  1794. ahd_print_register(NULL, 0, "TQINPOS", 0x13f, regvalue, cur_col, wrap)
  1795. #endif
  1796. #if AIC_DEBUG_REGISTERS
  1797. ahd_reg_print_t ahd_shared_data_addr_print;
  1798. #else
  1799. #define ahd_shared_data_addr_print(regvalue, cur_col, wrap) \
  1800. ahd_print_register(NULL, 0, "SHARED_DATA_ADDR", 0x140, regvalue, cur_col, wrap)
  1801. #endif
  1802. #if AIC_DEBUG_REGISTERS
  1803. ahd_reg_print_t ahd_qoutfifo_next_addr_print;
  1804. #else
  1805. #define ahd_qoutfifo_next_addr_print(regvalue, cur_col, wrap) \
  1806. ahd_print_register(NULL, 0, "QOUTFIFO_NEXT_ADDR", 0x144, regvalue, cur_col, wrap)
  1807. #endif
  1808. #if AIC_DEBUG_REGISTERS
  1809. ahd_reg_print_t ahd_arg_1_print;
  1810. #else
  1811. #define ahd_arg_1_print(regvalue, cur_col, wrap) \
  1812. ahd_print_register(NULL, 0, "ARG_1", 0x148, regvalue, cur_col, wrap)
  1813. #endif
  1814. #if AIC_DEBUG_REGISTERS
  1815. ahd_reg_print_t ahd_arg_2_print;
  1816. #else
  1817. #define ahd_arg_2_print(regvalue, cur_col, wrap) \
  1818. ahd_print_register(NULL, 0, "ARG_2", 0x149, regvalue, cur_col, wrap)
  1819. #endif
  1820. #if AIC_DEBUG_REGISTERS
  1821. ahd_reg_print_t ahd_last_msg_print;
  1822. #else
  1823. #define ahd_last_msg_print(regvalue, cur_col, wrap) \
  1824. ahd_print_register(NULL, 0, "LAST_MSG", 0x14a, regvalue, cur_col, wrap)
  1825. #endif
  1826. #if AIC_DEBUG_REGISTERS
  1827. ahd_reg_print_t ahd_scsiseq_template_print;
  1828. #else
  1829. #define ahd_scsiseq_template_print(regvalue, cur_col, wrap) \
  1830. ahd_print_register(NULL, 0, "SCSISEQ_TEMPLATE", 0x14b, regvalue, cur_col, wrap)
  1831. #endif
  1832. #if AIC_DEBUG_REGISTERS
  1833. ahd_reg_print_t ahd_initiator_tag_print;
  1834. #else
  1835. #define ahd_initiator_tag_print(regvalue, cur_col, wrap) \
  1836. ahd_print_register(NULL, 0, "INITIATOR_TAG", 0x14c, regvalue, cur_col, wrap)
  1837. #endif
  1838. #if AIC_DEBUG_REGISTERS
  1839. ahd_reg_print_t ahd_seq_flags2_print;
  1840. #else
  1841. #define ahd_seq_flags2_print(regvalue, cur_col, wrap) \
  1842. ahd_print_register(NULL, 0, "SEQ_FLAGS2", 0x14d, regvalue, cur_col, wrap)
  1843. #endif
  1844. #if AIC_DEBUG_REGISTERS
  1845. ahd_reg_print_t ahd_allocfifo_scbptr_print;
  1846. #else
  1847. #define ahd_allocfifo_scbptr_print(regvalue, cur_col, wrap) \
  1848. ahd_print_register(NULL, 0, "ALLOCFIFO_SCBPTR", 0x14e, regvalue, cur_col, wrap)
  1849. #endif
  1850. #if AIC_DEBUG_REGISTERS
  1851. ahd_reg_print_t ahd_int_coalescing_timer_print;
  1852. #else
  1853. #define ahd_int_coalescing_timer_print(regvalue, cur_col, wrap) \
  1854. ahd_print_register(NULL, 0, "INT_COALESCING_TIMER", 0x150, regvalue, cur_col, wrap)
  1855. #endif
  1856. #if AIC_DEBUG_REGISTERS
  1857. ahd_reg_print_t ahd_int_coalescing_maxcmds_print;
  1858. #else
  1859. #define ahd_int_coalescing_maxcmds_print(regvalue, cur_col, wrap) \
  1860. ahd_print_register(NULL, 0, "INT_COALESCING_MAXCMDS", 0x152, regvalue, cur_col, wrap)
  1861. #endif
  1862. #if AIC_DEBUG_REGISTERS
  1863. ahd_reg_print_t ahd_int_coalescing_mincmds_print;
  1864. #else
  1865. #define ahd_int_coalescing_mincmds_print(regvalue, cur_col, wrap) \
  1866. ahd_print_register(NULL, 0, "INT_COALESCING_MINCMDS", 0x153, regvalue, cur_col, wrap)
  1867. #endif
  1868. #if AIC_DEBUG_REGISTERS
  1869. ahd_reg_print_t ahd_cmds_pending_print;
  1870. #else
  1871. #define ahd_cmds_pending_print(regvalue, cur_col, wrap) \
  1872. ahd_print_register(NULL, 0, "CMDS_PENDING", 0x154, regvalue, cur_col, wrap)
  1873. #endif
  1874. #if AIC_DEBUG_REGISTERS
  1875. ahd_reg_print_t ahd_int_coalescing_cmdcount_print;
  1876. #else
  1877. #define ahd_int_coalescing_cmdcount_print(regvalue, cur_col, wrap) \
  1878. ahd_print_register(NULL, 0, "INT_COALESCING_CMDCOUNT", 0x156, regvalue, cur_col, wrap)
  1879. #endif
  1880. #if AIC_DEBUG_REGISTERS
  1881. ahd_reg_print_t ahd_local_hs_mailbox_print;
  1882. #else
  1883. #define ahd_local_hs_mailbox_print(regvalue, cur_col, wrap) \
  1884. ahd_print_register(NULL, 0, "LOCAL_HS_MAILBOX", 0x157, regvalue, cur_col, wrap)
  1885. #endif
  1886. #if AIC_DEBUG_REGISTERS
  1887. ahd_reg_print_t ahd_cmdsize_table_print;
  1888. #else
  1889. #define ahd_cmdsize_table_print(regvalue, cur_col, wrap) \
  1890. ahd_print_register(NULL, 0, "CMDSIZE_TABLE", 0x158, regvalue, cur_col, wrap)
  1891. #endif
  1892. #if AIC_DEBUG_REGISTERS
  1893. ahd_reg_print_t ahd_scb_base_print;
  1894. #else
  1895. #define ahd_scb_base_print(regvalue, cur_col, wrap) \
  1896. ahd_print_register(NULL, 0, "SCB_BASE", 0x180, regvalue, cur_col, wrap)
  1897. #endif
  1898. #if AIC_DEBUG_REGISTERS
  1899. ahd_reg_print_t ahd_scb_residual_datacnt_print;
  1900. #else
  1901. #define ahd_scb_residual_datacnt_print(regvalue, cur_col, wrap) \
  1902. ahd_print_register(NULL, 0, "SCB_RESIDUAL_DATACNT", 0x180, regvalue, cur_col, wrap)
  1903. #endif
  1904. #if AIC_DEBUG_REGISTERS
  1905. ahd_reg_print_t ahd_scb_residual_sgptr_print;
  1906. #else
  1907. #define ahd_scb_residual_sgptr_print(regvalue, cur_col, wrap) \
  1908. ahd_print_register(NULL, 0, "SCB_RESIDUAL_SGPTR", 0x184, regvalue, cur_col, wrap)
  1909. #endif
  1910. #if AIC_DEBUG_REGISTERS
  1911. ahd_reg_print_t ahd_scb_scsi_status_print;
  1912. #else
  1913. #define ahd_scb_scsi_status_print(regvalue, cur_col, wrap) \
  1914. ahd_print_register(NULL, 0, "SCB_SCSI_STATUS", 0x188, regvalue, cur_col, wrap)
  1915. #endif
  1916. #if AIC_DEBUG_REGISTERS
  1917. ahd_reg_print_t ahd_scb_target_phases_print;
  1918. #else
  1919. #define ahd_scb_target_phases_print(regvalue, cur_col, wrap) \
  1920. ahd_print_register(NULL, 0, "SCB_TARGET_PHASES", 0x189, regvalue, cur_col, wrap)
  1921. #endif
  1922. #if AIC_DEBUG_REGISTERS
  1923. ahd_reg_print_t ahd_scb_target_data_dir_print;
  1924. #else
  1925. #define ahd_scb_target_data_dir_print(regvalue, cur_col, wrap) \
  1926. ahd_print_register(NULL, 0, "SCB_TARGET_DATA_DIR", 0x18a, regvalue, cur_col, wrap)
  1927. #endif
  1928. #if AIC_DEBUG_REGISTERS
  1929. ahd_reg_print_t ahd_scb_target_itag_print;
  1930. #else
  1931. #define ahd_scb_target_itag_print(regvalue, cur_col, wrap) \
  1932. ahd_print_register(NULL, 0, "SCB_TARGET_ITAG", 0x18b, regvalue, cur_col, wrap)
  1933. #endif
  1934. #if AIC_DEBUG_REGISTERS
  1935. ahd_reg_print_t ahd_scb_sense_busaddr_print;
  1936. #else
  1937. #define ahd_scb_sense_busaddr_print(regvalue, cur_col, wrap) \
  1938. ahd_print_register(NULL, 0, "SCB_SENSE_BUSADDR", 0x18c, regvalue, cur_col, wrap)
  1939. #endif
  1940. #if AIC_DEBUG_REGISTERS
  1941. ahd_reg_print_t ahd_scb_tag_print;
  1942. #else
  1943. #define ahd_scb_tag_print(regvalue, cur_col, wrap) \
  1944. ahd_print_register(NULL, 0, "SCB_TAG", 0x190, regvalue, cur_col, wrap)
  1945. #endif
  1946. #if AIC_DEBUG_REGISTERS
  1947. ahd_reg_print_t ahd_scb_control_print;
  1948. #else
  1949. #define ahd_scb_control_print(regvalue, cur_col, wrap) \
  1950. ahd_print_register(NULL, 0, "SCB_CONTROL", 0x192, regvalue, cur_col, wrap)
  1951. #endif
  1952. #if AIC_DEBUG_REGISTERS
  1953. ahd_reg_print_t ahd_scb_scsiid_print;
  1954. #else
  1955. #define ahd_scb_scsiid_print(regvalue, cur_col, wrap) \
  1956. ahd_print_register(NULL, 0, "SCB_SCSIID", 0x193, regvalue, cur_col, wrap)
  1957. #endif
  1958. #if AIC_DEBUG_REGISTERS
  1959. ahd_reg_print_t ahd_scb_lun_print;
  1960. #else
  1961. #define ahd_scb_lun_print(regvalue, cur_col, wrap) \
  1962. ahd_print_register(NULL, 0, "SCB_LUN", 0x194, regvalue, cur_col, wrap)
  1963. #endif
  1964. #if AIC_DEBUG_REGISTERS
  1965. ahd_reg_print_t ahd_scb_task_attribute_print;
  1966. #else
  1967. #define ahd_scb_task_attribute_print(regvalue, cur_col, wrap) \
  1968. ahd_print_register(NULL, 0, "SCB_TASK_ATTRIBUTE", 0x195, regvalue, cur_col, wrap)
  1969. #endif
  1970. #if AIC_DEBUG_REGISTERS
  1971. ahd_reg_print_t ahd_scb_cdb_len_print;
  1972. #else
  1973. #define ahd_scb_cdb_len_print(regvalue, cur_col, wrap) \
  1974. ahd_print_register(NULL, 0, "SCB_CDB_LEN", 0x196, regvalue, cur_col, wrap)
  1975. #endif
  1976. #if AIC_DEBUG_REGISTERS
  1977. ahd_reg_print_t ahd_scb_task_management_print;
  1978. #else
  1979. #define ahd_scb_task_management_print(regvalue, cur_col, wrap) \
  1980. ahd_print_register(NULL, 0, "SCB_TASK_MANAGEMENT", 0x197, regvalue, cur_col, wrap)
  1981. #endif
  1982. #if AIC_DEBUG_REGISTERS
  1983. ahd_reg_print_t ahd_scb_dataptr_print;
  1984. #else
  1985. #define ahd_scb_dataptr_print(regvalue, cur_col, wrap) \
  1986. ahd_print_register(NULL, 0, "SCB_DATAPTR", 0x198, regvalue, cur_col, wrap)
  1987. #endif
  1988. #if AIC_DEBUG_REGISTERS
  1989. ahd_reg_print_t ahd_scb_datacnt_print;
  1990. #else
  1991. #define ahd_scb_datacnt_print(regvalue, cur_col, wrap) \
  1992. ahd_print_register(NULL, 0, "SCB_DATACNT", 0x1a0, regvalue, cur_col, wrap)
  1993. #endif
  1994. #if AIC_DEBUG_REGISTERS
  1995. ahd_reg_print_t ahd_scb_sgptr_print;
  1996. #else
  1997. #define ahd_scb_sgptr_print(regvalue, cur_col, wrap) \
  1998. ahd_print_register(NULL, 0, "SCB_SGPTR", 0x1a4, regvalue, cur_col, wrap)
  1999. #endif
  2000. #if AIC_DEBUG_REGISTERS
  2001. ahd_reg_print_t ahd_scb_busaddr_print;
  2002. #else
  2003. #define ahd_scb_busaddr_print(regvalue, cur_col, wrap) \
  2004. ahd_print_register(NULL, 0, "SCB_BUSADDR", 0x1a8, regvalue, cur_col, wrap)
  2005. #endif
  2006. #if AIC_DEBUG_REGISTERS
  2007. ahd_reg_print_t ahd_scb_next_print;
  2008. #else
  2009. #define ahd_scb_next_print(regvalue, cur_col, wrap) \
  2010. ahd_print_register(NULL, 0, "SCB_NEXT", 0x1ac, regvalue, cur_col, wrap)
  2011. #endif
  2012. #if AIC_DEBUG_REGISTERS
  2013. ahd_reg_print_t ahd_scb_next2_print;
  2014. #else
  2015. #define ahd_scb_next2_print(regvalue, cur_col, wrap) \
  2016. ahd_print_register(NULL, 0, "SCB_NEXT2", 0x1ae, regvalue, cur_col, wrap)
  2017. #endif
  2018. #if AIC_DEBUG_REGISTERS
  2019. ahd_reg_print_t ahd_scb_spare_print;
  2020. #else
  2021. #define ahd_scb_spare_print(regvalue, cur_col, wrap) \
  2022. ahd_print_register(NULL, 0, "SCB_SPARE", 0x1b0, regvalue, cur_col, wrap)
  2023. #endif
  2024. #if AIC_DEBUG_REGISTERS
  2025. ahd_reg_print_t ahd_scb_disconnected_lists_print;
  2026. #else
  2027. #define ahd_scb_disconnected_lists_print(regvalue, cur_col, wrap) \
  2028. ahd_print_register(NULL, 0, "SCB_DISCONNECTED_LISTS", 0x1b8, regvalue, cur_col, wrap)
  2029. #endif
  2030. #define MODE_PTR 0x00
  2031. #define DST_MODE 0x70
  2032. #define SRC_MODE 0x07
  2033. #define INTSTAT 0x01
  2034. #define INT_PEND 0xff
  2035. #define HWERRINT 0x80
  2036. #define BRKADRINT 0x40
  2037. #define SWTMINT 0x20
  2038. #define PCIINT 0x10
  2039. #define SCSIINT 0x08
  2040. #define SEQINT 0x04
  2041. #define CMDCMPLT 0x02
  2042. #define SPLTINT 0x01
  2043. #define SEQINTCODE 0x02
  2044. #define BAD_SCB_STATUS 0x1a
  2045. #define SAW_HWERR 0x19
  2046. #define TRACEPOINT3 0x18
  2047. #define TRACEPOINT2 0x17
  2048. #define TRACEPOINT1 0x16
  2049. #define TRACEPOINT0 0x15
  2050. #define TASKMGMT_CMD_CMPLT_OKAY 0x14
  2051. #define TASKMGMT_FUNC_COMPLETE 0x13
  2052. #define ENTERING_NONPACK 0x12
  2053. #define CFG4OVERRUN 0x11
  2054. #define STATUS_OVERRUN 0x10
  2055. #define CFG4ISTAT_INTR 0x0f
  2056. #define INVALID_SEQINT 0x0e
  2057. #define ILLEGAL_PHASE 0x0d
  2058. #define DUMP_CARD_STATE 0x0c
  2059. #define MISSED_BUSFREE 0x0b
  2060. #define MKMSG_FAILED 0x0a
  2061. #define DATA_OVERRUN 0x09
  2062. #define BAD_STATUS 0x08
  2063. #define HOST_MSG_LOOP 0x07
  2064. #define PDATA_REINIT 0x06
  2065. #define IGN_WIDE_RES 0x05
  2066. #define NO_MATCH 0x04
  2067. #define PROTO_VIOLATION 0x03
  2068. #define SEND_REJECT 0x02
  2069. #define BAD_PHASE 0x01
  2070. #define NO_SEQINT 0x00
  2071. #define CLRINT 0x03
  2072. #define CLRHWERRINT 0x80
  2073. #define CLRBRKADRINT 0x40
  2074. #define CLRSWTMINT 0x20
  2075. #define CLRPCIINT 0x10
  2076. #define CLRSCSIINT 0x08
  2077. #define CLRSEQINT 0x04
  2078. #define CLRCMDINT 0x02
  2079. #define CLRSPLTINT 0x01
  2080. #define ERROR 0x04
  2081. #define CIOPARERR 0x80
  2082. #define CIOACCESFAIL 0x40
  2083. #define MPARERR 0x20
  2084. #define DPARERR 0x10
  2085. #define SQPARERR 0x08
  2086. #define ILLOPCODE 0x04
  2087. #define DSCTMOUT 0x02
  2088. #define CLRERR 0x04
  2089. #define CLRCIOPARERR 0x80
  2090. #define CLRCIOACCESFAIL 0x40
  2091. #define CLRMPARERR 0x20
  2092. #define CLRDPARERR 0x10
  2093. #define CLRSQPARERR 0x08
  2094. #define CLRILLOPCODE 0x04
  2095. #define CLRDSCTMOUT 0x02
  2096. #define HCNTRL 0x05
  2097. #define SEQ_RESET 0x80
  2098. #define POWRDN 0x40
  2099. #define SWINT 0x10
  2100. #define SWTIMER_START_B 0x08
  2101. #define PAUSE 0x04
  2102. #define INTEN 0x02
  2103. #define CHIPRST 0x01
  2104. #define CHIPRSTACK 0x01
  2105. #define HNSCB_QOFF 0x06
  2106. #define HESCB_QOFF 0x08
  2107. #define HS_MAILBOX 0x0b
  2108. #define HOST_TQINPOS 0x80
  2109. #define ENINT_COALESCE 0x40
  2110. #define SEQINTSTAT 0x0c
  2111. #define SEQ_SWTMRTO 0x10
  2112. #define SEQ_SEQINT 0x08
  2113. #define SEQ_SCSIINT 0x04
  2114. #define SEQ_PCIINT 0x02
  2115. #define SEQ_SPLTINT 0x01
  2116. #define CLRSEQINTSTAT 0x0c
  2117. #define CLRSEQ_SWTMRTO 0x10
  2118. #define CLRSEQ_SEQINT 0x08
  2119. #define CLRSEQ_SCSIINT 0x04
  2120. #define CLRSEQ_PCIINT 0x02
  2121. #define CLRSEQ_SPLTINT 0x01
  2122. #define SWTIMER 0x0e
  2123. #define SNSCB_QOFF 0x10
  2124. #define SESCB_QOFF 0x12
  2125. #define SDSCB_QOFF 0x14
  2126. #define QOFF_CTLSTA 0x16
  2127. #define EMPTY_SCB_AVAIL 0x80
  2128. #define NEW_SCB_AVAIL 0x40
  2129. #define SDSCB_ROLLOVR 0x20
  2130. #define HS_MAILBOX_ACT 0x10
  2131. #define SCB_QSIZE 0x0f
  2132. #define SCB_QSIZE_16384 0x0c
  2133. #define SCB_QSIZE_8192 0x0b
  2134. #define SCB_QSIZE_4096 0x0a
  2135. #define SCB_QSIZE_2048 0x09
  2136. #define SCB_QSIZE_1024 0x08
  2137. #define SCB_QSIZE_512 0x07
  2138. #define SCB_QSIZE_256 0x06
  2139. #define SCB_QSIZE_128 0x05
  2140. #define SCB_QSIZE_64 0x04
  2141. #define SCB_QSIZE_32 0x03
  2142. #define SCB_QSIZE_16 0x02
  2143. #define SCB_QSIZE_8 0x01
  2144. #define SCB_QSIZE_4 0x00
  2145. #define INTCTL 0x18
  2146. #define SWTMINTMASK 0x80
  2147. #define SWTMINTEN 0x40
  2148. #define SWTIMER_START 0x20
  2149. #define AUTOCLRCMDINT 0x10
  2150. #define PCIINTEN 0x08
  2151. #define SCSIINTEN 0x04
  2152. #define SEQINTEN 0x02
  2153. #define SPLTINTEN 0x01
  2154. #define DFCNTRL 0x19
  2155. #define SCSIENWRDIS 0x40
  2156. #define SCSIENACK 0x20
  2157. #define DIRECTIONACK 0x04
  2158. #define FIFOFLUSHACK 0x02
  2159. #define DIRECTIONEN 0x01
  2160. #define DSCOMMAND0 0x19
  2161. #define CACHETHEN 0x80
  2162. #define DPARCKEN 0x40
  2163. #define MPARCKEN 0x20
  2164. #define EXTREQLCK 0x10
  2165. #define DISABLE_TWATE 0x02
  2166. #define CIOPARCKEN 0x01
  2167. #define DFSTATUS 0x1a
  2168. #define PRELOAD_AVAIL 0x80
  2169. #define PKT_PRELOAD_AVAIL 0x40
  2170. #define MREQPEND 0x10
  2171. #define HDONE 0x08
  2172. #define DFTHRESH 0x04
  2173. #define FIFOFULL 0x02
  2174. #define FIFOEMP 0x01
  2175. #define SG_CACHE_SHADOW 0x1b
  2176. #define ODD_SEG 0x04
  2177. #define LAST_SEG 0x02
  2178. #define LAST_SEG_DONE 0x01
  2179. #define ARBCTL 0x1b
  2180. #define RESET_HARB 0x80
  2181. #define RETRY_SWEN 0x08
  2182. #define USE_TIME 0x07
  2183. #define SG_CACHE_PRE 0x1b
  2184. #define LQIN 0x20
  2185. #define TYPEPTR 0x20
  2186. #define TAGPTR 0x21
  2187. #define LUNPTR 0x22
  2188. #define DATALENPTR 0x23
  2189. #define STATLENPTR 0x24
  2190. #define CMDLENPTR 0x25
  2191. #define ATTRPTR 0x26
  2192. #define FLAGPTR 0x27
  2193. #define CMDPTR 0x28
  2194. #define QNEXTPTR 0x29
  2195. #define IDPTR 0x2a
  2196. #define ABRTBYTEPTR 0x2b
  2197. #define ABRTBITPTR 0x2c
  2198. #define MAXCMDBYTES 0x2d
  2199. #define MAXCMD2RCV 0x2e
  2200. #define SHORTTHRESH 0x2f
  2201. #define LUNLEN 0x30
  2202. #define TLUNLEN 0xf0
  2203. #define ILUNLEN 0x0f
  2204. #define CDBLIMIT 0x31
  2205. #define MAXCMD 0x32
  2206. #define MAXCMDCNT 0x33
  2207. #define LQRSVD01 0x34
  2208. #define LQRSVD16 0x35
  2209. #define LQRSVD17 0x36
  2210. #define CMDRSVD0 0x37
  2211. #define LQCTL0 0x38
  2212. #define LQITARGCLT 0xc0
  2213. #define LQIINITGCLT 0x30
  2214. #define LQ0TARGCLT 0x0c
  2215. #define LQ0INITGCLT 0x03
  2216. #define LQCTL1 0x38
  2217. #define PCI2PCI 0x04
  2218. #define SINGLECMD 0x02
  2219. #define ABORTPENDING 0x01
  2220. #define SCSBIST0 0x39
  2221. #define GSBISTERR 0x40
  2222. #define GSBISTDONE 0x20
  2223. #define GSBISTRUN 0x10
  2224. #define OSBISTERR 0x04
  2225. #define OSBISTDONE 0x02
  2226. #define OSBISTRUN 0x01
  2227. #define LQCTL2 0x39
  2228. #define LQIRETRY 0x80
  2229. #define LQICONTINUE 0x40
  2230. #define LQITOIDLE 0x20
  2231. #define LQIPAUSE 0x10
  2232. #define LQORETRY 0x08
  2233. #define LQOCONTINUE 0x04
  2234. #define LQOTOIDLE 0x02
  2235. #define LQOPAUSE 0x01
  2236. #define SCSBIST1 0x3a
  2237. #define NTBISTERR 0x04
  2238. #define NTBISTDONE 0x02
  2239. #define NTBISTRUN 0x01
  2240. #define SCSISEQ0 0x3a
  2241. #define TEMODEO 0x80
  2242. #define ENSELO 0x40
  2243. #define ENARBO 0x20
  2244. #define FORCEBUSFREE 0x10
  2245. #define SCSIRSTO 0x01
  2246. #define SCSISEQ1 0x3b
  2247. #define SXFRCTL0 0x3c
  2248. #define DFON 0x80
  2249. #define DFPEXP 0x40
  2250. #define BIOSCANCELEN 0x10
  2251. #define SPIOEN 0x08
  2252. #define DLCOUNT 0x3c
  2253. #define BUSINITID 0x3c
  2254. #define SXFRCTL1 0x3d
  2255. #define BITBUCKET 0x80
  2256. #define ENSACHK 0x40
  2257. #define ENSPCHK 0x20
  2258. #define STIMESEL 0x18
  2259. #define ENSTIMER 0x04
  2260. #define ACTNEGEN 0x02
  2261. #define STPWEN 0x01
  2262. #define BUSTARGID 0x3e
  2263. #define SXFRCTL2 0x3e
  2264. #define AUTORSTDIS 0x10
  2265. #define CMDDMAEN 0x08
  2266. #define ASU 0x07
  2267. #define DFFSTAT 0x3f
  2268. #define CURRFIFO 0x03
  2269. #define FIFO1FREE 0x20
  2270. #define FIFO0FREE 0x10
  2271. #define CURRFIFO_NONE 0x03
  2272. #define CURRFIFO_1 0x01
  2273. #define CURRFIFO_0 0x00
  2274. #define SCSISIGO 0x40
  2275. #define CDO 0x80
  2276. #define IOO 0x40
  2277. #define MSGO 0x20
  2278. #define ATNO 0x10
  2279. #define SELO 0x08
  2280. #define BSYO 0x04
  2281. #define REQO 0x02
  2282. #define ACKO 0x01
  2283. #define MULTARGID 0x40
  2284. #define SCSISIGI 0x41
  2285. #define ATNI 0x10
  2286. #define SELI 0x08
  2287. #define BSYI 0x04
  2288. #define REQI 0x02
  2289. #define ACKI 0x01
  2290. #define SCSIPHASE 0x42
  2291. #define STATUS_PHASE 0x20
  2292. #define COMMAND_PHASE 0x10
  2293. #define MSG_IN_PHASE 0x08
  2294. #define MSG_OUT_PHASE 0x04
  2295. #define DATA_PHASE_MASK 0x03
  2296. #define DATA_IN_PHASE 0x02
  2297. #define DATA_OUT_PHASE 0x01
  2298. #define SCSIDAT0_IMG 0x43
  2299. #define SCSIDAT 0x44
  2300. #define SCSIBUS 0x46
  2301. #define TARGIDIN 0x48
  2302. #define CLKOUT 0x80
  2303. #define TARGID 0x0f
  2304. #define SELID 0x49
  2305. #define SELID_MASK 0xf0
  2306. #define ONEBIT 0x08
  2307. #define OPTIONMODE 0x4a
  2308. #define OPTIONMODE_DEFAULTS 0x02
  2309. #define BIOSCANCTL 0x80
  2310. #define AUTOACKEN 0x40
  2311. #define BIASCANCTL 0x20
  2312. #define BUSFREEREV 0x10
  2313. #define ENDGFORMCHK 0x04
  2314. #define AUTO_MSGOUT_DE 0x02
  2315. #define SBLKCTL 0x4a
  2316. #define DIAGLEDEN 0x80
  2317. #define DIAGLEDON 0x40
  2318. #define ENAB40 0x08
  2319. #define ENAB20 0x04
  2320. #define SELWIDE 0x02
  2321. #define CLRSINT0 0x4b
  2322. #define CLRSELDO 0x40
  2323. #define CLRSELDI 0x20
  2324. #define CLRSELINGO 0x10
  2325. #define CLRIOERR 0x08
  2326. #define CLROVERRUN 0x04
  2327. #define CLRSPIORDY 0x02
  2328. #define CLRARBDO 0x01
  2329. #define SSTAT0 0x4b
  2330. #define TARGET 0x80
  2331. #define SELDO 0x40
  2332. #define SELDI 0x20
  2333. #define SELINGO 0x10
  2334. #define IOERR 0x08
  2335. #define OVERRUN 0x04
  2336. #define SPIORDY 0x02
  2337. #define ARBDO 0x01
  2338. #define SIMODE0 0x4b
  2339. #define ENSELDO 0x40
  2340. #define ENSELDI 0x20
  2341. #define ENSELINGO 0x10
  2342. #define ENIOERR 0x08
  2343. #define ENOVERRUN 0x04
  2344. #define ENSPIORDY 0x02
  2345. #define ENARBDO 0x01
  2346. #define CLRSINT1 0x4c
  2347. #define CLRSELTIMEO 0x80
  2348. #define CLRATNO 0x40
  2349. #define CLRSCSIRSTI 0x20
  2350. #define CLRBUSFREE 0x08
  2351. #define CLRSCSIPERR 0x04
  2352. #define CLRSTRB2FAST 0x02
  2353. #define CLRREQINIT 0x01
  2354. #define SSTAT1 0x4c
  2355. #define SELTO 0x80
  2356. #define ATNTARG 0x40
  2357. #define SCSIRSTI 0x20
  2358. #define PHASEMIS 0x10
  2359. #define BUSFREE 0x08
  2360. #define SCSIPERR 0x04
  2361. #define STRB2FAST 0x02
  2362. #define REQINIT 0x01
  2363. #define SSTAT2 0x4d
  2364. #define BUSFREETIME 0xc0
  2365. #define NONPACKREQ 0x20
  2366. #define EXP_ACTIVE 0x10
  2367. #define BSYX 0x08
  2368. #define WIDE_RES 0x04
  2369. #define SDONE 0x02
  2370. #define DMADONE 0x01
  2371. #define BUSFREE_DFF1 0xc0
  2372. #define BUSFREE_DFF0 0x80
  2373. #define BUSFREE_LQO 0x40
  2374. #define SIMODE2 0x4d
  2375. #define ENWIDE_RES 0x04
  2376. #define ENSDONE 0x02
  2377. #define ENDMADONE 0x01
  2378. #define CLRSINT2 0x4d
  2379. #define CLRNONPACKREQ 0x20
  2380. #define CLRWIDE_RES 0x04
  2381. #define CLRSDONE 0x02
  2382. #define CLRDMADONE 0x01
  2383. #define PERRDIAG 0x4e
  2384. #define HIZERO 0x80
  2385. #define HIPERR 0x40
  2386. #define PREVPHASE 0x20
  2387. #define PARITYERR 0x10
  2388. #define AIPERR 0x08
  2389. #define CRCERR 0x04
  2390. #define DGFORMERR 0x02
  2391. #define DTERR 0x01
  2392. #define LQISTATE 0x4e
  2393. #define SOFFCNT 0x4f
  2394. #define LQOSTATE 0x4f
  2395. #define LQISTAT0 0x50
  2396. #define LQIATNQAS 0x20
  2397. #define LQICRCT1 0x10
  2398. #define LQICRCT2 0x08
  2399. #define LQIBADLQT 0x04
  2400. #define LQIATNLQ 0x02
  2401. #define LQIATNCMD 0x01
  2402. #define CLRLQIINT0 0x50
  2403. #define CLRLQIATNQAS 0x20
  2404. #define CLRLQICRCT1 0x10
  2405. #define CLRLQICRCT2 0x08
  2406. #define CLRLQIBADLQT 0x04
  2407. #define CLRLQIATNLQ 0x02
  2408. #define CLRLQIATNCMD 0x01
  2409. #define LQIMODE0 0x50
  2410. #define ENLQIATNQASK 0x20
  2411. #define ENLQICRCT1 0x10
  2412. #define ENLQICRCT2 0x08
  2413. #define ENLQIBADLQT 0x04
  2414. #define ENLQIATNLQ 0x02
  2415. #define ENLQIATNCMD 0x01
  2416. #define LQIMODE1 0x51
  2417. #define ENLQIPHASE_LQ 0x80
  2418. #define ENLQIPHASE_NLQ 0x40
  2419. #define ENLIQABORT 0x20
  2420. #define ENLQICRCI_LQ 0x10
  2421. #define ENLQICRCI_NLQ 0x08
  2422. #define ENLQIBADLQI 0x04
  2423. #define ENLQIOVERI_LQ 0x02
  2424. #define ENLQIOVERI_NLQ 0x01
  2425. #define LQISTAT1 0x51
  2426. #define LQIPHASE_LQ 0x80
  2427. #define LQIPHASE_NLQ 0x40
  2428. #define LQIABORT 0x20
  2429. #define LQICRCI_LQ 0x10
  2430. #define LQICRCI_NLQ 0x08
  2431. #define LQIBADLQI 0x04
  2432. #define LQIOVERI_LQ 0x02
  2433. #define LQIOVERI_NLQ 0x01
  2434. #define CLRLQIINT1 0x51
  2435. #define CLRLQIPHASE_LQ 0x80
  2436. #define CLRLQIPHASE_NLQ 0x40
  2437. #define CLRLIQABORT 0x20
  2438. #define CLRLQICRCI_LQ 0x10
  2439. #define CLRLQICRCI_NLQ 0x08
  2440. #define CLRLQIBADLQI 0x04
  2441. #define CLRLQIOVERI_LQ 0x02
  2442. #define CLRLQIOVERI_NLQ 0x01
  2443. #define LQISTAT2 0x52
  2444. #define PACKETIZED 0x80
  2445. #define LQIPHASE_OUTPKT 0x40
  2446. #define LQIWORKONLQ 0x20
  2447. #define LQIWAITFIFO 0x10
  2448. #define LQISTOPPKT 0x08
  2449. #define LQISTOPLQ 0x04
  2450. #define LQISTOPCMD 0x02
  2451. #define LQIGSAVAIL 0x01
  2452. #define SSTAT3 0x53
  2453. #define NTRAMPERR 0x02
  2454. #define OSRAMPERR 0x01
  2455. #define SIMODE3 0x53
  2456. #define ENNTRAMPERR 0x02
  2457. #define ENOSRAMPERR 0x01
  2458. #define CLRSINT3 0x53
  2459. #define CLRNTRAMPERR 0x02
  2460. #define CLROSRAMPERR 0x01
  2461. #define LQOSTAT0 0x54
  2462. #define LQOTARGSCBPERR 0x10
  2463. #define LQOSTOPT2 0x08
  2464. #define LQOATNLQ 0x04
  2465. #define LQOATNPKT 0x02
  2466. #define LQOTCRC 0x01
  2467. #define CLRLQOINT0 0x54
  2468. #define CLRLQOTARGSCBPERR 0x10
  2469. #define CLRLQOSTOPT2 0x08
  2470. #define CLRLQOATNLQ 0x04
  2471. #define CLRLQOATNPKT 0x02
  2472. #define CLRLQOTCRC 0x01
  2473. #define LQOMODE0 0x54
  2474. #define ENLQOTARGSCBPERR 0x10
  2475. #define ENLQOSTOPT2 0x08
  2476. #define ENLQOATNLQ 0x04
  2477. #define ENLQOATNPKT 0x02
  2478. #define ENLQOTCRC 0x01
  2479. #define LQOMODE1 0x55
  2480. #define ENLQOINITSCBPERR 0x10
  2481. #define ENLQOSTOPI2 0x08
  2482. #define ENLQOBADQAS 0x04
  2483. #define ENLQOBUSFREE 0x02
  2484. #define ENLQOPHACHGINPKT 0x01
  2485. #define LQOSTAT1 0x55
  2486. #define LQOINITSCBPERR 0x10
  2487. #define LQOSTOPI2 0x08
  2488. #define LQOBADQAS 0x04
  2489. #define LQOBUSFREE 0x02
  2490. #define LQOPHACHGINPKT 0x01
  2491. #define CLRLQOINT1 0x55
  2492. #define CLRLQOINITSCBPERR 0x10
  2493. #define CLRLQOSTOPI2 0x08
  2494. #define CLRLQOBADQAS 0x04
  2495. #define CLRLQOBUSFREE 0x02
  2496. #define CLRLQOPHACHGINPKT 0x01
  2497. #define LQOSTAT2 0x56
  2498. #define LQOPKT 0xe0
  2499. #define LQOWAITFIFO 0x10
  2500. #define LQOPHACHGOUTPKT 0x02
  2501. #define LQOSTOP0 0x01
  2502. #define OS_SPACE_CNT 0x56
  2503. #define SIMODE1 0x57
  2504. #define ENSELTIMO 0x80
  2505. #define ENATNTARG 0x40
  2506. #define ENSCSIRST 0x20
  2507. #define ENPHASEMIS 0x10
  2508. #define ENBUSFREE 0x08
  2509. #define ENSCSIPERR 0x04
  2510. #define ENSTRB2FAST 0x02
  2511. #define ENREQINIT 0x01
  2512. #define GSFIFO 0x58
  2513. #define DFFSXFRCTL 0x5a
  2514. #define DFFBITBUCKET 0x08
  2515. #define CLRSHCNT 0x04
  2516. #define CLRCHN 0x02
  2517. #define RSTCHN 0x01
  2518. #define LQOSCSCTL 0x5a
  2519. #define LQOH2A_VERSION 0x80
  2520. #define LQONOCHKOVER 0x01
  2521. #define NEXTSCB 0x5a
  2522. #define CLRSEQINTSRC 0x5b
  2523. #define CLRCTXTDONE 0x40
  2524. #define CLRSAVEPTRS 0x20
  2525. #define CLRCFG4DATA 0x10
  2526. #define CLRCFG4ISTAT 0x08
  2527. #define CLRCFG4TSTAT 0x04
  2528. #define CLRCFG4ICMD 0x02
  2529. #define CLRCFG4TCMD 0x01
  2530. #define SEQINTSRC 0x5b
  2531. #define CTXTDONE 0x40
  2532. #define SAVEPTRS 0x20
  2533. #define CFG4DATA 0x10
  2534. #define CFG4ISTAT 0x08
  2535. #define CFG4TSTAT 0x04
  2536. #define CFG4ICMD 0x02
  2537. #define CFG4TCMD 0x01
  2538. #define CURRSCB 0x5c
  2539. #define SEQIMODE 0x5c
  2540. #define ENCTXTDONE 0x40
  2541. #define ENSAVEPTRS 0x20
  2542. #define ENCFG4DATA 0x10
  2543. #define ENCFG4ISTAT 0x08
  2544. #define ENCFG4TSTAT 0x04
  2545. #define ENCFG4ICMD 0x02
  2546. #define ENCFG4TCMD 0x01
  2547. #define MDFFSTAT 0x5d
  2548. #define SHCNTNEGATIVE 0x40
  2549. #define SHCNTMINUS1 0x20
  2550. #define LASTSDONE 0x10
  2551. #define SHVALID 0x08
  2552. #define DLZERO 0x04
  2553. #define DATAINFIFO 0x02
  2554. #define FIFOFREE 0x01
  2555. #define CRCCONTROL 0x5d
  2556. #define CRCVALCHKEN 0x40
  2557. #define DFFTAG 0x5e
  2558. #define LASTSCB 0x5e
  2559. #define SCSITEST 0x5e
  2560. #define CNTRTEST 0x08
  2561. #define SEL_TXPLL_DEBUG 0x04
  2562. #define IOPDNCTL 0x5f
  2563. #define DISABLE_OE 0x80
  2564. #define PDN_IDIST 0x04
  2565. #define PDN_DIFFSENSE 0x01
  2566. #define SHADDR 0x60
  2567. #define NEGOADDR 0x60
  2568. #define DGRPCRCI 0x60
  2569. #define NEGPERIOD 0x61
  2570. #define PACKCRCI 0x62
  2571. #define NEGOFFSET 0x62
  2572. #define NEGPPROPTS 0x63
  2573. #define PPROPT_PACE 0x08
  2574. #define PPROPT_QAS 0x04
  2575. #define PPROPT_DT 0x02
  2576. #define PPROPT_IUT 0x01
  2577. #define NEGCONOPTS 0x64
  2578. #define ENSNAPSHOT 0x40
  2579. #define RTI_WRTDIS 0x20
  2580. #define RTI_OVRDTRN 0x10
  2581. #define ENSLOWCRC 0x08
  2582. #define ENAUTOATNI 0x04
  2583. #define ENAUTOATNO 0x02
  2584. #define WIDEXFER 0x01
  2585. #define ANNEXCOL 0x65
  2586. #define ANNEXDAT 0x66
  2587. #define SCSCHKN 0x66
  2588. #define STSELSKIDDIS 0x40
  2589. #define CURRFIFODEF 0x20
  2590. #define WIDERESEN 0x10
  2591. #define SDONEMSKDIS 0x08
  2592. #define DFFACTCLR 0x04
  2593. #define SHVALIDSTDIS 0x02
  2594. #define LSTSGCLRDIS 0x01
  2595. #define IOWNID 0x67
  2596. #define PLL960CTL0 0x68
  2597. #define SHCNT 0x68
  2598. #define TOWNID 0x69
  2599. #define PLL960CTL1 0x69
  2600. #define PLL960CNT0 0x6a
  2601. #define XSIG 0x6a
  2602. #define SELOID 0x6b
  2603. #define PLL400CTL0 0x6c
  2604. #define PLL_VCOSEL 0x80
  2605. #define PLL_PWDN 0x40
  2606. #define PLL_NS 0x30
  2607. #define PLL_ENLUD 0x08
  2608. #define PLL_ENLPF 0x04
  2609. #define PLL_DLPF 0x02
  2610. #define PLL_ENFBM 0x01
  2611. #define FAIRNESS 0x6c
  2612. #define PLL400CTL1 0x6d
  2613. #define PLL_CNTEN 0x80
  2614. #define PLL_CNTCLR 0x40
  2615. #define PLL_RST 0x01
  2616. #define UNFAIRNESS 0x6e
  2617. #define PLL400CNT0 0x6e
  2618. #define HADDR 0x70
  2619. #define PLLDELAY 0x70
  2620. #define SPLIT_DROP_REQ 0x80
  2621. #define HODMAADR 0x70
  2622. #define HODMACNT 0x78
  2623. #define HCNT 0x78
  2624. #define HODMAEN 0x7a
  2625. #define SCBHADDR 0x7c
  2626. #define SGHADDR 0x7c
  2627. #define SCBHCNT 0x84
  2628. #define SGHCNT 0x84
  2629. #define DFF_THRSH 0x88
  2630. #define WR_DFTHRSH 0x70
  2631. #define RD_DFTHRSH 0x07
  2632. #define WR_DFTHRSH_MAX 0x70
  2633. #define WR_DFTHRSH_90 0x60
  2634. #define WR_DFTHRSH_85 0x50
  2635. #define WR_DFTHRSH_75 0x40
  2636. #define WR_DFTHRSH_63 0x30
  2637. #define WR_DFTHRSH_50 0x20
  2638. #define WR_DFTHRSH_25 0x10
  2639. #define RD_DFTHRSH_MAX 0x07
  2640. #define RD_DFTHRSH_90 0x06
  2641. #define RD_DFTHRSH_85 0x05
  2642. #define RD_DFTHRSH_75 0x04
  2643. #define RD_DFTHRSH_63 0x03
  2644. #define RD_DFTHRSH_50 0x02
  2645. #define RD_DFTHRSH_25 0x01
  2646. #define RD_DFTHRSH_MIN 0x00
  2647. #define WR_DFTHRSH_MIN 0x00
  2648. #define ROMADDR 0x8a
  2649. #define ROMCNTRL 0x8d
  2650. #define ROMOP 0xe0
  2651. #define ROMSPD 0x18
  2652. #define REPEAT 0x02
  2653. #define RDY 0x01
  2654. #define ROMDATA 0x8e
  2655. #define CMCRXMSG0 0x90
  2656. #define ROENABLE 0x90
  2657. #define MSIROEN 0x20
  2658. #define OVLYROEN 0x10
  2659. #define CMCROEN 0x08
  2660. #define SGROEN 0x04
  2661. #define DCH1ROEN 0x02
  2662. #define DCH0ROEN 0x01
  2663. #define OVLYRXMSG0 0x90
  2664. #define DCHRXMSG0 0x90
  2665. #define OVLYRXMSG1 0x91
  2666. #define NSENABLE 0x91
  2667. #define MSINSEN 0x20
  2668. #define OVLYNSEN 0x10
  2669. #define CMCNSEN 0x08
  2670. #define SGNSEN 0x04
  2671. #define DCH1NSEN 0x02
  2672. #define DCH0NSEN 0x01
  2673. #define CMCRXMSG1 0x91
  2674. #define DCHRXMSG1 0x91
  2675. #define DCHRXMSG2 0x92
  2676. #define CMCRXMSG2 0x92
  2677. #define OST 0x92
  2678. #define OVLYRXMSG2 0x92
  2679. #define DCHRXMSG3 0x93
  2680. #define OVLYRXMSG3 0x93
  2681. #define CMCRXMSG3 0x93
  2682. #define PCIXCTL 0x93
  2683. #define SERRPULSE 0x80
  2684. #define UNEXPSCIEN 0x20
  2685. #define SPLTSMADIS 0x10
  2686. #define SPLTSTADIS 0x08
  2687. #define SRSPDPEEN 0x04
  2688. #define TSCSERREN 0x02
  2689. #define CMPABCDIS 0x01
  2690. #define OVLYSEQBCNT 0x94
  2691. #define DCHSEQBCNT 0x94
  2692. #define CMCSEQBCNT 0x94
  2693. #define CMCSPLTSTAT0 0x96
  2694. #define DCHSPLTSTAT0 0x96
  2695. #define OVLYSPLTSTAT0 0x96
  2696. #define CMCSPLTSTAT1 0x97
  2697. #define OVLYSPLTSTAT1 0x97
  2698. #define DCHSPLTSTAT1 0x97
  2699. #define SGRXMSG0 0x98
  2700. #define CDNUM 0xf8
  2701. #define CFNUM 0x07
  2702. #define SLVSPLTOUTADR0 0x98
  2703. #define LOWER_ADDR 0x7f
  2704. #define SGRXMSG1 0x99
  2705. #define CBNUM 0xff
  2706. #define SLVSPLTOUTADR1 0x99
  2707. #define REQ_DNUM 0xf8
  2708. #define REQ_FNUM 0x07
  2709. #define SGRXMSG2 0x9a
  2710. #define MINDEX 0xff
  2711. #define SLVSPLTOUTADR2 0x9a
  2712. #define REQ_BNUM 0xff
  2713. #define SGRXMSG3 0x9b
  2714. #define MCLASS 0x0f
  2715. #define SLVSPLTOUTADR3 0x9b
  2716. #define TAG_NUM 0x1f
  2717. #define RLXORD 0x10
  2718. #define SGSEQBCNT 0x9c
  2719. #define SLVSPLTOUTATTR0 0x9c
  2720. #define LOWER_BCNT 0xff
  2721. #define SLVSPLTOUTATTR1 0x9d
  2722. #define CMPLT_DNUM 0xf8
  2723. #define CMPLT_FNUM 0x07
  2724. #define SLVSPLTOUTATTR2 0x9e
  2725. #define CMPLT_BNUM 0xff
  2726. #define SGSPLTSTAT0 0x9e
  2727. #define STAETERM 0x80
  2728. #define SCBCERR 0x40
  2729. #define SCADERR 0x20
  2730. #define SCDATBUCKET 0x10
  2731. #define CNTNOTCMPLT 0x08
  2732. #define RXOVRUN 0x04
  2733. #define RXSCEMSG 0x02
  2734. #define RXSPLTRSP 0x01
  2735. #define SGSPLTSTAT1 0x9f
  2736. #define RXDATABUCKET 0x01
  2737. #define SFUNCT 0x9f
  2738. #define TEST_GROUP 0xf0
  2739. #define TEST_NUM 0x0f
  2740. #define DF0PCISTAT 0xa0
  2741. #define REG0 0xa0
  2742. #define DF1PCISTAT 0xa1
  2743. #define SGPCISTAT 0xa2
  2744. #define REG1 0xa2
  2745. #define CMCPCISTAT 0xa3
  2746. #define OVLYPCISTAT 0xa4
  2747. #define SCAAPERR 0x08
  2748. #define RDPERR 0x04
  2749. #define REG_ISR 0xa4
  2750. #define SG_STATE 0xa6
  2751. #define FETCH_INPROG 0x04
  2752. #define LOADING_NEEDED 0x02
  2753. #define SEGS_AVAIL 0x01
  2754. #define MSIPCISTAT 0xa6
  2755. #define RMA 0x20
  2756. #define RTA 0x10
  2757. #define CLRPENDMSI 0x08
  2758. #define DPR 0x01
  2759. #define TARGPCISTAT 0xa7
  2760. #define DPE 0x80
  2761. #define SSE 0x40
  2762. #define STA 0x08
  2763. #define TWATERR 0x02
  2764. #define DATA_COUNT_ODD 0xa7
  2765. #define SCBPTR 0xa8
  2766. #define CCSCBACNT 0xab
  2767. #define SCBAUTOPTR 0xab
  2768. #define AUSCBPTR_EN 0x80
  2769. #define SCBPTR_ADDR 0x38
  2770. #define SCBPTR_OFF 0x07
  2771. #define CCSGADDR 0xac
  2772. #define CCSCBADR_BK 0xac
  2773. #define CCSCBADDR 0xac
  2774. #define CMC_RAMBIST 0xad
  2775. #define SG_ELEMENT_SIZE 0x80
  2776. #define SCBRAMBIST_FAIL 0x40
  2777. #define SG_BIST_FAIL 0x20
  2778. #define SG_BIST_EN 0x10
  2779. #define CMC_BUFFER_BIST_FAIL 0x02
  2780. #define CMC_BUFFER_BIST_EN 0x01
  2781. #define CCSCBCTL 0xad
  2782. #define CCSCBDONE 0x80
  2783. #define ARRDONE 0x40
  2784. #define CCARREN 0x10
  2785. #define CCSCBEN 0x08
  2786. #define CCSCBDIR 0x04
  2787. #define CCSCBRESET 0x01
  2788. #define CCSGCTL 0xad
  2789. #define CCSGEN 0x0c
  2790. #define CCSGDONE 0x80
  2791. #define SG_CACHE_AVAIL 0x10
  2792. #define CCSGENACK 0x08
  2793. #define SG_FETCH_REQ 0x02
  2794. #define CCSGRESET 0x01
  2795. #define CCSGRAM 0xb0
  2796. #define FLEXADR 0xb0
  2797. #define CCSCBRAM 0xb0
  2798. #define FLEXCNT 0xb3
  2799. #define FLEXDMASTAT 0xb5
  2800. #define FLEXDMAERR 0x02
  2801. #define FLEXDMADONE 0x01
  2802. #define FLEXDATA 0xb6
  2803. #define BRDDAT 0xb8
  2804. #define BRDCTL 0xb9
  2805. #define FLXARBACK 0x80
  2806. #define FLXARBREQ 0x40
  2807. #define BRDADDR 0x38
  2808. #define BRDEN 0x04
  2809. #define BRDRW 0x02
  2810. #define BRDSTB 0x01
  2811. #define SEEADR 0xba
  2812. #define SEEDAT 0xbc
  2813. #define SEECTL 0xbe
  2814. #define SEEOP_WALL 0x40
  2815. #define SEEOP_EWEN 0x40
  2816. #define SEEOP_EWDS 0x40
  2817. #define SEEOPCODE 0x70
  2818. #define SEERST 0x02
  2819. #define SEESTART 0x01
  2820. #define SEEOP_ERASE 0x70
  2821. #define SEEOP_READ 0x60
  2822. #define SEEOP_WRITE 0x50
  2823. #define SEEOP_ERAL 0x40
  2824. #define SEESTAT 0xbe
  2825. #define INIT_DONE 0x80
  2826. #define LDALTID_L 0x08
  2827. #define SEEARBACK 0x04
  2828. #define SEEBUSY 0x02
  2829. #define SCBCNT 0xbf
  2830. #define DFWADDR 0xc0
  2831. #define DSPFLTRCTL 0xc0
  2832. #define FLTRDISABLE 0x20
  2833. #define EDGESENSE 0x10
  2834. #define DSPFCNTSEL 0x0f
  2835. #define DSPDATACTL 0xc1
  2836. #define BYPASSENAB 0x80
  2837. #define DESQDIS 0x10
  2838. #define RCVROFFSTDIS 0x04
  2839. #define XMITOFFSTDIS 0x02
  2840. #define DFRADDR 0xc2
  2841. #define DSPREQCTL 0xc2
  2842. #define MANREQCTL 0xc0
  2843. #define MANREQDLY 0x3f
  2844. #define DSPACKCTL 0xc3
  2845. #define MANACKCTL 0xc0
  2846. #define MANACKDLY 0x3f
  2847. #define DFDAT 0xc4
  2848. #define DSPSELECT 0xc4
  2849. #define AUTOINCEN 0x80
  2850. #define DSPSEL 0x1f
  2851. #define WRTBIASCTL 0xc5
  2852. #define AUTOXBCDIS 0x80
  2853. #define XMITMANVAL 0x3f
  2854. #define RCVRBIOSCTL 0xc6
  2855. #define AUTORBCDIS 0x80
  2856. #define RCVRMANVAL 0x3f
  2857. #define WRTBIASCALC 0xc7
  2858. #define RCVRBIASCALC 0xc8
  2859. #define DFPTRS 0xc8
  2860. #define SKEWCALC 0xc9
  2861. #define DFBKPTR 0xc9
  2862. #define DFDBCTL 0xcb
  2863. #define DFF_CIO_WR_RDY 0x20
  2864. #define DFF_CIO_RD_RDY 0x10
  2865. #define DFF_DIR_ERR 0x08
  2866. #define DFF_RAMBIST_FAIL 0x04
  2867. #define DFF_RAMBIST_DONE 0x02
  2868. #define DFF_RAMBIST_EN 0x01
  2869. #define DFSCNT 0xcc
  2870. #define DFBCNT 0xce
  2871. #define OVLYADDR 0xd4
  2872. #define SEQCTL0 0xd6
  2873. #define PERRORDIS 0x80
  2874. #define PAUSEDIS 0x40
  2875. #define FAILDIS 0x20
  2876. #define FASTMODE 0x10
  2877. #define BRKADRINTEN 0x08
  2878. #define STEP 0x04
  2879. #define SEQRESET 0x02
  2880. #define LOADRAM 0x01
  2881. #define SEQCTL1 0xd7
  2882. #define OVRLAY_DATA_CHK 0x08
  2883. #define RAMBIST_DONE 0x04
  2884. #define RAMBIST_FAIL 0x02
  2885. #define RAMBIST_EN 0x01
  2886. #define FLAGS 0xd8
  2887. #define ZERO 0x02
  2888. #define CARRY 0x01
  2889. #define SEQINTCTL 0xd9
  2890. #define INTVEC1DSL 0x80
  2891. #define INT1_CONTEXT 0x20
  2892. #define SCS_SEQ_INT1M1 0x10
  2893. #define SCS_SEQ_INT1M0 0x08
  2894. #define INTMASK2 0x04
  2895. #define INTMASK1 0x02
  2896. #define IRET 0x01
  2897. #define SEQRAM 0xda
  2898. #define PRGMCNT 0xde
  2899. #define ACCUM 0xe0
  2900. #define SINDEX 0xe2
  2901. #define DINDEX 0xe4
  2902. #define BRKADDR0 0xe6
  2903. #define BRKADDR1 0xe6
  2904. #define BRKDIS 0x80
  2905. #define ALLONES 0xe8
  2906. #define ALLZEROS 0xea
  2907. #define NONE 0xea
  2908. #define SINDIR 0xec
  2909. #define DINDIR 0xed
  2910. #define FUNCTION1 0xf0
  2911. #define STACK 0xf2
  2912. #define INTVEC1_ADDR 0xf4
  2913. #define CURADDR 0xf4
  2914. #define LASTADDR 0xf6
  2915. #define INTVEC2_ADDR 0xf6
  2916. #define LONGJMP_ADDR 0xf8
  2917. #define ACCUM_SAVE 0xfa
  2918. #define WAITING_SCB_TAILS 0x100
  2919. #define AHD_PCI_CONFIG_BASE 0x100
  2920. #define SRAM_BASE 0x100
  2921. #define WAITING_TID_HEAD 0x120
  2922. #define WAITING_TID_TAIL 0x122
  2923. #define NEXT_QUEUED_SCB_ADDR 0x124
  2924. #define COMPLETE_SCB_HEAD 0x128
  2925. #define COMPLETE_SCB_DMAINPROG_HEAD 0x12a
  2926. #define COMPLETE_DMA_SCB_HEAD 0x12c
  2927. #define COMPLETE_DMA_SCB_TAIL 0x12e
  2928. #define COMPLETE_ON_QFREEZE_HEAD 0x130
  2929. #define QFREEZE_COUNT 0x132
  2930. #define KERNEL_QFREEZE_COUNT 0x134
  2931. #define SAVED_MODE 0x136
  2932. #define MSG_OUT 0x137
  2933. #define DMAPARAMS 0x138
  2934. #define PRELOADEN 0x80
  2935. #define WIDEODD 0x40
  2936. #define SCSIEN 0x20
  2937. #define SDMAEN 0x10
  2938. #define SDMAENACK 0x10
  2939. #define HDMAEN 0x08
  2940. #define HDMAENACK 0x08
  2941. #define DIRECTION 0x04
  2942. #define FIFOFLUSH 0x02
  2943. #define FIFORESET 0x01
  2944. #define SEQ_FLAGS 0x139
  2945. #define NOT_IDENTIFIED 0x80
  2946. #define NO_CDB_SENT 0x40
  2947. #define TARGET_CMD_IS_TAGGED 0x40
  2948. #define DPHASE 0x20
  2949. #define TARG_CMD_PENDING 0x10
  2950. #define CMDPHASE_PENDING 0x08
  2951. #define DPHASE_PENDING 0x04
  2952. #define SPHASE_PENDING 0x02
  2953. #define NO_DISCONNECT 0x01
  2954. #define SAVED_SCSIID 0x13a
  2955. #define SAVED_LUN 0x13b
  2956. #define LASTPHASE 0x13c
  2957. #define PHASE_MASK 0xe0
  2958. #define CDI 0x80
  2959. #define IOI 0x40
  2960. #define MSGI 0x20
  2961. #define P_BUSFREE 0x01
  2962. #define P_MESGIN 0xe0
  2963. #define P_STATUS 0xc0
  2964. #define P_MESGOUT 0xa0
  2965. #define P_COMMAND 0x80
  2966. #define P_DATAIN_DT 0x60
  2967. #define P_DATAIN 0x40
  2968. #define P_DATAOUT_DT 0x20
  2969. #define P_DATAOUT 0x00
  2970. #define QOUTFIFO_ENTRY_VALID_TAG 0x13d
  2971. #define KERNEL_TQINPOS 0x13e
  2972. #define TQINPOS 0x13f
  2973. #define SHARED_DATA_ADDR 0x140
  2974. #define QOUTFIFO_NEXT_ADDR 0x144
  2975. #define ARG_1 0x148
  2976. #define RETURN_1 0x148
  2977. #define SEND_MSG 0x80
  2978. #define SEND_SENSE 0x40
  2979. #define SEND_REJ 0x20
  2980. #define MSGOUT_PHASEMIS 0x10
  2981. #define EXIT_MSG_LOOP 0x08
  2982. #define CONT_MSG_LOOP_WRITE 0x04
  2983. #define CONT_MSG_LOOP_READ 0x03
  2984. #define CONT_MSG_LOOP_TARG 0x02
  2985. #define ARG_2 0x149
  2986. #define RETURN_2 0x149
  2987. #define LAST_MSG 0x14a
  2988. #define SCSISEQ_TEMPLATE 0x14b
  2989. #define MANUALCTL 0x40
  2990. #define ENSELI 0x20
  2991. #define ENRSELI 0x10
  2992. #define MANUALP 0x0c
  2993. #define ENAUTOATNP 0x02
  2994. #define ALTSTIM 0x01
  2995. #define INITIATOR_TAG 0x14c
  2996. #define SEQ_FLAGS2 0x14d
  2997. #define SELECTOUT_QFROZEN 0x04
  2998. #define TARGET_MSG_PENDING 0x02
  2999. #define ALLOCFIFO_SCBPTR 0x14e
  3000. #define INT_COALESCING_TIMER 0x150
  3001. #define INT_COALESCING_MAXCMDS 0x152
  3002. #define INT_COALESCING_MINCMDS 0x153
  3003. #define CMDS_PENDING 0x154
  3004. #define INT_COALESCING_CMDCOUNT 0x156
  3005. #define LOCAL_HS_MAILBOX 0x157
  3006. #define CMDSIZE_TABLE 0x158
  3007. #define SCB_BASE 0x180
  3008. #define SCB_RESIDUAL_DATACNT 0x180
  3009. #define SCB_CDB_STORE 0x180
  3010. #define SCB_HOST_CDB_PTR 0x180
  3011. #define SCB_RESIDUAL_SGPTR 0x184
  3012. #define SG_ADDR_MASK 0xf8
  3013. #define SG_OVERRUN_RESID 0x02
  3014. #define SCB_SCSI_STATUS 0x188
  3015. #define SCB_HOST_CDB_LEN 0x188
  3016. #define SCB_TARGET_PHASES 0x189
  3017. #define SCB_TARGET_DATA_DIR 0x18a
  3018. #define SCB_TARGET_ITAG 0x18b
  3019. #define SCB_SENSE_BUSADDR 0x18c
  3020. #define SCB_NEXT_COMPLETE 0x18c
  3021. #define SCB_TAG 0x190
  3022. #define SCB_FIFO_USE_COUNT 0x190
  3023. #define SCB_CONTROL 0x192
  3024. #define TARGET_SCB 0x80
  3025. #define DISCENB 0x40
  3026. #define TAG_ENB 0x20
  3027. #define MK_MESSAGE 0x10
  3028. #define STATUS_RCVD 0x08
  3029. #define DISCONNECTED 0x04
  3030. #define SCB_TAG_TYPE 0x03
  3031. #define SCB_SCSIID 0x193
  3032. #define TID 0xf0
  3033. #define OID 0x0f
  3034. #define SCB_LUN 0x194
  3035. #define LID 0xff
  3036. #define SCB_TASK_ATTRIBUTE 0x195
  3037. #define SCB_XFERLEN_ODD 0x01
  3038. #define SCB_CDB_LEN 0x196
  3039. #define SCB_CDB_LEN_PTR 0x80
  3040. #define SCB_TASK_MANAGEMENT 0x197
  3041. #define SCB_DATAPTR 0x198
  3042. #define SCB_DATACNT 0x1a0
  3043. #define SG_LAST_SEG 0x80
  3044. #define SG_HIGH_ADDR_BITS 0x7f
  3045. #define SCB_SGPTR 0x1a4
  3046. #define SG_STATUS_VALID 0x04
  3047. #define SG_FULL_RESID 0x02
  3048. #define SG_LIST_NULL 0x01
  3049. #define SCB_BUSADDR 0x1a8
  3050. #define SCB_NEXT 0x1ac
  3051. #define SCB_NEXT_SCB_BUSADDR 0x1ac
  3052. #define SCB_NEXT2 0x1ae
  3053. #define SCB_SPARE 0x1b0
  3054. #define SCB_PKT_LUN 0x1b0
  3055. #define SCB_DISCONNECTED_LISTS 0x1b8
  3056. #define AHD_TIMER_MAX_US 0x18ffe7
  3057. #define AHD_TIMER_MAX_TICKS 0xffff
  3058. #define AHD_SENSE_BUFSIZE 0x100
  3059. #define BUS_8_BIT 0x00
  3060. #define TARGET_CMD_CMPLT 0xfe
  3061. #define SEEOP_WRAL_ADDR 0x40
  3062. #define AHD_AMPLITUDE_DEF 0x07
  3063. #define AHD_PRECOMP_CUTBACK_37 0x07
  3064. #define AHD_PRECOMP_SHIFT 0x00
  3065. #define AHD_ANNEXCOL_PRECOMP_SLEW 0x04
  3066. #define AHD_TIMER_US_PER_TICK 0x19
  3067. #define SCB_TRANSFER_SIZE_FULL_LUN 0x38
  3068. #define STATUS_QUEUE_FULL 0x28
  3069. #define STATUS_BUSY 0x08
  3070. #define MAX_OFFSET_NON_PACED 0x7f
  3071. #define MAX_OFFSET_PACED 0xfe
  3072. #define BUS_32_BIT 0x02
  3073. #define CCSGADDR_MAX 0x80
  3074. #define TID_SHIFT 0x04
  3075. #define MK_MESSAGE_BIT_OFFSET 0x04
  3076. #define WRTBIASCTL_HP_DEFAULT 0x00
  3077. #define SEEOP_EWDS_ADDR 0x00
  3078. #define AHD_AMPLITUDE_SHIFT 0x00
  3079. #define AHD_AMPLITUDE_MASK 0x07
  3080. #define AHD_ANNEXCOL_AMPLITUDE 0x06
  3081. #define AHD_SLEWRATE_DEF_REVA 0x08
  3082. #define AHD_SLEWRATE_SHIFT 0x03
  3083. #define AHD_SLEWRATE_MASK 0x78
  3084. #define AHD_PRECOMP_CUTBACK_29 0x06
  3085. #define AHD_NUM_PER_DEV_ANNEXCOLS 0x04
  3086. #define B_CURRFIFO_0 0x02
  3087. #define LUNLEN_SINGLE_LEVEL_LUN 0x0f
  3088. #define NVRAM_SCB_OFFSET 0x2c
  3089. #define STATUS_PKT_SENSE 0xff
  3090. #define CMD_GROUP_CODE_SHIFT 0x05
  3091. #define MAX_OFFSET_PACED_BUG 0x7f
  3092. #define STIMESEL_BUG_ADJ 0x08
  3093. #define STIMESEL_MIN 0x18
  3094. #define STIMESEL_SHIFT 0x03
  3095. #define CCSGRAM_MAXSEGS 0x10
  3096. #define INVALID_ADDR 0x80
  3097. #define SEEOP_ERAL_ADDR 0x80
  3098. #define AHD_SLEWRATE_DEF_REVB 0x08
  3099. #define AHD_PRECOMP_CUTBACK_17 0x04
  3100. #define AHD_PRECOMP_MASK 0x07
  3101. #define SRC_MODE_SHIFT 0x00
  3102. #define PKT_OVERRUN_BUFSIZE 0x200
  3103. #define SCB_TRANSFER_SIZE_1BYTE_LUN 0x30
  3104. #define TARGET_DATA_IN 0x01
  3105. #define HOST_MSG 0xff
  3106. #define MAX_OFFSET 0xfe
  3107. #define BUS_16_BIT 0x01
  3108. #define CCSCBADDR_MAX 0x80
  3109. #define NUMDSPS 0x14
  3110. #define SEEOP_EWEN_ADDR 0xc0
  3111. #define AHD_ANNEXCOL_PER_DEV0 0x04
  3112. #define DST_MODE_SHIFT 0x04
  3113. /* Downloaded Constant Definitions */
  3114. #define CACHELINE_MASK 0x07
  3115. #define SCB_TRANSFER_SIZE 0x06
  3116. #define PKT_OVERRUN_BUFOFFSET 0x05
  3117. #define SG_SIZEOF 0x04
  3118. #define SG_PREFETCH_ADDR_MASK 0x03
  3119. #define SG_PREFETCH_ALIGN_MASK 0x02
  3120. #define SG_PREFETCH_CNT_LIMIT 0x01
  3121. #define SG_PREFETCH_CNT 0x00
  3122. #define DOWNLOAD_CONST_COUNT 0x08
  3123. /* Exported Labels */
  3124. #define LABEL_seq_isr 0x285
  3125. #define LABEL_timer_isr 0x281