; --------------------------------------------------------------------------------
; @Title: MPC8311/MPC8313/MPC8314/MPC8315 On-Chip Peripherals
; @Props: Released
; @Author: KAM, MAC
; @Changelog:
;   2007-02-08
;   2008-02-22
; @Manufacturer: NXP
; @Doc: MPC8313ERM.pdf (2006-11); MPC8315ERM.pdf (2007-09)
; @Core: e300, PowerPC
; @Chiplist: MPC8311, MPC8313, MPC8314, MPC8315
; @Copyright: (C) 1989-2020 Lauterbach GmbH, licensed for use with TRACE32(R) only
; --------------------------------------------------------------------------------
; $Id: permpc831x.per 10720 2019-06-25 12:05:50Z rweiss $
config 16. 8.
width 0x0b
endian.def
;KNOWN PROBLEMS:
;-eTSEC module:
;    No TBIPA register to address TBI registers.
tree "Core Registers"
tree "General Registers"
group SPR:286.++0
line.long 0x00 "SVR,System Version Register"
group SPR:287.++0
line.long 0x00 "PVR,Processor Version Register"
TEXTLINE ""
group SPR:311.++0
line.long 0x00 "MBAR,Memory Base Address Register"
TEXTLINE ""
group.long SPR:0x8000++0
line.long   0x00 "CR,Condition Register"
bitfld.long 0x00 31.        "CR0:  LT ,Negative (LT)" "0,1"
bitfld.long 0x00 30.        "  GT ,Positive (GT)" "0,1"
bitfld.long 0x00 29.        "  EQ ,Zero (EQ)" "0,1"
bitfld.long 0x00 28.        "  SO ,Summary overflow (SO)" "0,1"
TEXTLINE "                  "
bitfld.long 0x00 27.        "  CR1:  LT ,Negative (LT)" "0,1"
bitfld.long 0x00 26.        "  GT ,Positive (GT)" "0,1"
bitfld.long 0x00 25.        "  EQ ,Zero (EQ)" "0,1"
bitfld.long 0x00 24.        "  SO ,Summary overflow (SO)" "0,1"
TEXTLINE "                  "
bitfld.long 0x00 23.        "  CR2:  LT ,Negative (LT)" "0,1"
bitfld.long 0x00 22.        "  GT ,Positive (GT)" "0,1"
bitfld.long 0x00 21.        "  EQ ,Zero (EQ)" "0,1"
bitfld.long 0x00 20.        "  SO ,Summary overflow (SO)" "0,1"
TEXTLINE "                  "
bitfld.long 0x00 19.        "  CR3:  LT ,Negative (LT)" "0,1"
bitfld.long 0x00 18.        "  GT ,Positive (GT)" "0,1"
bitfld.long 0x00 17.        "  EQ ,Zero (EQ)" "0,1"
bitfld.long 0x00 16.        "  SO ,Summary overflow (SO)" "0,1"
TEXTLINE "                  "
bitfld.long 0x00 15.        "  CR4:  LT ,Negative (LT)" "0,1"
bitfld.long 0x00 14.        "  GT ,Positive (GT)" "0,1"
bitfld.long 0x00 13.        "  EQ ,Zero (EQ)" "0,1"
bitfld.long 0x00 12.        "  SO ,Summary overflow (SO)" "0,1"
TEXTLINE "                  "
bitfld.long 0x00 11.        "  CR5:  LT ,Negative (LT)" "0,1"
bitfld.long 0x00 10.        "  GT ,Positive (GT)" "0,1"
bitfld.long 0x00 09.        "  EQ ,Zero (EQ)" "0,1"
bitfld.long 0x00 08.        "  SO ,Summary overflow (SO)" "0,1"
TEXTLINE "                  "
bitfld.long 0x00 07.        "  CR6:  LT ,Negative (LT)" "0,1"
bitfld.long 0x00 06.        "  GT ,Positive (GT)" "0,1"
bitfld.long 0x00 05.        "  EQ ,Zero (EQ)" "0,1"
bitfld.long 0x00 04.        "  SO ,Summary overflow (SO)" "0,1"
TEXTLINE "                  "
bitfld.long 0x00 03.        "  CR7:  LT ,Negative (LT)" "0,1"
bitfld.long 0x00 02.        "  GT ,Positive (GT)" "0,1"
bitfld.long 0x00 01.        "  EQ ,Zero (EQ)" "0,1"
bitfld.long 0x00 00.        "  SO ,Summary overflow (SO)" "0,1"
TEXTLINE ""
group.long SPR:1.++0
line.long   0x00 "XER,Integer Exception Register"
bitfld.long 0x00 31.        "SO ,Summary Overflow (per Book E)" "0,1"
bitfld.long 0x00 30.        "  OV ,Overflow (per Book E)" "0,1"
bitfld.long 0x00 29.        "  CA ,Carry (per Book E)" "0,1"
hexmask.long.byte 0x00 00.--06. 1. "  BYTECOUNT ,This field specifies the number of bytes to be transferred by a lswx or stswx instruction"
tree.end
tree "Time Base Registers"
group SPR:284.++0
line.long 0x00 "TBL,Time Base Low Register"
group SPR:285.++0
line.long 0x00 "TBU,Time Base High Register"
TEXTLINE ""
group SPR:22.++0
line.long 0x00 "DEC,Decrementer Register"
tree.end
tree "Interrupt Handling Registers"
group SPR:19.++0
line.long 0x00 "DAR,Data Address Register"
group SPR:18.++0
line.long 0x00 "DSISR,DSI Status Register"
bitfld.long 0x00 30.   "MISS ,Set if the translation of an attempted access is not found in the primary hash table entry group (HTEG), or in the rehashed secondary HTEG, or in the range of a DBAT reg" "0,1"
bitfld.long 0x00 27. "  PROT ,Set if a memory access is not permitted by the page or DBAT protection mechanism" "0,1"
bitfld.long 0x00 25. "  OP ,Set for a store operation and cleared for a load operation" "load,store"
bitfld.long 0x00 22. "  DABR ,Set if a data address breakpoint interrupt occurs" "0,1"
TEXTLINE ""
GROUP spr:0x01A--0x01B
LINE.LONG  0. "SRR0 ,SRR0 holds EA for resuming program execution"
LINE.LONG  4. "SRR1 ,SRR1 Exception-specific information and MSR bit values"
TEXTLINE "           SRR1 Machine Check Interrupt flags:"
TEXTLINE "                   "
BITFLD.LONG 4. 30.   "SRR1[10] ICERR              ,instruction cache error (e300 specific flag)" "0,1"
TEXTLINE "                 "
BITFLD.LONG 4. 29. "  SRR1[11] DCERR              ,data cache error (e300 specific flag)" "0,1"
TEXTLINE "                 "
BITFLD.LONG 4. 19. "  SRR1[12] MCP                ,Set when /mcp signal is asserted (e300 specific flag)" "0,1"
TEXTLINE "                 "
BITFLD.LONG 4. 13. "  SRR1[13] TEA                ,Set when /tea signal is asserted (e300 specific flag)" "0,1"
TEXTLINE "                 "
BITFLD.LONG 4. 12. "  SRR1[14] DPE                ,Data parity error condition (and signal assertion) caused interrupt (e300 specific flag)" "0,1"
TEXTLINE "                 "
BITFLD.LONG 4. 11. "  SRR1[15] APE                ,Address parity error condition (and signal assertion) caused interrupt (e300 specific flag)" "0,1"
TEXTLINE "                 "
BITFLD.LONG 4. 01. "  SRR1[30] RI                 ,Set in case of a recoverable interrupt" "0,1"
TEXTLINE "           SRR1 ISI Interrupt flags:"
TEXTLINE "                   "
BITFLD.LONG 4. 30.   "SRR1[1]  PAGE_FAULT         ,translation neither found in HTEG nor IBAT" "0,1"
TEXTLINE "                 "
BITFLD.LONG 4. 29. "  SRR1[2]  DSTORE/NX/G_ACC_IR ,access to a direct-store segment,no-execute segment or to guarded memory when MSR[IR] = 1" "0,1"
TEXTLINE "                 "
BITFLD.LONG 4. 27. "  SRR1[4]  ACCESS_NOT_PERM    ,access not permitted by the page or IBAT protection" "0,1"
TEXTLINE "           SRR1 Program Interrupt flags:"
TEXTLINE "                   "
BITFLD.LONG 4. 20.   "SRR1[11] FPENA              ,Set for an IEEE floating-point enabled program exception" "0,1"
TEXTLINE "                 "
BITFLD.LONG 4. 19. "  SRR1[12] ILLINST            ,Set for an illegal instruction program exception" "0,1"
TEXTLINE "                 "
BITFLD.LONG 4. 18. "  SRR1[13] PRIVINST           ,Set for a privileged instruction program exception" "0,1"
TEXTLINE "                 "
BITFLD.LONG 4. 17. "  SRR1[14] TRAP               ,Set for a trap program exception" "0,1"
TEXTLINE "                 "
BITFLD.LONG 4. 16. "  SRR1[15] SUBS               ,Set if SRR0 contains the address of a subsequent instruction - Cleared if SRR0 contains the address of the instruction causing the exception" "0,1"
TEXTLINE "           SRR1 Instruction/Data TLB Interrupt flags:"
TEXTLINE "                   "
BITFLD.LONG 4. 19.   "SRR1[12] KEY                ,Key for TLB miss" "0,1"
TEXTLINE "                 "
BITFLD.LONG 4. 18. "  SRR1[13] D/I                ,Data or instruction access" "D,I"
TEXTLINE "                 "
BITFLD.LONG 4. 17. "  SRR1[14] WAY                ,Next TLB set to be replaced" "0,1"
TEXTLINE "                 "
BITFLD.LONG 4. 16. "  SRR1[15] S/L                ,Store or load data access" "S,L"
tree.end
tree "Hardware Implementation Registers"
group SPR:1008.++0
line.long 0x00 "HID0,Hardware Implementation Register 0"
bitfld.long 0x00 31.   "EMCP   ,enable !MCP" "0,1"
bitfld.long 0x00 30. "  ECPE   ,Enable cache parity errors" "0,1"
bitfld.long 0x00 29. "  EBA    ,Enable ap_in[0:3] and ape for address parity checking" "0,1"
bitfld.long 0x00 28. "  EBD    ,Enable dpe for data parity checking" "0,1"
bitfld.long 0x00 27. "  SBCLK  ,clk_out output enable" "0,1"
bitfld.long 0x00 25. "  ECLK   ,clk_out output enable" "0,1"
bitfld.long 0x00 24. "  PAR    ,Disable precharge of artry_out" "0,1"
TEXTLINE "                  "
bitfld.long 0x00 23. "  DOZE   ,Doze mode enable" "0,1"
bitfld.long 0x00 22. "  NAP    ,Nap mode enable" "0,1"
bitfld.long 0x00 21. "  SLEEP  ,Sleep mode enable" "0,1"
bitfld.long 0x00 20. "  DPM    ,Dynamic power management enable" "0,1"
TEXTLINE "                  "
bitfld.long 0x00 15. "  ICE    ,Instruction cache enable" "0,1"
bitfld.long 0x00 14. "  DCE    ,Data cache enable" "0,1"
bitfld.long 0x00 13. "  ILOCK  ,Instruction cache lock" "0,1"
bitfld.long 0x00 12. "  DLOCK  ,Data cache lock" "0,1"
bitfld.long 0x00 11. "  ICFI   ,Instruction cache flush invalidate" "0,1"
bitfld.long 0x00 10. "  DCFI   ,Data cache flush invalidate" "0,1"
TEXTLINE "                  "
bitfld.long 0x00 07. "  IFEM   ,Enable M bit on bus for instruction fetches" "0,1"
bitfld.long 0x00 04. "  FBIOB  ,Force branch indirect on the bus" "0,1"
bitfld.long 0x00 03. "  ABE    ,Address broadcast enable" "0,1"
bitfld.long 0x00 00. "  NOOPTI ,No-op the data cache touch instructions" "0,1"
TEXTLINE ""
rgroup SPR:1009.++0
line.long 0x00 "HID1,Hardware Implementation Register 1"
bitfld.long 0x00 31.   "PC0    ,PLL configuration bit 0 (read-only)" "0,1"
bitfld.long 0x00 30. "  PC1    ,PLL configuration bit 1 (read-only)" "0,1"
bitfld.long 0x00 29. "  PC2    ,PLL configuration bit 2 (read-only)" "0,1"
bitfld.long 0x00 28. "  PC3    ,PLL configuration bit 3 (read-only)" "0,1"
bitfld.long 0x00 27. "  PC4    ,PLL configuration bit 4 (read-only)" "0,1"
bitfld.long 0x00 26. "  PC5    ,PLL configuration bit 5 (read-only)" "0,1"
bitfld.long 0x00 25. "  PC6    ,PLL configuration bit 6 (read-only)" "0,1"
TEXTLINE ""
group SPR:1011.++0
line.long 0x00 "HID2,Hardware Implementation Register 2"
bitfld.long 0x00 27.   "LET    ,True little-endian" "0,1"
bitfld.long 0x00 26. "  IFEB   ,Instruction fetch burst extension" "0,1"
bitfld.long 0x00 24. "  MESISTATE  ,MESI state enable" "0,1"
TEXTLINE "                  "
bitfld.long 0x00 23. "  IFEC   ,Instruction fetch cancel extension" "0,1"
bitfld.long 0x00 22. "  EBQS   ,Enable BIU queue sharing" "0,1"
bitfld.long 0x00 21. "  EBPX   ,Enable BIU pipeline extension" "0,1"
bitfld.long 0x00 20. "  ELRW   ,Enable weighted LRU" "0,1"
bitfld.long 0x00 19. "  NOKS   ,NOKS" "0,1"
bitfld.long 0x00 18. "  HBE    ,High BAT enable" "0,1"
TEXTLINE "                  "
bitfld.long 0x00 13.--15. "  IWLCK  ,Instruction cache way-lock" "off,way0,0-1,0-2,0-3,0-4,0-5,0-6"
bitfld.long 0x00 12. "         ICWP   ,Instruction cache way protection" "0,1"
bitfld.long 0x00 05.--07. "  DWLCK  ,Data cache way-lock" "off,way0,0-1,0-2,0-3,0-4,0-5,0-6"
tree.end
tree "Software Table Search Registers"
group SPR:976.++0
line.long 0x00 "DMISS,Data TLB Miss Address Register"
group SPR:977.++0
line.long 0x00 "DCMP,Data TLB Compare Registers"
bitfld.long  0x00 27.              "V ,Valid bit. Set by the processor on a TLB miss interrupt" "0,1"
hexmask.long 0x00 07.--24. 1. 0. "  VSID ,Virtual segment ID. Copied from VSID field of corresponding segment register"
hexmask.byte 0x03 00.--05. 1. 0. "  API ,Virtual segment ID. Abbreviated page index. Copied from API of effective address"
group SPR:980.++0
line.long 0x00 "IMISS,Instruction TLB Miss Address Register"
group SPR:981.++0
line.long 0x00 "ICMP,Instruction TLB Compare Registers"
bitfld.long  0x00 27.              "V ,Valid bit. Set by the processor on a TLB miss interrupt" "0,1"
hexmask.long 0x00 07.--24. 1. 0. "  VSID ,Virtual segment ID. Copied from VSID field of corresponding segment register"
hexmask.byte 0x03 00.--05. 1. 0. "  API ,Virtual segment ID. Abbreviated page index. Copied from API of effective address"
group SPR:25.++0
line.long 0x00 "SDR1,SDR1 Register"
group SPR:978.++0
line.long 0x00 "HASH1,Primary Hash Address Register"
group SPR:979.++0
line.long 0x00 "HASH2,Secondary Hash Address Register"
group SPR:982.++0
line.long 0x00 "RPA,Required Physical Address Register"
hexmask.long 0x00 12.--31. 1. 0. "RPN  ,Physical page number from PTE"
bitfld.long  0x00 08.          "  R  ,Referenced bit from PTE" "0,1"
bitfld.long  0x00 07.          "  C  ,Changed bit from PTE" "0,1"
bitfld.long  0x00 06.          "  W  ,write-through" "0,1"
bitfld.long  0x00 05.          "  I  ,caching inhibited" "0,1"
bitfld.long  0x00 04.          "  M  ,memory coherency required" "0,1"
bitfld.long  0x00 03.          "  G  ,guarded" "0,1"
bitfld.long  0x00 00.--01.     "  PP ,Page protection bits from PTE" "00,01,10,11"
tree.end
sif (CPU()=="MPC8311")||(CPU()=="MPC8313")||(CPU()=="MPC8314")||(CPU()=="MPC8315")||(CPU()=="MPC8377")||(CPU()=="MPC8378")||(CPU()=="MPC8379")
tree "Performance Monitor Registers"
GROUP PMR:400.++0.
line.LONG 0x0 "PMGC0,Global Control Register 0"
bitfld.long  0.  31.               "FAC   ,Freeze all counters" "0,1"
bitfld.long  0.  30.             "  PMIE  ,Performance monitor interrupt enable" "0,1"
bitfld.long  0.  29.             "  FCECE ,Freeze counters on enabled condition or event" "0,1"
bitfld.long  0.  11.--12.        "  TBSEL ,Time base selector" "TB[63] (TBL[31]),TB[55] (TBL[23]),TB[51] (TBL[19]),TB[47] (TBL[15])"
bitfld.long  0.  08.             "  TBEE  ,Time base transition event exception enable" "0,1"
TEXTLINE ""
GROUP PMR:144.++0.
line.LONG 0x0 "PMLCa0,Local Control A Register 0"
bitfld.long  0.  31.               "FC    ,Freeze counter" "0,1"
bitfld.long  0.  30.             "  FCS   ,Freeze counter in supervisor state" "0,1"
bitfld.long  0.  29.             "  FCU   ,Freeze counter in user state" "0,1"
bitfld.long  0.  28.             "  FCM1  ,Freeze counter while mark = 1" "0,1"
bitfld.long  0.  27.             "  FCM0  ,Freeze counter while mark = 0" "0,1"
bitfld.long  0.  26.             "  CE    ,Condition enable" "0,1"
TEXTLINE "                  "  
bitfld.long  0.  16.--22.    "  EVENT ,Event selector" "Nothing,Processor cycles,Instructions completed,res(3),Instructions fetched,res(5),PM_EVENT transitions,PM_EVENT cycles,Branch instructions completed,Load completed,Store completed,res(11),Branches finished,Taken branches finished,res(14),Branches mispredicted (for anyreason),res(16),res(17),Cycles decode stalled,Cycles issue stalled,res(20),res(21),res(22),res(23),res(24),res(25),res(26),res(27),res(28),res(29),res(30),Cache-inhibited accesses translated,res(32),res(33),res(34),res(35),res(36),res(37),res(38),res(39),res(40),res(41),res(42),res(43),res(44),res(45),res(46),res(47),res(48),res(49),res(50),res(51),res(52),res(53),res(54),res(55),res(56),res(57),res(58),res(59),res(60),Number of instruction fetches that hit,MMU inside miss,res(63),res(64),res(65),res(66),BIU master requests,BIU master instruction-side requests,BIU master data-side requests,res(70),BIU master retries,res(72),res(73),Snoop pushes,res(75),res(76),res(77),res(78),res(79),res(80),res(81),PMC0 overflow,PMC1 overflow,PMC2 overflow,PMC3 overflow,Interrupts taken,External input interrupts taken,Critical input interrupts taken,System call and trap interrupts,Transitions of TBL bit selected by PMGC0[TBSEL],res(91),res(92),res(93),res(94),res(95),i-cache hits,Instructions folded,res(98),res(99),Stalls due to completion buffer,res(101),res(102),res(103),Stalled completion,Stalles due to load,Stalles due to floating-point,res(107),Load and stores to cacheable space,Loads and stores that hit in cache,res(110),res(111),res(112),res(113),res(114),res(115),res(16),res(117),res(118),res(119),res(120),res(121),res(122),res(123),res(124),res(125),res(126),res(127)"
GROUP PMR:16.++0.
line.LONG 0x0 "PMC0,Performance Monitor Counter Register 0"
bitfld.long  0.  31.               "OV    ,Overflow" "0,1"
hexmask.long 0.  00.--30.   "  CNT   ,Counter Value"
TEXTLINE ""
GROUP PMR:145.++0.
line.LONG 0x0 "PMLCa1,Local Control A Register 1"
bitfld.long  0.  31.               "FC    ,Freeze counter" "0,1"
bitfld.long  0.  30.             "  FCS   ,Freeze counter in supervisor state" "0,1"
bitfld.long  0.  29.             "  FCU   ,Freeze counter in user state" "0,1"
bitfld.long  0.  28.             "  FCM1  ,Freeze counter while mark = 1" "0,1"
bitfld.long  0.  27.             "  FCM0  ,Freeze counter while mark = 0" "0,1"
bitfld.long  0.  26.             "  CE    ,Condition enable" "0,1"
TEXTLINE "                  "  
bitfld.long  0.  16.--22.    "  EVENT ,Event selector" "Nothing,Processor cycles,Instructions completed,res(3),Instructions fetched,res(5),PM_EVENT transitions,PM_EVENT cycles,Branch instructions completed,Load completed,Store completed,res(11),Branches finished,Taken branches finished,res(14),Branches mispredicted (for anyreason),res(16),res(17),Cycles decode stalled,Cycles issue stalled,res(20),res(21),res(22),res(23),res(24),res(25),res(26),res(27),res(28),res(29),res(30),Cache-inhibited accesses translated,res(32),res(33),res(34),res(35),res(36),res(37),res(38),res(39),res(40),res(41),res(42),res(43),res(44),res(45),res(46),res(47),res(48),res(49),res(50),res(51),res(52),res(53),res(54),res(55),res(56),res(57),res(58),res(59),res(60),Number of instruction fetches that hit,MMU inside miss,res(63),res(64),res(65),res(66),BIU master requests,BIU master instruction-side requests,BIU master data-side requests,res(70),BIU master retries,res(72),res(73),Snoop pushes,res(75),res(76),res(77),res(78),res(79),res(80),res(81),PMC0 overflow,PMC1 overflow,PMC2 overflow,PMC3 overflow,Interrupts taken,External input interrupts taken,Critical input interrupts taken,System call and trap interrupts,Transitions of TBL bit selected by PMGC0[TBSEL],res(91),res(92),res(93),res(94),res(95),i-cache hits,Instructions folded,res(98),res(99),Stalls due to completion buffer,res(101),res(102),res(103),Stalled completion,Stalles due to load,Stalles due to floating-point,res(107),Load and stores to cacheable space,Loads and stores that hit in cache,res(110),res(111),res(112),res(113),res(114),res(115),res(16),res(117),res(118),res(119),res(120),res(121),res(122),res(123),res(124),res(125),res(126),res(127)"
GROUP PMR:17.++0.
line.LONG 0x0 "PMC1,Performance Monitor Counter Register 1"
bitfld.long  0.  31.               "OV    ,Overflow" "0,1"
hexmask.long 0.  00.--30.   "  CNT   ,Counter Value"
TEXTLINE ""
GROUP PMR:146.++0.
line.LONG 0x0 "PMLCa2,Local Control A Register 2"
bitfld.long  0.  31.               "FC    ,Freeze counter" "0,1"
bitfld.long  0.  30.             "  FCS   ,Freeze counter in supervisor state" "0,1"
bitfld.long  0.  29.             "  FCU   ,Freeze counter in user state" "0,1"
bitfld.long  0.  28.             "  FCM1  ,Freeze counter while mark = 1" "0,1"
bitfld.long  0.  27.             "  FCM0  ,Freeze counter while mark = 0" "0,1"
bitfld.long  0.  26.             "  CE    ,Condition enable" "0,1"
TEXTLINE "                  "  
bitfld.long  0.  16.--22.    "  EVENT ,Event selector" "Nothing,Processor cycles,Instructions completed,res(3),Instructions fetched,res(5),PM_EVENT transitions,PM_EVENT cycles,Branch instructions completed,Load completed,Store completed,res(11),Branches finished,Taken branches finished,res(14),Branches mispredicted (for anyreason),res(16),res(17),Cycles decode stalled,Cycles issue stalled,res(20),res(21),res(22),res(23),res(24),res(25),res(26),res(27),res(28),res(29),res(30),Cache-inhibited accesses translated,res(32),res(33),res(34),res(35),res(36),res(37),res(38),res(39),res(40),res(41),res(42),res(43),res(44),res(45),res(46),res(47),res(48),res(49),res(50),res(51),res(52),res(53),res(54),res(55),res(56),res(57),res(58),res(59),res(60),Number of instruction fetches that hit,MMU inside miss,res(63),res(64),res(65),res(66),BIU master requests,BIU master instruction-side requests,BIU master data-side requests,res(70),BIU master retries,res(72),res(73),Snoop pushes,res(75),res(76),res(77),res(78),res(79),res(80),res(81),PMC0 overflow,PMC1 overflow,PMC2 overflow,PMC3 overflow,Interrupts taken,External input interrupts taken,Critical input interrupts taken,System call and trap interrupts,Transitions of TBL bit selected by PMGC0[TBSEL],res(91),res(92),res(93),res(94),res(95),i-cache hits,Instructions folded,res(98),res(99),Stalls due to completion buffer,res(101),res(102),res(103),Stalled completion,Stalles due to load,Stalles due to floating-point,res(107),Load and stores to cacheable space,Loads and stores that hit in cache,res(110),res(111),res(112),res(113),res(114),res(115),res(16),res(117),res(118),res(119),res(120),res(121),res(122),res(123),res(124),res(125),res(126),res(127)"
GROUP PMR:18.++0.
line.LONG 0x0 "PMC2,Performance Monitor Counter Register 2"
bitfld.long  0.  31.               "OV    ,Overflow" "0,1"
hexmask.long 0.  00.--30.    "  CNT   ,Counter Value"
TEXTLINE ""
GROUP PMR:147.++0.
line.LONG 0x0 "PMLCa3,Local Control A Register 3"
bitfld.long  0.  31.               "FC    ,Freeze counter" "0,1"
bitfld.long  0.  30.             "  FCS   ,Freeze counter in supervisor state" "0,1"
bitfld.long  0.  29.             "  FCU   ,Freeze counter in user state" "0,1"
bitfld.long  0.  28.             "  FCM1  ,Freeze counter while mark = 1" "0,1"
bitfld.long  0.  27.             "  FCM0  ,Freeze counter while mark = 0" "0,1"
bitfld.long  0.  26.             "  CE    ,Condition enable" "0,1"
TEXTLINE "                  "  
bitfld.long  0.  16.--22.   "  EVENT ,Event selector" "Nothing,Processor cycles,Instructions completed,res(3),Instructions fetched,res(5),PM_EVENT transitions,PM_EVENT cycles,Branch instructions completed,Load completed,Store completed,res(11),Branches finished,Taken branches finished,res(14),Branches mispredicted (for anyreason),res(16),res(17),Cycles decode stalled,Cycles issue stalled,res(20),res(21),res(22),res(23),res(24),res(25),res(26),res(27),res(28),res(29),res(30),Cache-inhibited accesses translated,res(32),res(33),res(34),res(35),res(36),res(37),res(38),res(39),res(40),res(41),res(42),res(43),res(44),res(45),res(46),res(47),res(48),res(49),res(50),res(51),res(52),res(53),res(54),res(55),res(56),res(57),res(58),res(59),res(60),Number of instruction fetches that hit,MMU inside miss,res(63),res(64),res(65),res(66),BIU master requests,BIU master instruction-side requests,BIU master data-side requests,res(70),BIU master retries,res(72),res(73),Snoop pushes,res(75),res(76),res(77),res(78),res(79),res(80),res(81),PMC0 overflow,PMC1 overflow,PMC2 overflow,PMC3 overflow,Interrupts taken,External input interrupts taken,Critical input interrupts taken,System call and trap interrupts,Transitions of TBL bit selected by PMGC0[TBSEL],res(91),res(92),res(93),res(94),res(95),i-cache hits,Instructions folded,res(98),res(99),Stalls due to completion buffer,res(101),res(102),res(103),Stalled completion,Stalles due to load,Stalles due to floating-point,res(107),Load and stores to cacheable space,Loads and stores that hit in cache,res(110),res(111),res(112),res(113),res(114),res(115),res(16),res(117),res(118),res(119),res(120),res(121),res(122),res(123),res(124),res(125),res(126),res(127)"
GROUP PMR:19.++0.
line.LONG 0x0 "PMC3,Performance Monitor Counter Register 3"
bitfld.long  0.  31.               "OV    ,Overflow" "0,1"
hexmask.long 0.  00.--30.   "  CNT   ,Counter Value"
tree.end
endif
tree "Debug Registers"
group SPR:1010.++0
line.long 0x00 "IABR,Instruction Address Breakpoint Register (used by debugger)"
hexmask.long 0x00 02.--31. 0x4    " CEA  ,Compare effective address."
bitfld.long  0x00 01.          "  BE   ,Breakpoint enable" "0,1"
group SPR:1018.++0
line.long 0x00 "IABR2,Instruction Address Breakpoint Register 2 (used by debugger)"
hexmask.long 0x00 02.--31. 0x4    " CEA  ,Compare effective address."
bitfld.long  0x00 01.          "  BE   ,Breakpoint enable" "0,1"
TEXTLINE ""
group SPR:1013.++0
line.long 0x00 "DABR,Data Address Breakpoint Register (used by debugger)"
hexmask.long 0x00 03.--31. 0x8    " CEA  ,Compare effective address."
bitfld.long  0x00 02.          "  BT   ,Breakpoint translation enable" "0,1"
bitfld.long  0x00 01.          "  WBE  ,Data write enable" "0,1"
bitfld.long  0x00 00.          "  RBE  ,Data read enable" "0,1"
group SPR:317.++0
line.long 0x00 "DABR2,Data Address Breakpoint Register 2 (used by debugger)"
hexmask.long 0x00 03.--31. 0x8    " CEA  ,Compare effective address."
bitfld.long  0x00 02.          "  BT   ,Breakpoint translation enable" "0,1"
bitfld.long  0x00 01.          "  WBE  ,Data write enable" "0,1"
bitfld.long  0x00 00.          "  RBE  ,Data read enable" "0,1"
TEXTLINE ""
group SPR:309.++0
line.long 0x00 "IBCR,Instruction Address Breakpoint Control Register (used by debugger)"
bitfld.long  0x00 22.--23.           " CMP   ,IABR breakpoint compare type"  "IEA==IABR ,res,IEA<IABR ,IEA>=IABR "
bitfld.long  0x00 20.--21.          "  CMP2  ,IABR2 breakpoint compare type" "IEA==IABR2,res,IEA<IABR2,IEA>=IABR2"
bitfld.long  0x00 17.               "  SIG_TYPE  ,Combinational signal type" "OR,AND"
bitfld.long  0x00 16.               "  DNS  ,Do not signal" "0,1"
group SPR:310.++0
line.long 0x00 "DBCR,Data Address Breakpoint Control Register (used by debugger)"
bitfld.long  0x00 22.--23.           " CMP   ,DABR breakpoint compare type"  "DEA==DABR ,res,DEA<DABR ,DEA>=DABR "
bitfld.long  0x00 20.--21.          "  CMP2  ,DABR2 breakpoint compare type" "DEA==DABR2,res,DEA<DABR2,DEA>=DABR2"
bitfld.long  0x00 17.               "  SIG_TYPE  ,Combinational signal type" "OR,AND"
bitfld.long  0x00 16.               "  DNS  ,Do not signal" "0,1"
tree.end

tree.end
base anc:iobase()
endian.be
tree "Reset, Clocking and Initialization"
tree "Reset Configuration Registers"
width 7.
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315"))
rgroup.long 0x00900++0x03
line.long 0x00 "RCWLR,Reset Configuration Word Low Register"
bitfld.long 0x00 31. " LBCM    ,Local bus memory controller clock mode" "1:1,Reserved"
bitfld.long 0x00 30. "            DDRCM   ,DDR SDRAM memory controller clock mode" "Reserved,2:1"
textline "                "
bitfld.long 0x00 24.--27. " SPMF    ,System PLL Multiplication Factor" "Reserved,Reserved,2:1,3:1,4:1,5:1,6:1,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
hexmask.long.byte 0x00 16.--22. 1. "            COREPLL ,Core PLL Configuration"
elif ((CPU()=="MPC8314")||(CPU()=="MPC8315"))
rgroup.long 0x00900++0x03
line.long 0x00 "RCWLR,Reset Configuration Word Low Register"
bitfld.long 0x00 31. " LBIUCM  ,Local bus memory controller clock mode" "Low,High"
bitfld.long 0x00 30. "                DDRCM   ,DDR SDRAM memory controller clock mode" "1:1,2:1"
textline "                "
bitfld.long 0x00 28.--29. " SVCOD   ,SYSTEM PLL VCO division" "2,4,8,1"
bitfld.long 0x00 24.--27. "                   SPMF    ,System PLL Multiplication Factor" "Reserved,Reserved,2:1,3:1,4:1,5:1,6:1,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
textline "                "
hexmask.long.byte 0x00 16.--22. 1. " COREPLL ,Core PLL Configuration"
endif
rgroup.long (0x00900+0x4)++0x03    
line.long 0x00 "RCWHR,Reset Configuration Word High Register"
bitfld.long 0x00 31. " PCIHOST ,PCI Host Mode" "Agent device,Host processor"
bitfld.long 0x00 29. "      PCIARB  ,PCI Internal Arbiter mode" "-,Enabled"
textline "                "
bitfld.long 0x00 27. " COREDIS ,Core disable mode" "Normal,Boot holdoff"
bitfld.long 0x00 26. "        BMS     ,Boot memory space" "0x00000000+8MB,0xFF800000+8MB"
textline "                "
bitfld.long 0x00 24.--25. " BOOTSEQ ,Boot Sequencer configuration" "-,Normal I2C,Extended I2C,Reserved"
bitfld.long 0x00 23. "        SWEN    ,Software watchdog enable" "-,Enabled"
textline "                "
bitfld.long 0x00 20.--22. " ROMLOC  ,Boot ROM interface location" "DDR SDRAM,PCI,Reserved,Reserved,Reserved,Local GPCM 8-bit,Local GPCM 16-bit,Reserved"
bitfld.long 0x00 18.--19. "   RLEXT   ,Boot ROM location extension" "Legacy,NAND Flash,Reserved,Reserved"
textline "                "
bitfld.long 0x00 13.--15. " TSEC1M  ,TSEC1 mode" "MII,RMII,Reserved,RGMII,Reserved,RTBI,SGMII,Reserved"
bitfld.long 0x00 10.--12. "            TSEC2M  ,TSEC2 mode" "MII,RMII,Reserved,RGMII,Reserved,RTBI,SGMII,Reserved"
textline "                "
bitfld.long 0x00 3. " TLE     ,True Litle Endian" "Big,True little"
bitfld.long 0x00 2. "         LALE    ,Local bus LALE signal timing" "Normal,Negated"
group.long (0x00900+0x10)++0x3
line.long 0x00 "RSR,Reset Status Register"
bitfld.long 0x00 28.--31. " RSTSRC  ,Reset source" "NOR Flash,NAND Flash (small),Reserved,Reserved,I2C EEPROM,NAND Flash (large),Reserved,Reserved,Hard coded #0,Hard coded #1,Hard coded #2,Hard coded #3,Hard coded #4,Reserved,Reserved,Reserved"
eventfld.long 0x00 16. "  BSF     ,Boot sequencer fail" "-,Failed"
textline "                "
eventfld.long 0x00 12. " SWHR    ,Software hard reset" "-,Reset"
eventfld.long 0x00 8. "               JSRS    ,JTAG soft reset status" "-,Reset"
textline "                "
eventfld.long 0x00 4. " CSHR    ,Check stop reset status" "-,Reset"
eventfld.long 0x00 3. "               SWRS    ,Software watchdog reset status" "-,Reset"
textline "                "
eventfld.long 0x00 2. " BMRS    ,Bus monitor reset status" "-,Reset"
eventfld.long 0x00 0. "               HRS     ,Hard reset status" "-,Reset"
group.long (0x00900+0x14)++0x0f
line.long 0x00 "RMR,Reset Mode Register"
bitfld.long 0x00 0. " CSRE    ,Checkstop reset enable" "-,Enabled"
line.long 0x04 "RPR,Reset Protection Register"
line.long 0x08 "RCR,Reset Control Register"
bitfld.long 0x08 1. " SWHR    ,Software hard reset" "-,Reset"
line.long 0x0c "RCER,Reset Control Enable Register"
eventfld.long 0x0c 0. " CRE     ,Control register enable" "-,Enabled"
width 0xb
tree.end
tree "Clock Configuration Registers"
width 6.
rgroup.long 0x00a00++0x03
line.long 0x00 "SPMR,System PLL Mode Register"
bitfld.long 0x00 31. " LBIUCM          ,Local bus memory controller clock mode" "1:1,Reserved"
bitfld.long 0x00 30. "          DDRCM           ,DDR SDRAM memory controller clock mode" "Reserved,2:1"
bitfld.long 0x00 24.--27. "  SPMF    ,System PLL Multiplication Factor" "Reserved,Reserved,2:1,3:1,4:1,5:1,6:1,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
textline "               "
bitfld.long 0x00 23. " CKID            ,CLKIN division factor" "1,2"
hexmask.long.byte 0x00 16.--22. 1. "                 COREPLL         ,Core PLL configuration"
group.long (0x00a00+0x04)++0x03
line.long 0x00 "OCCR,Output Clock Control Register"
bitfld.long 0x00 31. " PCICOE0         ,PCI_CLK_OUT[0] enable" "-,Enabled"
bitfld.long 0x00 30. "           PCICOE1         ,PCI_CLK_OUT[1] enable" "-,Enabled"
bitfld.long 0x00 29. "   PCICOE2 ,PCI_CLK_OUT[2] enable" "-,Enabled"
textline "               "
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315"))
bitfld.long 0x00 15. " MCKOE/MCK_BOE   ,MCK pin clock out enable" "-,Enabled"
textline "               "    
elif ((CPU()=="MPC8314")||(CPU()=="MPC8315"))   
bitfld.long 0x00 15. " MCK0OE/MCK_B0OE ,MCK[0] pin clock out enable" "-,Enabled"
bitfld.long 0x00 14. "           MCK1OE/MCK_B1OE ,MCK[1] pin clock out enable" "-,Enabled"
textline "               "
endif   
bitfld.long 0x00 7. " LCLK0OE         ,LCLK[0] pin clock out enable" "-,Enabled"
bitfld.long 0x00 6. "           LCLK1OE         ,LCLK[1] pin clock out enable" "-,Enabled"
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315"))    
group.long (0x00a00+0x8)++0x03 
line.long 0x00 "SCCR,System Clock Control Register"
bitfld.long 0x00 30.--31. " TSECCM          ,TSEC1 and TSEC2 clock mode" "Reserved,1:1,1:2,1:3"
bitfld.long 0x00 29. "          TSEC1ON         ,TSEC1 cock switch off" "-,Enabled"
textline "               "
bitfld.long 0x00 28. " TSEC2ON         ,TSEC2 clock switch off" "-,Enabled"
bitfld.long 0x00 24.--25. "           ENCCM           ,Encryption Core Clock Mode" "-,1:1,1:2,1:3"
textline "               "
bitfld.long 0x00 22.--23. " USBMPHCM        ,USB MPH Clock Mode" "-,1:1,1:2,1:3"
bitfld.long 0x00 20.--21. "               USBDRCM         ,USB DR Clock Mode" "-,1:1,1:2,1:3"
textline "               "
bitfld.long 0x00 16. " PCICM           ,PCI Clock Mode" "Complex disabled,Complex enabled"  
elif ((CPU()=="MPC8314")||(CPU()=="MPC8315"))
group.long (0x00a00+0x8)++0x03 
line.long 0x00 "SCCR,System Clock Control Register"
bitfld.long 0x00 30.--31. " TSEC1CM         ,TSEC1 clock mode" "-,1:1,1:2,1:3"      
bitfld.long 0x00 28.--29. "               TSEC2CM         ,TSEC2 clock mode" "-,1:1,1:2,1:3"
textline "               "
bitfld.long 0x00 24.--25. " ENCCM           ,Encryption Core Clock Mode" "-,1:1,1:2,1:3"
bitfld.long 0x00 22.--23. "               USBDRCM         ,USB DR Clock Mode" "-,1:1,1:2,1:3"
textline "               "
bitfld.long 0x00 20.--21. " PCIEXP1CM       ,PCIEXP1 Clock Mode" "-,Enabled,?..."
bitfld.long 0x00 18.--19. "           PCIEXP2CM       ,PCIEXP2 Clock Mode" "-,Enabled,?..."   
textline "               "
bitfld.long 0x00 16. " PCICM           ,PCI Clock Mode" "Complex disabled,Complex enabled"
bitfld.long 0x00 12.--13. "  SATA1CM         ,SATA1 Clock Mode" "-,1:1,1:2,1:3"
textline "               "
bitfld.long 0x00 10.--11. " SATA2CM         ,SATA2 Clock Mode" "-,1:1,1:2,1:3"
bitfld.long 0x00 4.--5. "               TDMCM           ,TDM Clock Mode" "-,1:1,1:2,1:3"  
endif
width 0xb
tree.end
tree.end
tree "System Configuration"
tree "Local Access Registers"
width 15.
group.long 0x00000++0x03
line.long 0x00 "IMMRBAR,Internal Memory Map Registers Base Address Register"
sif (cpu()=="MPC8306"||cpu()=="MPC8306S"||cpu()=="MPC8309")
hexmask.long.word 0x00 21.--31. 0x20 " BASE_ADDR ,11 most-significant address bits of the base of the 2 MByte internal memory window"
else
hexmask.long.word 0x00 20.--31. 0x20 " BASE_ADDR ,12 most-significant address bits of the base of the 1 MByte internal memory window"
endif
group.long (0x00000+0x08)++0x03
line.long 0x00 "ALTCBAR,Alternate Configuration Base Address Register"
sif (cpu()=="MPC8306"||cpu()=="MPC8306S"||cpu()=="MPC8309")
hexmask.long.word 0x00 21.--31. 0x20 " BASE_ADDR ,11 most significant address bits of an alternate base address used for boot sequencer configuration accesses"
else
hexmask.long.word 0x00 20.--31. 0x20 " BASE_ADDR ,12 most significant address bits of an alternate base address used for boot sequencer configuration accesses"
endif
group.long (0x00000+0x20)++0x1f
line.long 0x00 "LBLAWBAR0,LBIU Local Access Window 0 Base Address Register"
hexmask.long.tbyte 0x00 12.--31. 0x1000 " BASE_ADDR ,20 most-significant address bits of the base of local access window 0"
line.long 0x04 "LBLAWAR0,LBIU Local Access Window 0 Attributes Register"
bitfld.long 0x04 31. " EN        ,The local bus local access window 0 enable" "Disabled,Enabled"
bitfld.long 0x04 0.--5. "  SIZE  ,Size of the window from the starting address" ",,,,,,,,,,,4 KBytes,8 KBytes,16 KBytes,32 KBytes,64 KBytes,128 KBytes,256 KBytes,512 KBytes,1 MByte,2 MBytes,4 MBytes,8 MBytes,16 MBytes,32 MBytes,64 MBytes,128 MBytes,256 MBytes,512 MBytes,1 GByte,2 GBytes,?..."
line.long 0x08 "LBLAWBAR1,LBIU Local Access Window 1 Base Address Register"
hexmask.long.tbyte 0x08 12.--31. 0x1000 " BASE_ADDR ,20 most-significant address bits of the base of local access window 1"
line.long 0x0c "LBLAWAR1,LBIU Local Access Window 1 Attributes Register"
bitfld.long 0x0c 31. " EN        ,The local bus local access window 1 enable" "Disabled,Enabled"
bitfld.long 0x0c 0.--5. "  SIZE  ,Size of the window from the starting address" ",,,,,,,,,,,4 KBytes,8 KBytes,16 KBytes,32 KBytes,64 KBytes,128 KBytes,256 KBytes,512 KBytes,1 MByte,2 MBytes,4 MBytes,8 MBytes,16 MBytes,32 MBytes,64 MBytes,128 MBytes,256 MBytes,512 MBytes,1 GByte,2 GBytes,?..."
line.long 0x10 "LBLAWBAR2,LBIU Local Access Window 2 Base Address Register"
hexmask.long.tbyte 0x10 12.--31. 0x1000 " BASE_ADDR ,20 most-significant address bits of the base of local access window 2"
line.long 0x14 "LBLAWAR2,LBIU Local Access Window 2 Attributes Register"
bitfld.long 0x14 31. " EN        ,The local bus local access window 2 enable" "Disabled,Enabled"
bitfld.long 0x14 0.--5. "  SIZE  ,Size of the window from the starting address" ",,,,,,,,,,,4 KBytes,8 KBytes,16 KBytes,32 KBytes,64 KBytes,128 KBytes,256 KBytes,512 KBytes,1 MByte,2 MBytes,4 MBytes,8 MBytes,16 MBytes,32 MBytes,64 MBytes,128 MBytes,256 MBytes,512 MBytes,1 GByte,2 GBytes,?..."
line.long 0x18 "LBLAWBAR3,LBIU Local Access Window 3 Base Address Register"
hexmask.long.tbyte 0x18 12.--31. 0x1000 " BASE_ADDR ,20 most-significant address bits of the base of local access window 3"
line.long 0x1c "LBLAWAR3,LBIU Local Access Window 3 Attributes Register"
bitfld.long 0x1c 31. " EN        ,The local bus local access window 3 enable" "Disabled,Enabled"
bitfld.long 0x1c 0.--5. "  SIZE  ,Size of the window from the starting address" ",,,,,,,,,,,4 KBytes,8 KBytes,16 KBytes,32 KBytes,64 KBytes,128 KBytes,256 KBytes,512 KBytes,1 MByte,2 MBytes,4 MBytes,8 MBytes,16 MBytes,32 MBytes,64 MBytes,128 MBytes,256 MBytes,512 MBytes,1 GByte,2 GBytes,?..."
sif (cpu()!="MPC8308"&&cpu()!="MPC8306"&&cpu()!="MPC8306S")
group.long (0x00000+0x60)++0x0f
line.long 0x00 "PCILAWBAR0,PCI Local Access Window 0 Base Address Register"
hexmask.long.tbyte 0x00 12.--31. 0x1000 " BASE_ADDR ,20 most-significant address bits of the base of local access window 0"
line.long 0x04 "PCILAWAR0,PCI Local Access Window 0 Attributes Register"
bitfld.long 0x04 31. " EN        ,The PCI local access window 0 enable" "Disabled,Enabled"
bitfld.long 0x04 0.--5. "  SIZE  ,Size of the window from the starting address" ",,,,,,,,,,,4 KBytes,8 KBytes,16 KBytes,32 KBytes,64 KBytes,128 KBytes,256 KBytes,512 KBytes,1 MByte,2 MBytes,4 MBytes,8 MBytes,16 MBytes,32 MBytes,64 MBytes,128 MBytes,256 MBytes,512 MBytes,1 GByte,2 GBytes,?..."
line.long 0x08 "PCILAWBAR1,PCI Local Access Window 1 Base Address Register"
hexmask.long.tbyte 0x08 12.--31. 0x1000 " BASE_ADDR ,20 most-significant address bits of the base of local access window 1"
line.long 0x0c "PCILAWAR1,PCI Local Access Window 1 Attributes Register"
bitfld.long 0x0c 31. " EN        ,The PCI local access window 1 enable" "Disabled,Enabled"
bitfld.long 0x0c 0.--5. "  SIZE  ,Size of the window from the starting address" ",,,,,,,,,,,4 KBytes,8 KBytes,16 KBytes,32 KBytes,64 KBytes,128 KBytes,256 KBytes,512 KBytes,1 MByte,2 MBytes,4 MBytes,8 MBytes,16 MBytes,32 MBytes,64 MBytes,128 MBytes,256 MBytes,512 MBytes,1 GByte,2 GBytes,erved,?..."
endif
sif ((CPU()=="MPC8314")||(CPU()=="MPC8315")||cpu()=="MPC8308")
group.long (0x00000+0x80)++0x07
line.long 0x00 "PCIEXP1LAWBAR,PCI Express 1 Local Access Window Base Address Register"
hexmask.long.tbyte 0x00 12.--31. 0x1000 " BASE_ADDR ,20 most-significant address bits of the base of local access window"
line.long 0x04 "PCIEXP1LAWAR,PCI Express 1 Local Access Window Attributes Register"
bitfld.long 0x04 31. " EN        ,The PCI Express 1 local access window enable" "Disabled,Enabled"
bitfld.long 0x04 0.--5. "  SIZE  ,Size of the window from the starting address" ",,,,,,,,,,,4 KBytes,8 KBytes,16 KBytes,32 KBytes,64 KBytes,128 KBytes,256 KBytes,512 KBytes,1 MByte,2 MBytes,4 MBytes,8 MBytes,16 MBytes,32 MBytes,64 MBytes,128 MBytes,256 MBytes,512 MBytes,1 GByte,2 GBytes,?..."
endif
sif ((CPU()=="MPC8314")||(CPU()=="MPC8315"))
group.long (0x00000+0x88)++0x07
line.long 0x00 "PCIEXP2LAWBAR,PCI Express 2 Local Access Window Base Address Register"
hexmask.long.tbyte 0x00 12.--31. 0x1000 " BASE_ADDR ,20 most-significant address bits of the base of local access window"
line.long 0x04 "PCIEXP2LAWAR,PCI Express 2 Local Access Window Attributes Register"
bitfld.long 0x04 31. " EN        ,The PCI Express 2 local access window enable" "Disabled,Enabled"
bitfld.long 0x04 0.--5. "  SIZE  ,Size of the window from the starting address" ",,,,,,,,,,,4 KBytes,8 KBytes,16 KBytes,32 KBytes,64 KBytes,128 KBytes,256 KBytes,512 KBytes,1 MByte,2 MBytes,4 MBytes,8 MBytes,16 MBytes,32 MBytes,64 MBytes,128 MBytes,256 MBytes,512 MBytes,1 GByte,2 GBytes,?..."
endif
group.long (0x00000+0xa0)++0x0f
line.long 0x00 "DDRLAWBAR0,DDR Local Access Window 0 Base Address Register"
hexmask.long.tbyte 0x00 12.--31. 0x1000 " BASE_ADDR ,20 most-significant address bits of the base of local access window 0"
line.long 0x04 "DDRLAWAR0,DDR Local Access Window 0 Attributes Register"
bitfld.long 0x04 31. " EN        ,The DDR local access window 0 enable" "Disabled,Enabled"
bitfld.long 0x04 0.--5. "  SIZE  ,Size of the window from the starting address" ",,,,,,,,,,,4 KBytes,8 KBytes,16 KBytes,32 KBytes,64 KBytes,128 KBytes,256 KBytes,512 KBytes,1 MByte,2 MBytes,4 MBytes,8 MBytes,16 MBytes,32 MBytes,64 MBytes,128 MBytes,256 MBytes,512 MBytes,1 GByte,2 GBytes,ed,?..."
line.long 0x08 "DDRLAWBAR1,DDR Local Access Window 1 Base Address Register"
hexmask.long.tbyte 0x08 12.--31. 0x1000 " BASE_ADDR ,20 most-significant address bits of the base of local access window 1"
line.long 0x0c "DDRLAWAR1,DDR Local Access Window 1 Attributes Register"
bitfld.long 0x0c 31. " EN        ,The DDR local access window 1 enable" "Disabled,Enabled"
bitfld.long 0x0c 0.--5. "  SIZE  ,Size of the window from the starting address" ",,,,,,,,,,,4 KBytes,8 KBytes,16 KBytes,32 KBytes,64 KBytes,128 KBytes,256 KBytes,512 KBytes,1 MByte,2 MBytes,4 MBytes,8 MBytes,16 MBytes,32 MBytes,64 MBytes,128 MBytes,256 MBytes,512 MBytes,1 GByte,2 GBytes,?..."
width 0xb
tree.end
tree "System Configuration Registers"
width 8.
group.long (0x00000+0x0100)++0x0007
line.long 0x00 "SGPRL,System General Purpose Register Low"
line.long 0x04 "SGPRH,System General Purpose Register High"
rgroup.long (0x00000+0x0108)++0x0003
line.long 0x00 "SPRIDR,System Part and Revision ID Register"
hexmask.long.word 0x00 16.--31. 1. " PARTID         ,Part Identification"
hexmask.long.word 0x00 0.--15. 1. "                 REVID         ,Revision Identification"
group.long (0x00000+0x0110)++0x000b
line.long 0x00 "SPCR,System Priority Configuration Register"
bitfld.long 0x00 28. " PCIHPE         ,PCI Highest Priority Enable" "-,Enabled"
bitfld.long 0x00 24.--25. "              PCIPR         ,PCI bridge system bus request priority" "Level 0,Level 1,Level 2,Level 3"
textline "                 "
bitfld.long 0x00 23. " OPT            ,Optimize" "-,Enhancement"
bitfld.long 0x00 22. "          TBEN          ,E300 PowerPC core time base unit enable" "-,Enabled"
textline "                 "
bitfld.long 0x00 20.--21. " COREPR         ,E300 PowerPC core systems bus request priority" "Level 0,Level 1,Level 2,Level 3"
bitfld.long 0x00 12.--13. "              TSECDP        ,eTSEC data priority" "Level 0,Level 1,Level 2,Level 3"
textline "                 "
bitfld.long 0x00 10.--11. " TSECBDP        ,eTSEC buffer descriptor priority" "Level 0,Level 1,Level 2,Level 3"
bitfld.long 0x00 8.--9. "              TSECEP        ,eTSEC emergency priority" "Level 0,Level 1,Level 2,Level 3"
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315"))        
line.long 0x04 "SICRL,System I/O Configuration Register Low"
bitfld.long 0x04 28.--29. " LBC            ,Pin function" "Function 0,Function 1,Reserved,Function 3"
bitfld.long 0x04 26.--27. "           UART          ,Pin function" "Function 0,Function 1,Reserved,Function 3"
textline "                 "
bitfld.long 0x04 24.--25. " SPI_A          ,Pin function" "Function 0,Function 1,Function 2,Function 3"
bitfld.long 0x04 22.--23. "           SPI_B         ,Pin function" "Function 0,Function 1,Function 2,Function 3"
textline "                 "
bitfld.long 0x04 20.--21. " SPI_C          ,Pin function" "Function 0,Function 1,Reserved,Function 3"
bitfld.long 0x04 18.--19. "           SPI_D         ,Pin function" "Function 0,Reserved,Reserved,Function 3"
textline "                 "
bitfld.long 0x04 10.--11. " USBDR          ,Pin function" "Function 0,Function 1,Function 2,Reserved"
bitfld.long 0x04  2.--3.  "           ETSEC1_A      ,Pin function" "Function 0,Reserved,Function 2,Reserved"
textline "                 "
bitfld.long 0x04  0.--1.  " ETSEC2_A       ,Pin function" "Function 0,Reserved,Reserved,Function 3"
line.long 0x08 "SICRH,System I/O Configuration Register High"
bitfld.long 0x08 25. " INTR_A         ," "Function 0,Function 1"
bitfld.long 0x08 22.--23. "           INTR_B        ,Pin function" "Function 0,Function 1,Reserved,Function 3"
textline "                 "
bitfld.long 0x08 20.--21. " IIC            ,Pin function" "Function 0,Function 1,Reserved,Function 3"
bitfld.long 0x08 18.--19. "           ETSEC2_B      ,Pin function" "Function 0,Function 1,Reserved,Function 3"
textline "                 "
bitfld.long 0x08 16.--17. " ETSEC2_C       ,Pin function" "Function 0,Function 1,Reserved,Function 3"
bitfld.long 0x08 14.--15. "           ETSEC2_D      ,Pin function" "Function 0,Function 1,Function 2,Function 3"
textline "                 "
bitfld.long 0x08 12.--13. " ETSEC2_E       ,Pin function" "Function 0,Function 1,Reserved,Function 3"
bitfld.long 0x08 10.--11. "           ETSEC2_F      ,Pin function" "Function 0,Function 1,Reserved,Function 3"
textline "                 "
bitfld.long 0x08  8.--9.  " ETSEC2_G       ,Pin function" "Function 0,Function 1,Function 2,Function 3"
bitfld.long 0x08  7.      "           ETSEC1_B      ,Pin function" "Function 0,Function 1"
textline "                 "
bitfld.long 0x08  5.--6.  " ETSEC1_C       ,Pin function" "Function 0,Function 1,Function 2,Reserved"
bitfld.long 0x08 1. "           TSOBI1        ,TSEC1 Output Buffer Impedance" "40 Ohm / 3.3 V,40 Ohm / 2.5 V"
textline "                 "
bitfld.long 0x08 0. " TSOBI2         ,TSEC2 Output Buffer Impedance" "40 Ohm / 3.3 V,40 Ohm / 2.5 V"        
elif ((CPU()=="MPC8314")||(CPU()=="MPC8315"))    
line.long 0x04 "SICRL,System I/O Configuration Register Low"
bitfld.long 0x04 30.--31. " DMA_CH0        ,Pin function" "Function 0,Reserved,Reserved,Function 3"
bitfld.long 0x04 28.--29. "           SPI           ,Pin function" "Function 0,Reserved,Reserved,Function 3"
textline "                 "
bitfld.long 0x04 26.--27. " UART           ,Pin function" "Function 0,Function 1,Function 2,Reserved"
bitfld.long 0x04 25. "           IRQ_B4        ,Pin function" "Function 0,Reserved"
textline "                 "
bitfld.long 0x04 23.--24. " IRQ_B5         ,Pin function" "Function 0,Function 1,Reserved,Reserved"
bitfld.long 0x04 22. "           IRQ_B6_B7     ,Pin function" "Function 0,Function 1"
textline "                 "
bitfld.long 0x04 20.--21. " IIC1           ,Pin function" "Function 0,Function 1,Reserved,Reserved"
bitfld.long 0x04 18.--19. "           TDM           ,Pin function" "Function 0,Reserved,Reserved,Function 3"
textline "                 "
bitfld.long 0x04 16.--17. " TDM_Shared     ,Pin function" "Function 0,Reserved,Reserved,Function 3"
bitfld.long 0x04 14.--15. "           PCI_A         ,Pin function" "Function 0,Reserved,Reserved,Reserved"
textline "                 "
bitfld.long 0x04 12.--13. " ELBC_A         ,Pin function" "Function 0,Reserved,Reserved,Reserved"
bitfld.long 0x04 6.--7. "           ETSEC1_A      ,Pin function" "Function 0,Function 1,Reserved,Function 3"
textline "                 "
bitfld.long 0x04 4.--5. " ETSEC1_B       ,Pin function" "Function 0,Function 1,Function 2,Reserved"
bitfld.long 0x04 2.--3. "           ETSEC1_C      ,Pin function" "Function 0,Function 1,Function 2,Function 3"
textline "                 "
bitfld.long 0x04 0. " TSEXPOBI       ,TSEC output buffer impedance for col/rx_er/tx_clk/tx_er pads" "40 Ohm/3.3V,40 Ohm/2.5V"
line.long 0x08 "SICRH,SICRH,System I/O Configuration Register High"
bitfld.long 0x08 30.--31. " GPIO_0         ,Pin function" "Function 0,Function 1,Reserved,Reserved"
bitfld.long 0x08 28.--29. "           GPIO_1        ,Pin function" "Function 0,Function 1,Reserved,Reserved"
textline "                 "
bitfld.long 0x08 26.--27. " GPIO_2         ,Pin function" "Function 0,Function 1,Reserved,Reserved"
bitfld.long 0x08 24.--25. "           GPIO_3        ,Pin function" "Reserved,Function 1,Reserved,Reserved"
textline "                 "
bitfld.long 0x08 22.--23. " GPIO_4         ,Pin function" "Reserved,Function 1,Reserved,Reserved"
bitfld.long 0x08 20.--21. "           GPIO_5        ,Pin function" "Reserved,Function 1,Function 2,Reserved"
textline "                 "
bitfld.long 0x08 18.--19. " GPIO_6         ,Pin function" "Reserved,Function 1,Reserved,Reserved"
bitfld.long 0x08 16.--17. "           GPIO_7        ,Pin function" "Reserved,Function 1,Reserved,Reserved"
textline "                 "
bitfld.long 0x08 14.--15. " GPIO_8         ,Pin function" "Function 0,Function 1,Reserved,Reserved"
bitfld.long 0x08 12.--13. "           GPIO_9        ,Pin function" "Function 0,Function 1,Reserved,Reserved"
textline "                 "
bitfld.long 0x08 10.--11. " GPIO_10        ,Pin function" "Function 0,Function 1,Function 2,Reserved"
bitfld.long 0x08 8.--9. "           GPIO_11       ,Pin function" "Function 0,Function 1,Function 2,Reserved"
textline "                 "
bitfld.long 0x08 6.--7. " ETSEC2_A       ,Pin function" "Function 0,Reserved,Reserved,Reserved"
bitfld.long 0x08 4. "           TSCOMOBI      ,Input buffer configuration for gtx_clk125/mdc/mdio pads" "SIU level,PCI level"    
textline "                 "
bitfld.long 0x08 2. " GTX_CLK2_DELAY ,TSEC2_GTX_CLK I/O delay configuration" "No delay,1.0 delay"
textline "                 "
bitfld.long 0x08 1. " TSOBI1         ,TSEC1 output buffer impedance" "40 Ohm/3.3V,40 Ohm/2.5V"
bitfld.long 0x08 0. "          TSOBI2        ,TSEC2 output buffer impedance" "40 Ohm/3.3V,40 Ohm/2.5V"    
textline "                 "
bitfld.long 0x08 3. " GTX_CLK1_DELAY/USBDR_TX_DRXD2 ,TSEC1_GTX_CLK I/O delay configuration" "No delay,1.0 delay"            
group.long (0x00000+0x120)++0x07
line.long 0x00 "SIDCR0,System I/O Delay Configuration Register 0"
bitfld.long 0x00 30.--31. " LBC_DELAY_A    ,LAD[7:0]/LALE/M1LALE delay option" "No delay,0.5 delay,1.0 delay,2.0 delay"
bitfld.long 0x00 28.--29. "            LBC_DELAY_B   ,LAD[15:8] delay option" "No delay,0.5 delay,1.0 delay,2.0 delay"
textline "                 "
bitfld.long 0x00 24.--25. " LBC_DELAY_D    ,LA16 delay option" "No delay,0.5 delay,1.0 delay,2.0 delay"
bitfld.long 0x00 22.--23. "            LBC_DELAY_E   ,LA[25:17] delay option" "No delay,0.5 delay,1.0 delay,2.0 delay"
textline "                 "
bitfld.long 0x00 20.--21. " LBC_DELAY_F    ,LCS_B[3:0]/LWE_B[1:0] delay option" "No delay,0.5 delay,1.0 delay,2.0 delay"
bitfld.long 0x00 18.--19. "            LBC_DELAY_G   ,LBCTL/LGPL[5:0] delay option" "No delay,0.5 delay,1.0 delay,2.0 delay"
textline "                 "
bitfld.long 0x00 16.--17. " TSEC1_DELAY_A  ,TSEC1_COL/TSEC1_COL/USBDR_TXDRXD[1:0]/TSEC1_TX_EN/TSEC1_TX_ER/GPIO2[11] delay option" "No delay,0.5 delay,1.0 delay,2.0 delay"
bitfld.long 0x00 14.--15. "            TSEC1_DELAY_B ,TSEC1_MDC/TSEC1_MDIO/TSEC1_RX_CLK/TSEC1_RX_DV/USBDR_TXDRXD[4:3] delay option" "No delay,0.5 delay,1.0 delay,2.0 delay"
textline "                 "
bitfld.long 0x00 12.--13. " TSEC1_DELAY_C  ,TSEC1_TXD[3:0]/USBDR_STP delay option" "No delay,0.5 delay,1.0 delay,2.0 delay"
bitfld.long 0x00 10.--11. "            TSEC2_DELAY_D ,TSEC1_RX_D[3:1]/USBDR_TXDRXD[7:5] delay option" "No delay,0.5 delay,1.0 delay,2.0 delay"
textline "                 "
bitfld.long 0x00 8.--9. " TSEC2_DELAY_A  ,TSEC2_TX_ER/TSEC2_TX_EN delay option" "No delay,0.5 delay,1.0 delay,2.0 delay"
bitfld.long 0x00 6.--7. "            TSEC2_DELAY_B ,TSEC2_TXD[3:0] delay option" "No delay,0.5 delay,1.0 delay,2.0 delay"
textline "                 "
bitfld.long 0x00 4.--5. " USB_DELAY_A    ,USBDR_DRIVE_VBUS delay option" "No delay,0.5 delay,1.0 delay,2.0 delay"
bitfld.long 0x00 2.--3. "            USB_DELAY_B   ,USBDR_PCTL[1:0] delay option" "No delay,0.5 delay,1.0 delay,2.0 delay"
line.long 0x04 "SIDCR1,System I/O Delay Configuration Register 1"
bitfld.long 0x04 28.--29. " PCI1_DELAY_A   ,PCI1_AD[7:0] delay option" "No delay,0.5 delay,1.0 delay,2.0 delay"
bitfld.long 0x04 26.--27. "            PCI1_DELAY_B  ,PCI1_AD[15:8] delay option" "No delay,0.5 delay,1.0 delay,2.0 delay"
textline "                 "
bitfld.long 0x04 24.--25. " PCI1_DELAY_C   ,PCI1_AD[23:16] delay option" "No delay,0.5 delay,1.0 delay,2.0 delay"
bitfld.long 0x04 22.--23. "            PCI1_DELAY_D  ,PCI1_AD[31:24] delay option" "No delay,0.5 delay,1.0 delay,2.0 delay"
textline "                 "
bitfld.long 0x04 20.--21. " PCI1_DELAY_E   ,PCI1_C_BE_B[3:0]/PCI1_PAR delay option" "No delay,0.5 delay,1.0 delay,2.0 delay"
bitfld.long 0x04 18.--19. "            PCI1_DELAY_F  ,PCI1_FRAME/TRDY/IRDY/STOP/DEVSEL/SERR/PERR_B delay option" "No delay,0.5 delay,1.0 delay,2.0 delay"
textline "                 "
bitfld.long 0x04 16.--17. " PCI1_DELAY_G   ,PCI1_REQ_B[0]/PCI1_GNT_B[2:0]/CPCI_HS_LED/CPCI_HS_ENUM delay option" "No delay,0.5 delay,1.0 delay,2.0 delay"
bitfld.long 0x04 0.--1. "            SPI_DELAY_A   ,SPIMOSI/SPIMISO delay option" "No delay,0.5 delay,1.0 delay,2.0 delay"    
endif        
group.long (0x00000+0x128)++0x7
line.long 0x00 "DDRCDR,DDR Control Driver Register"
bitfld.long 0x00 30. " DSO_EN         ,DDR driver software override enable" "-,Enabled"
bitfld.long 0x00 26.--29. "              DSO_PZ        ,DDR driver software p-impedance override" "Highest,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Much higher than nominal,Reserved,Reserved,Reserved,Higher than nominal,Reserved,Nominal,Lower than nominal"
textline "                 "
bitfld.long 0x00 22.--25. " DSO_NZ         ,DDR driver software n-impedance override" "Highest,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Much higher than nominal,Reserved,Reserved,Reserved,Higher than nominal,Reserved,Nominal,Lower than nominal"
textline "                 "
bitfld.long 0x00 19. " ODT            ,ODT termination value for IOs" "75 Ohm,150 Ohm"
textline "                 "
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315"))        
bitfld.long 0x00 18. " DDR_cfg        ,Selects voltage level for DDR pads" "1.8V,2.5V"
elif ((CPU()=="MPC8314")||(CPU()=="MPC8315"))        
bitfld.long 0x00 18. " DDR_TYPE       ,Selects voltage level for DDR pads" "1.8V,2.5V"
endif
bitfld.long 0x00 1. "                 M_odr         ,Disable memory transaction reordering" "-,Disabled"
textline "                 "
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315"))        
bitfld.long 0x00 0. " Q_DRN          ,Drain queue before sleep" "Low,High"
elif ((CPU()=="MPC8314")||(CPU()=="MPC8315"))        
bitfld.long 0x00 0. " DRQ            ,Drain queue before sleep" "Low,High"
endif
line.long 0x04 "DDRDSR,DDR Debug Status Register"
bitfld.long 0x04 26.--29. " PZ             ,Current setting of PFET driver impedance" "Highest,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Higher than nominal,Reserved,Reserved,Reserved,Nominal,Reserved,Lower than nominal,Lowest"
bitfld.long 0x04 22.--25. "  NZ            ,Current setting of NFET driver impedance" "Highest,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Higher than nominal,Reserved,Reserved,Reserved,Nominal,Reserved,Lower than nominal,Lowest"
textline "                 "
sif ((CPU()=="MPC8314")||(CPU()=="MPC8315"))    
group.long (0x00000+0x140)++0x07
line.long 0x00 "PECR1,PCI Express Control Register 1"
bitfld.long 0x00 31. " LINK_RST ,Link soft reset (active low)" "Asserted,Negated"
bitfld.long 0x00 30. "      CBRST    ,CSB bridge soft reset (active low)" "Asserted,Negated"
bitfld.long 0x00 29. "  CSR_RST ,CSR soft reset (active low)" "Asserted,Negated"    
textline "                 "
bitfld.long 0x00 15. " DEV_TYPE ,Device type" "End point,Root complex"
bitfld.long 0x00 4.--5. "  PRI_DATA ,Data priority" "Level 0,Level 1,Level 2,Level 3"
bitfld.long 0x00 2.--3. "   PRI_DES ,DMA descriptor priority" "Level 0,Level 1,Level 2,Level 3"    
textline "                 "
bitfld.long 0x00 0.--1. " PRI_PIO  ,PIO priority" "Level 0,Level 1,Level 2,Level 3"        
line.long 0x04 "PECR2,PCI Express Control Register 2"
bitfld.long 0x04 31. " LINK_RST ,Link soft reset (active low)" "Asserted,Negated"
bitfld.long 0x04 30. "      CBRST    ,CSB bridge soft reset (active low)" "Asserted,Negated"
bitfld.long 0x04 29. "  CSR_RST ,CSR soft reset (active low)" "Asserted,Negated"    
textline "                 "
bitfld.long 0x04 15. " DEV_TYPE ,Device type" "End point,Root complex"
bitfld.long 0x04 4.--5. "  PRI_DATA ,Data priority" "Level 0,Level 1,Level 2,Level 3"
bitfld.long 0x04 2.--3. "   PRI_DES ,DMA descriptor priority" "Level 0,Level 1,Level 2,Level 3"    
textline "                 "
bitfld.long 0x04 0.--1. " PRI_PIO  ,PIO priority" "Level 0,Level 1,Level 2,Level 3"        
endif        
width 0xb
tree.end
tree "WDT (Watchdog Timer)"
width 7.
group.long (0x00200+0x04)++0x03
line.long 0x00 "SWCRR,System Watchdog Control Register"
hexmask.long.word 0x00 16.--31. 1. " SWTC ,Software Watchdog Time Count"
bitfld.long 0x00 2. " SWEN ,Watchdog Enable bit" "Disabled,Enabled"
bitfld.long 0x00 1. " SWRI ,Software Watchdog Reset/Interrupt Select bit" "Interrupt,Reset"
bitfld.long 0x00 0. "  SWPR ,Software Watchdog Counter Prescale bit" "Not prescaled,Prescaled"
rgroup.long (0x00200+0x08)++0x03
line.long 0x00 "SWCNR,System Watchdog Count Register"
hexmask.long.word 0x00 0.--15. 1. " SWCN ,Software Watchdog Count Field"
wgroup.word (0x00200+0x0e)++0x01
line.word 0x00 "SWSRR,System Watchdog Service Register"
width 0x0B
tree.end
tree "RTC (Real Time Clock Module)"
width 7.
group.long 0x00300++0x0b
line.long 0x00 "RTCNR,Real Time Counter Control Register"
bitfld.long 0x00 7. " CLEN ,Clock enable control bit" "Disabled,Enabled"
bitfld.long 0x00 6. "      CLIN ,Input clock control bit" "CSB,RTC"
textline "                "
bitfld.long 0x00 1. " AIM  ,Alarm interrupt mask bit" "Disabled,Enabled"
bitfld.long 0x00 0. "      SIM  ,Second interrupt mask bit" "Disabled,Enabled"
line.long 0x04 "RTLDR,Real Time Counter Load Register"
line.long 0x08 "RTPSR,Real Time Counter Prescale Register"
rgroup.long (0x00300+0x0c)++0x03
line.long 0x00 "RTCTR,Real Time Counter Register"
group.long (0x00300+0x10)++0x07
line.long 0x00 "RTEVR,Real Time Counter Event Register"
eventfld.long 0x00 1. " AIF  ,Alarm interrupt flag bit" "No interrupt,Interrupt"
eventfld.long 0x00 0. "  SIF  ,Second interrupt flag bit" "No interrupt,Interrupt"
line.long 0x04 "RTALR,Real Time Counter Alarm Register"
width 0x0B
tree.end
tree "PIT (Periodic Interval Timer)" 
width 7.
group.long 0x00400++0x0b
line.long 0x00 "PTCNR,Periodic Interval Timer Control Register"
bitfld.long 0x00 7. " CLEN ,Clock enable control" "Disabled,Enabled"
bitfld.long 0x00 6. "       CLIN ,Input clock control" "System,PIT"
bitfld.long 0x00 0. "  PIM ,Periodic interrupt mask" "Disabled,Enabled"
line.long 0x04 "PTLDR,Periodic Interval Timer Load Register"
line.long 0x08 "PTPSR,Periodic Interval Timer Prescale Register"
rgroup.long (0x00400+0x0c)++0x03
line.long 0x00 "PTCTR,Periodic Interval Timer Counter Register"
group.long (0x00400+0x10)++0x03
line.long 0x00 "PTEVR,Periodic Interval Timer Event Register"
eventfld.long 0x00 0. " PIF  ,Periodic interrupt flag" "No interrupt,Interrupt" 
width 0x0B
tree.end
tree.end
tree "GTM (General Purpose Timers)"
tree "GTM1"
width 8.
group.byte 0x00500++0x00
line.byte 0x00 "GTCFR1,Timer 1 and 2 Global Timers Configuration Register"
bitfld.byte 0x00 7. " PCAS ,Pair-Cascade mode" "-,Cascaded"
bitfld.byte 0x00 6. "  BCM  ,Backward compatible mode" "Compatible,-"
bitfld.byte 0x00 5. "  STP2 ,Stop timer 2" "-,Stopped"
textline "             "
bitfld.byte 0x00 4. " RST2 ,Reset timer 2" "Reset,Enabled"
bitfld.byte 0x00 3. "   GM2  ,Gate mode for /TGATE2" "Restarted,Normal"
bitfld.byte 0x00 2. "   GM1  ,Gate mode for /TGATE1" "Restarted,Normal"
textline "             "
bitfld.byte 0x00 1. " STP1 ,Stop timer 1" "-,Stopped"
bitfld.byte 0x00 0. "   RST1 ,Reset timer 1" "Reset,Enabled"
group.byte (0x00500+0x04)++0x00
line.byte 0x00 "GTCFR2,Timer 3 and 4 Global Timers Configuration Register"
bitfld.byte 0x00 7. " PCAS ,Pair-Cascade mode" "-,Pair-cascade"
textline "             "
bitfld.byte 0x00 6. " SCAS ,Super Cascade mode" "-,Super cascade"
textline "             "
bitfld.byte 0x00 5. " STP4 ,Stop timer 4" "-,Stopped"
textline "             "
bitfld.byte 0x00 4. " RST4 ,Reset timer 4" "Reset,Enabled"
bitfld.byte 0x00 3. "   GM4  ,Gate mode for /TGATE4" "Restarted,Normal"
bitfld.byte 0x00 2. "   GM3  ,Gate mode for /TGATE3" "Restarted,Normal"
textline "             "
bitfld.byte 0x00 1. " STP3 ,Stop timer 3" "-,Stopped"
bitfld.byte 0x00 0. "   RST3 ,Reset timer 3" "Reset,Enabled"
group.word (0x00500+0x10)++0x3
line.word 0x00 "GTMDR1,Timer 1 Global Timers Mode Register"
hexmask.word.byte 0x00 8.--15. 1. " SPS  ,Secondary prescaler value"
bitfld.word 0x00 6.--7. "        CE   ,Capture edge and enable interrupt" "-,Rising,Falling,Any"
bitfld.word 0x00 5. "     OM   ,Output mode" "Toggle /TOUT1,Active-low pulse on /TOUT1"
textline "             "
bitfld.word 0x00 4. " ORI  ,Output reference interrupt enable" "-,Enabled"
bitfld.word 0x00 3. "   FRR  ,Free run/restart mode" "Free run,Restart"
bitfld.word 0x00 1.--2. "    ICLK ,Input clock source for the timer" "Timer 2,System bus clock,System bus clock / 16,TIN1 (falling edge)"
textline "             "
bitfld.word 0x00 0. " GE   ,Gate enable" "Ignored,Used"
line.word 0x02 "GTMDR2,Timer 2 Global Timers Mode Register"
hexmask.word.byte 0x02 8.--15. 1. " SPS  ,Secondary prescaler value"
bitfld.word 0x02 6.--7. "        CE   ,Capture edge and enable interrupt" "-,Rising,Falling,Any"
bitfld.word 0x02 5. "     OM   ,Output mode" "Toggle /TOUT2,Active-low pulse on /TOUT2"
textline "             "
bitfld.word 0x02 4. " ORI  ,Output reference interrupt enable" "-,Enabled"
bitfld.word 0x02 3. "   FRR  ,Free run/restart mode" "Free run,Restart"
bitfld.word 0x02 1.--2. "    ICLK ,Input clock source for the timer" "Timer 3,System bus clock,System bus clock / 16,TIN2 (falling edge)"
textline "             "
bitfld.word 0x02 0. " GE   ,Gate enable" "Ignored,Used"
group.word (0x00500+0x20)++0x3
line.word 0x00 "GTMDR3,Timer 3 Global Timers Mode Register"
hexmask.word.byte 0x00 8.--15. 1. " SPS  ,Secondary prescaler value"
bitfld.word 0x00 6.--7. "        CE   ,Capture edge and enable interrupt" "-,Rising,Falling,Any"
bitfld.word 0x00 5. "     OM   ,Output mode" "Toggle /TOUT3,Active-low pulse on /TOUT3"
textline "             "
bitfld.word 0x00 4. " ORI  ,Output reference interrupt enable" "-,Enabled"
bitfld.word 0x00 3. "   FRR  ,Free run/restart mode" "Free run,Restart"
bitfld.word 0x00 1.--2. "    ICLK ,Input clock source for the timer" "Timer 4,System bus clock,System bus clock / 16,TIN3 (falling edge)"
textline "             "
bitfld.word 0x00 0. " GE   ,Gate enable" "Ignored,Used"
line.word 0x02 "GTMDR4,Timer 4 Global Timers Mode Register"
hexmask.word.byte 0x02 8.--15. 1. " SPS  ,Secondary prescaler value"
bitfld.word 0x02 6.--7. "        CE   ,Capture edge and enable interrupt" "-,Rising,Falling,Any"
bitfld.word 0x02 5. "     OM   ,Output mode" "Toggle /TOUT4,Active-low pulse on /TOUT4"
textline "             "
bitfld.word 0x02 4. " ORI  ,Output reference interrupt enable" "-,Enabled"
bitfld.word 0x02 3. "   FRR  ,Free run/restart mode" "Free run,Restart"
bitfld.word 0x02 1.--2. "    ICLK ,Input clock source for the timer" "-,System bus clock,System bus clock / 16,TIN4 (falling edge)"
textline "             "
bitfld.word 0x02 0. " GE   ,Gate enable" "Ignored,Used"
width 8.
group.word (0x00500+0x14)++0x3
line.word 0x00 "GTRFR1,Timer 1 Global Timers Reference Register"
line.word 0x02 "GTRFR2,Timer 2 Global Timers Reference Register"
group.word (0x00500+0x24)++0x3
line.word 0x00 "GTRFR3,Timer 3 Global Timers Reference Register"
line.word 0x02 "GTRFR4,Timer 4 Global Timers Reference Register"
rgroup.word (0x00500+0x18)++0x03
line.word 0x00 "GTCPR1,Timer 1 Global Timers Capture Register"
line.word 0x02 "GTCPR2,Timer 2 Global Timers Capture Register"
rgroup.word (0x00500+0x28)++0x03
line.word 0x00 "GTCPR3,Timer 3 Global Timers Capture Register"
line.word 0x02 "GTCPR4,Timer 4 Global Timers Capture Register"
group.word (0x00500+0x1c)++0x03
line.word 0x00 "GTCNR1,Timer 1 Global Timers Counter Register"
line.word 0x02 "GTCNR2,Timer 2 Global Timers Counter Register"
group.word (0x00500+0x2c)++0x03
line.word 0x00 "GTCNR3,Timer 3 Global Timers Counter Register"
line.word 0x02 "GTCNR4,Timer 4 Global Timers Counter Register"
group.word (0x00500+0x30)++0x0f
line.word 0x00 "GTEVR1,Timer 1 Global Timers Event Register"
eventfld.word 0x00 1. " REF ,Output reference event" "-,TRV value reached"
eventfld.word 0x00 0. "  CAP ,Counter capture event" "-,Latched into LCV"
line.word 0x02 "GTEVR2,Timer 2 Global Timers Event Register"
eventfld.word 0x02 1. " REF ,Output reference event" "-,TRV value reached"
eventfld.word 0x02 0. "  CAP ,Counter capture event" "-,Latched into LCV"
line.word 0x04 "GTEVR3,Timer 3 Global Timers Event Register"
eventfld.word 0x04 1. " REF ,Output reference event" "-,TRV value reached"
eventfld.word 0x04 0. "  CAP ,Counter capture event" "-,Latched into LCV"
line.word 0x06 "GTEVR4,Timer 4 Global Timers Event Register"
eventfld.word 0x06 1. " REF ,Output reference event" "-,TRV value reached"
eventfld.word 0x06 0. "  CAP ,Counter capture event" "-,Latched into LCV"
line.word 0x08 "GTPSR1,Timer 1 Global Timers Prescale Register"
hexmask.word.byte 0x08 0.--7. 1. " PPS ,Primary Prescaler Bits"
line.word 0x0a "GTPSR2,Timer 2 Global Timers Prescale Register"
hexmask.word.byte 0x0a 0.--7. 1. " PPS ,Primary Prescaler Bits"
line.word 0x0c "GTPSR3,Timer 3 Global Timers Prescale Register"
hexmask.word.byte 0x0c 0.--7. 1. " PPS ,Primary Prescaler Bits"
line.word 0x0e "GTPSR4,Timer 4 Global Timers Prescale Register"
hexmask.word.byte 0x0e 0.--7. 1. " PPS ,Primary Prescaler Bits"
width 0xb
tree.end
tree "GTM2"
width 8.
group.byte 0x00600++0x00
line.byte 0x00 "GTCFR1,Timer 1 and 2 Global Timers Configuration Register"
bitfld.byte 0x00 7. " PCAS ,Pair-Cascade mode" "-,Cascaded"
bitfld.byte 0x00 6. "  BCM  ,Backward compatible mode" "Compatible,-"
bitfld.byte 0x00 5. "  STP2 ,Stop timer 2" "-,Stopped"
textline "             "
bitfld.byte 0x00 4. " RST2 ,Reset timer 2" "Reset,Enabled"
bitfld.byte 0x00 3. "   GM2  ,Gate mode for /TGATE2" "Restarted,Normal"
bitfld.byte 0x00 2. "   GM1  ,Gate mode for /TGATE1" "Restarted,Normal"
textline "             "
bitfld.byte 0x00 1. " STP1 ,Stop timer 1" "-,Stopped"
bitfld.byte 0x00 0. "   RST1 ,Reset timer 1" "Reset,Enabled"
group.byte (0x00600+0x04)++0x00
line.byte 0x00 "GTCFR2,Timer 3 and 4 Global Timers Configuration Register"
bitfld.byte 0x00 7. " PCAS ,Pair-Cascade mode" "-,Pair-cascade"
textline "             "
bitfld.byte 0x00 6. " SCAS ,Super Cascade mode" "-,Super cascade"
textline "             "
bitfld.byte 0x00 5. " STP4 ,Stop timer 4" "-,Stopped"
textline "             "
bitfld.byte 0x00 4. " RST4 ,Reset timer 4" "Reset,Enabled"
bitfld.byte 0x00 3. "   GM4  ,Gate mode for /TGATE4" "Restarted,Normal"
bitfld.byte 0x00 2. "   GM3  ,Gate mode for /TGATE3" "Restarted,Normal"
textline "             "
bitfld.byte 0x00 1. " STP3 ,Stop timer 3" "-,Stopped"
bitfld.byte 0x00 0. "   RST3 ,Reset timer 3" "Reset,Enabled"
group.word (0x00600+0x10)++0x3
line.word 0x00 "GTMDR1,Timer 1 Global Timers Mode Register"
hexmask.word.byte 0x00 8.--15. 1. " SPS  ,Secondary prescaler value"
bitfld.word 0x00 6.--7. "        CE   ,Capture edge and enable interrupt" "-,Rising,Falling,Any"
bitfld.word 0x00 5. "     OM   ,Output mode" "Toggle /TOUT1,Active-low pulse on /TOUT1"
textline "             "
bitfld.word 0x00 4. " ORI  ,Output reference interrupt enable" "-,Enabled"
bitfld.word 0x00 3. "   FRR  ,Free run/restart mode" "Free run,Restart"
bitfld.word 0x00 1.--2. "    ICLK ,Input clock source for the timer" "Timer 2,System bus clock,System bus clock / 16,TIN1 (falling edge)"
textline "             "
bitfld.word 0x00 0. " GE   ,Gate enable" "Ignored,Used"
line.word 0x02 "GTMDR2,Timer 2 Global Timers Mode Register"
hexmask.word.byte 0x02 8.--15. 1. " SPS  ,Secondary prescaler value"
bitfld.word 0x02 6.--7. "        CE   ,Capture edge and enable interrupt" "-,Rising,Falling,Any"
bitfld.word 0x02 5. "     OM   ,Output mode" "Toggle /TOUT2,Active-low pulse on /TOUT2"
textline "             "
bitfld.word 0x02 4. " ORI  ,Output reference interrupt enable" "-,Enabled"
bitfld.word 0x02 3. "   FRR  ,Free run/restart mode" "Free run,Restart"
bitfld.word 0x02 1.--2. "    ICLK ,Input clock source for the timer" "Timer 3,System bus clock,System bus clock / 16,TIN2 (falling edge)"
textline "             "
bitfld.word 0x02 0. " GE   ,Gate enable" "Ignored,Used"
group.word (0x00600+0x20)++0x3
line.word 0x00 "GTMDR3,Timer 3 Global Timers Mode Register"
hexmask.word.byte 0x00 8.--15. 1. " SPS  ,Secondary prescaler value"
bitfld.word 0x00 6.--7. "        CE   ,Capture edge and enable interrupt" "-,Rising,Falling,Any"
bitfld.word 0x00 5. "     OM   ,Output mode" "Toggle /TOUT3,Active-low pulse on /TOUT3"
textline "             "
bitfld.word 0x00 4. " ORI  ,Output reference interrupt enable" "-,Enabled"
bitfld.word 0x00 3. "   FRR  ,Free run/restart mode" "Free run,Restart"
bitfld.word 0x00 1.--2. "    ICLK ,Input clock source for the timer" "Timer 4,System bus clock,System bus clock / 16,TIN3 (falling edge)"
textline "             "
bitfld.word 0x00 0. " GE   ,Gate enable" "Ignored,Used"
line.word 0x02 "GTMDR4,Timer 4 Global Timers Mode Register"
hexmask.word.byte 0x02 8.--15. 1. " SPS  ,Secondary prescaler value"
bitfld.word 0x02 6.--7. "        CE   ,Capture edge and enable interrupt" "-,Rising,Falling,Any"
bitfld.word 0x02 5. "     OM   ,Output mode" "Toggle /TOUT4,Active-low pulse on /TOUT4"
textline "             "
bitfld.word 0x02 4. " ORI  ,Output reference interrupt enable" "-,Enabled"
bitfld.word 0x02 3. "   FRR  ,Free run/restart mode" "Free run,Restart"
bitfld.word 0x02 1.--2. "    ICLK ,Input clock source for the timer" "-,System bus clock,System bus clock / 16,TIN4 (falling edge)"
textline "             "
bitfld.word 0x02 0. " GE   ,Gate enable" "Ignored,Used"
width 8.
group.word (0x00600+0x14)++0x3
line.word 0x00 "GTRFR1,Timer 1 Global Timers Reference Register"
line.word 0x02 "GTRFR2,Timer 2 Global Timers Reference Register"
group.word (0x00600+0x24)++0x3
line.word 0x00 "GTRFR3,Timer 3 Global Timers Reference Register"
line.word 0x02 "GTRFR4,Timer 4 Global Timers Reference Register"
rgroup.word (0x00600+0x18)++0x03
line.word 0x00 "GTCPR1,Timer 1 Global Timers Capture Register"
line.word 0x02 "GTCPR2,Timer 2 Global Timers Capture Register"
rgroup.word (0x00600+0x28)++0x03
line.word 0x00 "GTCPR3,Timer 3 Global Timers Capture Register"
line.word 0x02 "GTCPR4,Timer 4 Global Timers Capture Register"
group.word (0x00600+0x1c)++0x03
line.word 0x00 "GTCNR1,Timer 1 Global Timers Counter Register"
line.word 0x02 "GTCNR2,Timer 2 Global Timers Counter Register"
group.word (0x00600+0x2c)++0x03
line.word 0x00 "GTCNR3,Timer 3 Global Timers Counter Register"
line.word 0x02 "GTCNR4,Timer 4 Global Timers Counter Register"
group.word (0x00600+0x30)++0x0f
line.word 0x00 "GTEVR1,Timer 1 Global Timers Event Register"
eventfld.word 0x00 1. " REF ,Output reference event" "-,TRV value reached"
eventfld.word 0x00 0. "  CAP ,Counter capture event" "-,Latched into LCV"
line.word 0x02 "GTEVR2,Timer 2 Global Timers Event Register"
eventfld.word 0x02 1. " REF ,Output reference event" "-,TRV value reached"
eventfld.word 0x02 0. "  CAP ,Counter capture event" "-,Latched into LCV"
line.word 0x04 "GTEVR3,Timer 3 Global Timers Event Register"
eventfld.word 0x04 1. " REF ,Output reference event" "-,TRV value reached"
eventfld.word 0x04 0. "  CAP ,Counter capture event" "-,Latched into LCV"
line.word 0x06 "GTEVR4,Timer 4 Global Timers Event Register"
eventfld.word 0x06 1. " REF ,Output reference event" "-,TRV value reached"
eventfld.word 0x06 0. "  CAP ,Counter capture event" "-,Latched into LCV"
line.word 0x08 "GTPSR1,Timer 1 Global Timers Prescale Register"
hexmask.word.byte 0x08 0.--7. 1. " PPS ,Primary Prescaler Bits"
line.word 0x0a "GTPSR2,Timer 2 Global Timers Prescale Register"
hexmask.word.byte 0x0a 0.--7. 1. " PPS ,Primary Prescaler Bits"
line.word 0x0c "GTPSR3,Timer 3 Global Timers Prescale Register"
hexmask.word.byte 0x0c 0.--7. 1. " PPS ,Primary Prescaler Bits"
line.word 0x0e "GTPSR4,Timer 4 Global Timers Prescale Register"
hexmask.word.byte 0x0e 0.--7. 1. " PPS ,Primary Prescaler Bits"
width 0xb
tree.end
tree.end
tree "Power Management Control"
width 8.
group.long 0x00b00++0x13
line.long 0x00 "PMCCR,Power Management Controller Configuration Register"
bitfld.long 0x00 1. " DLPEN      ,DDR SDRAM low power enable" "-,Enabled"
bitfld.long 0x00 0. "    SLPEN      ,System low power enable" "-,Enabled"
line.long 0x04 "PMCER,Power Management Controller Event Register"
bitfld.long 0x04 8. " GPIO       ,Wake up event detected" "-,Detected"
bitfld.long 0x04 7. "   PCI(PME)   ,Wake up event detected" "-,Detected"
textline "                 "
bitfld.long 0x04 6. " USB        ,Wake up event detected" "-,Detected"
bitfld.long 0x04 5. "   eTSEC1     ,Wake up event detected" "-,Detected"
textline "                 "
bitfld.long 0x04 4. " eTSEC2     ,Wake up event detected" "-,Detected"
bitfld.long 0x04 3. "   Timer      ,Wake up event detected" "-,Detected"
textline "                 "
bitfld.long 0x04 2. " Int1       ,Wake up event detected" "-,Detected"
bitfld.long 0x04 1. "   Int2       ,Wake up event detected" "-,Detected"
textline "                 "
bitfld.long 0x04 0. " PMCI       ,Power management controller interrupt" "-,Interrupt"
line.long 0x08 "PMCMR,Power Management Controller Mask Register"
bitfld.long 0x08 8. " GPIO       ,Wake up event mask" "Masked,-"
bitfld.long 0x08 7. "     PCI(PME)   ,Wake up event mask" "Masked,-"
textline "                 "
bitfld.long 0x08 6. " USB        ,Wake up event mask" "Masked,-"
bitfld.long 0x08 5. "     eTSEC1     ,Wake up event mask" "Masked,-"
textline "                 "
bitfld.long 0x08 4. " eTSEC2     ,Wake up event mask" "Masked,-"
bitfld.long 0x08 3. "     Timer      ,Wake up event mask" "Masked,-"
textline "                 "
bitfld.long 0x08 2. " Int1       ,Wake up event mask" "Masked,-"
bitfld.long 0x08 1. "     Int2       ,Wake up event mask" "Masked,-"
textline "                 "
bitfld.long 0x08 0. " PMCI       ,Power management controller interrupt enable" "-,Enabled"
line.long 0x0c "PMCCR1,Power Management Controller Configuration Register 1"
bitfld.long 0x0c 31. " USE_STATE  ,Next and current state values should be used" "Ignored,Used"
bitfld.long 0x0c 8. "    LLPEN      ,SerDes low power enable" "-,Enabled"
textline "                 "
bitfld.long 0x0c 7. " PME_EN     ,PME signalling enable" "-,Enabled"
bitfld.long 0x0c 6. "    ASSERT_PME ,Assert /PMI_PME" "-,Asserted"
textline "                 "
bitfld.long 0x0c 5. " POWER_OFF  ,EXT_PWR_CTRL toggled in D3" "-,Toggled"
bitfld.long 0x0c 2.--3. "    NEXT_STATE ,Power state" "D0,D1,D2,D3"
textline "                 "
bitfld.long 0x0c 0.--1. " CURR_STATE ,Current power state" "D0,D1,D2,D3"
line.long 0x10 "PMCCR2,Power Management Controller Configuration Register 2"
hexmask.long.word 0x10 16.--27. 1. " RCNT       ,Reset count value"
hexmask.long.word 0x10  0.--11. 1. "       PDCNT      ,Powerdown count value"
tree.end
tree "System Arbiter"
width 7.
group.long 0x00800++0x7
line.long 0x00 "ACR,Arbiter Configuration Register"
bitfld.long 0x00 24. " COREDIS    ,Core disable" "-,Disabled"
bitfld.long 0x00 16.--18. "       PIPE_DEP ,Pipeline depth" "1,2,3,4,Reserved,Reserved,Reserved,Reserved"
textline "                "
bitfld.long 0x00 12.--14. " PCI_RPTCNT ,PCI repeat count" "1,2,3,4,5,6,7,8"
bitfld.long 0x00 8.--10. "              RPTCNT   ,Repeat count" "1,2,3,4,5,6,7,8"
textline "                "        
bitfld.long 0x00 4.--5. " APARK      ,Address parking" "To master,To last owner,Disabled,Reserved"
sif ((cpu()=="MPC8311")||(cpu()=="MPC8313"))
bitfld.long 0x00 0.--3. "  PARKM    ,Parking master" "PowerPC core,PCI DMA,TSEC1/2,Encryption core,USB,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
elif ((cpu()=="MPC8314")||(cpu()=="MPC8315"))
bitfld.long 0x00 0.--3. "  PARKM    ,Parking master" "PowerPC core,PCI DMA,TSEC1/2,Encryption core,SATA2/USB/TDM-DMAC,PCI Express 1,SATA1,PCI Express 2,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
else
bitfld.long 0x00 0.--3. "  PARKM    ,Parking master" "PowerPC core,PCI DMA,Reserved,QUICC engine block,Encryption Core,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
endif
line.long 0x04 "ATR,Arbiter Timers Register"
sif ((cpu()=="MPC8311")||(cpu()=="MPC8313")||(cpu()=="MPC8314")||(cpu()=="MPC8315"))
hexmask.long.word 0x04 16.--31. 1. " DTO        ,Data time-out"
hexmask.long.word 0x04  0.--16. 1. "           ATO      ,Address time-out"
else
hexmask.long.byte 0x04 16.--23. 1. " DTO        ,Data time-out"
hexmask.long.byte 0x04  0.--7. 1. "            ATO      ,Address time-out"
endif
group.long (0x00800+0xc)++0xb
line.long 0x00 "AER,Arbiter Event Register"
eventfld.long 0x00 5. " ETEA       ,Transfer error" "-,Error"
eventfld.long 0x00 4. "          RES      ,Reserved transfer type" "-,Occurred"
textline "                "        
eventfld.long 0x00 3. " ECW        ,External control word transfer type" "-,Occurred"
eventfld.long 0x00 2. "       AO       ,Address Only transfer type" "-,Occurred"
textline "                "
eventfld.long 0x00 1. " DTO        ,Data time out" "-,Expired"
eventfld.long 0x00 0. "        ATO      ,Address time out" "-,Expired"
line.long 0x04 "AIDR,Arbiter Interrupt Definition Register"
bitfld.long 0x04 5. " ETEA       ,Transfer error" "Regular,MCP"
bitfld.long 0x04 4. "        RES      ,Reserved transfer type" "Regular,MCP"
textline "                "        
bitfld.long 0x04 3. " ECW        ,External control word transfer type" "Regular,MCP"
bitfld.long 0x04 2. "        AO       ,Address Only transfer type" "Regular,MCP"
textline "                "
bitfld.long 0x04 1. " DTO        ,Data time out" "Regular,MCP"
bitfld.long 0x04 0. "        ATO      ,Address time out" "Regular,MCP"
line.long 0x08 "AMR,Arbiter Mask Register"
bitfld.long 0x08 5. " ETEA       ,Transfer error" "-,Enabled"
bitfld.long 0x08 4. "        RES      ,Reserved transfer type" "-,Enabled"
textline "                "        
bitfld.long 0x08 3. " ECW        ,External control word transfer type" "-,Enabled"
bitfld.long 0x08 2. "        AO       ,Address-Only transfer type" "-,Enabled"
textline "                "
bitfld.long 0x08 1. " DTO        ,Data time-out" "-,Enabled"
bitfld.long 0x08 0. "        ATO      ,Address time-out" "-,Enabled"
if ((d.l.be(anc:iobase()+(0x00800+0x18))&0x800)==0x800)
group.long (0x00800+0x18)++0x07
line.long 0x00 "AEATR,Arbiter Event Attributes Register"
bitfld.long 0x00 24.--26. " EVENT      ,Event type" "Address time-out,Data time-out,Address-only transfer type,External control word transfer type,Reserved transfer type,Transfer error,Reserved,Reserved"
textline "                "
sif ((cpu()=="MPC8311")||(cpu()=="MPC8313"))
bitfld.long 0x00 16.--20. " MSTR_ID    ,Master Id" "PowerPC core data transaction,Reserved,PowerPC core instruction fetch,Reserved,TSEC1,TSEC2,USB MPH,USB DR,Encryption core,I2C (boot sequencer),JTAG,Reserved,Reserved,PCI1,Reserved,DMA,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
elif (cpu()=="MPC8315")
bitfld.long 0x00 16.--20. " MSTR_ID    ,Master Id" "PowerPC core data transaction,Reserved,PowerPC core instruction fetch,Reserved,TSEC1,TSEC2,Reserved,USB DR,Encryption core,I2C (boot sequencer),JTAG,Reserved,Reserved,PCI,Reserved,DMA,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,SATA1,SATA2,Reserved,Reserved,Reserved,PCI Express 1,PCI Express 2,TDM-DMAC"
elif (cpu()=="MPC8314")    
bitfld.long 0x00 16.--20. " MSTR_ID    ,Master Id" "PowerPC core data transaction,Reserved,PowerPC core instruction fetch,Reserved,TSEC1,TSEC2,Reserved,USB DR,Encryption core,I2C (boot sequencer),JTAG,Reserved,Reserved,PCI,Reserved,DMA,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,PCI Express 1,PCI Express 2,TDM-DMAC"    
else
bitfld.long 0x00 16.--20. " MSTR_ID    ,Master Id" "PowerPC core data transaction,Reserved,PowerPC core instruction fetch,Reserved,TSEC1,TSEC2,USB MPH,USB DR,Encryption core,I2C (boot sequencer),JTAG,Reserved,Reserved,PCI1,PCI2,DMA,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
endif
textline "                "            
bitfld.long 0x00 11.      " TBST       ,Transfer burst" "Burst,Single-beat"
textline "                "    
bitfld.long 0x00 8.--10.  " TSIZE      ,Transfer Size" "8 Byte,1 Byte,2 Byte,3 Byte,4 Byte,5 Byte,6 Byte,7 Byte"
textline "                "
bitfld.long 0x00 0.--4.   " TTYPE      ,Transfer Type" "Address-only,Address-only,Single beat or burst write,Reserved,Address-only,Reserved,Burst write,Reserved,Address-only,Address-only,Single beat or burst read,Single beat or burst read,Address-only,Address-only,Burst read,Reserved,Address-only,Reserved,Single beat write,Reserved,ECOWX - Illegal single beat write,Reserved,Reserved,Reserved,Address-only,Reserved,Single beat or burst read,Reserved,ECIWX - Illegal single beat read,Reserved,Burst read,Reserved"
line.long 0x04 "AEADR,Arbiter Event Address Register"
else
group.long (0x00800+0x18)++0x07
line.long 0x00 "AEATR,Arbiter Event Attributes Register"
bitfld.long 0x00 24.--26. " EVENT      ,Event type" "Address time-out,Data time-out,Address-only transfer type,External control word transfer type,Reserved transfer type,Transfer error,Reserved,Reserved"
textline "                "    
sif ((cpu()=="MPC8311")||(cpu()=="MPC8313"))
bitfld.long 0x00 16.--20. " MSTR_ID    ,Master Id" "PowerPC core data transaction,Reserved,PowerPC core instruction fetch,Reserved,TSEC1,TSEC2,USB MPH,USB DR,Encryption core,I2C (boot sequencer),JTAG,Reserved,Reserved,PCI1,Reserved,DMA,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
elif (cpu()=="MPC8315")
bitfld.long 0x00 16.--20. " MSTR_ID    ,Master Id" "PowerPC core data transaction,Reserved,PowerPC core instruction fetch,Reserved,TSEC1,TSEC2,Reserved,USB DR,Encryption core,I2C (boot sequencer),JTAG,Reserved,Reserved,PCI,Reserved,DMA,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,SATA1,SATA2,Reserved,Reserved,Reserved,PCI Express 1,PCI Express 2,TDM-DMAC"
elif (cpu()=="MPC8314")
bitfld.long 0x00 16.--20. " MSTR_ID    ,Master Id" "PowerPC core data transaction,Reserved,PowerPC core instruction fetch,Reserved,TSEC1,TSEC2,Reserved,USB DR,Encryption core,I2C (boot sequencer),JTAG,Reserved,Reserved,PCI,Reserved,DMA,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,PCI Express 1,PCI Express 2,TDM-DMAC"
else
bitfld.long 0x00 16.--20. " MSTR_ID    ,Master Id" "PowerPC core data transaction,Reserved,PowerPC core instruction fetch,Reserved,TSEC1,TSEC2,USB MPH,USB DR,Encryption core,I2C (boot sequencer),JTAG,Reserved,Reserved,PCI1,PCI2,DMA,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
endif
textline "                "            
bitfld.long 0x00 11.      " TBST       ,Transfer burst" "Burst,Single-beat"
textline "                "    
bitfld.long 0x00 8.--10.  " TSIZE      ,Transfer Size" "16 bytes,24 bytes,32 bytes,Reserved,Reserved,Reserved,Reserved,Reserved"
textline "                "
bitfld.long 0x00 0.--4.   " TTYPE      ,Transfer Type" "Address-only,Address-only,Single beat or burst write,Reserved,Address-only,Reserved,Burst write,Reserved,Address-only,Address-only,Single beat or burst read,Single beat or burst read,Address-only,Address-only,Burst read,Reserved,Address-only,Reserved,Single beat write,Reserved,ECOWX - Illegal single beat write,Reserved,Reserved,Reserved,Address-only,Reserved,Single beat or burst read,Reserved,ECIWX - Illegal single beat read,Reserved,Burst read,Reserved"
line.long 0x04 "AEADR,Arbiter Event Address Register"
endif
group.long (0x00800+0x20)++0x03
line.long 0x00 "AERR,Arbiter Event Response Register"
bitfld.long 0x00 5. " ETEA       ,Transfer error" "Interrupt,Reset"
bitfld.long 0x00 4. "      RES      ,Reserved transfer type" "Interrupt,Reset"
textline "                "        
bitfld.long 0x00 3. " ECW        ,External control word transfer type" "Interrupt,Reset"
bitfld.long 0x00 2. "      AO       ,Address-Only transfer type" "Interrupt,Reset"
textline "                "
bitfld.long 0x00 1. " DTO        ,Data time-out" "Interrupt,Reset"
bitfld.long 0x00 0. "      ATO      ,Address time-out" "Interrupt,Reset"
width 0xb
tree.end
tree "IPIC (Integrated Programmable Interrupt Controller)"
width 9.
group.long 0x00700++0x03
line.long 0x00 "SICFR,System Global Interrupt Configuration Register"
hexmask.long.byte 0x00 24.--30. 1. " HPI        ,Highest Priority Interrupt"
bitfld.long 0x00 22. "         MPSB       ,Mixed Interrupts Priority Scheme for group B" "Grouped,Spread"
textline "                  "
bitfld.long 0x00 21. " MPSA       ,Mixed Interrupts Priority Scheme for group A" "Grouped,Spread"
bitfld.long 0x00 19. "    IPSD       ,Internal interrupt Priority Scheme for group D" "Grouped,Spread"
textline "                  "
bitfld.long 0x00 18. " IPSC       ,Internal interrupt Priority Scheme for group C" "Grouped,Spread"
bitfld.long 0x00 17. "    IPSB       ,Internal interrupt Priority Scheme for group B" "Grouped,Spread"
textline "                  "
bitfld.long 0x00 16. " IPSA       ,Internal interrupt Priority Scheme for group A" "Grouped,Spread"
bitfld.long 0x00 8.--9. "    HPIT       ,HPI priority position IPIC" "/INT,/SMI,/CINT,Reserved"
rgroup.long (0x00700+0x04)++0x0b
line.long 0x00 "SIVCR,System Global Interrupt Vector Register"
hexmask.long.byte 0x00 26.--31. 1. " IVECx      ,Backward compatible regular interrupt vector"
hexmask.long.byte 0x00  0.--6.  1. "         IVEC       ,Interrupt Vector"
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315"))        
line.long 0x04 "SIPNR_H,System Internal Interrupt Pending Register"
bitfld.long 0x04 31. " TSEC1_Tx   ,TSEC1_Tx Interrupt" "-,Interrupt"
bitfld.long 0x04 30. "  TSEC1_Rx   ,TSEC1_Rx Interrupt" "-,Interrupt"
textline "                  "
bitfld.long 0x04 29. " TSEC1_Err  ,TSEC1_Err Interrupt" "-,Interrupt"
bitfld.long 0x04 28. "  TSEC2_Tx   ,TSEC2_Tx Interrupt" "-,Interrupt"
textline "                  "
bitfld.long 0x04 27. " TSEC2_Rx   ,TSEC2_Rx Interrupt" "-,Interrupt"
bitfld.long 0x04 26. "  TSEC2_Err  ,TSEC2_Err Interrupt" "-,Interrupt"
textline "                  "
bitfld.long 0x04 25. " USB_DR     ,USB2_DR Interrupt" "-,Interrupt"
bitfld.long 0x04 7. "  UART1      ,UART1 Interrupt" "-,Interrupt"
textline "                  "
bitfld.long 0x04 6. " UART2      ,UART2 Interrupt" "-,Interrupt"
bitfld.long 0x04 5. "  SEC        ,SEC Interrupt" "-,Interrupt"
textline "                  "
bitfld.long 0x04 4. " eTSEC1_TIM ,eTSEC1 1588 timer" "-,Interrupt"
bitfld.long 0x04 3. "  eTSEC2_TIM ,eTSEC2 1588 timer" "-,Interrupt"
textline "                  "
bitfld.long 0x04 2. " I2C1       ,I2C1 Interrupt" "-,Interrupt"
bitfld.long 0x04 1. "  I2C2       ,I2C2 Interrupt" "-,Interrupt"
textline "                  "
bitfld.long 0x04 0. " SPI        ,SPI Interrupt" "-,Interrupt"
line.long 0x08 "SIPNR_L,System Internal Interrupt Pending Register"
bitfld.long 0x08 31. " RTC_SEC    ,RTC_SEC Interrupt" "-,Interrupt"
bitfld.long 0x08 30. "  PIT        ,PIT Interrupt" "-,Interrupt"
textline "                  "
bitfld.long 0x08 29. " PCI        ,PCI Interrupt" "-,Interrupt"
bitfld.long 0x08 27. "  RTC_ALR    ,RTC_ALR Interrupt" "-,Interrupt"
textline "                  "
bitfld.long 0x08 26. " MU         ,MU Interrupt" "-,Interrupt"
bitfld.long 0x08 25. "  SBA        ,SBA Interrupt" "-,Interrupt"
textline "                  "
bitfld.long 0x08 24. " DMA        ,DMA Interrupt" "-,Interrupt"
bitfld.long 0x08 23. "  GTM4       ,GTM4 Interrupt" "-,Interrupt"
textline "                  "
bitfld.long 0x08 22. " GTM8       ,GTM8 Interrupt" "-,Interrupt"
bitfld.long 0x08 21. "  GPIO       ,GPIO Interrupt" "-,Interrupt"
textline "                  "
bitfld.long 0x08 19. " DDR        ,DDR Interrupt" "-,Interrupt"
bitfld.long 0x08 18. "  LBC        ,LBC Interrupt" "-,Interrupt"
textline "                  "
bitfld.long 0x08 17. " GTM2       ,GTM2 Interrupt" "-,Interrupt"
bitfld.long 0x08 16. "  GTM6       ,GTM6 Interrupt" "-,Interrupt"
textline "                  "
bitfld.long 0x08 15. " PMC        ,PMC Interrupt" "-,Interrupt"
bitfld.long 0x08 11. "  GTM3       ,GTM3 Interrupt" "-,Interrupt"
textline "                  "
bitfld.long 0x08 10. " GTM7       ,GTM7 Interrupt" "-,Interrupt"
bitfld.long 0x08 5. "  GTM1       ,GTM1 Interrupt" "-,Interrupt"
textline "                  "
bitfld.long 0x08 4. " GTM5       ,GTM5 Interrupt" "-,Interrupt"    
elif ((CPU()=="MPC8314")||(CPU()=="MPC8315"))    
line.long 0x04 "SIPNR_H,System Internal Interrupt Pending Register"
bitfld.long 0x04 31. " TSEC1_Tx   ,TSEC1_Tx Interrupt" "-,Interrupt"
bitfld.long 0x04 30. "  TSEC1_Rx   ,TSEC1_Rx Interrupt" "-,Interrupt"
textline "                  "
bitfld.long 0x04 29. " TSEC1_Err  ,TSEC1_Err Interrupt" "-,Interrupt"
bitfld.long 0x04 28. "  TSEC2_Tx   ,TSEC2_Tx Interrupt" "-,Interrupt"
textline "                  "
bitfld.long 0x04 27. " TSEC2_Rx   ,TSEC2_Rx Interrupt" "-,Interrupt"
bitfld.long 0x04 26. "  TSEC2_Err  ,TSEC2_Err Interrupt" "-,Interrupt"
textline "                  "
bitfld.long 0x04 25. " USB_DR     ,USB2_DR Interrupt" "-,Interrupt"
bitfld.long 0x04 23. "  TDM_Tx     ,TDM Tx Interrupt" "-,Interrupt"
textline "                  "
bitfld.long 0x04 22. " TDM_Rx     ,TDM Rx Interrupt" "-,Interrupt"    
sif (CPU()=="MPC8315")            
bitfld.long 0x04 19. "  SATA1      ,SATA1 Interrupt" "-,Interrupt"
textline "                  "
bitfld.long 0x04 18. " SATA2      ,SATA2 Low Interrupt" "-,Interrupt"    
endif        
bitfld.long 0x04 15. "  PEX1_CNT   ,PEX1 CNT Interrupt" "-,Interrupt"
textline "                  "
bitfld.long 0x04 14. " PEX2_CNT   ,PEX2 CNT Low Interrupt" "-,Interrupt"    
bitfld.long 0x04 13. "  DMAC       ,DMAC Interrupt" "-,Interrupt"
textline "                  "
bitfld.long 0x04 12. " MSIR1      ,MSIR1 Interrupt" "-,Interrupt"        
bitfld.long 0x04 7. "  UART1      ,UART1 Interrupt" "-,Interrupt"
textline "                  "
bitfld.long 0x04 6. " UART2      ,UART2 Interrupt" "-,Interrupt"
bitfld.long 0x04 5. "  SEC        ,SEC Interrupt" "-,Interrupt"
textline "                  "
bitfld.long 0x04 4. " eTSEC1_TIM ,eTSEC1 1588 timer" "-,Interrupt"
bitfld.long 0x04 3. "  eTSEC2_TIM ,eTSEC2 1588 timer" "-,Interrupt"
textline "                  "                 
bitfld.long 0x04 2. " I2C        ,I2C Interrupt" "-,Interrupt"
bitfld.long 0x04 0. "  SPI        ,SPI Interrupt" "-,Interrupt"
line.long 0x08 "SIPNR_L,System Internal Interrupt Pending Register"
bitfld.long 0x08 31. " RTC_SEC    ,RTC_SEC Interrupt" "-,Interrupt"
bitfld.long 0x08 30. "  PIT        ,PIT Interrupt" "-,Interrupt"
textline "                  "
bitfld.long 0x08 29. " PCI        ,PCI Interrupt" "-,Interrupt"
bitfld.long 0x08 28. "  MSIR0      ,MSIR0 Interrupt" "-,Interrupt"
textline "                  "
bitfld.long 0x08 27. " RTC_ALR    ,RTC_ALR Interrupt" "-,Interrupt"
bitfld.long 0x08 26. "  MU         ,MU Interrupt" "-,Interrupt"
textline "                  "
bitfld.long 0x08 25. " SBA        ,SBA Interrupt" "-,Interrupt"
bitfld.long 0x08 24. "  DMA        ,DMA Interrupt" "-,Interrupt"
textline "                  "
bitfld.long 0x08 23. " GTM4       ,GTM4 Interrupt" "-,Interrupt"
bitfld.long 0x08 22. "  GTM8       ,GTM8 Interrupt" "-,Interrupt"
textline "                  "
bitfld.long 0x08 21. " GPIO       ,GPIO Interrupt" "-,Interrupt"
bitfld.long 0x08 19. "  DDR        ,DDR Interrupt" "-,Interrupt"
textline "                  "
bitfld.long 0x08 18. " LBC        ,LBC Interrupt" "-,Interrupt"
bitfld.long 0x08 17. "  GTM2       ,GTM2 Interrupt" "-,Interrupt"
textline "                  "
bitfld.long 0x08 16. " GTM6       ,GTM6 Interrupt" "-,Interrupt"
bitfld.long 0x08 15. "  PMC        ,PMC Interrupt" "-,Interrupt"
textline "                  "
bitfld.long 0x08 14. " MSIR2      ,MSIR2 Interrupt" "-,Interrupt"        
bitfld.long 0x08 13. "  MSIR3      ,MSIR3 Interrupt" "-,Interrupt"        
textline "                  "
bitfld.long 0x08 12. " TDM_Err    ,TDM Error Interrupt" "-,Interrupt"
bitfld.long 0x08 11. "  GTM3       ,GTM3 Interrupt" "-,Interrupt"
textline "                  "
bitfld.long 0x08 10. " GTM7       ,GTM7 Interrupt" "-,Interrupt"
bitfld.long 0x08 9. "  MSIR4      ,MSIR4 Interrupt" "-,Interrupt"        
textline "                  "
bitfld.long 0x08 8. " MSIR5      ,MSIR5 Interrupt" "-,Interrupt"            
bitfld.long 0x08 7. "  MSIR6      ,MSIR6 Interrupt" "-,Interrupt"        
textline "                  "
bitfld.long 0x08 6. " MSIR7      ,MSIR7 Interrupt" "-,Interrupt"    
bitfld.long 0x08 5. "  GTM1       ,GTM1 Interrupt" "-,Interrupt"
textline "                  "
bitfld.long 0x08 4. " GTM5       ,GTM5 Interrupt" "-,Interrupt"
bitfld.long 0x08 1. "  DMAC_Err   ,DMA Error Interrupt" "-,Interrupt"
endif
group.long (0x00700+0x10)++0x3
line.long 0x00 "SIPRR_A,System Internal Interrupt Group A Priority Register"
bitfld.long 0x00 29.--31. " SYSA0P     ,SYSA0 Priority Order" "TSEC1 Tx,TSEC1 Rx,TSEC1 Err,TSEC2 Tx,TSEC2 Rx,TSEC3 Err,USB DR,Reserved"
bitfld.long 0x00 26.--28. "   SYSA1P     ,SYSA1 Priority Order" "TSEC1 Tx,TSEC1 Rx,TSEC1 Err,TSEC2 Tx,TSEC2 Rx,TSEC3 Err,USB DR,Reserved"
textline "                  "
bitfld.long 0x00 23.--25. " SYSA2P     ,SYSA2 Priority Order" "TSEC1 Tx,TSEC1 Rx,TSEC1 Err,TSEC2 Tx,TSEC2 Rx,TSEC3 Err,USB DR,Reserved"
bitfld.long 0x00 20.--22. "   SYSA3P     ,SYSA3 Priority Order" "TSEC1 Tx,TSEC1 Rx,TSEC1 Err,TSEC2 Tx,TSEC2 Rx,TSEC3 Err,USB DR,Reserved"
textline "                  "
bitfld.long 0x00 13.--15. " SYSA4P     ,SYSA4 Priority Order" "TSEC1 Tx,TSEC1 Rx,TSEC1 Err,TSEC2 Tx,TSEC2 Rx,TSEC3 Err,USB DR,Reserved"
bitfld.long 0x00 10.--12. "   SYSA5P     ,SYSA5 Priority Order" "TSEC1 Tx,TSEC1 Rx,TSEC1 Err,TSEC2 Tx,TSEC2 Rx,TSEC3 Err,USB DR,Reserved"
textline "                  "
bitfld.long 0x00 7.--9. " SYSA6P     ,SYSA6 Priority Order" "TSEC1 Tx,TSEC1 Rx,TSEC1 Err,TSEC2 Tx,TSEC2 Rx,TSEC3 Err,USB DR,Reserved"
bitfld.long 0x00 4.--6. "   SYSA7P     ,SYSA7 Priority Order" "TSEC1 Tx,TSEC1 Rx,TSEC1 Err,TSEC2 Tx,TSEC2 Rx,TSEC3 Err,USB DR,Reserved"
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315"))
group.long (0x00700+0x1c)++0x3
line.long 0x00 "SIPRR_D,System Internal Interrupt Group D Priority Register"
bitfld.long 0x00 29.--31. " SYSD0P     ,SYSD0 Priority Order" "UART1,UART2,SEC,eTSEC1_TIM,eTSEC2_TIM,I2C1,I2C2,SPI"
bitfld.long 0x00 26.--28. "  SYSD1P     ,SYSD1 Priority Order" "UART1,UART2,SEC,eTSEC1_TIM,eTSEC2_TIM,I2C1,I2C2,SPI"
textline "                  "
bitfld.long 0x00 23.--25. " SYSD2P     ,SYSD2 Priority Order" "UART1,UART2,SEC,eTSEC1_TIM,eTSEC2_TIM,I2C1,I2C2,SPI"
bitfld.long 0x00 20.--22. "  SYSD3P     ,SYSD3 Priority Order" "UART1,UART2,SEC,eTSEC1_TIM,eTSEC2_TIM,I2C1,I2C2,SPI"
textline "                  "
bitfld.long 0x00 13.--15. " SYSD4P     ,SYSD4 Priority Order" "UART1,UART2,SEC,eTSEC1_TIM,eTSEC2_TIM,I2C1,I2C2,SPI"
bitfld.long 0x00 10.--12. "  SYSD5P     ,SYSD5 Priority Order" "UART1,UART2,SEC,eTSEC1_TIM,eTSEC2_TIM,I2C1,I2C2,SPI"
textline "                  "
bitfld.long 0x00 7.--9. " SYSD6P     ,SYSD6 Priority Order" "UART1,UART2,SEC,eTSEC1_TIM,eTSEC2_TIM,I2C1,I2C2,SPI"
bitfld.long 0x00 4.--6. "  SYSD7P     ,SYSD7 Priority Order" "UART1,UART2,SEC,eTSEC1_TIM,eTSEC2_TIM,I2C1,I2C2,SPI"    
endif        
sif ((CPU()=="MPC8315"))
group.long (0x00700+0x14)++0x0b    
line.long 0x00 "SIPRR_B,System Internal Interrupt Group B Priority Register"
bitfld.long 0x00 29.--31. " SYSB0P     ,SYSB0 Priority Order" "TDM Tx,TDM Rx,Reserved,Reserved,SATA1,SATA2,Reserved,Reserved"
bitfld.long 0x00 26.--28. "    SYSB1P     ,SYSB1 Priority Order" "TDM Tx,TDM Rx,Reserved,Reserved,SATA1,SATA2,Reserved,Reserved"
textline "                  "
bitfld.long 0x00 23.--25. " SYSB2P     ,SYSB2 Priority Order" "TDM Tx,TDM Rx,Reserved,Reserved,SATA1,SATA2,Reserved,Reserved"
bitfld.long 0x00 20.--22. "    SYSB3P     ,SYSB3 Priority Order" "TDM Tx,TDM Rx,Reserved,Reserved,SATA1,SATA2,Reserved,Reserved"
textline "                  "
bitfld.long 0x00 13.--15. " SYSB4P     ,SYSB4 Priority Order" "TDM Tx,TDM Rx,Reserved,Reserved,SATA1,SATA2,Reserved,Reserved"
bitfld.long 0x00 10.--12. "    SYSB5P     ,SYSB5 Priority Order" "TDM Tx,TDM Rx,Reserved,Reserved,SATA1,SATA2,Reserved,Reserved"
textline "                  "
bitfld.long 0x00 7.--9. " SYSB6P     ,SYSB6 Priority Order" "TDM Tx,TDM Rx,Reserved,Reserved,SATA1,SATA2,Reserved,Reserved"
bitfld.long 0x00 4.--6. "    SYSB7P     ,SYSB7 Priority Order" "TDM Tx,TDM Rx,Reserved,Reserved,SATA1,SATA2,Reserved,Reserved"
elif ((CPU()=="MPC8314"))
group.long (0x00700+0x14)++0x0b    
line.long 0x00 "SIPRR_B,System Internal Interrupt Group B Priority Register"
bitfld.long 0x00 29.--31. " SYSB0P     ,SYSB0 Priority Order" "TDM Tx,TDM Rx,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 26.--28. "    SYSB1P     ,SYSB1 Priority Order" "TDM Tx,TDM Rx,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
textline "                  "
bitfld.long 0x00 23.--25. " SYSB2P     ,SYSB2 Priority Order" "TDM Tx,TDM Rx,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 20.--22. "    SYSB3P     ,SYSB3 Priority Order" "TDM Tx,TDM Rx,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
textline "                  "
bitfld.long 0x00 13.--15. " SYSB4P     ,SYSB4 Priority Order" "TDM Tx,TDM Rx,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 10.--12. "    SYSB5P     ,SYSB5 Priority Order" "TDM Tx,TDM Rx,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
textline "                  "
bitfld.long 0x00 7.--9. " SYSB6P     ,SYSB6 Priority Order" "TDM Tx,TDM Rx,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 4.--6. "    SYSB7P     ,SYSB7 Priority Order" "TDM Tx,TDM Rx,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
endif
sif ((CPU()=="MPC8314")||(CPU()=="MPC8315"))        
line.long 0x04 "SIPRR_C,System Internal Interrupt Group C Priority Register"
bitfld.long 0x04 29.--31. " SYSC0P     ,SYSC0 Priority Order" "PEX1 CNT,PEX2 CNT,DMAC,MSIR1,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x04 26.--28. "    SYSC1P     ,SYSC1 Priority Order" "PEX1 CNT,PEX2 CNT,DMAC,MSIR1,Reserved,Reserved,Reserved,Reserved"
textline "                  "
bitfld.long 0x04 23.--25. " SYSC2P     ,SYSC2 Priority Order" "PEX1 CNT,PEX2 CNT,DMAC,MSIR1,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x04 20.--22. "    SYSC3P     ,SYSC3 Priority Order" "PEX1 CNT,PEX2 CNT,DMAC,MSIR1,Reserved,Reserved,Reserved,Reserved"
textline "                  "
bitfld.long 0x04 13.--15. " SYSC4P     ,SYSC4 Priority Order" "PEX1 CNT,PEX2 CNT,DMAC,MSIR1,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x04 10.--12. "    SYSC5P     ,SYSC5 Priority Order" "PEX1 CNT,PEX2 CNT,DMAC,MSIR1,Reserved,Reserved,Reserved,Reserved"
textline "                  "
bitfld.long 0x04 7.--9. " SYSC6P     ,SYSC6 Priority Order" "PEX1 CNT,PEX2 CNT,DMAC,MSIR1,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x04 4.--6. "    SYSC7P     ,SYSC7 Priority Order" "PEX1 CNT,PEX2 CNT,DMAC,MSIR1,Reserved,Reserved,Reserved,Reserved"
line.long 0x08 "SIPRR_D,System Internal Interrupt Group D Priority Register"
bitfld.long 0x08 29.--31. " SYSD0P     ,SYSD0 Priority Order" "UART1,UART2,SEC,eTSEC1_TIM,eTSEC2_TIM,I2C1,Reserved,SPI"
bitfld.long 0x08 26.--28. "  SYSD1P     ,SYSD1 Priority Order" "UART1,UART2,SEC,eTSEC1_TIM,eTSEC2_TIM,I2C1,Reserved,SPI"
textline "                  "
bitfld.long 0x08 23.--25. " SYSD2P     ,SYSD2 Priority Order" "UART1,UART2,SEC,eTSEC1_TIM,eTSEC2_TIM,I2C1,Reserved,SPI"
bitfld.long 0x08 20.--22. "  SYSD3P     ,SYSD3 Priority Order" "UART1,UART2,SEC,eTSEC1_TIM,eTSEC2_TIM,I2C1,Reserved,SPI"
textline "                  "
bitfld.long 0x08 13.--15. " SYSD4P     ,SYSD4 Priority Order" "UART1,UART2,SEC,eTSEC1_TIM,eTSEC2_TIM,I2C1,Reserved,SPI"
bitfld.long 0x08 10.--12. "  SYSD5P     ,SYSD5 Priority Order" "UART1,UART2,SEC,eTSEC1_TIM,eTSEC2_TIM,I2C1,Reserved,SPI"
textline "                  "
bitfld.long 0x08 7.--9. " SYSD6P     ,SYSD6 Priority Order" "UART1,UART2,SEC,eTSEC1_TIM,eTSEC2_TIM,I2C1,Reserved,SPI"
bitfld.long 0x08 4.--6. "  SYSD7P     ,SYSD7 Priority Order" "UART1,UART2,SEC,eTSEC1_TIM,eTSEC2_TIM,I2C,Reserved,SPI"        
endif        
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315"))    
group.long (0x00700+0x20)++0xb    
line.long 0x00 "SIMSR_H,System Internal Interrupt Mask Register"
bitfld.long 0x00 31. " TSEC1_Tx   ,TSEC1_Tx Interrupt Mask" "Masked,-"
bitfld.long 0x00 30. "     TSEC1_Rx   ,TSEC1_Rx Interrupt Mask" "Masked,-"
textline "                  "
bitfld.long 0x00 29. " TSEC1_Err  ,TSEC1_Err Interrupt Mask" "Masked,-"
bitfld.long 0x00 28. "     TSEC2_Tx   ,TSEC2_Tx Interrupt Mask" "Masked,-"
textline "                  "
bitfld.long 0x00 27. " TSEC2_Rx   ,TSEC2_Rx Interrupt Mask" "Masked,-"
bitfld.long 0x00 26. "     TSEC2_Err  ,TSEC2_Err Interrupt Mask" "Masked,-"
textline "                  "
bitfld.long 0x00 25. " USB_DR     ,USB_DR Interrupt Mask" "Masked,-"
bitfld.long 0x00 7. "     UART1      ,UART1 Interrupt Mask" "Masked,-"
textline "                  "
bitfld.long 0x00 6. " UART2      ,UART2 Interrupt Mask" "Masked,-"
bitfld.long 0x00 5. "     SEC        ,SEC Interrupt Mask" "Masked,-"
textline "                  "
bitfld.long 0x00 4. " eTSEC1_TIM ,eTSEC1 1588 Timer Interrupt Mask" "Masked,-"
bitfld.long 0x00 3. "     eTSEC2_TIM ,eTSEC2 1588 Timer Interrupt Mask" "Masked,-"
textline "                  "
bitfld.long 0x00 2. " I2C1       ,I2C1 Interrupt Mask" "Masked,-"
bitfld.long 0x00 1. "     I2C2       ,I2C2 Interrupt Mask" "Masked,-"
textline "                  "
bitfld.long 0x00 0. " SPI        ,SPI Interrupt Mask" "Masked,-"
line.long 0x04 "SIMSR_L,System Internal Interrupt Mask Register"
bitfld.long 0x04 31. " RTC_SEC    ,RTC_SEC Interrupt Mask" "Masked,-"
bitfld.long 0x04 30. "     PIT        ,PIT Interrupt Mask" "Masked,-"
textline "                  "
bitfld.long 0x04 29. " PCI        ,PCI Interrupt Mask" "Masked,-"
bitfld.long 0x04 27. "     RTC_ALR    ,RTC_ALR Interrupt Mask" "Masked,-"
textline "                  "
bitfld.long 0x04 26. " MU         ,MU Interrupt Mask" "Masked,-"
bitfld.long 0x04 25. "     SBA        ,SBA Interrupt Mask" "Masked,-"
textline "                  "
bitfld.long 0x04 24. " DMA        ,DMA Interrupt Mask" "Masked,-"
bitfld.long 0x04 23. "     GTM4       ,GTM4 Interrupt Mask" "Masked,-"
textline "                  "
bitfld.long 0x04 22. " GTM8       ,GTM8 Interrupt Mask" "Masked,-"
bitfld.long 0x04 21. "     GPIO       ,GPIO Interrupt Mask" "Masked,-"
textline "                  "
bitfld.long 0x04 19. " DDR        ,DDR Interrupt Mask" "Masked,-"
bitfld.long 0x04 18. "     LBC        ,LBC Interrupt Mask" "Masked,-"
textline "                  "
bitfld.long 0x04 17. " GTM2       ,GTM2 Interrupt Mask" "Masked,-"
bitfld.long 0x04 16. "     GTM6       ,GTM6 Interrupt Mask" "Masked,-"
textline "                  "
bitfld.long 0x04 15. " PMC        ,PMC Interrupt Mask" "Masked,-"
bitfld.long 0x04 11. "     GTM3       ,GTM3 Interrupt Mask" "Masked,-"
textline "                  "
bitfld.long 0x04 10. " GTM7       ,GTM7 Interrupt Mask" "Masked,-"
bitfld.long 0x04 5. "     GTM1       ,GTM1 Interrupt Mask" "Masked,-"
textline "                  "
bitfld.long 0x04 4. " GTM5       ,GTM5 Interrupt Mask" "Masked,-"
line.long 0x08 "SICNR,System Internal Interrupt Control Register"
bitfld.long 0x08 30.--31. " SYSD0T     ,SYSD0 priority position IPIC output interrupt type" "/int,/smi,/cint,Reserved"
bitfld.long 0x08 28.--29. "   SYSD1T     ,SYSD1 priority position IPIC output interrupt type" "/int,/smi,/cint,Reserved"
textline "                  "
bitfld.long 0x08  6.--7.  " SYSA0T     ,SYSA0 priority position IPIC output interrupt type" "/int,/smi,/cint,Reserved"
bitfld.long 0x08  4.--5.  "   SYSA0T     ,SYSA0 priority position IPIC output interrupt type" "/int,/smi,/cint,Reserved"
elif ((CPU()=="MPC8314")||(CPU()=="MPC8315"))
group.long (0x00700+0x20)++0xb    
line.long 0x00 "SIMSR_H,System Internal Interrupt Mask Register"
bitfld.long 0x00 31. " TSEC1_Tx   ,TSEC1 Tx Interrupt Mask" "Masked,-"
bitfld.long 0x00 30. "     TSEC1_Rx   ,TSEC1 Rx Low Interrupt Mask" "Masked,-"
bitfld.long 0x00 29. "     TSEC1_Err ,TSEC1 Error Interrupt Mask" "Masked,-"
textline "                  "
bitfld.long 0x00 28. " TSEC2_Tx   ,TSEC2 Tx Interrupt Mask" "Masked,-"
bitfld.long 0x00 27. "     TSEC2_Rx   ,TSEC2 Rx Low Interrupt Mask" "Masked,-"
bitfld.long 0x00 26. "     TSEC2_Err ,TSEC2 Error Interrupt Mask" "Masked,-"
textline "                  "
bitfld.long 0x00 25. " USB_DR     ,USB DR Low Interrupt Mask" "Masked,-"
bitfld.long 0x00 23. "     TDM_Tx     ,TDM Tx Interrupt Mask" "Masked,-"
bitfld.long 0x00 22. "     TDM_Rx    ,TDM Rx Low Interrupt Mask" "Masked,-"
textline "                  "
sif ((CPU()=="MPC8315"))        
bitfld.long 0x00 19. " SATA1      ,SATA1 Interrupt Mask" "Masked,-"
bitfld.long 0x00 18. "     SATA2      ,SATA2 Low Interrupt Mask" "Masked,-"
textline "                  "
endif        
bitfld.long 0x00 15. " PEX1_CNT   ,PEX1 CNT Interrupt Mask" "Masked,-"
bitfld.long 0x00 14. "     PEX2_CNT   ,PEX2 CNT Low Interrupt Mask" "Masked,-"
bitfld.long 0x00 13. "     DMAC      ,DMAC Interrupt Mask" "Masked,-"
textline "                  "
bitfld.long 0x00 12. " MSIR1      ,MSIR1 Interrupt Mask" "Masked,-"
bitfld.long 0x00 7. "     UART1      ,UART1 Interrupt Mask" "Masked,-"
bitfld.long 0x00 6. "     UART2     ,UART2 Interrupt Mask" "Masked,-"
textline "                  "
bitfld.long 0x00 5. " SEC        ,SEC Interrupt Mask" "Masked,-"
bitfld.long 0x00 4. "     eTSEC1     ,eTSEC1 1588 Timer Interrupt Mask" "Masked,-"
bitfld.long 0x00 3. "     eTSEC2    ,eTSEC2 1588 Timer Interrupt Mask" "Masked,-"
textline "                  "
bitfld.long 0x00 2. " I2C        ,I2C Interrupt Mask" "Masked,-"    
bitfld.long 0x00 0. "     SPI        ,SPI Interrupt Mask" "Masked,-"
line.long 0x04 "SIMSR_L,System Internal Interrupt Mask Register"
bitfld.long 0x04 31. " RTC_SEC    ,RTC_SEC Interrupt Mask" "Masked,-"
bitfld.long 0x04 30. "     PIT        ,PIT Interrupt Mask" "Masked,-"
bitfld.long 0x04 29. "     PCI       ,PCI Interrupt Mask" "Masked,-"
textline "                  "
bitfld.long 0x04 28. " MSIR0      ,MSIR0 Interrupt Mask" "Masked,-"
bitfld.long 0x04 27. "     RTC_ALR    ,RTC_ALR Interrupt Mask" "Masked,-"
bitfld.long 0x04 26. "     MU        ,MU Interrupt Mask" "Masked,-"
textline "                  "
bitfld.long 0x04 25. " SBA        ,SBA Interrupt Mask" "Masked,-"
bitfld.long 0x04 24. "     DMA        ,DMA Interrupt Mask" "Masked,-"
bitfld.long 0x04 23. "     GTM4      ,GTM4 Interrupt Mask" "Masked,-"
textline "                  "
bitfld.long 0x04 22. " GTM8       ,GTM8 Interrupt Mask" "Masked,-"
bitfld.long 0x04 21. "     GPIO       ,GPIO Interrupt Mask" "Masked,-"
bitfld.long 0x04 19. "     DDR       ,DDR Interrupt Mask" "Masked,-"
textline "                  "
bitfld.long 0x04 18. " LBC        ,LBC Interrupt Mask" "Masked,-"
bitfld.long 0x04 17. "     GTM2       ,GTM2 Interrupt Mask" "Masked,-"
bitfld.long 0x04 16. "     GTM6      ,GTM6 Interrupt Mask" "Masked,-"
textline "                  "
bitfld.long 0x04 15. " PMC        ,PMC Interrupt Mask" "Masked,-"
bitfld.long 0x04 14. "     MSIR2      ,MSIR2 Interrupt Mask" "Masked,-"
bitfld.long 0x04 13. "     MSIR3     ,MSIR3 Interrupt Mask" "Masked,-"
textline "                  "
bitfld.long 0x04 12. " TDM_Err    ,TDM Error Interrupt Mask" "Masked,-"
bitfld.long 0x04 11. "     GTM3       ,GTM3 Interrupt Mask" "Masked,-"
bitfld.long 0x04 10. "     GTM7      ,GTM7 Interrupt Mask" "Masked,-"
textline "                  "
bitfld.long 0x04 9. " MSIR4      ,MSIR4 Interrupt Mask" "Masked,-"
bitfld.long 0x04 8. "     MSIR5      ,MSIR5 Interrupt Mask" "Masked,-"    
bitfld.long 0x04 7. "     MSIR6     ,MSIR6 Interrupt Mask" "Masked,-"
textline "                  "
bitfld.long 0x04 6. " MSIR7      ,MSIR7 Interrupt Mask" "Masked,-"    
bitfld.long 0x04 5. "     GTM1       ,GTM1 Interrupt Mask" "Masked,-"
bitfld.long 0x04 4. "     GTM5      ,GTM5 Interrupt Mask" "Masked,-"
textline "                  "
bitfld.long 0x04 1. " DMAC_Err   ,DMA Error Interrupt Mask" "Masked,-"
line.long 0x08 "SICNR,System Internal Interrupt Control Register"
bitfld.long 0x08 30.--31. " SYSD0T     ,SYSD0 priority position IPIC output interrupt type" "/int,/smi,/cint,Reserved"
bitfld.long 0x08 28.--29. "   SYSD1T     ,SYSD1 priority position IPIC output interrupt type" "/int,/smi,/cint,Reserved"
textline "                  "
bitfld.long 0x08  6.--7.  " SYSA0T     ,SYSA0 priority position IPIC output interrupt type" "/int,/smi,/cint,Reserved"
bitfld.long 0x08  4.--5.  "   SYSA0T     ,SYSA0 priority position IPIC output interrupt type" "/int,/smi,/cint,Reserved"        
endif
if (((d.l.be(anc:(iobase()+0x00700+0x38)))&0x8000)==0x0)
group.long (0x00700+0x2c)++0x3
line.long 0x00 "SEPNR,System External Interrupt Pending Register"
eventfld.long 0x00 31. " IRQ0       ,IRQ0 Interrupt" "-,Interrupt"
eventfld.long 0x00 30. "  IRQ1       ,IRQ1 Interrupt" "-,Interrupt"
textline "                  "
eventfld.long 0x00 29. " IRQ2       ,IRQ2 Interrupt" "-,Interrupt"
eventfld.long 0x00 28. "  IRQ3       ,IRQ3 Interrupt" "-,Interrupt"
textline "                  "
eventfld.long 0x00 27. " IRQ4       ,IRQ4 Interrupt" "-,Interrupt"        
sif ((CPU()=="MPC8314")||(CPU()=="MPC8315"))     
eventfld.long 0x00 26. "  IRQ5       ,IRQ5 Interrupt" "-,Interrupt"
textline "                  "
eventfld.long 0x00 25. " IRQ6       ,IRQ6 Interrupt" "-,Interrupt"
eventfld.long 0x00 24. "  IRQ7       ,IRQ7 Interrupt" "-,Interrupt"
endif
else
group.long (0x00700+0x2c)++0x3
line.long 0x00 "SEPNR,System External Interrupt Pending Register"
eventfld.long 0x00 30. " IRQ1       ,IRQ1 Interrupt" "-,Interrupt"
textline "                  "
eventfld.long 0x00 29. " IRQ2       ,IRQ2 Interrupt" "-,Interrupt"
eventfld.long 0x00 28. "  IRQ3       ,IRQ3 Interrupt" "-,Interrupt"
textline "                  "
eventfld.long 0x00 27. " IRQ4       ,IRQ4 Interrupt" "-,Interrupt"
sif ((CPU()=="MPC8314")||(CPU()=="MPC8315"))    
eventfld.long 0x00 26. "  IRQ5       ,IRQ5 Interrupt" "-,Interrupt"
textline "                  "
eventfld.long 0x00 25. " IRQ6       ,IRQ6 Interrupt" "-,Interrupt"
eventfld.long 0x00 24. "  IRQ7       ,IRQ7 Interrupt" "-,Interrupt"
endif
endif    
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315"))         
group.long (0x00700+0x30)++0x7
line.long 0x00 "SMPRR_A,System Mixed Interrupt Group A Priority Register"
bitfld.long 0x00 29.--31. " MIXA0P     ,MIXA0 Priority Order" "RTC SEC,PIT,PCI,Reserved,IRQ0,IRQ1,IRQ2,IRQ3"
bitfld.long 0x00 26.--28. "   MIXA1P     ,MIXA1 Priority Order"  "RTC SEC,PIT,PCI,Reserved,IRQ0,IRQ1,IRQ2,IRQ3"
textline "                  "
bitfld.long 0x00 23.--25. " MIXA2P     ,MIXA2 Priority Order"  "RTC SEC,PIT,PCI,Reserved,IRQ0,IRQ1,IRQ2,IRQ3"
bitfld.long 0x00 20.--22. "   MIXA3P     ,MIXA3 Priority Order"  "RTC SEC,PIT,PCI,Reserved,IRQ0,IRQ1,IRQ2,IRQ3"
textline "                  "
bitfld.long 0x00 13.--15. " MIXA4P     ,MIXA4 Priority Order"  "RTC SEC,PIT,PCI,Reserved,IRQ0,IRQ1,IRQ2,IRQ3"
bitfld.long 0x00 10.--12. "   MIXA5P     ,MIXA5 Priority Order"  "RTC SEC,PIT,PCI,Reserved,IRQ0,IRQ1,IRQ2,IRQ3"
textline "                  "
bitfld.long 0x00 7.--9. " MIXA6P     ,MIXA6 Priority Order"  "RTC SEC,PIT,PCI,Reserved,IRQ0,IRQ1,IRQ2,IRQ3"
bitfld.long 0x00 4.--6. "   MIXA7P     ,MIXA7 Priority Order"  "RTC SEC,PIT,PCI,Reserved,IRQ0,IRQ1,IRQ2,IRQ3"
line.long 0x04 "SMPRR_B,System Mixed Interrupt Group B Priority Register"
bitfld.long 0x04 29.--31. " MIXB0P     ,MIXB0 Priority Order" "RTC ALR,MU,SBA,DMA,IRQ4,Reserved,Reserved,Reserved"
bitfld.long 0x04 26.--28. "   MIXB1P     ,MIXB1 Priority Order" "RTC ALR,MU,SBA,DMA,IRQ4,Reserved,Reserved,Reserved"
textline "                  "
bitfld.long 0x04 23.--25. " MIXB2P     ,MIXB2 Priority Order" "RTC ALR,MU,SBA,DMA,IRQ4,Reserved,Reserved,Reserved"
bitfld.long 0x04 20.--22. "   MIXB3P     ,MIXB3 Priority Order" "RTC ALR,MU,SBA,DMA,IRQ4,Reserved,Reserved,Reserved"
textline "                  "
bitfld.long 0x04 13.--15. " MIXB4P     ,MIXB4 Priority Order" "RTC ALR,MU,SBA,DMA,IRQ4,Reserved,Reserved,Reserved"
bitfld.long 0x04 10.--12. "   MIXB5P     ,MIXB5 Priority Order" "RTC ALR,MU,SBA,DMA,IRQ4,Reserved,Reserved,Reserved"
textline "                  "
bitfld.long 0x04 7.--9. " MIXB6P     ,MIXB6 Priority Order" "RTC ALR,MU,SBA,DMA,IRQ4,Reserved,Reserved,Reserved"
bitfld.long 0x04 4.--6. "   MIXB7P     ,MIXB7 Priority Order" "RTC ALR,MU,SBA,DMA,IRQ4,Reserved,Reserved,Reserved"            
elif ((CPU()=="MPC8314")||(CPU()=="MPC8315"))        
group.long (0x00700+0x30)++0x7
line.long 0x00 "SMPRR_A,System Mixed Interrupt Group A Priority Register"
bitfld.long 0x00 29.--31. " MIXA0P     ,MIXA0 Priority Order" "RTC SEC,PIT,PCI,MSIR0,IRQ0,IRQ1,IRQ2,IRQ3"
bitfld.long 0x00 26.--28. "    MIXA1P     ,MIXA1 Priority Order" "RTC SEC,PIT,PCI,MSIR0,IRQ0,IRQ1,IRQ2,IRQ3"
textline "                  "
bitfld.long 0x00 23.--25. " MIXA2P     ,MIXA2 Priority Order" "RTC SEC,PIT,PCI,MSIR0,IRQ0,IRQ1,IRQ2,IRQ3"
bitfld.long 0x00 20.--22. "    MIXA3P     ,MIXA3 Priority Order" "RTC SEC,PIT,PCI,MSIR0,IRQ0,IRQ1,IRQ2,IRQ3"
textline "                  "
bitfld.long 0x00 13.--15. " MIXA4P     ,MIXA4 Priority Order" "RTC SEC,PIT,PCI,MSIR0,IRQ0,IRQ1,IRQ2,IRQ3"
bitfld.long 0x00 10.--12. "    MIXA5P     ,MIXA5 Priority Order" "RTC SEC,PIT,PCI,MSIR0,IRQ0,IRQ1,IRQ2,IRQ3"
textline "                  "
bitfld.long 0x00 7.--9. " MIXA6P     ,MIXA6 Priority Order" "RTC SEC,PIT,PCI,MSIR0,IRQ0,IRQ1,IRQ2,IRQ3"
bitfld.long 0x00 4.--6. "    MIXA7P     ,MIXA7 Priority Order" "RTC SEC,PIT,PCI,MSIR0,IRQ0,IRQ1,IRQ2,IRQ3"
line.long 0x04 "SMPRR_B,System Mixed Interrupt Group B Priority Register"
bitfld.long 0x04 29.--31. " MIXB0P     ,MIXB0 Priority Order" "RTC ALR,MU,SBA,DMA,IRQ4,IRQ5,IRQ6,IRQ7"
bitfld.long 0x04 26.--28. "    MIXB1P     ,MIXB1 Priority Order" "RTC ALR,MU,SBA,DMA,IRQ4,IRQ5,IRQ6,IRQ7"
textline "                  "
bitfld.long 0x04 23.--25. " MIXB2P     ,MIXB2 Priority Order" "RTC ALR,MU,SBA,DMA,IRQ4,IRQ5,IRQ6,IRQ7"
bitfld.long 0x04 20.--22. "    MIXB3P     ,MIXB3 Priority Order" "RTC ALR,MU,SBA,DMA,IRQ4,IRQ5,IRQ6,IRQ7"
textline "                  "
bitfld.long 0x04 13.--15. " MIXB4P     ,MIXB4 Priority Order" "RTC ALR,MU,SBA,DMA,IRQ4,IRQ5,IRQ6,IRQ7"
bitfld.long 0x04 10.--12. "    MIXB5P     ,MIXB5 Priority Order" "RTC ALR,MU,SBA,DMA,IRQ4,IRQ5,IRQ6,IRQ7"
textline "                  "
bitfld.long 0x04 7.--9. " MIXB6P     ,MIXB6 Priority Order" "RTC ALR,MU,SBA,DMA,IRQ4,IRQ5,IRQ6,IRQ7"
bitfld.long 0x04 4.--6. "    MIXB7P     ,MIXB7 Priority Order" "RTC ALR,MU,SBA,DMA,IRQ4,IRQ5,IRQ6,IRQ7"        
endif    
if (((d.l.be(anc:(iobase()+0x00700+0x38)))&0x8000)==0x0)
group.long (0x00700+0x38)++0x3
line.long 0x00 "SEMSR,System External Interrupt Mask Register"
bitfld.long 0x00 31. " IRQ0       ,IRQ0 Interrupt Mask" "Masked,-"
bitfld.long 0x00 30. "     IRQ1       ,IRQ1 Interrupt Mask" "Masked,-"
textline "                  "
bitfld.long 0x00 29. " IRQ2       ,IRQ2 Interrupt Mask" "Masked,-"
bitfld.long 0x00 28. "     IRQ3       ,IRQ3 Interrupt Mask" "Masked,-"
textline "                  "
bitfld.long 0x00 27. " IRQ4       ,IRQ4 Interrupt Mask" "Masked,-"
sif ((CPU()=="MPC8314")||(CPU()=="MPC8315"))    
bitfld.long 0x00 26. "     IRQ5       ,IRQ5 Interrupt Mask" "Masked,-"
textline "                  "
bitfld.long 0x00 25. " IRQ6       ,IRQ6 Interrupt Mask" "Masked,-"
bitfld.long 0x00 24. "     IRQ7       ,IRQ7 Interrupt Mask" "Masked,-"
endif    
textline "                  "        
bitfld.long 0x00 15. " SIRQ0      ,Steer IRQ0" "Interrupt,MCP"
else
group.long (0x00700+0x38)++0x3    
line.long 0x00 "SEMSR,System External Interrupt Mask Mask Register"
bitfld.long 0x00 30. " IRQ1       ,IRQ1 Interrupt Mask" "Masked,-"
textline "                  "
bitfld.long 0x00 29. " IRQ2       ,IRQ2 Interrupt Mask" "Masked,-"
bitfld.long 0x00 28. "     IRQ3       ,IRQ3 Interrupt Mask" "Masked,-"
textline "                  "
bitfld.long 0x00 27. " IRQ4       ,IRQ4 Interrupt Mask" "Masked,-"
sif ((CPU()=="MPC8314")||(CPU()=="MPC8315"))         
bitfld.long 0x00 26. "     IRQ5       ,IRQ5 Interrupt Mask" "Masked,-"
textline "                  "
bitfld.long 0x00 25. " IRQ6       ,IRQ6 Interrupt Mask" "Masked,-"
bitfld.long 0x00 24. "     IRQ7       ,IRQ7 Interrupt Mask" "Masked,-"
textline "                  "
endif            
bitfld.long 0x00 15. " SIRQ0      ,Steer IRQ0" "Interrupt,MCP"
endif
group.long (0x00700+0x3c)++0x3
line.long 0x00 "SECNR,System External Interrupt Control Register"
bitfld.long 0x00 30.--31. " MIXB0T     ,MIXB0 priority position IPIC output interrupt type" "/int,/smi,/cint,Reserved"
bitfld.long 0x00 28.--29. "   MIXB1T     ,MIXB1 priority position IPIC output interrupt type" "/int,/smi,/cint,Reserved"
textline "                  "
bitfld.long 0x00 22.--23. " MIXA0T     ,MIXA0 priority position IPIC output interrupt type" "/int,/smi,/cint,Reserved"
bitfld.long 0x00 20.--21. "   MIXA1T     ,MIXA1 priority position IPIC output interrupt type" "/int,/smi,/cint,Reserved"
textline "                  "
bitfld.long 0x00 15. " EDI0       ,Edge detect mode" "Low level,Falling"
bitfld.long 0x00 14. "  EDI1       ,Edge detect mode" "Low level,Falling"
textline "                  "
bitfld.long 0x00 13. " EDI2       ,Edge detect mode" "Low level,Falling"
bitfld.long 0x00 12. "  EDI3       ,Edge detect mode" "Low level,Falling"
textline "                  "
bitfld.long 0x00 11. " EDI4       ,Edge detect mode" "Low level,Falling"
bitfld.long 0x00 10. "  EDI5       ,Edge detect mode" "Low level,Falling"
textline "                  "
bitfld.long 0x00 9. " EDI6       ,Edge detect mode" "Low level,Falling"
bitfld.long 0x00 8. "  EDI7       ,Edge detect mode" "Low level,Falling"
if (((d.l.be(anc:(iobase()+0x00700+0x38)))&0x8000)==0x8000)
group.long (0x00700+0x40)++0x7
line.long 0x00 "SERSR,System Error Status Register"
eventfld.long 0x00 31. " IRQ0       ,IRQ0 Error" "-,Error"
eventfld.long 0x00 30. "      WDT        ,WDT Error" "-,Error"
textline "                  "
eventfld.long 0x00 29. " SBA        ,SBA Error" "-,Error"
eventfld.long 0x00 26. "      PCI        ,PCI Error" "-,Error"
textline "                  "
eventfld.long 0x00 24. " MU         ,MU Error" "-,Error"
line.long 0x04 "SERMR,System Error Mask Register"
bitfld.long 0x04 31. " IRQ0       ,IRQ0 Error Mask" "Masked,-"
bitfld.long 0x04 30. "     WDT        ,WDT Error Mask" "Masked,-"
textline "                  "
bitfld.long 0x04 29. " SBA        ,SBA Error Mask" "Masked,-"
bitfld.long 0x04 26. "     PCI        ,PCI Error Mask" "Masked,-"
textline "                  "
bitfld.long 0x04 24. " MU         ,MU Error Mask" "Masked,-"
else
group.long (0x00700+0x40)++0x7
line.long 0x00 "SERSR,System Error Status Register"
eventfld.long 0x00 30. " WDT        ,WDT Error" "-,Error"
textline "                  "
eventfld.long 0x00 29. " SBA        ,SBA Error" "-,Error"
eventfld.long 0x00 26. "      PCI        ,PCI Error" "-,Error"
textline "                  "
eventfld.long 0x00 24. " MU         ,MU Error" "-,Error"
line.long 0x04 "SERMR,System Error Mask Register"
bitfld.long 0x04 30. " WDT        ,WDT Error Mask" "Masked,-"
textline "                  "
bitfld.long 0x04 29. " SBA        ,SBA Error Mask" "Masked,-"
bitfld.long 0x04 26. "     PCI        ,PCI Error Mask" "Masked,-"
textline "                  "
bitfld.long 0x04 24. " MU         ,MU Error Mask" "Masked,-"
endif
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315"))
group.long (0x00700+0x48)++0x3
line.long 0x00 "SERCR,System Error Control Register"
bitfld.long 0x00 0. " MCPR       ,MPC Route" "/INTA,/MPC_OUT"
elif ((CPU()=="MPC8314")||(CPU()=="MPC8315"))    
group.long (0x00700+0x48)++0x3
line.long 0x00 "SERCR,System Error Control Register"
bitfld.long 0x00 0. " MCPR       ,MPC Route" "/PCI_INTA,/MPC_OUT"
endif    
sif ((CPU()=="MPC8314")||(CPU()=="MPC8315"))    
group.long (0x00700+0x4c)++0x03
line.long 0x00 "SEPCR,System External interrupt Polarity Control Register"
bitfld.long 0x00 31. " EIP0       ,Active state for the external IRQ0 interrupt signal" "Low,High"
bitfld.long 0x00 30. "       EIP1       ,Active state for the external IRQ1 interrupt signal" "Low,High"
bitfld.long 0x00 29. "       EIP2      ,Active state for the external IRQ2 interrupt signal" "Low,High"
textline "                  "
bitfld.long 0x00 28. " EIP3       ,Active state for the external IRQ3 interrupt signal" "Low,High"
bitfld.long 0x00 27. "       EIP4       ,Active state for the external IRQ4 interrupt signal" "Low,High"
bitfld.long 0x00 26. "       EIP5      ,Active state for the external IRQ5 interrupt signal" "Low,High"
textline "                  "        
bitfld.long 0x00 25. " EIP6       ,Active state for the external IRQ6 interrupt signal" "Low,High"
bitfld.long 0x00 24. "       EIP7       ,Active state for the external IRQ7 interrupt signal" "Low,High"
endif
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315"))
group.long (0x00700+0x50)++0x7
line.long 0x00 "SIFCR_H,System Internal Interrupt Force Register"
bitfld.long 0x00 31. " TSEC1_Tx   ,TSEC1_Tx Interrupt Force" "-,Forced"
bitfld.long 0x00 30. "     TSEC1_Rx   ,TSEC1_Rx Interrupt Force" "-,Forced"
textline "                  "
bitfld.long 0x00 29. " TSEC1_Err  ,TSEC1_Err Interrupt Force" "-,Forced"
bitfld.long 0x00 28. "     TSEC2_Tx   ,TSEC2_Tx Interrupt Force" "-,Forced"
textline "                  "
bitfld.long 0x00 27. " TSEC2_Rx   ,TSEC2_Rx Interrupt Force" "-,Forced"
bitfld.long 0x00 26. "     TSEC2_Err  ,TSEC2_Err Interrupt Force" "-,Forced"
textline "                  "
bitfld.long 0x00 25. " USB_DR     ,USB_DR Interrupt Force" "-,Forced"
bitfld.long 0x00 7. "     UART1      ,UART1 Interrupt Force" "-,Forced"
textline "                  "
bitfld.long 0x00 6. " UART2      ,UART2 Interrupt Force" "-,Forced"
bitfld.long 0x00 5. "     SEC        ,SEC Interrupt Force" "-,Forced"
textline "                  "
bitfld.long 0x00 4. " eTSEC1_TIM ,eTSEC1 1588 Timer Interrupt Force" "-,Forced"
bitfld.long 0x00 3. "     eTSEC2_TIM ,eTSEC2 1588 Timer Interrupt Force" "-,Forced"
textline "                  "
bitfld.long 0x00 2. " I2C1       ,I2C1 Interrupt Force" "-,Forced"
bitfld.long 0x00 1. "     I2C2       ,I2C2 Interrupt Force" "-,Forced"
textline "                  "
bitfld.long 0x00 0. " SPI        ,SPI Interrupt Force" "-,Forced"
line.long 0x04 "SIFCR_L,System Internal Interrupt Force Register"
bitfld.long 0x04 31. " RTC_SEC    ,RTC_SEC Interrupt Force" "-,Forced"
bitfld.long 0x04 30. "     PIT        ,PIT Interrupt Force" "-,Forced"
textline "                  "
bitfld.long 0x04 29. " PCI        ,PCI Interrupt Force" "-,Forced"
bitfld.long 0x04 27. "     RTC_ALR    ,RTC_ALR Interrupt Force" "-,Forced"
textline "                  "
bitfld.long 0x04 26. " MU         ,MU Interrupt Force" "-,Forced"
bitfld.long 0x04 25. "     SBA        ,SBA Interrupt Force" "-,Forced"
textline "                  "
bitfld.long 0x04 24. " DMA        ,DMA Interrupt Force" "-,Forced"
bitfld.long 0x04 23. "     GTM4       ,GTM4 Interrupt Force" "-,Forced"
textline "                  "
bitfld.long 0x04 22. " GTM8       ,GTM8 Interrupt Force" "-,Forced"
bitfld.long 0x04 21. "     GPIO       ,GPIO Interrupt Force" "-,Forced"
textline "                  "
bitfld.long 0x04 19. " DDR        ,DDR Interrupt Force" "-,Forced"
bitfld.long 0x04 18. "     LBC        ,LBC Interrupt Force" "-,Forced"
textline "                  "
bitfld.long 0x04 17. " GTM2       ,GTM2 Interrupt Force" "-,Forced"
bitfld.long 0x04 16. "     GTM6       ,GTM6 Interrupt Force" "-,Forced"
textline "                  "
bitfld.long 0x04 15. " PMC        ,PMC Interrupt Force" "-,Forced"
bitfld.long 0x04 11. "     GTM3       ,GTM3 Interrupt Force" "-,Forced"
textline "                  "
bitfld.long 0x04 10. " GTM7       ,GTM7 Interrupt Force" "-,Forced"
bitfld.long 0x04 5. "     GTM1       ,GTM1 Interrupt Force" "-,Forced"
textline "                  "
bitfld.long 0x04 4. " GTM5       ,GTM5 Interrupt Force" "-,Forced"
elif ((CPU()=="MPC8314")||(CPU()=="MPC8315"))        
group.long (0x00700+0x50)++0x7
line.long 0x00 "SIFCR_H,System Internal Interrupt Force Register"
bitfld.long 0x00 31. " TSEC1_Tx   ,TSEC1 Tx Interrupt Force" "-,Forced"
bitfld.long 0x00 30. "     TSEC1_Rx   ,TSEC1 Rx Low Interrupt Force" "-,Forced"
bitfld.long 0x00 29. "     TSEC1_Err ,TSEC1 Error Interrupt Force" "-,Forced"
textline "                  "
bitfld.long 0x00 28. " TSEC2_Tx   ,TSEC2 Tx Interrupt Force" "-,Forced"
bitfld.long 0x00 27. "     TSEC2_Rx   ,TSEC2 Rx Low Interrupt Force" "-,Forced"
bitfld.long 0x00 26. "     TSEC2_Err ,TSEC2 Error Interrupt Force" "-,Forced"
textline "                  "
bitfld.long 0x00 25. " USB_DR     ,USB DR Low Interrupt Force" "-,Forced"
bitfld.long 0x00 23. "     TDM_Tx     ,TDM Tx Interrupt Force" "-,Forced"
bitfld.long 0x00 22. "     TDM_Rx    ,TDM Rx Low Interrupt Force" "-,Forced"
textline "                  "
sif ((CPU()=="MPC8315"))            
bitfld.long 0x00 19. " SATA1      ,SATA1 Interrupt Force" "-,Forced"
bitfld.long 0x00 18. "     SATA2      ,SATA2 Low Interrupt Force" "-,Forced"
textline "                  "
endif        
bitfld.long 0x00 15. " PEX1_CNT   ,PEX1 CNT Interrupt Force" "-,Forced"
bitfld.long 0x00 14. "     PEX2_CNT   ,PEX2 CNT Low Interrupt Force" "-,Forced"
bitfld.long 0x00 13. "     DMAC      ,DMAC Interrupt Force" "-,Forced"
textline "                  "
bitfld.long 0x00 12. " MSIR1      ,MSIR1 Interrupt Force" "-,Forced"
bitfld.long 0x00 7. "     UART1      ,UART1 Interrupt Force" "-,Forced"
bitfld.long 0x00 6. "     UART2     ,UART2 Interrupt Force" "-,Forced"
textline "                  "
bitfld.long 0x00 5. " SEC        ,SEC Interrupt Force" "-,Forced"
bitfld.long 0x00 4. "     eTSEC1     ,eTSEC1 1588 Timer Interrupt Force" "-,Forced"
bitfld.long 0x00 3. "     eTSEC2    ,eTSEC2 1588 Timer Interrupt Force" "-,Forced"
textline "                  "
bitfld.long 0x00 2. " I2C        ,I2C Interrupt Force" "-,Forced"        
bitfld.long 0x00 0. "     SPI        ,SPI Interrupt Force" "-,Forced"
line.long 0x04 "SIFCR_L,System Internal Interrupt Force Register"
bitfld.long 0x04 31. " RTC_SEC    ,RTC_SEC Interrupt Force" "-,Forced"
bitfld.long 0x04 30. "     PIT        ,PIT Interrupt Force" "-,Forced"
bitfld.long 0x04 29. "     PCI       ,PCI Interrupt Force" "-,Forced"
textline "                  "
bitfld.long 0x04 28. " MSIR0      ,MSIR0 Interrupt Force" "-,Forced"
bitfld.long 0x04 27. "     RTC_ALR    ,RTC_ALR Interrupt Force" "-,Forced"
bitfld.long 0x04 26. "     MU        ,MU Interrupt Force" "-,Forced"
textline "                  "
bitfld.long 0x04 25. " SBA        ,SBA Interrupt Force" "-,Forced"
bitfld.long 0x04 24. "     DMA        ,DMA Interrupt Force" "-,Forced"
bitfld.long 0x04 23. "     GTM4      ,GTM4 Interrupt Force" "-,Forced"
textline "                  "
bitfld.long 0x04 22. " GTM8       ,GTM8 Interrupt Force" "-,Forced"
bitfld.long 0x04 21. "     GPIO       ,GPIO Interrupt Force" "-,Forced"
bitfld.long 0x04 19. "     DDR       ,DDR Interrupt Force" "-,Forced"
textline "                  "
bitfld.long 0x04 18. " LBC        ,LBC Interrupt Force" "-,Forced"
bitfld.long 0x04 17. "     GTM2       ,GTM2 Interrupt Force" "-,Forced"
bitfld.long 0x04 16. "     GTM6      ,GTM6 Interrupt Force" "-,Forced"
textline "                  "
bitfld.long 0x04 15. " PMC        ,PMC Interrupt Force" "-,Forced"
bitfld.long 0x04 14. "     MSIR2      ,MSIR2 Interrupt Force" "-,Forced"
bitfld.long 0x04 13. "     MSIR3     ,MSIR3 Interrupt Force" "-,Forced"
textline "                  "
bitfld.long 0x04 12. " TDM_Err    ,TDM Error Interrupt Force" "-,Forced"
bitfld.long 0x04 11. "     GTM3       ,GTM3 Interrupt Force" "-,Forced"
bitfld.long 0x04 10. "     GTM7      ,GTM7 Interrupt Force" "-,Forced"
textline "                  "
bitfld.long 0x04 9. " MSIR4      ,MSIR4 Interrupt Force" "-,Forced"
bitfld.long 0x04 8. "     MSIR5      ,MSIR5 Interrupt Force" "-,Forced"
bitfld.long 0x04 7. "     MSIR6     ,MSIR6 Interrupt Force" "-,Forced"
textline "                  "
bitfld.long 0x04 6. " MSIR7      ,MSIR7 Interrupt Force" "-,Forced"
bitfld.long 0x04 5. "     GTM1       ,GTM1 Interrupt Force" "-,Forced"
bitfld.long 0x04 4. "     GTM5      ,GTM5 Interrupt Force" "-,Forced"
textline "                  "
bitfld.long 0x04 1. " DMAC_Err   ,DMA Error Interrupt Force" "-,Forced"
endif        
if (((d.l.be(anc:(iobase()+0x00700+0x38)))&0x8000)==0x8000)
group.long (0x00700+0x58)++0x7
line.long 0x00 "SEFCR,System External Interrupt Force Register"
bitfld.long 0x00 30. " IRQ1       ,IRQ1 Interrupt Force" "-,Forced"
textline "                  "
bitfld.long 0x00 29. " IRQ2       ,IRQ2 Interrupt Force" "-,Forced"
bitfld.long 0x00 28. "      IRQ3       ,IRQ3 Interrupt Force" "-,Forced"
textline "                  "
bitfld.long 0x00 27. " IRQ4       ,IRQ4 Interrupt Force" "-,Forced"
sif ((CPU()=="MPC8314")||(CPU()=="MPC8315"))     
bitfld.long 0x00 26. "      IRQ5       ,IRQ5 Interrupt Force" "-,Forced"
textline "                  "
bitfld.long 0x00 25. " IRQ6       ,IRQ6 Interrupt Force" "-,Forced"
bitfld.long 0x00 24. "      IRQ7       ,IRQ7 Interrupt Force" "-,Forced"
endif
line.long 0x04 "SERFR,System Error Force Register"
bitfld.long 0x04 31. " IRQ0       ,IRQ0_1 Error Force" "-,Forced"
bitfld.long 0x04 30. "      WDT        ,WDT Error Force" "-,Forced"
textline "                  "
bitfld.long 0x04 29. " SBA        ,SBA Error Force" "-,Forced"
bitfld.long 0x04 26. "      PCI        ,PCI Error Force" "-,Forced"
textline "                  "
bitfld.long 0x04 24. " MU         ,MU Error Force" "-,Forced"
else
group.long (0x00700+0x58)++0x7
line.long 0x00 "SEFCR,System External Interrupt Force Register"
bitfld.long 0x00 31. " IRQ0       ,IRQ0 Interrupt Force" "-,Forced"
bitfld.long 0x00 30. "      IRQ1       ,IRQ1 Interrupt Force" "-,Forced"
textline "                  "
bitfld.long 0x00 29. " IRQ2       ,IRQ2 Interrupt Force" "-,Forced"
bitfld.long 0x00 28. "      IRQ3       ,IRQ3 Interrupt Force" "-,Forced"
textline "                  "
bitfld.long 0x00 27. " IRQ4       ,IRQ4 Interrupt Force" "-,Forced"
sif ((CPU()=="MPC8314")||(CPU()=="MPC8315"))     
bitfld.long 0x00 26. "      IRQ5       ,IRQ5 Interrupt Force" "-,Forced"
textline "                  "
bitfld.long 0x00 25. " IRQ6       ,IRQ6 Interrupt Force" "-,Forced"
bitfld.long 0x00 24. "      IRQ7       ,IRQ7 Interrupt Force" "-,Forced"
endif        
line.long 0x04 "SERFR,System Error Force Register"
bitfld.long 0x04 30. " WDT        ,WDT Error Force" "-,Forced"
textline "                  "
bitfld.long 0x04 29. " SBA        ,SBA Error Force" "-,Forced"
bitfld.long 0x04 26. "      PCI        ,PCI Error Force" "-,Forced"
textline "                  "
bitfld.long 0x04 24. " MU         ,MU Error Force" "-,Forced"
endif
rgroup.long (0x00700+0x60)++0x7
line.long 0x00 "SCVCR,System Critical Interrupt Vector Register"
hexmask.long.byte 0x00 26.--31. 1. " CVECx      ,Backward compatible critical interrupt vector" 
hexmask.long.byte 0x00  0.--6.  1. "          CVEC       ,Critical interrupt vector"
line.long 0x04 "SMVCR,System Management Interrupt Vector Register"
hexmask.long.byte 0x04 26.--31. 1. " MVECx      ,Backward compatible system management interrupt vector"
hexmask.long.byte 0x04  0.--6.  1. "          MVEC       ,System management interrupt vector"
width 0xb

tree.end
tree "DDRMC (DDR Memory Controller)"
width 20.
group.long 0x02000++0x03
line.long 0x00 "CS0_BNDS,Chip Select 0 Memory Bounds"
hexmask.long.byte 0x00 16.--23. 1. " SA0           ,Starting address for chip select 0"
hexmask.long.byte 0x00  0.--7.  1. "                EA0           ,Ending address for chip select 0"
group.long (0x02000+0x08)++0x03
line.long 0x00 "CS1_BNDS,Chip Select 1 Memory Bounds"
hexmask.long.byte 0x00 16.--23. 1. " SA1           ,Starting address for chip select 1"
hexmask.long.byte 0x00  0.--7.  1. "                EA1           ,Ending address for chip select 1"
group.long (0x02000+0x80)++0x7
line.long 0x00 "CS0_CONFIG,Chip Select 0 Configuration"
bitfld.long 0x00 31. " CS_0_EN       ,Chip select 0 enable" "-,Active"
bitfld.long 0x00 23. "            AP_0_EN       ,Chip select 0 auto precharge enable" "DDR_SDRAM_INTERVAL[BSTOPRE] = 0,Always"
textline "                             "
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315"))    
bitfld.long 0x00 20.--22. " ODT_RD_CFG    ,ODT for reads configuration" "Never,CS0,Other CS,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 16.--18. "          ODT_WR_CFG    ,ODT for writes configuration" "Never,CS0,Other CS,Reserved,Reserved,Reserved,Reserved,Reserved"
elif ((CPU()=="MPC8314")||(CPU()=="MPC8315"))    
bitfld.long 0x00 20.--22. " ODT_RD_CFG    ,ODT for reads configuration" "Never,CS0,Other CS,Reserved,All reads,Reserved,Reserved,Reserved"
bitfld.long 0x00 16.--18. "         ODT_WR_CFG    ,ODT for writes configuration" "Never,CS0,Other CS,Reserved,All writes,Reserved,Reserved,Reserved"
endif        
textline "                             "
bitfld.long 0x00 14.--15. " BA_BITS_CS_0  ,Number of bank bits for SDRAM on chip select 0" "2,3,Reserved,Reserved"
bitfld.long 0x00 8.--11. "          ROW_BITS_CS_0 ,Number of row bits for SDRAM on chip select 0" "12,13,14,15,?..."
textline "                             "
bitfld.long 0x00 0.--2. " COL_BITS_CS_0 ,Number of column bits for SDRAM on chip select 0" "8,9,10,11,Reserved,Reserved,Reserved,Reserved"
line.long 0x04 "CS1_CONFIG,Chip Select 1 Configuration"
bitfld.long 0x04 31. " CS_1_EN       ,Chip select 1 enable" "-,Active"
bitfld.long 0x04 23. "            AP_1_EN       ,Chip select 1 auto precharge enable" "Conditionally,Always"
textline "                             "
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315"))    
bitfld.long 0x04 20.--22. " ODT_RD_CFG    ,ODT for reads configuration" "Never,CS1,Other CS,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x04 16.--18. "          ODT_WR_CFG    ,ODT for writes configuration" "Never,CS1,Other CS,Reserved,Reserved,Reserved,Reserved,Reserved"
elif ((CPU()=="MPC8314")||(CPU()=="MPC8315"))    
bitfld.long 0x04 20.--22. " ODT_RD_CFG    ,ODT for reads configuration" "Never,CS1,Other CS,Reserved,All reads,Reserved,Reserved,Reserved"
bitfld.long 0x04 16.--18. "         ODT_WR_CFG    ,ODT for writes configuration" "Never,CS1,Other CS,Reserved,All writes,Reserved,Reserved,Reserved"
endif    
textline "                             "
bitfld.long 0x04 14.--15. " BA_BITS_CS_1  ,Number of bank bits for SDRAM on chip select 1" "2,3,Reserved,Reserved"
bitfld.long 0x04 8.--11. "          ROW_BITS_CS_1 ,Number of row bits for SDRAM on chip select 1" "12,13,14,15,?..."
textline "                             "
bitfld.long 0x04 0.--2. " COL_BITS_CS_1 ,Number of column bits for SDRAM on chip select 1" "8,9,10,11,Reserved,Reserved,Reserved,Reserved"
group.long (0x02000+0x0100)++0x7
line.long 0x00 "TIMING_CFG_3,DDR SDRAM Timing Configuration Register 3"
bitfld.long 0x00 16.--18. " EXT_REFREC    ,Extended refresh recovery time" "0 clocks,16 clocks,32 clocks,48 clocks,64 clocks,80 clocks,96 clocks,112 clocks"
line.long 0x04 "TIMING_CFG_0,DDR SDRAM Timing Configuration Register 0"
bitfld.long 0x04 30.--31. " RWT           ,Read-to-write turnaround" "0 clocks,1 clock,2 clocks,3 clocks"
bitfld.long 0x04 28.--29. "          WRT           ,Write-to-read turnaround" "0 clocks,1 clock,2 clocks,3 clocks"
textline "                             "
bitfld.long 0x04 26.--27. " RRT           ,Read-to-read turnaround" "0 clocks,1 clock,2 clocks,3 clocks"
bitfld.long 0x04 24.--25. "          WWT           ,Write-to-write turnaround" "0 clocks,1 clock,2 clocks,3 clocks"
textline "                             "
bitfld.long 0x04 20.--22. " ACT_PD_EXIT   ,Active powerdown exit timing" "Reserved,1 clock,2 clocks,3 clocks,4 clocks,5 clocks,6 clocks,7 clocks"
bitfld.long 0x04 16.--18. "          PRE_PD_EXIT   ,Precharge powerdown exit timing" "Reserved,1 clock,2 clocks,3 clocks,4 clocks,5 clocks,6 clocks,7 clocks"
textline "                             "
bitfld.long 0x04  8.--11. " ODT_PD_EXIT   ,ODT powerdown exit timing" "0 clocks,1 clocks,2 clocks,3 clocks,4 clocks,5 clocks,6 clocks,7 clocks,8 clocks,9 clocks,10 clocks,11 clocks,12 clocks,13 clocks,14 clocks,15 clocks"
bitfld.long 0x04  0.--3.  "         MRS_CYC       ,Mode register set cycle time" "Reserved,1 clocks,2 clocks,3 clocks,4 clocks,5 clocks,6 clocks,7 clocks,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
group.long (0x02000+0x0108)++0x23
line.long 0x00 "TIMING_CFG_1,DDR SDRAM Timimg Configuration Register 1"
bitfld.long 0x00 28.--30. " PRETOACT      ,Precharge to active interval" "Reserved,1 clock,2 clocks,3 clocks,4 clocks,5 clocks,6 clocks,7 clocks"
bitfld.long 0x00 24.--27. "          ACTTOPRE      ,Activate to precharge interval" "16 clocks,17 clocks,18 clocks,19 clocks,4 clocks,5 clocks,6 clocks,7 clocks,8 clocks,9 clocks,10 clocks,11 clocks,12 clocks,13 clocks,14 clocks,15 clocks"
textline "                             "
bitfld.long 0x00 20.--22. " ACTTORW       ,Activate to read/write interval for SDRAM" "Reserved,1 clock,2 clocks,3 clocks,4 clocks,5 clocks,6 clocks,7 clocks"
bitfld.long 0x00 16.--19. "          CASLAT        ,/MCAS latency from READ command" "Reserved,1 clock,1.5 clocks,2 clocks,2.5 clocks,3 clocks,3.5 clocks,4 clocks,4.5 clocks,5 clocks,5.5 clocks,6 clocks,6.5 clocks,7 clocks,7.5 clocks,8 clocks"
textline "                             "
bitfld.long 0x00 12.--15. " REFREC        ,Refresh recovery time" "8 clocks,9 clocks,10 clocks,11 clocks,12 clocks,13 clocks,14 clocks,15 clocks,16 clocks,17 clocks,18 clocks,19 clocks,20 clocks,21 clocks,22 clocks,23 clocks"
bitfld.long 0x00 8.--10. "         WRREC         ,Last data to precharge minimum interval" "Reserved,1 clock,2 clocks,3 clocks,4 clocks,5 clocks,6 clocks,7 clocks"
textline "                             "
bitfld.long 0x00 4.--6. " ACTTOACT      ,Activate to activate interval" "Reserved,1 clock,2 clocks,3 clocks,4 clocks,5 clocks,6 clocks,7 clocks"
bitfld.long 0x00 0.--2. "          WRTORD        ,Last write data pair to read command issue interval" "Reserved,1 clock,2 clocks,3 clocks,4 clocks,5 clocks,6 clocks,7 clocks"
line.long 0x04 "TIMING_CFG_2,DDR SDRAM Timimg Configuration Register 2"
bitfld.long 0x04 28.--30. " ADD_LAT       ,Additive latency" "0 clocks,1 clock,2 clocks,3 clocks,4 clocks,5 clocks,?..."
bitfld.long 0x04 23.--27. "          CPO           ,/MCAS-to-preamble override" "READ_LAT + 1,Reserved,READ_LAT,READ_LAT + 1/4,READ_LAT + 1/2,READ_LAT + 3/4,READ_LAT + 1,READ_LAT + 5/4,READ_LAT + 3/2,READ_LAT + 7/4,READ_LAT + 2,READ_LAT + 9/4,READ_LAT + 5/2,READ_LAT + 11/4,READ_LAT + 3,READ_LAT + 13/4,READ_LAT + 7/2,READ_LAT + 15/4,READ_LAT + 4,READ_LAT + 17/4,READ_LAT + 9/2,READ_LAT + 19/4,?..."
textline "                             "
bitfld.long 0x04 19.--21. " WR_LAT        ,Write latency" "Reserved,1 clock,2 clocks,3 clocks,4 clocks,5 clocks,6 clocks,7 clocks"
bitfld.long 0x04 13.--15. "          RD_TO_PRE     ,Read to precharge" "Reserved,1 clock,2 clocks,3 clocks,4 clocks,Reserved,Reserved,Reserved"
textline "                             "
bitfld.long 0x04 10.--12. " WR_DATA_DELAY ,Write command to write data strobe timing adjustment" "0 clocks,1/4 clock,1/2 clock,3/4 clock,1 clock,5/4 clock,3/2 clock,Reserved"
bitfld.long 0x04  6.--8.  "         CKE_PLS       ,Minimum CKE pulse width" "Reserved,1 cycle,2 cycles,3 cycles,4 cycles,Reserved,Reserved,Reserved"
textline "                             "
bitfld.long 0x04  0.--5.  " FOUR_ACT      ,Window for four activates" "Reserved,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles,8 cycles,9 cycles,10 cycles,11 cycles,12 cycles,13 cycles,14 cycles,15 cycles,16 cycles,17 cycles,18 cycles,19 cycles,20 cycles,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
line.long 0x08 "DDR_SDRAM_CFG,DDR SDRAM Control Configuration Register"
bitfld.long 0x08 31. " MEM_EN        ,DDR SDRAM interface logic enable" "-,Enabled"
bitfld.long 0x08 30. "           SREN          ,Self refresh enable (during sleep)" "-,Enabled"
textline "                             "
bitfld.long 0x08 28. " RD_EN         ,Registered DIMM enable" "Unbuffered,Registered"
bitfld.long 0x08 24.--26. "        SDRAM_TYPE    ,Type of SDRAM device to be used" "Reserved,Reserved,DDR1,DDR2,Reserved,Reserved,Reserved,Reserved"
textline "                             "
bitfld.long 0x08 21. " DYN_PWR       ,Dynamic power management mode" "-,Enabled"
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315"))    
bitfld.long 0x08 19.--20. "           DBW           ,Dynamic power management mode" "Reserved,32-bit,16-bit,Reserved"
textline "                             "
bitfld.long 0x08 18. " 8_BE          ,8-beat burst mode" "4-beat,8-beat"
elif ((CPU()=="MPC8314")||(CPU()=="MPC8315"))        
bitfld.long 0x08 19. "           32_BE         ,32-bit bus enable" "Reserved,32-bit"
textline "                             "
bitfld.long 0x08 18. " 8_BE          ,8-beat burst mode" "4-beat,8-beat"
endif
bitfld.long 0x08 17. "            NCAP          ,Non-concurrent auto precharge" "Supported,-"
textline "                             "
bitfld.long 0x08 15. " 2T_EN         ,2T timing enable" "1T timing,2T timing"
hexmask.long.byte 0x08 8.--14. 1. "         BA_INTLV_CTL  ,Bank interleaving control"
textline "                             "
bitfld.long 0x08  5. " x32_EN        ,x32 enable" "x8/x16,x32"
bitfld.long 0x08  4. "            PCHB8         ,Precharge bit 8 enable" "MA[10],MA[8]"
textline "                             "
bitfld.long 0x08  3. " HSE           ,Global half-strength" "Full,Half"
bitfld.long 0x08  1. "              MEM_HALT      ,DDR memory controller halt" "-,Halted"
textline "                             "
bitfld.long 0x08  0. " BI            ,Bypass initialization" "-,Bypassed"
line.long 0x0c "DDR_SDRAM_CFG_2,DDR SDRAM Control Configuration Register 2"
bitfld.long 0x0c 31. " FRC_SR        ,Force self refresh" "Normal,Self-refresh"
sif ((CPU()=="MPC8314")||(CPU()=="MPC8315"))    
bitfld.long 0x0c 30. "      SR_IE         ,Self-refresh interrupt enable" "Disabled,Enabled"
endif        
textline "                             "
bitfld.long 0x0c 29. " DLL_RST_DIS   ,DLL reset disable" "Issued,Not issued"
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315"))        
bitfld.long 0x0c 26.--27. "        DQS_CFG       ,DQS configuration" "True DQS,Differential DQS,Reserved,Reserved"
elif ((CPU()=="MPC8314")||(CPU()=="MPC8315"))    
bitfld.long 0x0c 26.--27. "        DQS_CFG       ,DQS configuration" "True DQS,Reserved,Reserved,Reserved"
endif    
textline "                             "
bitfld.long 0x0c 21.--22. " ODT_CFG       ,ODT configuration" "Never,During writes,During reads,Always"
bitfld.long 0x0c 12.--15. "     NUM_PR        ,Number of posted refreshes" "Reserved,1,2,3,4,5,6,7,8,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
textline "                             "
bitfld.long 0x0c  4. " D_INIT        ,DRAM data initialization" "-,In progress"
line.long 0x10 "DDR_SDRAM_MODE,DDR SDRAM Mode Configuration Register"
hexmask.long.word 0x10 16.--31. 1. " ESDMODE       ,Extended SDRAM mode"
hexmask.long.word 0x10 0.--15. 1. "              SDMODE        ,SDRAM mode"
line.long 0x14 "DDR_SDRAM_MODE_2,DDR SDRAM Mode 2 Configuration Register"
hexmask.long.word 0x14 16.--31. 1. " ESDMODE2      ,Extended SDRAM mode 2"
hexmask.long.word 0x14 0.--15. 1. "              ESDMODE3      ,Extended SDRAM mode 3"
line.long 0x18 "DDR_SDRAM_MD_CNTL,DDR SDRAM Mode Control Register"
bitfld.long 0x18 31. " MD_EN         ,Mode enable" "-,Enabled"
bitfld.long 0x18 28.--29. "           CS_SEL        ,Select chip select" "0,1,Reserved,Reserved"
textline "                             "
bitfld.long 0x18 24.--26. " MD_SEL        ,Mode register select" "MR,EMR,EMR2,EMR3,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x18 23. "          SET_REF       ,Set refresh" "Not needed,Ready"
textline "                             "
bitfld.long 0x18 22. " SET_PRE       ,Set precharge" "Not needed,Ready"
bitfld.long 0x18 20.--21. "        CKE_CNTL      ,Clock enable control" "-,Low,High,Reserved"
textline "                             "
hexmask.long.word 0x18 0.--15. 1. " MD_VALUE      ,Mode register value"
line.long 0x1c "DDR_SDRAM_INTERVAL,DDR SDRAM Interval Configuration Register"
hexmask.long.word 0x1c 16.--31. 1. " REFINT        ,Refresh interval"
hexmask.long.word 0x1c 0.--13. 1. "              BSTOPRE       ,Precharge interval"
line.long 0x20 "DDR_DATA_INIT,DDR SDRAM Data Initialization Register"
group.long (0x02000+0x0130)++0x3
line.long 0x00 "DDR_SDRAM_CLK_CNTL,DDR SDRAM Clock Control Register"
bitfld.long 0x00 24.--26. " CLK_ADJUST    ,Clock adjust" "Aligned,+1/4 cycle,+1/2 cycle,+3/4 cycle,+1 cycle,Reserved,Reserved,Reserved"
width 20.
group.long (0x02000+0x0148)++0x3
line.long 0x00 "DDR_INIT_ADDR,DDR Initialization Address Register"
rgroup.long (0x02000+0xbf8)++0x7
line.long 0x00 "DDR_IP_REV1,DDR IP Block Revision Register 1"
hexmask.long.word 0x00 16.--31. 1. " IP_ID         ,IP block ID"
hexmask.long.byte 0x00  8.--15. 1. "              IP_MJ         ,Major revision"
textline "                             "
hexmask.long.byte 0x00  0.--7.  1. " IP_MN         ,Minor revision"
line.long 0x04 "DDR_IP_REV2,DDR IP Block Revision Register 2"
hexmask.long.byte 0x04 16.--23. 1. " IP_INT        ,IP Block Integration Options"
hexmask.long.byte 0x04  0.--7.  1. "                IP_CFG        ,IP Clock configuration Options"
width 0x0b
tree.end
tree "eLBC (Enhanced Local Bus Controller)"
tree "Base & Option registers"
width 5.
group.long (0x05000+0x0)++0x3
line.long 0x00 "BR0,Base register 0"
hexmask.long 0x00 15.--31. 0x8000 " BA   ,Base address"
bitfld.long 0x00 11.--12. "               PS   ,Port Size" ",8 bit,16 bit,"
bitfld.long 0x00  9.--10. "    DECC ,Data error checking method" "Disabled,Checking enabled,Checking/generation enabled,"
textline "              "
bitfld.long 0x00  8. " WP   ,Write protect" "Read/Write,Read only"
bitfld.long 0x00  5.--7. "             MSEL , Machine select" "GPCM,FCM,,,UPMA,UPMB,UPMC,"
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315")&&(cpu()!="MPC8308")&&(cpu()!="MPC8306")&&(cpu()!="MPC8306S")&&(cpu()!="MPC8309"))
bitfld.long 0x00  2.--3. "      ATOM ,Atomic operation" "Addr space not used,RAWA,WARA,"
endif
textline "              "
bitfld.long 0x00  0. " V    ,Valid bit" "Invalid,Valid"
width 5.
if (((d.l.be(anc:iobase()+0x05000+0x0)&0xe0)==0x00)&&((d.l.be(anc:iobase()+0x05000+0xd4)&0x0f)==0x02))
// LCRR[CLKDIV] = 2
group.long (0x05000+0x4)++0x03
line.long 0x00 "OR0,Option Register 0"
bitfld.long 0x00 31. " AM        ,GPCM address mask" "0,1"
bitfld.long 0x00 30. ",GPCM address mask"  "0,1"
bitfld.long 0x00 29. ",GPCM address mask"  "0,1"
bitfld.long 0x00 28. ",GPCM address mask"  "0,1"
bitfld.long 0x00 27. ",GPCM address mask"  "0,1"
bitfld.long 0x00 26. ",GPCM address mask"  "0,1"
bitfld.long 0x00 25. ",GPCM address mask"  "0,1"
bitfld.long 0x00 24. ",GPCM address mask"  "0,1"
bitfld.long 0x00 23. ",GPCM address mask"  "0,1"
bitfld.long 0x00 22. ",GPCM address mask"  "0,1"
bitfld.long 0x00 21. ",GPCM address mask"  "0,1"
bitfld.long 0x00 20. ",GPCM address mask"  "0,1"
bitfld.long 0x00 19. ",GPCM address mask"  "0,1"
bitfld.long 0x00 18. ",GPCM address mask"  "0,1"
bitfld.long 0x00 17. ",GPCM address mask"  "0,1"
bitfld.long 0x00 16. ",GPCM address mask"  "0,1"
bitfld.long 0x00 15. ",GPCM address mask"  "0,1"
textline "              "
bitfld.long 0x00 12. " BCTLD     ,Buffer control disable" "No,Yes"
bitfld.long 0x00 11. "               CSNT ,Chip select negation time" "Normal,Normal"
textline "              "
bitfld.long 0x00 9.--10. " ACS       ,Address to chip-select setup" "Same time,,0.5 cycle after,0.5 cycle after"
bitfld.long 0x00 8. "   XACS ,Extra address to chip-select setup" "Simple,Extended"
textline "              "
bitfld.long 0x00 4.--7. " SCY       ,Cycle length in bus clocks" "-,1 state,2 states,3 states,4 states,5 states,6 states,7 states,8 states,9 states,10 states,11 states,12 states,13 states,14 states,15 states"
bitfld.long 0x00 3. "         SETA ,External address termination" "Internal,External"
textline "              "
bitfld.long 0x00 1.--2. " TRLX/EHTR ,Timing relaxed / Extended hold time on read accesses" "Normal timing,1 idle cycle,4 idle cycles,8 idle cycles"
sif (cpu()!="MPC8308")
bitfld.long 0x00 0. "     EAD  ,External address latch delay" "-,Enabled"
endif
elif (((d.l.be(anc:iobase()+0x05000+0x0)&0xe0)==0x00)&&(((d.l.be(anc:iobase()+0x05000+0xd4)&0x0f)==0x04)||((d.l.be(anc:iobase()+0x05000+0xd4)&0x0f)==0x08)))
group.long (0x05000+0x4)++0x03
line.long 0x00 "OR0,Option Register 0"
bitfld.long 0x00 31. " AM        ,GPCM address mask" "0,1"
bitfld.long 0x00 30. ",GPCM address mask"  "0,1"
bitfld.long 0x00 29. ",GPCM address mask"  "0,1"
bitfld.long 0x00 28. ",GPCM address mask"  "0,1"
bitfld.long 0x00 27. ",GPCM address mask"  "0,1"
bitfld.long 0x00 26. ",GPCM address mask"  "0,1"
bitfld.long 0x00 25. ",GPCM address mask"  "0,1"
bitfld.long 0x00 24. ",GPCM address mask"  "0,1"
bitfld.long 0x00 23. ",GPCM address mask"  "0,1"
bitfld.long 0x00 22. ",GPCM address mask"  "0,1"
bitfld.long 0x00 21. ",GPCM address mask"  "0,1"
bitfld.long 0x00 20. ",GPCM address mask"  "0,1"
bitfld.long 0x00 19. ",GPCM address mask"  "0,1"
bitfld.long 0x00 18. ",GPCM address mask"  "0,1"
bitfld.long 0x00 17. ",GPCM address mask"  "0,1"
bitfld.long 0x00 16. ",GPCM address mask"  "0,1"
bitfld.long 0x00 15. ",GPCM address mask"  "0,1"
textline "              "
bitfld.long 0x00 12. " BCTLD     ,Buffer control disable" "No,Yes"
bitfld.long 0x00 11. "               CSNT ,Chip select negation time" "Normal,0.25 cycle earlier"
textline "              "
bitfld.long 0x00 9.--10. " ACS       ,Address to chip-select setup" "Same time,,0.25 cycle after,0.5 cycle after"
bitfld.long 0x00 8. "  XACS ,Extra address to chip-select setup" "Simple,Extended"
textline "              "
bitfld.long 0x00 4.--7. " SCY       ,Cycle length in bus clocks" "-,1 state,2 states,3 states,4 states,5 states,6 states,7 states,8 states,9 states,10 states,11 states,12 states,13 states,14 states,15 states"
bitfld.long 0x00 3. "         SETA ,External address termination" "Internal,External"
textline "              "
bitfld.long 0x00 1.--2. " TRLX/EHTR ,Timing relaxed / Extended hold time on read accesses" "Normal timing,1 idle cycle,4 idle cycles,8 idle cycles"
sif (cpu()!="MPC8308")
bitfld.long 0x00 0. "     EAD  ,External address latch delay" "-,Enabled"
endif
elif (d.l.be(anc:iobase()+0x05000+0x0)&0xe0)==0x00
group.long (0x05000+0x4)++0x03
line.long 0x00 "OR0,Option Register 0"
bitfld.long 0x00 31. " AM        ,GPCM address mask" "0,1"
bitfld.long 0x00 30. ",GPCM address mask"  "0,1"
bitfld.long 0x00 29. ",GPCM address mask"  "0,1"
bitfld.long 0x00 28. ",GPCM address mask"  "0,1"
bitfld.long 0x00 27. ",GPCM address mask"  "0,1"
bitfld.long 0x00 26. ",GPCM address mask"  "0,1"
bitfld.long 0x00 25. ",GPCM address mask"  "0,1"
bitfld.long 0x00 24. ",GPCM address mask"  "0,1"
bitfld.long 0x00 23. ",GPCM address mask"  "0,1"
bitfld.long 0x00 22. ",GPCM address mask"  "0,1"
bitfld.long 0x00 21. ",GPCM address mask"  "0,1"
bitfld.long 0x00 20. ",GPCM address mask"  "0,1"
bitfld.long 0x00 19. ",GPCM address mask"  "0,1"
bitfld.long 0x00 18. ",GPCM address mask"  "0,1"
bitfld.long 0x00 17. ",GPCM address mask"  "0,1"
bitfld.long 0x00 16. ",GPCM address mask"  "0,1"
bitfld.long 0x00 15. ",GPCM address mask"  "0,1"
textline "              "
bitfld.long 0x00 12. " BCTLD     ,Buffer control disable" "No,Yes"
bitfld.long 0x00 11. "               CSNT ,Chip select negation time" "Normal,"
textline "              "
bitfld.long 0x00 9.--10. " ACS       ,Address to chip-select setup" "Same time,,,"
bitfld.long 0x00 8. "         XACS ,Extra address to chip-select setup" "Simple,Extended"
textline "              "
bitfld.long 0x00 4.--7. " SCY       ,Cycle length in bus clocks" "-,1 state,2 states,3 states,4 states,5 states,6 states,7 states,8 states,9 states,10 states,11 states,12 states,13 states,14 states,15 states"
bitfld.long 0x00 3. "         SETA ,External address termination" "Internal,External"
textline "              "
bitfld.long 0x00 1.--2. " TRLX/EHTR ,Timing relaxed / Extended hold time on read accesses" "Normal timing,1 idle cycle,4 idle cycles,8 idle cycles"
sif (cpu()!="MPC8308")
bitfld.long 0x00 0. "     EAD  ,External address latch delay" "-,Enabled"
endif
elif ((((d.l.be(anc:(iobase()+0x05000+0x0)))&0xe0)==0x20)&&(((d.l.be(anc:(iobase()+0x05000+0x4)))&0x4)==0x0))
group.long (0x05000+0x4)++0x03
line.long 0x00 "OR0,Option Register 0"
bitfld.long 0x00 31. " AM        ,FCM address mask" "0,1"
bitfld.long 0x00 30. ",FCM address mask"  "0,1"
bitfld.long 0x00 29. ",FCM address mask"  "0,1"
bitfld.long 0x00 28. ",FCM address mask"  "0,1"
bitfld.long 0x00 27. ",FCM address mask"  "0,1"
bitfld.long 0x00 26. ",FCM address mask"  "0,1"
bitfld.long 0x00 25. ",FCM address mask"  "0,1"
bitfld.long 0x00 24. ",FCM address mask"  "0,1"
bitfld.long 0x00 23. ",FCM address mask"  "0,1"
bitfld.long 0x00 22. ",FCM address mask"  "0,1"
bitfld.long 0x00 21. ",FCM address mask"  "0,1"
bitfld.long 0x00 20. ",FCM address mask"  "0,1"
bitfld.long 0x00 19. ",FCM address mask"  "0,1"
bitfld.long 0x00 18. ",FCM address mask"  "0,1"
bitfld.long 0x00 17. ",FCM address mask"  "0,1"
bitfld.long 0x00 16. ",FCM address mask"  "0,1"
bitfld.long 0x00 15. ",FCM address mask"  "0,1"
textline "              "
bitfld.long 0x00 12. " BCTLD     ,Buffer control disabled" "No,Yes"
bitfld.long 0x00 10. "               PGS  ,NAND Flash E2PROM page/buffer/block size" "512+16 B/1 Kb/16 Kb,2048+64 B/4 Kb/128 Kb"
textline "              "
bitfld.long 0x00  9. " CSCT      ,Chip select to command time" "1 cycle,4 cycles"
bitfld.long 0x00  8. "          CST  ,Command setup time" "Coincident,+0.25 cycles"
textline "              "
bitfld.long 0x00  7. " CHT       ,Command hold time" "0.5 cycles,1 cycle"
bitfld.long 0x00  4.--6. "        SCY  ,Cycle length" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles"
textline "              "
bitfld.long 0x00  3. " RST       ,Read setup time" "0.75 cycles,1 cycle"
bitfld.long 0x00  2. "       TRLX ,Timing relaxed" "Normal,Relaxed"
textline "              "
bitfld.long 0x00  1. " EHTR      ,Extended hold time on read accesses" "1 cycle,2 cycles"
elif ((((d.l.be(anc:(iobase()+0x05000+0x0)))&0xe0)==0x20)&&(((d.l.be(anc:(iobase()+0x05000+0x4)))&0x4)==0x4))
group.long (0x05000+0x4)++0x03
line.long 0x00 "OR0,Option Register 0"
bitfld.long 0x00 31. " AM        ,FCM address mask" "0,1"
bitfld.long 0x00 30. ",FCM address mask"  "0,1"
bitfld.long 0x00 29. ",FCM address mask"  "0,1"
bitfld.long 0x00 28. ",FCM address mask"  "0,1"
bitfld.long 0x00 27. ",FCM address mask"  "0,1"
bitfld.long 0x00 26. ",FCM address mask"  "0,1"
bitfld.long 0x00 25. ",FCM address mask"  "0,1"
bitfld.long 0x00 24. ",FCM address mask"  "0,1"
bitfld.long 0x00 23. ",FCM address mask"  "0,1"
bitfld.long 0x00 22. ",FCM address mask"  "0,1"
bitfld.long 0x00 21. ",FCM address mask"  "0,1"
bitfld.long 0x00 20. ",FCM address mask"  "0,1"
bitfld.long 0x00 19. ",FCM address mask"  "0,1"
bitfld.long 0x00 18. ",FCM address mask"  "0,1"
bitfld.long 0x00 17. ",FCM address mask"  "0,1"
bitfld.long 0x00 16. ",FCM address mask"  "0,1"
bitfld.long 0x00 15. ",FCM address mask"  "0,1"
textline "              "
bitfld.long 0x00 12. " BCTLD     ,Buffer control disabled" "No,Yes"
bitfld.long 0x00 10. "               PGS  ,NAND Flash E2PROM page/buffer/block size" "512+16 B/1 KB/16 KB,2048+64 B/4 KB/128 KB"
textline "              "
bitfld.long 0x00  9. " CSCT      ,Chip select to command time" "2 cycles,8 cycles"
bitfld.long 0x00  8. "          CST  ,Command setup time" "+0.5 cycles,+1 cycle"
textline "              "
bitfld.long 0x00  7. " CHT       ,Command hold time" "1.5 cycles,2 cycles"
bitfld.long 0x00  4.--6. "        SCY  ,Cycle length" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles"
textline "              "
bitfld.long 0x00  3. " RST       ,Read setup time" "0.5 cycles,1 cycle"
bitfld.long 0x00  2. "        TRLX ,Timing relaxed" "Normal,Relaxed"
textline "              "
bitfld.long 0x00  1. " EHTR      ,Extended hold time on read accesses" "4 cycles,8 cycles"
elif ((d.l.be(anc:iobase()+0x05000+0x0)&0xe0)==0x80)||((d.l.be(anc:iobase()+0x05000+0x0)&0xe0)==0xa0)||((d.l.be(anc:iobase()+0x05000+0x0)&0xe0)==0xc0)
group.long (0x05000+0x4)++0x03
line.long 0x00 "OR0,Option Register 0"
bitfld.long 0x00 31. " AM        ,UPM address mask" "0,1"
bitfld.long 0x00 30. ",UPM address mask"  "0,1"
bitfld.long 0x00 29. ",UPM address mask"  "0,1"
bitfld.long 0x00 28. ",UPM address mask"  "0,1"
bitfld.long 0x00 27. ",UPM address mask"  "0,1"
bitfld.long 0x00 26. ",UPM address mask"  "0,1"
bitfld.long 0x00 25. ",UPM address mask"  "0,1"
bitfld.long 0x00 24. ",UPM address mask"  "0,1"
bitfld.long 0x00 23. ",UPM address mask"  "0,1"
bitfld.long 0x00 22. ",UPM address mask"  "0,1"
bitfld.long 0x00 21. ",UPM address mask"  "0,1"
bitfld.long 0x00 20. ",UPM address mask"  "0,1"
bitfld.long 0x00 19. ",UPM address mask"  "0,1"
bitfld.long 0x00 18. ",UPM address mask"  "0,1"
bitfld.long 0x00 17. ",UPM address mask"  "0,1"
bitfld.long 0x00 16. ",UPM address mask"  "0,1"
bitfld.long 0x00 15. ",UPM address mask"  "0,1"
textline "              "
bitfld.long 0x00 12. " BCTLD     ,Buffer control disabled" "No,Yes"
bitfld.long 0x00 8. "               BI   ,Burst inhibit" "Supported,Inhibited"
textline "              "
bitfld.long 0x00 1.--2. " TRLX/EHTR ,Timing relaxed / Extended hold time on read accesses" "Normal timing,1 idle cycle,4 idle cycles,8 idle cycles"
sif (cpu()!="MPC8308")
bitfld.long 0x00 0. "     EAD  ,External address latch delay" "-,Enabled"
endif
else
hgroup.long (0x05000+0x4)++0x03
hide.long 0x00 "OR0,Option Register 0"
endif
group.long (0x05000+0x8)++0x3
line.long 0x00 "BR1,Base register 1"
hexmask.long 0x00 15.--31. 0x8000 " BA   ,Base address"
bitfld.long 0x00 11.--12. "               PS   ,Port Size" ",8 bit,16 bit,"
bitfld.long 0x00  9.--10. "    DECC ,Data error checking method" "Disabled,Checking enabled,Checking/generation enabled,"
textline "              "
bitfld.long 0x00  8. " WP   ,Write protect" "Read/Write,Read only"
bitfld.long 0x00  5.--7. "             MSEL , Machine select" "GPCM,FCM,,,UPMA,UPMB,UPMC,"
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315")&&(cpu()!="MPC8308")&&(cpu()!="MPC8306")&&(cpu()!="MPC8306S")&&(cpu()!="MPC8309"))
bitfld.long 0x00  2.--3. "      ATOM ,Atomic operation" "Addr space not used,RAWA,WARA,"
endif
textline "              "
bitfld.long 0x00  0. " V    ,Valid bit" "Invalid,Valid"
width 5.
if (((d.l.be(anc:iobase()+0x05000+0x8)&0xe0)==0x00)&&((d.l.be(anc:iobase()+0x05000+0xd4)&0x0f)==0x02))
// LCRR[CLKDIV] = 2
group.long (0x05000+0xC)++0x03
line.long 0x00 "OR1,Option Register 1"
bitfld.long 0x00 31. " AM        ,GPCM address mask" "0,1"
bitfld.long 0x00 30. ",GPCM address mask"  "0,1"
bitfld.long 0x00 29. ",GPCM address mask"  "0,1"
bitfld.long 0x00 28. ",GPCM address mask"  "0,1"
bitfld.long 0x00 27. ",GPCM address mask"  "0,1"
bitfld.long 0x00 26. ",GPCM address mask"  "0,1"
bitfld.long 0x00 25. ",GPCM address mask"  "0,1"
bitfld.long 0x00 24. ",GPCM address mask"  "0,1"
bitfld.long 0x00 23. ",GPCM address mask"  "0,1"
bitfld.long 0x00 22. ",GPCM address mask"  "0,1"
bitfld.long 0x00 21. ",GPCM address mask"  "0,1"
bitfld.long 0x00 20. ",GPCM address mask"  "0,1"
bitfld.long 0x00 19. ",GPCM address mask"  "0,1"
bitfld.long 0x00 18. ",GPCM address mask"  "0,1"
bitfld.long 0x00 17. ",GPCM address mask"  "0,1"
bitfld.long 0x00 16. ",GPCM address mask"  "0,1"
bitfld.long 0x00 15. ",GPCM address mask"  "0,1"
textline "              "
bitfld.long 0x00 12. " BCTLD     ,Buffer control disable" "No,Yes"
bitfld.long 0x00 11. "               CSNT ,Chip select negation time" "Normal,Normal"
textline "              "
bitfld.long 0x00 9.--10. " ACS       ,Address to chip-select setup" "Same time,,0.5 cycle after,0.5 cycle after"
bitfld.long 0x00 8. "   XACS ,Extra address to chip-select setup" "Simple,Extended"
textline "              "
bitfld.long 0x00 4.--7. " SCY       ,Cycle length in bus clocks" "-,1 state,2 states,3 states,4 states,5 states,6 states,7 states,8 states,9 states,10 states,11 states,12 states,13 states,14 states,15 states"
bitfld.long 0x00 3. "         SETA ,External address termination" "Internal,External"
textline "              "
bitfld.long 0x00 1.--2. " TRLX/EHTR ,Timing relaxed / Extended hold time on read accesses" "Normal timing,1 idle cycle,4 idle cycles,8 idle cycles"
sif (cpu()!="MPC8308")
bitfld.long 0x00 0. "     EAD  ,External address latch delay" "-,Enabled"
endif
elif (((d.l.be(anc:iobase()+0x05000+0x8)&0xe0)==0x00)&&(((d.l.be(anc:iobase()+0x05000+0xd4)&0x0f)==0x04)||((d.l.be(anc:iobase()+0x05000+0xd4)&0x0f)==0x08)))
group.long (0x05000+0xC)++0x03
line.long 0x00 "OR1,Option Register 1"
bitfld.long 0x00 31. " AM        ,GPCM address mask" "0,1"
bitfld.long 0x00 30. ",GPCM address mask"  "0,1"
bitfld.long 0x00 29. ",GPCM address mask"  "0,1"
bitfld.long 0x00 28. ",GPCM address mask"  "0,1"
bitfld.long 0x00 27. ",GPCM address mask"  "0,1"
bitfld.long 0x00 26. ",GPCM address mask"  "0,1"
bitfld.long 0x00 25. ",GPCM address mask"  "0,1"
bitfld.long 0x00 24. ",GPCM address mask"  "0,1"
bitfld.long 0x00 23. ",GPCM address mask"  "0,1"
bitfld.long 0x00 22. ",GPCM address mask"  "0,1"
bitfld.long 0x00 21. ",GPCM address mask"  "0,1"
bitfld.long 0x00 20. ",GPCM address mask"  "0,1"
bitfld.long 0x00 19. ",GPCM address mask"  "0,1"
bitfld.long 0x00 18. ",GPCM address mask"  "0,1"
bitfld.long 0x00 17. ",GPCM address mask"  "0,1"
bitfld.long 0x00 16. ",GPCM address mask"  "0,1"
bitfld.long 0x00 15. ",GPCM address mask"  "0,1"
textline "              "
bitfld.long 0x00 12. " BCTLD     ,Buffer control disable" "No,Yes"
bitfld.long 0x00 11. "               CSNT ,Chip select negation time" "Normal,0.25 cycle earlier"
textline "              "
bitfld.long 0x00 9.--10. " ACS       ,Address to chip-select setup" "Same time,,0.25 cycle after,0.5 cycle after"
bitfld.long 0x00 8. "  XACS ,Extra address to chip-select setup" "Simple,Extended"
textline "              "
bitfld.long 0x00 4.--7. " SCY       ,Cycle length in bus clocks" "-,1 state,2 states,3 states,4 states,5 states,6 states,7 states,8 states,9 states,10 states,11 states,12 states,13 states,14 states,15 states"
bitfld.long 0x00 3. "         SETA ,External address termination" "Internal,External"
textline "              "
bitfld.long 0x00 1.--2. " TRLX/EHTR ,Timing relaxed / Extended hold time on read accesses" "Normal timing,1 idle cycle,4 idle cycles,8 idle cycles"
sif (cpu()!="MPC8308")
bitfld.long 0x00 0. "     EAD  ,External address latch delay" "-,Enabled"
endif
elif (d.l.be(anc:iobase()+0x05000+0x8)&0xe0)==0x00
group.long (0x05000+0xC)++0x03
line.long 0x00 "OR1,Option Register 1"
bitfld.long 0x00 31. " AM        ,GPCM address mask" "0,1"
bitfld.long 0x00 30. ",GPCM address mask"  "0,1"
bitfld.long 0x00 29. ",GPCM address mask"  "0,1"
bitfld.long 0x00 28. ",GPCM address mask"  "0,1"
bitfld.long 0x00 27. ",GPCM address mask"  "0,1"
bitfld.long 0x00 26. ",GPCM address mask"  "0,1"
bitfld.long 0x00 25. ",GPCM address mask"  "0,1"
bitfld.long 0x00 24. ",GPCM address mask"  "0,1"
bitfld.long 0x00 23. ",GPCM address mask"  "0,1"
bitfld.long 0x00 22. ",GPCM address mask"  "0,1"
bitfld.long 0x00 21. ",GPCM address mask"  "0,1"
bitfld.long 0x00 20. ",GPCM address mask"  "0,1"
bitfld.long 0x00 19. ",GPCM address mask"  "0,1"
bitfld.long 0x00 18. ",GPCM address mask"  "0,1"
bitfld.long 0x00 17. ",GPCM address mask"  "0,1"
bitfld.long 0x00 16. ",GPCM address mask"  "0,1"
bitfld.long 0x00 15. ",GPCM address mask"  "0,1"
textline "              "
bitfld.long 0x00 12. " BCTLD     ,Buffer control disable" "No,Yes"
bitfld.long 0x00 11. "               CSNT ,Chip select negation time" "Normal,"
textline "              "
bitfld.long 0x00 9.--10. " ACS       ,Address to chip-select setup" "Same time,,,"
bitfld.long 0x00 8. "         XACS ,Extra address to chip-select setup" "Simple,Extended"
textline "              "
bitfld.long 0x00 4.--7. " SCY       ,Cycle length in bus clocks" "-,1 state,2 states,3 states,4 states,5 states,6 states,7 states,8 states,9 states,10 states,11 states,12 states,13 states,14 states,15 states"
bitfld.long 0x00 3. "         SETA ,External address termination" "Internal,External"
textline "              "
bitfld.long 0x00 1.--2. " TRLX/EHTR ,Timing relaxed / Extended hold time on read accesses" "Normal timing,1 idle cycle,4 idle cycles,8 idle cycles"
sif (cpu()!="MPC8308")
bitfld.long 0x00 0. "     EAD  ,External address latch delay" "-,Enabled"
endif
elif ((((d.l.be(anc:(iobase()+0x05000+0x8)))&0xe0)==0x20)&&(((d.l.be(anc:(iobase()+0x05000+0xC)))&0x4)==0x0))
group.long (0x05000+0xC)++0x03
line.long 0x00 "OR1,Option Register 1"
bitfld.long 0x00 31. " AM        ,FCM address mask" "0,1"
bitfld.long 0x00 30. ",FCM address mask"  "0,1"
bitfld.long 0x00 29. ",FCM address mask"  "0,1"
bitfld.long 0x00 28. ",FCM address mask"  "0,1"
bitfld.long 0x00 27. ",FCM address mask"  "0,1"
bitfld.long 0x00 26. ",FCM address mask"  "0,1"
bitfld.long 0x00 25. ",FCM address mask"  "0,1"
bitfld.long 0x00 24. ",FCM address mask"  "0,1"
bitfld.long 0x00 23. ",FCM address mask"  "0,1"
bitfld.long 0x00 22. ",FCM address mask"  "0,1"
bitfld.long 0x00 21. ",FCM address mask"  "0,1"
bitfld.long 0x00 20. ",FCM address mask"  "0,1"
bitfld.long 0x00 19. ",FCM address mask"  "0,1"
bitfld.long 0x00 18. ",FCM address mask"  "0,1"
bitfld.long 0x00 17. ",FCM address mask"  "0,1"
bitfld.long 0x00 16. ",FCM address mask"  "0,1"
bitfld.long 0x00 15. ",FCM address mask"  "0,1"
textline "              "
bitfld.long 0x00 12. " BCTLD     ,Buffer control disabled" "No,Yes"
bitfld.long 0x00 10. "               PGS  ,NAND Flash E2PROM page/buffer/block size" "512+16 B/1 Kb/16 Kb,2048+64 B/4 Kb/128 Kb"
textline "              "
bitfld.long 0x00  9. " CSCT      ,Chip select to command time" "1 cycle,4 cycles"
bitfld.long 0x00  8. "          CST  ,Command setup time" "Coincident,+0.25 cycles"
textline "              "
bitfld.long 0x00  7. " CHT       ,Command hold time" "0.5 cycles,1 cycle"
bitfld.long 0x00  4.--6. "        SCY  ,Cycle length" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles"
textline "              "
bitfld.long 0x00  3. " RST       ,Read setup time" "0.75 cycles,1 cycle"
bitfld.long 0x00  2. "       TRLX ,Timing relaxed" "Normal,Relaxed"
textline "              "
bitfld.long 0x00  1. " EHTR      ,Extended hold time on read accesses" "1 cycle,2 cycles"
elif ((((d.l.be(anc:(iobase()+0x05000+0x8)))&0xe0)==0x20)&&(((d.l.be(anc:(iobase()+0x05000+0xC)))&0x4)==0x4))
group.long (0x05000+0xC)++0x03
line.long 0x00 "OR1,Option Register 1"
bitfld.long 0x00 31. " AM        ,FCM address mask" "0,1"
bitfld.long 0x00 30. ",FCM address mask"  "0,1"
bitfld.long 0x00 29. ",FCM address mask"  "0,1"
bitfld.long 0x00 28. ",FCM address mask"  "0,1"
bitfld.long 0x00 27. ",FCM address mask"  "0,1"
bitfld.long 0x00 26. ",FCM address mask"  "0,1"
bitfld.long 0x00 25. ",FCM address mask"  "0,1"
bitfld.long 0x00 24. ",FCM address mask"  "0,1"
bitfld.long 0x00 23. ",FCM address mask"  "0,1"
bitfld.long 0x00 22. ",FCM address mask"  "0,1"
bitfld.long 0x00 21. ",FCM address mask"  "0,1"
bitfld.long 0x00 20. ",FCM address mask"  "0,1"
bitfld.long 0x00 19. ",FCM address mask"  "0,1"
bitfld.long 0x00 18. ",FCM address mask"  "0,1"
bitfld.long 0x00 17. ",FCM address mask"  "0,1"
bitfld.long 0x00 16. ",FCM address mask"  "0,1"
bitfld.long 0x00 15. ",FCM address mask"  "0,1"
textline "              "
bitfld.long 0x00 12. " BCTLD     ,Buffer control disabled" "No,Yes"
bitfld.long 0x00 10. "               PGS  ,NAND Flash E2PROM page/buffer/block size" "512+16 B/1 KB/16 KB,2048+64 B/4 KB/128 KB"
textline "              "
bitfld.long 0x00  9. " CSCT      ,Chip select to command time" "2 cycles,8 cycles"
bitfld.long 0x00  8. "          CST  ,Command setup time" "+0.5 cycles,+1 cycle"
textline "              "
bitfld.long 0x00  7. " CHT       ,Command hold time" "1.5 cycles,2 cycles"
bitfld.long 0x00  4.--6. "        SCY  ,Cycle length" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles"
textline "              "
bitfld.long 0x00  3. " RST       ,Read setup time" "0.5 cycles,1 cycle"
bitfld.long 0x00  2. "        TRLX ,Timing relaxed" "Normal,Relaxed"
textline "              "
bitfld.long 0x00  1. " EHTR      ,Extended hold time on read accesses" "4 cycles,8 cycles"
elif ((d.l.be(anc:iobase()+0x05000+0x8)&0xe0)==0x80)||((d.l.be(anc:iobase()+0x05000+0x8)&0xe0)==0xa0)||((d.l.be(anc:iobase()+0x05000+0x8)&0xe0)==0xc0)
group.long (0x05000+0xC)++0x03
line.long 0x00 "OR1,Option Register 1"
bitfld.long 0x00 31. " AM        ,UPM address mask" "0,1"
bitfld.long 0x00 30. ",UPM address mask"  "0,1"
bitfld.long 0x00 29. ",UPM address mask"  "0,1"
bitfld.long 0x00 28. ",UPM address mask"  "0,1"
bitfld.long 0x00 27. ",UPM address mask"  "0,1"
bitfld.long 0x00 26. ",UPM address mask"  "0,1"
bitfld.long 0x00 25. ",UPM address mask"  "0,1"
bitfld.long 0x00 24. ",UPM address mask"  "0,1"
bitfld.long 0x00 23. ",UPM address mask"  "0,1"
bitfld.long 0x00 22. ",UPM address mask"  "0,1"
bitfld.long 0x00 21. ",UPM address mask"  "0,1"
bitfld.long 0x00 20. ",UPM address mask"  "0,1"
bitfld.long 0x00 19. ",UPM address mask"  "0,1"
bitfld.long 0x00 18. ",UPM address mask"  "0,1"
bitfld.long 0x00 17. ",UPM address mask"  "0,1"
bitfld.long 0x00 16. ",UPM address mask"  "0,1"
bitfld.long 0x00 15. ",UPM address mask"  "0,1"
textline "              "
bitfld.long 0x00 12. " BCTLD     ,Buffer control disabled" "No,Yes"
bitfld.long 0x00 8. "               BI   ,Burst inhibit" "Supported,Inhibited"
textline "              "
bitfld.long 0x00 1.--2. " TRLX/EHTR ,Timing relaxed / Extended hold time on read accesses" "Normal timing,1 idle cycle,4 idle cycles,8 idle cycles"
sif (cpu()!="MPC8308")
bitfld.long 0x00 0. "     EAD  ,External address latch delay" "-,Enabled"
endif
else
hgroup.long (0x05000+0xC)++0x03
hide.long 0x00 "OR1,Option Register 1"
endif
group.long (0x05000+0x10)++0x3
line.long 0x00 "BR2,Base register 2"
hexmask.long 0x00 15.--31. 0x8000 " BA   ,Base address"
bitfld.long 0x00 11.--12. "               PS   ,Port Size" ",8 bit,16 bit,"
bitfld.long 0x00  9.--10. "    DECC ,Data error checking method" "Disabled,Checking enabled,Checking/generation enabled,"
textline "              "
bitfld.long 0x00  8. " WP   ,Write protect" "Read/Write,Read only"
bitfld.long 0x00  5.--7. "             MSEL , Machine select" "GPCM,FCM,,,UPMA,UPMB,UPMC,"
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315")&&(cpu()!="MPC8308")&&(cpu()!="MPC8306")&&(cpu()!="MPC8306S")&&(cpu()!="MPC8309"))
bitfld.long 0x00  2.--3. "      ATOM ,Atomic operation" "Addr space not used,RAWA,WARA,"
endif
textline "              "
bitfld.long 0x00  0. " V    ,Valid bit" "Invalid,Valid"
width 5.
if (((d.l.be(anc:iobase()+0x05000+0x10)&0xe0)==0x00)&&((d.l.be(anc:iobase()+0x05000+0xd4)&0x0f)==0x02))
// LCRR[CLKDIV] = 2
group.long (0x05000+0x14)++0x03
line.long 0x00 "OR2,Option Register 2"
bitfld.long 0x00 31. " AM        ,GPCM address mask" "0,1"
bitfld.long 0x00 30. ",GPCM address mask"  "0,1"
bitfld.long 0x00 29. ",GPCM address mask"  "0,1"
bitfld.long 0x00 28. ",GPCM address mask"  "0,1"
bitfld.long 0x00 27. ",GPCM address mask"  "0,1"
bitfld.long 0x00 26. ",GPCM address mask"  "0,1"
bitfld.long 0x00 25. ",GPCM address mask"  "0,1"
bitfld.long 0x00 24. ",GPCM address mask"  "0,1"
bitfld.long 0x00 23. ",GPCM address mask"  "0,1"
bitfld.long 0x00 22. ",GPCM address mask"  "0,1"
bitfld.long 0x00 21. ",GPCM address mask"  "0,1"
bitfld.long 0x00 20. ",GPCM address mask"  "0,1"
bitfld.long 0x00 19. ",GPCM address mask"  "0,1"
bitfld.long 0x00 18. ",GPCM address mask"  "0,1"
bitfld.long 0x00 17. ",GPCM address mask"  "0,1"
bitfld.long 0x00 16. ",GPCM address mask"  "0,1"
bitfld.long 0x00 15. ",GPCM address mask"  "0,1"
textline "              "
bitfld.long 0x00 12. " BCTLD     ,Buffer control disable" "No,Yes"
bitfld.long 0x00 11. "               CSNT ,Chip select negation time" "Normal,Normal"
textline "              "
bitfld.long 0x00 9.--10. " ACS       ,Address to chip-select setup" "Same time,,0.5 cycle after,0.5 cycle after"
bitfld.long 0x00 8. "   XACS ,Extra address to chip-select setup" "Simple,Extended"
textline "              "
bitfld.long 0x00 4.--7. " SCY       ,Cycle length in bus clocks" "-,1 state,2 states,3 states,4 states,5 states,6 states,7 states,8 states,9 states,10 states,11 states,12 states,13 states,14 states,15 states"
bitfld.long 0x00 3. "         SETA ,External address termination" "Internal,External"
textline "              "
bitfld.long 0x00 1.--2. " TRLX/EHTR ,Timing relaxed / Extended hold time on read accesses" "Normal timing,1 idle cycle,4 idle cycles,8 idle cycles"
sif (cpu()!="MPC8308")
bitfld.long 0x00 0. "     EAD  ,External address latch delay" "-,Enabled"
endif
elif (((d.l.be(anc:iobase()+0x05000+0x10)&0xe0)==0x00)&&(((d.l.be(anc:iobase()+0x05000+0xd4)&0x0f)==0x04)||((d.l.be(anc:iobase()+0x05000+0xd4)&0x0f)==0x08)))
group.long (0x05000+0x14)++0x03
line.long 0x00 "OR2,Option Register 2"
bitfld.long 0x00 31. " AM        ,GPCM address mask" "0,1"
bitfld.long 0x00 30. ",GPCM address mask"  "0,1"
bitfld.long 0x00 29. ",GPCM address mask"  "0,1"
bitfld.long 0x00 28. ",GPCM address mask"  "0,1"
bitfld.long 0x00 27. ",GPCM address mask"  "0,1"
bitfld.long 0x00 26. ",GPCM address mask"  "0,1"
bitfld.long 0x00 25. ",GPCM address mask"  "0,1"
bitfld.long 0x00 24. ",GPCM address mask"  "0,1"
bitfld.long 0x00 23. ",GPCM address mask"  "0,1"
bitfld.long 0x00 22. ",GPCM address mask"  "0,1"
bitfld.long 0x00 21. ",GPCM address mask"  "0,1"
bitfld.long 0x00 20. ",GPCM address mask"  "0,1"
bitfld.long 0x00 19. ",GPCM address mask"  "0,1"
bitfld.long 0x00 18. ",GPCM address mask"  "0,1"
bitfld.long 0x00 17. ",GPCM address mask"  "0,1"
bitfld.long 0x00 16. ",GPCM address mask"  "0,1"
bitfld.long 0x00 15. ",GPCM address mask"  "0,1"
textline "              "
bitfld.long 0x00 12. " BCTLD     ,Buffer control disable" "No,Yes"
bitfld.long 0x00 11. "               CSNT ,Chip select negation time" "Normal,0.25 cycle earlier"
textline "              "
bitfld.long 0x00 9.--10. " ACS       ,Address to chip-select setup" "Same time,,0.25 cycle after,0.5 cycle after"
bitfld.long 0x00 8. "  XACS ,Extra address to chip-select setup" "Simple,Extended"
textline "              "
bitfld.long 0x00 4.--7. " SCY       ,Cycle length in bus clocks" "-,1 state,2 states,3 states,4 states,5 states,6 states,7 states,8 states,9 states,10 states,11 states,12 states,13 states,14 states,15 states"
bitfld.long 0x00 3. "         SETA ,External address termination" "Internal,External"
textline "              "
bitfld.long 0x00 1.--2. " TRLX/EHTR ,Timing relaxed / Extended hold time on read accesses" "Normal timing,1 idle cycle,4 idle cycles,8 idle cycles"
sif (cpu()!="MPC8308")
bitfld.long 0x00 0. "     EAD  ,External address latch delay" "-,Enabled"
endif
elif (d.l.be(anc:iobase()+0x05000+0x10)&0xe0)==0x00
group.long (0x05000+0x14)++0x03
line.long 0x00 "OR2,Option Register 2"
bitfld.long 0x00 31. " AM        ,GPCM address mask" "0,1"
bitfld.long 0x00 30. ",GPCM address mask"  "0,1"
bitfld.long 0x00 29. ",GPCM address mask"  "0,1"
bitfld.long 0x00 28. ",GPCM address mask"  "0,1"
bitfld.long 0x00 27. ",GPCM address mask"  "0,1"
bitfld.long 0x00 26. ",GPCM address mask"  "0,1"
bitfld.long 0x00 25. ",GPCM address mask"  "0,1"
bitfld.long 0x00 24. ",GPCM address mask"  "0,1"
bitfld.long 0x00 23. ",GPCM address mask"  "0,1"
bitfld.long 0x00 22. ",GPCM address mask"  "0,1"
bitfld.long 0x00 21. ",GPCM address mask"  "0,1"
bitfld.long 0x00 20. ",GPCM address mask"  "0,1"
bitfld.long 0x00 19. ",GPCM address mask"  "0,1"
bitfld.long 0x00 18. ",GPCM address mask"  "0,1"
bitfld.long 0x00 17. ",GPCM address mask"  "0,1"
bitfld.long 0x00 16. ",GPCM address mask"  "0,1"
bitfld.long 0x00 15. ",GPCM address mask"  "0,1"
textline "              "
bitfld.long 0x00 12. " BCTLD     ,Buffer control disable" "No,Yes"
bitfld.long 0x00 11. "               CSNT ,Chip select negation time" "Normal,"
textline "              "
bitfld.long 0x00 9.--10. " ACS       ,Address to chip-select setup" "Same time,,,"
bitfld.long 0x00 8. "         XACS ,Extra address to chip-select setup" "Simple,Extended"
textline "              "
bitfld.long 0x00 4.--7. " SCY       ,Cycle length in bus clocks" "-,1 state,2 states,3 states,4 states,5 states,6 states,7 states,8 states,9 states,10 states,11 states,12 states,13 states,14 states,15 states"
bitfld.long 0x00 3. "         SETA ,External address termination" "Internal,External"
textline "              "
bitfld.long 0x00 1.--2. " TRLX/EHTR ,Timing relaxed / Extended hold time on read accesses" "Normal timing,1 idle cycle,4 idle cycles,8 idle cycles"
sif (cpu()!="MPC8308")
bitfld.long 0x00 0. "     EAD  ,External address latch delay" "-,Enabled"
endif
elif ((((d.l.be(anc:(iobase()+0x05000+0x10)))&0xe0)==0x20)&&(((d.l.be(anc:(iobase()+0x05000+0x14)))&0x4)==0x0))
group.long (0x05000+0x14)++0x03
line.long 0x00 "OR2,Option Register 2"
bitfld.long 0x00 31. " AM        ,FCM address mask" "0,1"
bitfld.long 0x00 30. ",FCM address mask"  "0,1"
bitfld.long 0x00 29. ",FCM address mask"  "0,1"
bitfld.long 0x00 28. ",FCM address mask"  "0,1"
bitfld.long 0x00 27. ",FCM address mask"  "0,1"
bitfld.long 0x00 26. ",FCM address mask"  "0,1"
bitfld.long 0x00 25. ",FCM address mask"  "0,1"
bitfld.long 0x00 24. ",FCM address mask"  "0,1"
bitfld.long 0x00 23. ",FCM address mask"  "0,1"
bitfld.long 0x00 22. ",FCM address mask"  "0,1"
bitfld.long 0x00 21. ",FCM address mask"  "0,1"
bitfld.long 0x00 20. ",FCM address mask"  "0,1"
bitfld.long 0x00 19. ",FCM address mask"  "0,1"
bitfld.long 0x00 18. ",FCM address mask"  "0,1"
bitfld.long 0x00 17. ",FCM address mask"  "0,1"
bitfld.long 0x00 16. ",FCM address mask"  "0,1"
bitfld.long 0x00 15. ",FCM address mask"  "0,1"
textline "              "
bitfld.long 0x00 12. " BCTLD     ,Buffer control disabled" "No,Yes"
bitfld.long 0x00 10. "               PGS  ,NAND Flash E2PROM page/buffer/block size" "512+16 B/1 Kb/16 Kb,2048+64 B/4 Kb/128 Kb"
textline "              "
bitfld.long 0x00  9. " CSCT      ,Chip select to command time" "1 cycle,4 cycles"
bitfld.long 0x00  8. "          CST  ,Command setup time" "Coincident,+0.25 cycles"
textline "              "
bitfld.long 0x00  7. " CHT       ,Command hold time" "0.5 cycles,1 cycle"
bitfld.long 0x00  4.--6. "        SCY  ,Cycle length" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles"
textline "              "
bitfld.long 0x00  3. " RST       ,Read setup time" "0.75 cycles,1 cycle"
bitfld.long 0x00  2. "       TRLX ,Timing relaxed" "Normal,Relaxed"
textline "              "
bitfld.long 0x00  1. " EHTR      ,Extended hold time on read accesses" "1 cycle,2 cycles"
elif ((((d.l.be(anc:(iobase()+0x05000+0x10)))&0xe0)==0x20)&&(((d.l.be(anc:(iobase()+0x05000+0x14)))&0x4)==0x4))
group.long (0x05000+0x14)++0x03
line.long 0x00 "OR2,Option Register 2"
bitfld.long 0x00 31. " AM        ,FCM address mask" "0,1"
bitfld.long 0x00 30. ",FCM address mask"  "0,1"
bitfld.long 0x00 29. ",FCM address mask"  "0,1"
bitfld.long 0x00 28. ",FCM address mask"  "0,1"
bitfld.long 0x00 27. ",FCM address mask"  "0,1"
bitfld.long 0x00 26. ",FCM address mask"  "0,1"
bitfld.long 0x00 25. ",FCM address mask"  "0,1"
bitfld.long 0x00 24. ",FCM address mask"  "0,1"
bitfld.long 0x00 23. ",FCM address mask"  "0,1"
bitfld.long 0x00 22. ",FCM address mask"  "0,1"
bitfld.long 0x00 21. ",FCM address mask"  "0,1"
bitfld.long 0x00 20. ",FCM address mask"  "0,1"
bitfld.long 0x00 19. ",FCM address mask"  "0,1"
bitfld.long 0x00 18. ",FCM address mask"  "0,1"
bitfld.long 0x00 17. ",FCM address mask"  "0,1"
bitfld.long 0x00 16. ",FCM address mask"  "0,1"
bitfld.long 0x00 15. ",FCM address mask"  "0,1"
textline "              "
bitfld.long 0x00 12. " BCTLD     ,Buffer control disabled" "No,Yes"
bitfld.long 0x00 10. "               PGS  ,NAND Flash E2PROM page/buffer/block size" "512+16 B/1 KB/16 KB,2048+64 B/4 KB/128 KB"
textline "              "
bitfld.long 0x00  9. " CSCT      ,Chip select to command time" "2 cycles,8 cycles"
bitfld.long 0x00  8. "          CST  ,Command setup time" "+0.5 cycles,+1 cycle"
textline "              "
bitfld.long 0x00  7. " CHT       ,Command hold time" "1.5 cycles,2 cycles"
bitfld.long 0x00  4.--6. "        SCY  ,Cycle length" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles"
textline "              "
bitfld.long 0x00  3. " RST       ,Read setup time" "0.5 cycles,1 cycle"
bitfld.long 0x00  2. "        TRLX ,Timing relaxed" "Normal,Relaxed"
textline "              "
bitfld.long 0x00  1. " EHTR      ,Extended hold time on read accesses" "4 cycles,8 cycles"
elif ((d.l.be(anc:iobase()+0x05000+0x10)&0xe0)==0x80)||((d.l.be(anc:iobase()+0x05000+0x10)&0xe0)==0xa0)||((d.l.be(anc:iobase()+0x05000+0x10)&0xe0)==0xc0)
group.long (0x05000+0x14)++0x03
line.long 0x00 "OR2,Option Register 2"
bitfld.long 0x00 31. " AM        ,UPM address mask" "0,1"
bitfld.long 0x00 30. ",UPM address mask"  "0,1"
bitfld.long 0x00 29. ",UPM address mask"  "0,1"
bitfld.long 0x00 28. ",UPM address mask"  "0,1"
bitfld.long 0x00 27. ",UPM address mask"  "0,1"
bitfld.long 0x00 26. ",UPM address mask"  "0,1"
bitfld.long 0x00 25. ",UPM address mask"  "0,1"
bitfld.long 0x00 24. ",UPM address mask"  "0,1"
bitfld.long 0x00 23. ",UPM address mask"  "0,1"
bitfld.long 0x00 22. ",UPM address mask"  "0,1"
bitfld.long 0x00 21. ",UPM address mask"  "0,1"
bitfld.long 0x00 20. ",UPM address mask"  "0,1"
bitfld.long 0x00 19. ",UPM address mask"  "0,1"
bitfld.long 0x00 18. ",UPM address mask"  "0,1"
bitfld.long 0x00 17. ",UPM address mask"  "0,1"
bitfld.long 0x00 16. ",UPM address mask"  "0,1"
bitfld.long 0x00 15. ",UPM address mask"  "0,1"
textline "              "
bitfld.long 0x00 12. " BCTLD     ,Buffer control disabled" "No,Yes"
bitfld.long 0x00 8. "               BI   ,Burst inhibit" "Supported,Inhibited"
textline "              "
bitfld.long 0x00 1.--2. " TRLX/EHTR ,Timing relaxed / Extended hold time on read accesses" "Normal timing,1 idle cycle,4 idle cycles,8 idle cycles"
sif (cpu()!="MPC8308")
bitfld.long 0x00 0. "     EAD  ,External address latch delay" "-,Enabled"
endif
else
hgroup.long (0x05000+0x14)++0x03
hide.long 0x00 "OR2,Option Register 2"
endif
group.long (0x05000+0x18)++0x3
line.long 0x00 "BR3,Base register 3"
hexmask.long 0x00 15.--31. 0x8000 " BA   ,Base address"
bitfld.long 0x00 11.--12. "               PS   ,Port Size" ",8 bit,16 bit,"
bitfld.long 0x00  9.--10. "    DECC ,Data error checking method" "Disabled,Checking enabled,Checking/generation enabled,"
textline "              "
bitfld.long 0x00  8. " WP   ,Write protect" "Read/Write,Read only"
bitfld.long 0x00  5.--7. "             MSEL , Machine select" "GPCM,FCM,,,UPMA,UPMB,UPMC,"
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315")&&(cpu()!="MPC8308")&&(cpu()!="MPC8306")&&(cpu()!="MPC8306S")&&(cpu()!="MPC8309"))
bitfld.long 0x00  2.--3. "      ATOM ,Atomic operation" "Addr space not used,RAWA,WARA,"
endif
textline "              "
bitfld.long 0x00  0. " V    ,Valid bit" "Invalid,Valid"
width 5.
if (((d.l.be(anc:iobase()+0x05000+0x18)&0xe0)==0x00)&&((d.l.be(anc:iobase()+0x05000+0xd4)&0x0f)==0x02))
// LCRR[CLKDIV] = 2
group.long (0x05000+0x1C)++0x03
line.long 0x00 "OR3,Option Register 3"
bitfld.long 0x00 31. " AM        ,GPCM address mask" "0,1"
bitfld.long 0x00 30. ",GPCM address mask"  "0,1"
bitfld.long 0x00 29. ",GPCM address mask"  "0,1"
bitfld.long 0x00 28. ",GPCM address mask"  "0,1"
bitfld.long 0x00 27. ",GPCM address mask"  "0,1"
bitfld.long 0x00 26. ",GPCM address mask"  "0,1"
bitfld.long 0x00 25. ",GPCM address mask"  "0,1"
bitfld.long 0x00 24. ",GPCM address mask"  "0,1"
bitfld.long 0x00 23. ",GPCM address mask"  "0,1"
bitfld.long 0x00 22. ",GPCM address mask"  "0,1"
bitfld.long 0x00 21. ",GPCM address mask"  "0,1"
bitfld.long 0x00 20. ",GPCM address mask"  "0,1"
bitfld.long 0x00 19. ",GPCM address mask"  "0,1"
bitfld.long 0x00 18. ",GPCM address mask"  "0,1"
bitfld.long 0x00 17. ",GPCM address mask"  "0,1"
bitfld.long 0x00 16. ",GPCM address mask"  "0,1"
bitfld.long 0x00 15. ",GPCM address mask"  "0,1"
textline "              "
bitfld.long 0x00 12. " BCTLD     ,Buffer control disable" "No,Yes"
bitfld.long 0x00 11. "               CSNT ,Chip select negation time" "Normal,Normal"
textline "              "
bitfld.long 0x00 9.--10. " ACS       ,Address to chip-select setup" "Same time,,0.5 cycle after,0.5 cycle after"
bitfld.long 0x00 8. "   XACS ,Extra address to chip-select setup" "Simple,Extended"
textline "              "
bitfld.long 0x00 4.--7. " SCY       ,Cycle length in bus clocks" "-,1 state,2 states,3 states,4 states,5 states,6 states,7 states,8 states,9 states,10 states,11 states,12 states,13 states,14 states,15 states"
bitfld.long 0x00 3. "         SETA ,External address termination" "Internal,External"
textline "              "
bitfld.long 0x00 1.--2. " TRLX/EHTR ,Timing relaxed / Extended hold time on read accesses" "Normal timing,1 idle cycle,4 idle cycles,8 idle cycles"
sif (cpu()!="MPC8308")
bitfld.long 0x00 0. "     EAD  ,External address latch delay" "-,Enabled"
endif
elif (((d.l.be(anc:iobase()+0x05000+0x18)&0xe0)==0x00)&&(((d.l.be(anc:iobase()+0x05000+0xd4)&0x0f)==0x04)||((d.l.be(anc:iobase()+0x05000+0xd4)&0x0f)==0x08)))
group.long (0x05000+0x1C)++0x03
line.long 0x00 "OR3,Option Register 3"
bitfld.long 0x00 31. " AM        ,GPCM address mask" "0,1"
bitfld.long 0x00 30. ",GPCM address mask"  "0,1"
bitfld.long 0x00 29. ",GPCM address mask"  "0,1"
bitfld.long 0x00 28. ",GPCM address mask"  "0,1"
bitfld.long 0x00 27. ",GPCM address mask"  "0,1"
bitfld.long 0x00 26. ",GPCM address mask"  "0,1"
bitfld.long 0x00 25. ",GPCM address mask"  "0,1"
bitfld.long 0x00 24. ",GPCM address mask"  "0,1"
bitfld.long 0x00 23. ",GPCM address mask"  "0,1"
bitfld.long 0x00 22. ",GPCM address mask"  "0,1"
bitfld.long 0x00 21. ",GPCM address mask"  "0,1"
bitfld.long 0x00 20. ",GPCM address mask"  "0,1"
bitfld.long 0x00 19. ",GPCM address mask"  "0,1"
bitfld.long 0x00 18. ",GPCM address mask"  "0,1"
bitfld.long 0x00 17. ",GPCM address mask"  "0,1"
bitfld.long 0x00 16. ",GPCM address mask"  "0,1"
bitfld.long 0x00 15. ",GPCM address mask"  "0,1"
textline "              "
bitfld.long 0x00 12. " BCTLD     ,Buffer control disable" "No,Yes"
bitfld.long 0x00 11. "               CSNT ,Chip select negation time" "Normal,0.25 cycle earlier"
textline "              "
bitfld.long 0x00 9.--10. " ACS       ,Address to chip-select setup" "Same time,,0.25 cycle after,0.5 cycle after"
bitfld.long 0x00 8. "  XACS ,Extra address to chip-select setup" "Simple,Extended"
textline "              "
bitfld.long 0x00 4.--7. " SCY       ,Cycle length in bus clocks" "-,1 state,2 states,3 states,4 states,5 states,6 states,7 states,8 states,9 states,10 states,11 states,12 states,13 states,14 states,15 states"
bitfld.long 0x00 3. "         SETA ,External address termination" "Internal,External"
textline "              "
bitfld.long 0x00 1.--2. " TRLX/EHTR ,Timing relaxed / Extended hold time on read accesses" "Normal timing,1 idle cycle,4 idle cycles,8 idle cycles"
sif (cpu()!="MPC8308")
bitfld.long 0x00 0. "     EAD  ,External address latch delay" "-,Enabled"
endif
elif (d.l.be(anc:iobase()+0x05000+0x18)&0xe0)==0x00
group.long (0x05000+0x1C)++0x03
line.long 0x00 "OR3,Option Register 3"
bitfld.long 0x00 31. " AM        ,GPCM address mask" "0,1"
bitfld.long 0x00 30. ",GPCM address mask"  "0,1"
bitfld.long 0x00 29. ",GPCM address mask"  "0,1"
bitfld.long 0x00 28. ",GPCM address mask"  "0,1"
bitfld.long 0x00 27. ",GPCM address mask"  "0,1"
bitfld.long 0x00 26. ",GPCM address mask"  "0,1"
bitfld.long 0x00 25. ",GPCM address mask"  "0,1"
bitfld.long 0x00 24. ",GPCM address mask"  "0,1"
bitfld.long 0x00 23. ",GPCM address mask"  "0,1"
bitfld.long 0x00 22. ",GPCM address mask"  "0,1"
bitfld.long 0x00 21. ",GPCM address mask"  "0,1"
bitfld.long 0x00 20. ",GPCM address mask"  "0,1"
bitfld.long 0x00 19. ",GPCM address mask"  "0,1"
bitfld.long 0x00 18. ",GPCM address mask"  "0,1"
bitfld.long 0x00 17. ",GPCM address mask"  "0,1"
bitfld.long 0x00 16. ",GPCM address mask"  "0,1"
bitfld.long 0x00 15. ",GPCM address mask"  "0,1"
textline "              "
bitfld.long 0x00 12. " BCTLD     ,Buffer control disable" "No,Yes"
bitfld.long 0x00 11. "               CSNT ,Chip select negation time" "Normal,"
textline "              "
bitfld.long 0x00 9.--10. " ACS       ,Address to chip-select setup" "Same time,,,"
bitfld.long 0x00 8. "         XACS ,Extra address to chip-select setup" "Simple,Extended"
textline "              "
bitfld.long 0x00 4.--7. " SCY       ,Cycle length in bus clocks" "-,1 state,2 states,3 states,4 states,5 states,6 states,7 states,8 states,9 states,10 states,11 states,12 states,13 states,14 states,15 states"
bitfld.long 0x00 3. "         SETA ,External address termination" "Internal,External"
textline "              "
bitfld.long 0x00 1.--2. " TRLX/EHTR ,Timing relaxed / Extended hold time on read accesses" "Normal timing,1 idle cycle,4 idle cycles,8 idle cycles"
sif (cpu()!="MPC8308")
bitfld.long 0x00 0. "     EAD  ,External address latch delay" "-,Enabled"
endif
elif ((((d.l.be(anc:(iobase()+0x05000+0x18)))&0xe0)==0x20)&&(((d.l.be(anc:(iobase()+0x05000+0x1C)))&0x4)==0x0))
group.long (0x05000+0x1C)++0x03
line.long 0x00 "OR3,Option Register 3"
bitfld.long 0x00 31. " AM        ,FCM address mask" "0,1"
bitfld.long 0x00 30. ",FCM address mask"  "0,1"
bitfld.long 0x00 29. ",FCM address mask"  "0,1"
bitfld.long 0x00 28. ",FCM address mask"  "0,1"
bitfld.long 0x00 27. ",FCM address mask"  "0,1"
bitfld.long 0x00 26. ",FCM address mask"  "0,1"
bitfld.long 0x00 25. ",FCM address mask"  "0,1"
bitfld.long 0x00 24. ",FCM address mask"  "0,1"
bitfld.long 0x00 23. ",FCM address mask"  "0,1"
bitfld.long 0x00 22. ",FCM address mask"  "0,1"
bitfld.long 0x00 21. ",FCM address mask"  "0,1"
bitfld.long 0x00 20. ",FCM address mask"  "0,1"
bitfld.long 0x00 19. ",FCM address mask"  "0,1"
bitfld.long 0x00 18. ",FCM address mask"  "0,1"
bitfld.long 0x00 17. ",FCM address mask"  "0,1"
bitfld.long 0x00 16. ",FCM address mask"  "0,1"
bitfld.long 0x00 15. ",FCM address mask"  "0,1"
textline "              "
bitfld.long 0x00 12. " BCTLD     ,Buffer control disabled" "No,Yes"
bitfld.long 0x00 10. "               PGS  ,NAND Flash E2PROM page/buffer/block size" "512+16 B/1 Kb/16 Kb,2048+64 B/4 Kb/128 Kb"
textline "              "
bitfld.long 0x00  9. " CSCT      ,Chip select to command time" "1 cycle,4 cycles"
bitfld.long 0x00  8. "          CST  ,Command setup time" "Coincident,+0.25 cycles"
textline "              "
bitfld.long 0x00  7. " CHT       ,Command hold time" "0.5 cycles,1 cycle"
bitfld.long 0x00  4.--6. "        SCY  ,Cycle length" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles"
textline "              "
bitfld.long 0x00  3. " RST       ,Read setup time" "0.75 cycles,1 cycle"
bitfld.long 0x00  2. "       TRLX ,Timing relaxed" "Normal,Relaxed"
textline "              "
bitfld.long 0x00  1. " EHTR      ,Extended hold time on read accesses" "1 cycle,2 cycles"
elif ((((d.l.be(anc:(iobase()+0x05000+0x18)))&0xe0)==0x20)&&(((d.l.be(anc:(iobase()+0x05000+0x1C)))&0x4)==0x4))
group.long (0x05000+0x1C)++0x03
line.long 0x00 "OR3,Option Register 3"
bitfld.long 0x00 31. " AM        ,FCM address mask" "0,1"
bitfld.long 0x00 30. ",FCM address mask"  "0,1"
bitfld.long 0x00 29. ",FCM address mask"  "0,1"
bitfld.long 0x00 28. ",FCM address mask"  "0,1"
bitfld.long 0x00 27. ",FCM address mask"  "0,1"
bitfld.long 0x00 26. ",FCM address mask"  "0,1"
bitfld.long 0x00 25. ",FCM address mask"  "0,1"
bitfld.long 0x00 24. ",FCM address mask"  "0,1"
bitfld.long 0x00 23. ",FCM address mask"  "0,1"
bitfld.long 0x00 22. ",FCM address mask"  "0,1"
bitfld.long 0x00 21. ",FCM address mask"  "0,1"
bitfld.long 0x00 20. ",FCM address mask"  "0,1"
bitfld.long 0x00 19. ",FCM address mask"  "0,1"
bitfld.long 0x00 18. ",FCM address mask"  "0,1"
bitfld.long 0x00 17. ",FCM address mask"  "0,1"
bitfld.long 0x00 16. ",FCM address mask"  "0,1"
bitfld.long 0x00 15. ",FCM address mask"  "0,1"
textline "              "
bitfld.long 0x00 12. " BCTLD     ,Buffer control disabled" "No,Yes"
bitfld.long 0x00 10. "               PGS  ,NAND Flash E2PROM page/buffer/block size" "512+16 B/1 KB/16 KB,2048+64 B/4 KB/128 KB"
textline "              "
bitfld.long 0x00  9. " CSCT      ,Chip select to command time" "2 cycles,8 cycles"
bitfld.long 0x00  8. "          CST  ,Command setup time" "+0.5 cycles,+1 cycle"
textline "              "
bitfld.long 0x00  7. " CHT       ,Command hold time" "1.5 cycles,2 cycles"
bitfld.long 0x00  4.--6. "        SCY  ,Cycle length" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles"
textline "              "
bitfld.long 0x00  3. " RST       ,Read setup time" "0.5 cycles,1 cycle"
bitfld.long 0x00  2. "        TRLX ,Timing relaxed" "Normal,Relaxed"
textline "              "
bitfld.long 0x00  1. " EHTR      ,Extended hold time on read accesses" "4 cycles,8 cycles"
elif ((d.l.be(anc:iobase()+0x05000+0x18)&0xe0)==0x80)||((d.l.be(anc:iobase()+0x05000+0x18)&0xe0)==0xa0)||((d.l.be(anc:iobase()+0x05000+0x18)&0xe0)==0xc0)
group.long (0x05000+0x1C)++0x03
line.long 0x00 "OR3,Option Register 3"
bitfld.long 0x00 31. " AM        ,UPM address mask" "0,1"
bitfld.long 0x00 30. ",UPM address mask"  "0,1"
bitfld.long 0x00 29. ",UPM address mask"  "0,1"
bitfld.long 0x00 28. ",UPM address mask"  "0,1"
bitfld.long 0x00 27. ",UPM address mask"  "0,1"
bitfld.long 0x00 26. ",UPM address mask"  "0,1"
bitfld.long 0x00 25. ",UPM address mask"  "0,1"
bitfld.long 0x00 24. ",UPM address mask"  "0,1"
bitfld.long 0x00 23. ",UPM address mask"  "0,1"
bitfld.long 0x00 22. ",UPM address mask"  "0,1"
bitfld.long 0x00 21. ",UPM address mask"  "0,1"
bitfld.long 0x00 20. ",UPM address mask"  "0,1"
bitfld.long 0x00 19. ",UPM address mask"  "0,1"
bitfld.long 0x00 18. ",UPM address mask"  "0,1"
bitfld.long 0x00 17. ",UPM address mask"  "0,1"
bitfld.long 0x00 16. ",UPM address mask"  "0,1"
bitfld.long 0x00 15. ",UPM address mask"  "0,1"
textline "              "
bitfld.long 0x00 12. " BCTLD     ,Buffer control disabled" "No,Yes"
bitfld.long 0x00 8. "               BI   ,Burst inhibit" "Supported,Inhibited"
textline "              "
bitfld.long 0x00 1.--2. " TRLX/EHTR ,Timing relaxed / Extended hold time on read accesses" "Normal timing,1 idle cycle,4 idle cycles,8 idle cycles"
sif (cpu()!="MPC8308")
bitfld.long 0x00 0. "     EAD  ,External address latch delay" "-,Enabled"
endif
else
hgroup.long (0x05000+0x1C)++0x03
hide.long 0x00 "OR3,Option Register 3"
endif
tree.end
tree "Memory Configuration Registers"
width 8.
group.long (0x05000+0x68)++0x3
line.long 0x00 "MAR,UPM Memory Address Register"
group.long (0x05000+0x70)++0xb
line.long 0x00 "MAMR,UPMA mode register"
bitfld.long 0x00 30. " RFEN   ,Refresh enable" "-,Enabled"
bitfld.long 0x00 28.--29. "      OP    ,Command opcode" "Normal,Write,Read,Run pattern"
textline "                 "
bitfld.long 0x00 27. " UWPL   ,LUPWAIT polarity active low" "Active high,Active low"
sif (cpu()!="MPC8308")
bitfld.long 0x00 24.--26. "  AM    ,Address multiplex size" "000,001,010,011,100,101,,"
endif
textline "                 "
bitfld.long 0x00 22.--23. " DS     ,Disable timer period" "1 cycle,2 cycles,3 cycles,4 cycles"
bitfld.long 0x00 19.--21. "     G0CL  ,General line 0 control" "A12,A11,A10,A9,A8,A7,A6,A5"
textline "                 "
bitfld.long 0x00 18. " GPL4   ,LGPL4 output line disabled" "LGPL4,LUPWAIT"
bitfld.long 0x00 14.--17. "      RLF   ,Read loop field" "16,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
textline "                 "
bitfld.long 0x00 10.--13. " WLF    ,Write loop field" "16,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 6.--9. "           TLF   ,Refresh loop field" "16,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
textline "                 "
bitfld.long 0x00 0.--5. " MAD    ,Machine address" "0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f,0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3a,0x3b,0x3c,0x3d,0x3e,0x3f"
line.long 0x04 "MBMR,UPMB mode register"
bitfld.long 0x04 30. " RFEN   ,Refresh enable" "Disabled,Enabled"
bitfld.long 0x04 28.--29. "     OP    ,Command opcode" "Normal,Write,Read,Run pattern"
textline "                 "
bitfld.long 0x04 27. " UWPL   ,LUPWAIT polarity active low" "Active high,Active low"
sif (cpu()!="MPC8308")
bitfld.long 0x04 24.--26. "  AM    ,Address multiplex size" "000,001,010,011,100,101,,"
endif
textline "                 "
bitfld.long 0x04 22.--23. " DS     ,Disable timer period" "1 cycle,2 cycles,3 cycles,4 cycles"
bitfld.long 0x04 19.--21. "     G0CL  ,General line 0 control" "A12,A11,A10,A9,A8,A7,A6,A5"
textline "                 "
bitfld.long 0x04 18. " GPL4   ,LGPL4 output line disabled" "LGPL4,LUPWAIT"
bitfld.long 0x04 14.--17. "      RLF   ,Read loop field" "16,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
textline "                 "
bitfld.long 0x04 10.--13. " WLF    ,Write loop field" "16,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x04 6.--9. "           TLF   ,Refresh loop field" "16,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
textline "                 "
bitfld.long 0x04 0.--5. " MAD    ,Machine address" "0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f,0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3a,0x3b,0x3c,0x3d,0x3e,0x3f"
line.long 0x08 "MCMR,UPMC mode register"
bitfld.long 0x08 30. " RFEN   ,Refresh enable" "Disabled,Enabled"
bitfld.long 0x08 28.--29. "     OP    ,Command opcode" "Normal,Write,Read,Run pattern"
textline "                 "
bitfld.long 0x08 27. " UWPL   ,LUPWAIT polarity active low" "Active high,Active low"
sif (cpu()!="MPC8308")
bitfld.long 0x08 24.--26. "  AM    ,Address multiplex size" "000,001,010,011,100,101,,"
endif
textline "                 "
bitfld.long 0x08 22.--23. " DS     ,Disable timer period" "1 cycle,2 cycles,3 cycles,4 cycles"
bitfld.long 0x08 19.--21. "     G0CL  ,General line 0 control" "A12,A11,A10,A9,A8,A7,A6,A5"
textline "                 "
bitfld.long 0x08 18. " GPL4   ,LGPL4 output line disabled" "LGPL4,LUPWAIT"
bitfld.long 0x08 14.--17. "      RLF   ,Read loop field" "16,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
textline "                 "
bitfld.long 0x08 10.--13. " WLF    ,Write loop field" "16,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x08 6.--9. "           TLF   ,Refresh loop field" "16,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
textline "                 "
bitfld.long 0x08 0.--5. " MAD    ,Machine address" "0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f,0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3a,0x3b,0x3c,0x3d,0x3e,0x3f"
group.long (0x05000+0x84)++0x7
line.long 0x00 "MRTPR,Memory refresh timer prescaler register"
hexmask.long.byte 0x00 24.--31. 1. " PTP    ,Refresh timer prescaler"
line.long 0x04 "MDR,UPM/FCM data register"
group.long (0x05000+0x90)++0x3
line.long 0x00 "LSOR,Special Operation Initiation Register"
sif (cpu()=="MPC8306"||cpu()=="MPC8306S"||(cpu()=="MPC8309"))
bitfld.long 0x00 0.--2. " BANK   ,Bank select" "Bank 0,Bank 1,Bank 2,Bank 3,,,,Bank 7"
else
bitfld.long 0x00 0.--2. " BANK   ,Bank select" "Bank 0,Bank 1,Bank 2,Bank 3,,,,"
endif
group.long (0x05000+0xa0)++0x3
line.long 0x00 "LURT,UPM refresh timer"
hexmask.long.byte 0x00 24.--31. 1. " LURT   ,UPM refresh timer period"
group.long (0x05000+0xb0)++0x13
line.long 0x00 "LTESR,Transfer error status register"
eventfld.long 0x00 31. " BM     ,Bus monitor time-out" "-,Error"
eventfld.long 0x00 30. "        FCT   ,FCM command time-out" "-,Timed-out"
textline "                 "
eventfld.long 0x00 29. " PAR    ,ECC error for FCM mode" "-,Error"
eventfld.long 0x00 26. "        WP    ,Write protect error" "-,Error"
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315")&&(cpu()!="MPC8308")&&(cpu()!="MPC8306")&&(cpu()!="MPC8306S")&&(cpu()!="MPC8309"))
textline "                 "
eventfld.long 0x00 23. " ATMW   ,Atomic error write" "-,Error"
eventfld.long 0x00 22. "        ATMR  ,Atomic error read" "-,Error"
endif
textline "                 "
sif (cpu()=="MPC8308")
eventfld.long 0x00 19. " CS     ,Chip-select error" "No error,Error"
eventfld.long 0x00  1. "     UCC   ,UPM Run pattern command completion event" "Not completed,Completed"
textline "                 "
eventfld.long 0x00  0. " CC     ,FCM command completion event" "Not completed,Completed"
else
eventfld.long 0x00 19. " CS     ,Chip-select error" "-,Error"
eventfld.long 0x00  0. "        CC    ,FCM command completion event" "-,Completed"
endif
line.long 0x04 "LTEDR,Transfer error check disable register"
bitfld.long 0x04 31. " BMD    ,Bus monitor disable" "No,Yes"
bitfld.long 0x04 30. "          FCTD  ,FCM command time-out disable" "No,Yes"
textline "                 "
bitfld.long 0x04 29. " PARD   ,ECC error checking disable" "No,Yes"
bitfld.long 0x04 26. "          WPD   ,Write protect error checking disable" "No,Yes"
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315")&&(cpu()!="MPC8308")&&(cpu()!="MPC8306")&&(cpu()!="MPC8306S")&&(cpu()!="MPC8309"))
textline "                 "
bitfld.long 0x04 23. " WARA   ,Write after read atomic error checking disable" "No,Yes"
bitfld.long 0x04 22. "          RAWA  ,Read after write atomic error checking disable" "No,Yes"
endif
textline "                 "
sif (cpu()=="MPC8308")
bitfld.long 0x04 19. " CSD    ,Chip select error checking disable" "No,Yes"
bitfld.long 0x04  1. "          UCCD  ,UPM Run pattern command completion checking disable" "No,Yes"
textline "                 "
bitfld.long 0x04  0. " CCD    ,FCM command completion checking disable" "No,Yes"
else
bitfld.long 0x04 19. " CSD    ,Chip select error checking disable" "No,Yes"
bitfld.long 0x04  0. "          CCD   ,FCM command completion checking disable" "No,Yes"
endif
line.long 0x08 "LTEIR,Transfer error interrupt register"
bitfld.long 0x08 31. " BMI    ,Bus monitor error interrupt enable" "Disabled,Enabled"
bitfld.long 0x08 30. "     FCTI  ,FCM command time-out interrupt enable" "Disabled,Enabled"
textline "                 "
bitfld.long 0x08 29. " PARI   ,ECC error interrupt enable" "Disabled,Enabled"
bitfld.long 0x08 26. "     WPI   ,Write protect error interrupt enable" "Disabled,Enabled"
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315")&&(cpu()!="MPC8308")&&(cpu()!="MPC8306")&&(cpu()!="MPC8306S")&&(cpu()!="MPC8309"))
textline "                 "
bitfld.long 0x08 23. " WARA   ,Write after read atomic error interrupt enable" "Disabled,Enabled"
bitfld.long 0x08 22. "     RAWA  ,Read after write atomic error interrupt enable" "Disabled,Enabled"
endif
textline "                 "
sif (cpu()=="MPC8308")
bitfld.long 0x08 19. " CSI    ,Chip select error interrupt enable" "Disabled,Enabled"
bitfld.long 0x08  1. "     UCCI  ,UPM Run pattern command completion interrupt enable" "Disabled,Enabled"
textline "                 "
bitfld.long 0x08  0. " CCI    ,FCM command completion interrupt enable" "Disabled,Enabled"
else
bitfld.long 0x08 19. " CSI    ,Chip select error interrupt enable" "Disabled,Enabled"
bitfld.long 0x08  0. "     CCI   ,FCM command completion interrupt enable" "Disabled,Enabled"
endif
line.long 0x0c "LTEATR,Transfer error attributes register"
bitfld.long 0x0c 28. " RWB    ,Transaction type for the error" "Write,Read"
bitfld.long 0x0c 16.--20. "        SRCID ,Captures the source of the transaction" "0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f"
textline "                 "
bitfld.long 0x0c 15. " PB0    ,Error on block 0 for FCM" "-,Error"
bitfld.long 0x0c 11. "        BNK0  ,Memory controller bank 0" "-,Error"
textline "                 "
bitfld.long 0x0c 10. " BNK1   ,Memory controller bank 1" "-,Error"
bitfld.long 0x0c 9. "        BNK2  ,Memory controller bank 2" "-,Error"
textline "                 "
bitfld.long 0x0c 8. " BNK3   ,Memory controller bank 3" "-,Error"
bitfld.long 0x0c 0. "        V     ,Error attribute capture is valid" "-,Valid"
line.long 0x10 "LTEAR,Transfer error address register"
sif (cpu()=="MPC8308")
group.long (0x05000+0xc4)++0x3
line.long 0x00 "LTECCR,Transfer Error ECC Register"
eventfld.long 0x00 19. " SBCE0  ,Single correctable error on block 0" "No error,Error"
eventfld.long 0x00 18. "     SBCE1 ,Single correctable error on block 1" "No error,Error"
textline "                 "
eventfld.long 0x00 17. " SBCE2  ,Single correctable error on block 2" "No error,Error"
eventfld.long 0x00 16. "     SBCE3 ,Single correctable error on block 3" "No error,Error"
textline "                 "
eventfld.long 0x00 3. " MBUE0  ,Multi uncorrectable error on block 0" "No error,Error"
eventfld.long 0x00 2. "     MBUE1 ,Multi uncorrectable error on block 1" "No error,Error"
textline "                 "
eventfld.long 0x00 1. " MBUE2  ,Multi uncorrectable error on block 2" "No error,Error"
eventfld.long 0x00 0. "     MBUE3 ,Multi uncorrectable error on block 3" "No error,Error"
endif
group.long (0x05000+0xd0)++0x7
line.long 0x00 "LBCR,Configuration register"
bitfld.long 0x00 31. " LDIS   ,Local bus disable" "No,Yes"
bitfld.long 0x00 22.--23. "          BCTLC ,Defines the use of LBCTL" "W/R,/LOE,/LWE,"
textline "                 "
sif (cpu()!="MPC8308")
bitfld.long 0x00 21. " AHD    ,Address hold disable" "2 clks negated,1 clk negated"
textline "                 "
endif
hexmask.long.byte 0x00 8.--15. 1. " BMT    ,Bus monitor timing"
textline "                 "
bitfld.long 0x00  0.--3. " BMTPS  ,Bus monitor timer prescale" "8,16,32,64,128,256,512,1024,2048,4096,8192,16384,32768,65536,131072,262144"
line.long 0x04 "LCRR,Clock ratio register"
sif (cpu()=="MPC8306"||cpu()=="MPC8306S"||cpu()=="MPC8309")
bitfld.long 0x04 16.--17. " EADC   ,External address delay cycles" "4,1,2,3"
elif (cpu()=="MPC8308")
bitfld.long 0x04 31. " PBYP   ,PLL bypass" "Enabled,Bypassed"
else
bitfld.long 0x04 31. " PBYP   ,PLL bypass" "Enabled,Bypassed"
bitfld.long 0x04 16.--17. "     EADC  ,External address delay cycles" "4,1,2,3"
endif
textline "                 "
bitfld.long 0x04 0.--4. " CLKDIV ,System (input) clock divider" ",,2,,4,,,,8,,,,,,,,,,,,,,,,,,,,,,,"
tree.end
tree "Flash Register"
width 6.
group.long (0x05000+0xe0)++0xf
line.long 0x00 "FMR,Flash Mode Register"
bitfld.long 0x00 12.--15. " CWTO ,Command wait time-out" "256 cycles,512 cycles,1024 cycles,2048 cycles,4096 cycles,8192 cycles,16384 cycles,32768 cycles,65536 cycles,131072 cycles,262144 cycles,524288 cycles,1048576 cycles,2097152 cycles,4194304 cycles,8388608 cycles"
bitfld.long 0x00 11. "       BOOT ,Flash auto-boot load mode" "Normal,Auto-load"
textline "               "
bitfld.long 0x00 8. " ECCM ,ECC mode" "8 spare region,10 spare region"
bitfld.long 0x00 4.--5. "      AL   ,Address length" "2 bytes,3 bytes,4 bytes,"
textline "               "
bitfld.long 0x00 0.--1. " OP   ,Flash operation" "Normal,Simulate auto-boot,Execute protected,Execute unprotected"
line.long 0x04 "FIR,Flash Instruction Register"
bitfld.long 0x04 28.--31. " OP0  ,FCM operation code 0" "NOP,CA,PA,UA,CM0,CM1,CM2,CM3,WB,WS,RB,RS,CW0,CW1,RBW,RSW"
bitfld.long 0x04 24.--27. "                  OP1  ,FCM operation code 1" "NOP,CA,PA,UA,CM0,CM1,CM2,CM3,WB,WS,RB,RS,CW0,CW1,RBW,RSW"
textline "               "
bitfld.long 0x04 20.--23. " OP2  ,FCM operation code 2" "NOP,CA,PA,UA,CM0,CM1,CM2,CM3,WB,WS,RB,RS,CW0,CW1,RBW,RSW"
bitfld.long 0x04 16.--19. "                  OP3  ,FCM operation code 3" "NOP,CA,PA,UA,CM0,CM1,CM2,CM3,WB,WS,RB,RS,CW0,CW1,RBW,RSW"
textline "               "
bitfld.long 0x04 12.--15. " OP4  ,FCM operation code 4" "NOP,CA,PA,UA,CM0,CM1,CM2,CM3,WB,WS,RB,RS,CW0,CW1,RBW,RSW"
bitfld.long 0x04  8.--11. "                  OP5  ,FCM operation code 5" "NOP,CA,PA,UA,CM0,CM1,CM2,CM3,WB,WS,RB,RS,CW0,CW1,RBW,RSW"
textline "               "
bitfld.long 0x04  4.--7.  " OP6  ,FCM operation code 6" "NOP,CA,PA,UA,CM0,CM1,CM2,CM3,WB,WS,RB,RS,CW0,CW1,RBW,RSW"
bitfld.long 0x04  0.--3.  "                  OP7  ,FCM operation code 7" "NOP,CA,PA,UA,CM0,CM1,CM2,CM3,WB,WS,RB,RS,CW0,CW1,RBW,RSW"
line.long 0x08 "FCR,Flash Command Register"
hexmask.long.byte 0x08 24.--31. 1. " CMD0 ,General purpose FCM flash command byte 0"
hexmask.long.byte 0x08 16.--23. 1. "                   CMD1 ,General purpose FCM flash command byte 1"
textline "               "
hexmask.long.byte 0x08  8.--15. 1. " CMD2 ,General purpose FCM flash command byte 2"
hexmask.long.byte 0x08  0.--7.  1. "                   CMD3 ,General purpose FCM flash command byte 3"
line.long 0x0c "FBAR,Flash Block Address Register"
hexmask.long 0x0c 0.--23. 1. " BLK  ,Flash block address"
if ((((d.l.be(anc:(iobase()+0x05000)))&0xe0)==0x20)&&(((d.l.be(anc:(iobase()+0x05000+0x4)))&400)==0x0))||((((d.l.be(anc:(iobase()+0x05000+0x8)))&0xe0)==0x20)&&(((d.l.be(anc:(iobase()+0x05000+0xc)))&400)==0x0))||((((d.l.be(anc:(iobase()+0x05000+0x10)))&0xe0)==0x20)&&(((d.l.be(anc:(iobase()+0x05000+0x14)))&400)==0x0))||((((d.l.be(anc:(iobase()+0x05000+0x18)))&0xe0)==0x20)&&(((d.l.be(anc:(iobase()+0x05000+0x1c)))&400)==0x0))
group.long (0x05000+0xf0)++0x3
line.long 0x00 "FPAR,Flash Page Address Register"
hexmask.long.byte 0x00 10.--14. 1. " PI   ,Page index"
bitfld.long 0x00 9. "                   MS   ,Main/spare region locator" "Main,Spare"
textline "               "
hexmask.long.word 0x00 0.--8. 1. " CI   ,Column index"
else
group.long (0x05000+0xf0)++0x3
line.long 0x00 "FPAR,Flash Page Address Register"
hexmask.long.byte 0x00 12.--17. 1. " PI   ,Page index"
bitfld.long 0x00 11. "                   MS   ,Main/spare region locator" "Main,Spare"
textline "               "
hexmask.long.word 0x00 0.--10. 1. " CI   ,Column index"
endif
group.long (0x05000+0xf4)++0x3
line.long 0x00 "FBCR,Flash Byte Count Register"
hexmask.long.word 0x00 0.--11. 1. " BC   ,Byte count"
sif (cpu()=="MPC8308")
rgroup.long (0x05000+0x100)++0x03
line.long 0x00 "FECC0,Flash ECC Block0 Register"
bitfld.long 0x00 31. " V ,Valid bit" "Not valid,Valid"
hexmask.long 0x00 0.--23. 1. "  ECC ,ECC"
rgroup.long (0x05000+0x104)++0x03
line.long 0x00 "FECC1,Flash ECC Block1 Register"
bitfld.long 0x00 31. " V ,Valid bit" "Not valid,Valid"
hexmask.long 0x00 0.--23. 1. "  ECC ,ECC"
rgroup.long (0x05000+0x108)++0x03
line.long 0x00 "FECC2,Flash ECC Block2 Register"
bitfld.long 0x00 31. " V ,Valid bit" "Not valid,Valid"
hexmask.long 0x00 0.--23. 1. "  ECC ,ECC"
rgroup.long (0x05000+0x10C)++0x03
line.long 0x00 "FECC3,Flash ECC Block3 Register"
bitfld.long 0x00 31. " V ,Valid bit" "Not valid,Valid"
hexmask.long 0x00 0.--23. 1. "  ECC ,ECC"
endif
tree.end
width 0xb
tree.end
tree "IOS (Sequencer)"
width 8.
group.long (0x08400+0x0)++0x3 "Group 0"
line.long 0x00 "POTAR0,PCI Outbound Translation Address Register 0"
hexmask.long 0x00 0.--19. 1. " TA ,Translation Address"
group.long (0x08400+0x0+0x8)++0x3
line.long 0x00 "POBAR0,PCI Outbound Base Address Register 0"
hexmask.long 0x00 0.--19. 1. " BA ,Base Address"
group.long (0x08400+0x0+0x10)++0x3
line.long 0x00 "POCMR0,PCI Outbound Comparison Mask Register 0"
bitfld.long 0x00 31. " EN ,Enable" "Disabled,Address Translation Window Enable"
textline "                 "
bitfld.long 0x00 30. " IO ,I/O space" "Memory,I/O"
textline "                 "
bitfld.long 0x00 19. " CM ," "0,1"
bitfld.long 0x00 18. ","  "0,1"
bitfld.long 0x00 17. ","  "0,1"
bitfld.long 0x00 16. ","  "0,1"
bitfld.long 0x00 15. ","  "0,1"
bitfld.long 0x00 14. ","  "0,1"
bitfld.long 0x00 13. ","  "0,1"
bitfld.long 0x00 12. ","  "0,1"
bitfld.long 0x00 11. ","  "0,1"
bitfld.long 0x00 10. ","  "0,1"
bitfld.long 0x00 9. ","  "0,1"
bitfld.long 0x00 8. ","  "0,1"
bitfld.long 0x00 7. ","  "0,1"
bitfld.long 0x00 6. ","  "0,1"
bitfld.long 0x00 5. ","  "0,1"
bitfld.long 0x00 4. ","  "0,1"
bitfld.long 0x00 3. ","  "0,1"
bitfld.long 0x00 2. ","  "0,1"
bitfld.long 0x00 1. ","  "0,1"
bitfld.long 0x00 0. ","  "0,1"
group.long (0x08400+0x18)++0x3 "Group 1"
line.long 0x00 "POTAR1,PCI Outbound Translation Address Register 1"
hexmask.long 0x00 0.--19. 1. " TA ,Translation Address"
group.long (0x08400+0x18+0x8)++0x3
line.long 0x00 "POBAR1,PCI Outbound Base Address Register 1"
hexmask.long 0x00 0.--19. 1. " BA ,Base Address"
group.long (0x08400+0x18+0x10)++0x3
line.long 0x00 "POCMR1,PCI Outbound Comparison Mask Register 1"
bitfld.long 0x00 31. " EN ,Enable" "Disabled,Address Translation Window Enable"
textline "                 "
bitfld.long 0x00 30. " IO ,I/O space" "Memory,I/O"
textline "                 "
bitfld.long 0x00 19. " CM ," "0,1"
bitfld.long 0x00 18. ","  "0,1"
bitfld.long 0x00 17. ","  "0,1"
bitfld.long 0x00 16. ","  "0,1"
bitfld.long 0x00 15. ","  "0,1"
bitfld.long 0x00 14. ","  "0,1"
bitfld.long 0x00 13. ","  "0,1"
bitfld.long 0x00 12. ","  "0,1"
bitfld.long 0x00 11. ","  "0,1"
bitfld.long 0x00 10. ","  "0,1"
bitfld.long 0x00 9. ","  "0,1"
bitfld.long 0x00 8. ","  "0,1"
bitfld.long 0x00 7. ","  "0,1"
bitfld.long 0x00 6. ","  "0,1"
bitfld.long 0x00 5. ","  "0,1"
bitfld.long 0x00 4. ","  "0,1"
bitfld.long 0x00 3. ","  "0,1"
bitfld.long 0x00 2. ","  "0,1"
bitfld.long 0x00 1. ","  "0,1"
bitfld.long 0x00 0. ","  "0,1"
group.long (0x08400+0x30)++0x3 "Group 2"
line.long 0x00 "POTAR2,PCI Outbound Translation Address Register 2"
hexmask.long 0x00 0.--19. 1. " TA ,Translation Address"
group.long (0x08400+0x30+0x8)++0x3
line.long 0x00 "POBAR2,PCI Outbound Base Address Register 2"
hexmask.long 0x00 0.--19. 1. " BA ,Base Address"
group.long (0x08400+0x30+0x10)++0x3
line.long 0x00 "POCMR2,PCI Outbound Comparison Mask Register 2"
bitfld.long 0x00 31. " EN ,Enable" "Disabled,Address Translation Window Enable"
textline "                 "
bitfld.long 0x00 30. " IO ,I/O space" "Memory,I/O"
textline "                 "
bitfld.long 0x00 19. " CM ," "0,1"
bitfld.long 0x00 18. ","  "0,1"
bitfld.long 0x00 17. ","  "0,1"
bitfld.long 0x00 16. ","  "0,1"
bitfld.long 0x00 15. ","  "0,1"
bitfld.long 0x00 14. ","  "0,1"
bitfld.long 0x00 13. ","  "0,1"
bitfld.long 0x00 12. ","  "0,1"
bitfld.long 0x00 11. ","  "0,1"
bitfld.long 0x00 10. ","  "0,1"
bitfld.long 0x00 9. ","  "0,1"
bitfld.long 0x00 8. ","  "0,1"
bitfld.long 0x00 7. ","  "0,1"
bitfld.long 0x00 6. ","  "0,1"
bitfld.long 0x00 5. ","  "0,1"
bitfld.long 0x00 4. ","  "0,1"
bitfld.long 0x00 3. ","  "0,1"
bitfld.long 0x00 2. ","  "0,1"
bitfld.long 0x00 1. ","  "0,1"
bitfld.long 0x00 0. ","  "0,1"
group.long (0x08400+0x48)++0x3 "Group 3"
line.long 0x00 "POTAR3,PCI Outbound Translation Address Register 3"
hexmask.long 0x00 0.--19. 1. " TA ,Translation Address"
group.long (0x08400+0x48+0x8)++0x3
line.long 0x00 "POBAR3,PCI Outbound Base Address Register 3"
hexmask.long 0x00 0.--19. 1. " BA ,Base Address"
group.long (0x08400+0x48+0x10)++0x3
line.long 0x00 "POCMR3,PCI Outbound Comparison Mask Register 3"
bitfld.long 0x00 31. " EN ,Enable" "Disabled,Address Translation Window Enable"
textline "                 "
bitfld.long 0x00 30. " IO ,I/O space" "Memory,I/O"
textline "                 "
bitfld.long 0x00 19. " CM ," "0,1"
bitfld.long 0x00 18. ","  "0,1"
bitfld.long 0x00 17. ","  "0,1"
bitfld.long 0x00 16. ","  "0,1"
bitfld.long 0x00 15. ","  "0,1"
bitfld.long 0x00 14. ","  "0,1"
bitfld.long 0x00 13. ","  "0,1"
bitfld.long 0x00 12. ","  "0,1"
bitfld.long 0x00 11. ","  "0,1"
bitfld.long 0x00 10. ","  "0,1"
bitfld.long 0x00 9. ","  "0,1"
bitfld.long 0x00 8. ","  "0,1"
bitfld.long 0x00 7. ","  "0,1"
bitfld.long 0x00 6. ","  "0,1"
bitfld.long 0x00 5. ","  "0,1"
bitfld.long 0x00 4. ","  "0,1"
bitfld.long 0x00 3. ","  "0,1"
bitfld.long 0x00 2. ","  "0,1"
bitfld.long 0x00 1. ","  "0,1"
bitfld.long 0x00 0. ","  "0,1"
group.long (0x08400+0x60)++0x3 "Group 4"
line.long 0x00 "POTAR4,PCI Outbound Translation Address Register 4"
hexmask.long 0x00 0.--19. 1. " TA ,Translation Address"
group.long (0x08400+0x60+0x8)++0x3
line.long 0x00 "POBAR4,PCI Outbound Base Address Register 4"
hexmask.long 0x00 0.--19. 1. " BA ,Base Address"
group.long (0x08400+0x60+0x10)++0x3
line.long 0x00 "POCMR4,PCI Outbound Comparison Mask Register 4"
bitfld.long 0x00 31. " EN ,Enable" "Disabled,Address Translation Window Enable"
textline "                 "
bitfld.long 0x00 30. " IO ,I/O space" "Memory,I/O"
textline "                 "
bitfld.long 0x00 19. " CM ," "0,1"
bitfld.long 0x00 18. ","  "0,1"
bitfld.long 0x00 17. ","  "0,1"
bitfld.long 0x00 16. ","  "0,1"
bitfld.long 0x00 15. ","  "0,1"
bitfld.long 0x00 14. ","  "0,1"
bitfld.long 0x00 13. ","  "0,1"
bitfld.long 0x00 12. ","  "0,1"
bitfld.long 0x00 11. ","  "0,1"
bitfld.long 0x00 10. ","  "0,1"
bitfld.long 0x00 9. ","  "0,1"
bitfld.long 0x00 8. ","  "0,1"
bitfld.long 0x00 7. ","  "0,1"
bitfld.long 0x00 6. ","  "0,1"
bitfld.long 0x00 5. ","  "0,1"
bitfld.long 0x00 4. ","  "0,1"
bitfld.long 0x00 3. ","  "0,1"
bitfld.long 0x00 2. ","  "0,1"
bitfld.long 0x00 1. ","  "0,1"
bitfld.long 0x00 0. ","  "0,1"
group.long (0x08400+0x78)++0x3 "Group 5"
line.long 0x00 "POTAR5,PCI Outbound Translation Address Register 5"
hexmask.long 0x00 0.--19. 1. " TA ,Translation Address"
group.long (0x08400+0x78+0x8)++0x3
line.long 0x00 "POBAR5,PCI Outbound Base Address Register 5"
hexmask.long 0x00 0.--19. 1. " BA ,Base Address"
group.long (0x08400+0x78+0x10)++0x3
line.long 0x00 "POCMR5,PCI Outbound Comparison Mask Register 5"
bitfld.long 0x00 31. " EN ,Enable" "Disabled,Address Translation Window Enable"
textline "                 "
bitfld.long 0x00 30. " IO ,I/O space" "Memory,I/O"
textline "                 "
bitfld.long 0x00 19. " CM ," "0,1"
bitfld.long 0x00 18. ","  "0,1"
bitfld.long 0x00 17. ","  "0,1"
bitfld.long 0x00 16. ","  "0,1"
bitfld.long 0x00 15. ","  "0,1"
bitfld.long 0x00 14. ","  "0,1"
bitfld.long 0x00 13. ","  "0,1"
bitfld.long 0x00 12. ","  "0,1"
bitfld.long 0x00 11. ","  "0,1"
bitfld.long 0x00 10. ","  "0,1"
bitfld.long 0x00 9. ","  "0,1"
bitfld.long 0x00 8. ","  "0,1"
bitfld.long 0x00 7. ","  "0,1"
bitfld.long 0x00 6. ","  "0,1"
bitfld.long 0x00 5. ","  "0,1"
bitfld.long 0x00 4. ","  "0,1"
bitfld.long 0x00 3. ","  "0,1"
bitfld.long 0x00 2. ","  "0,1"
bitfld.long 0x00 1. ","  "0,1"
bitfld.long 0x00 0. ","  "0,1"
textline "                 "
width 8.
rgroup.long (0x08400+0xf0)++0x03
line.long 0x00 "PMCR,Power Management Control Register"
bitfld.long 0x00 0. " IDLE ,Logic idle" "Active,Idle"
group.long (0x08400+0xf8)++0x03
line.long 0x00 "DTCR,Discard Time Control Register"
bitfld.long 0x00 31. " EN   ,Discard Timer Enable" "Disabled,Enabled"
textline "                 "
hexmask.long 0x00 0.--23. 1. " PTV  ,Preload timer value"
tree.end
endian.le
tree "DMA"
tree "DMA 0"
width 10.
group.long (0x8000+0x0100)++0xb
line.long 0x00 "DMAMR0,DMA 0 Mode Register"
bitfld.long 0x00 24.--27. " DRCNT  ,DMA request count" "Reserved,Reserved,Reserved,Reserved,Reserved,1 line,2 lines,4 lines,8 lines,16 lines,32 lines,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 21.--23. "        BWC   ,Bandwidth control" "1 line,2 lines,4 lines,8 lines,16 lines,Reserved,Reserved,Reserved"
textline "                   "
bitfld.long 0x00 20. " DMSEN  ,Direct mode snoop enable" "Disabled,Enabled"
bitfld.long 0x00 19. "        IRQS  ,Interrupt steer" "On-chip controller,PCI bus"
textline "                   "
sif ((cpu()!="MPC8311")&&(cpu()!="MPC8313"))
bitfld.long 0x00 18. " EMSEN  ,External master start enable" "Software CS,Hardware /DREQ"
bitfld.long 0x00 16.--17. "  DAHTS ,Destination address hold transfer size" "1 byte,2 bytes,4 bytes,8 bytes"
else
bitfld.long 0x00 16.--17. " DAHTS  ,Destination address hold transfer size" "1 byte,2 bytes,4 bytes,8 bytes"
endif
textline "                   "
bitfld.long 0x00 14.--15. " SAHTS  ,Source address hold transfer size" "1 byte,2 bytes,4 bytes,8 bytes"
bitfld.long 0x00 13. "         DAHE  ,Destination address hold enable" "-,Enabled"
textline "                   "
bitfld.long 0x00 12. " SAHE   ,Source address hold enable" "-,Enabled"
bitfld.long 0x00 10.--11. "         PRC   ,PCI read command" "PCI read,PCI read line,PCI read multiple,Reserved"
textline "                   "
bitfld.long 0x00 7. " EOTIE  ,End-of-transfer interrupt enable" "-,Enabled"
bitfld.long 0x00 3. "         TEM   ,Transfer error mask" "Halt,Continue"
textline "                   "
bitfld.long 0x00 2. " CTM    ,Channel transfer mode" "Chaining,Direct"
bitfld.long 0x00 1. "        CC    ,Channel continue" "Normal,Repeated"
textline "                   "
bitfld.long 0x00 0. " CS     ,Channel start" "-,Started"
line.long 0x04 "DMASR0,DMA 0 Status Register"
bitfld.long 0x04 7. " TE     ,Transfer error" "-,Error"
bitfld.long 0x04 2. "           CB    ,Channel busy" "Not busy,Busy"
textline "                   "
bitfld.long 0x04 1. " EOSI   ,End-of-segment interrupt" "-,Interrupt"
bitfld.long 0x04 0. "       EOCDI ,End-of-chain/direct interrupt" "-,Interrupt"
line.long 0x08 "DMACDAR0,DMA 0 Current Descriptor Address Register"
hexmask.long 0x08 5.--31. 0x20 " CDA    ,Current descriptor address"
bitfld.long 0x08 4. "        SNEN  ,Snoop enable" "-,Enabled"
textline "                   "
bitfld.long 0x08 3. " EOSIE  ,End-of-segment interrupt enable" "-,Enabled"
group.long ((0x8000+0x0100)+0x10)++0x3
line.long 0x00 "DMASAR0,DMA 0 Source Address Register"
group.long ((0x8000+0x0100)+0x18)++0x3
line.long 0x00 "DMADAR0,DMA 0 Destination Address Register"
group.long ((0x8000+0x0100)+0x20)++0x7    
line.long 0x00 "DMABCR0,DMA 0 Byte Count Register"
hexmask.long 0x00 0.--25. 1. " BC     ,Byte count"
line.long 0x04 "DMANDAR0,DMA 0 Next Descriptor Address Register"
hexmask.long 0x04 5.--31. 0x20 " NDA    ,Next descriptor address"
bitfld.long 0x04 4. "        NSNEN ,Next snoop enable" "-,Enabled"
textline "                   "
bitfld.long 0x04 3. " NEOSIE ,Next end-of-segment interrupt enable" "-,Enabled"
bitfld.long 0x04 0. "         EOTD  ,End-of-transfer descriptor" "-,Last"
width 0xb
tree.end
tree "DMA 1"
width 10.
group.long (0x8000+0x0180)++0xb
line.long 0x00 "DMAMR1,DMA 1 Mode Register"
bitfld.long 0x00 24.--27. " DRCNT  ,DMA request count" "Reserved,Reserved,Reserved,Reserved,Reserved,1 line,2 lines,4 lines,8 lines,16 lines,32 lines,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 21.--23. "        BWC   ,Bandwidth control" "1 line,2 lines,4 lines,8 lines,16 lines,Reserved,Reserved,Reserved"
textline "                   "
bitfld.long 0x00 20. " DMSEN  ,Direct mode snoop enable" "Disabled,Enabled"
bitfld.long 0x00 19. "        IRQS  ,Interrupt steer" "On-chip controller,PCI bus"
textline "                   "
sif ((cpu()!="MPC8311")&&(cpu()!="MPC8313"))
bitfld.long 0x00 18. " EMSEN  ,External master start enable" "Software CS,Hardware /DREQ"
bitfld.long 0x00 16.--17. "  DAHTS ,Destination address hold transfer size" "1 byte,2 bytes,4 bytes,8 bytes"
else
bitfld.long 0x00 16.--17. " DAHTS  ,Destination address hold transfer size" "1 byte,2 bytes,4 bytes,8 bytes"
endif
textline "                   "
bitfld.long 0x00 14.--15. " SAHTS  ,Source address hold transfer size" "1 byte,2 bytes,4 bytes,8 bytes"
bitfld.long 0x00 13. "         DAHE  ,Destination address hold enable" "-,Enabled"
textline "                   "
bitfld.long 0x00 12. " SAHE   ,Source address hold enable" "-,Enabled"
bitfld.long 0x00 10.--11. "         PRC   ,PCI read command" "PCI read,PCI read line,PCI read multiple,Reserved"
textline "                   "
bitfld.long 0x00 7. " EOTIE  ,End-of-transfer interrupt enable" "-,Enabled"
bitfld.long 0x00 3. "         TEM   ,Transfer error mask" "Halt,Continue"
textline "                   "
bitfld.long 0x00 2. " CTM    ,Channel transfer mode" "Chaining,Direct"
bitfld.long 0x00 1. "        CC    ,Channel continue" "Normal,Repeated"
textline "                   "
bitfld.long 0x00 0. " CS     ,Channel start" "-,Started"
line.long 0x04 "DMASR1,DMA 1 Status Register"
bitfld.long 0x04 7. " TE     ,Transfer error" "-,Error"
bitfld.long 0x04 2. "           CB    ,Channel busy" "Not busy,Busy"
textline "                   "
bitfld.long 0x04 1. " EOSI   ,End-of-segment interrupt" "-,Interrupt"
bitfld.long 0x04 0. "       EOCDI ,End-of-chain/direct interrupt" "-,Interrupt"
line.long 0x08 "DMACDAR1,DMA 1 Current Descriptor Address Register"
hexmask.long 0x08 5.--31. 0x20 " CDA    ,Current descriptor address"
bitfld.long 0x08 4. "        SNEN  ,Snoop enable" "-,Enabled"
textline "                   "
bitfld.long 0x08 3. " EOSIE  ,End-of-segment interrupt enable" "-,Enabled"
group.long ((0x8000+0x0180)+0x10)++0x3
line.long 0x00 "DMASAR1,DMA 1 Source Address Register"
group.long ((0x8000+0x0180)+0x18)++0x3
line.long 0x00 "DMADAR1,DMA 1 Destination Address Register"
group.long ((0x8000+0x0180)+0x20)++0x7    
line.long 0x00 "DMABCR1,DMA 1 Byte Count Register"
hexmask.long 0x00 0.--25. 1. " BC     ,Byte count"
line.long 0x04 "DMANDAR1,DMA 1 Next Descriptor Address Register"
hexmask.long 0x04 5.--31. 0x20 " NDA    ,Next descriptor address"
bitfld.long 0x04 4. "        NSNEN ,Next snoop enable" "-,Enabled"
textline "                   "
bitfld.long 0x04 3. " NEOSIE ,Next end-of-segment interrupt enable" "-,Enabled"
bitfld.long 0x04 0. "         EOTD  ,End-of-transfer descriptor" "-,Last"
width 0xb
tree.end
tree "DMA 2"
width 10.
group.long (0x8000+0x0200)++0xb
line.long 0x00 "DMAMR2,DMA 2 Mode Register"
bitfld.long 0x00 24.--27. " DRCNT  ,DMA request count" "Reserved,Reserved,Reserved,Reserved,Reserved,1 line,2 lines,4 lines,8 lines,16 lines,32 lines,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 21.--23. "        BWC   ,Bandwidth control" "1 line,2 lines,4 lines,8 lines,16 lines,Reserved,Reserved,Reserved"
textline "                   "
bitfld.long 0x00 20. " DMSEN  ,Direct mode snoop enable" "Disabled,Enabled"
bitfld.long 0x00 19. "        IRQS  ,Interrupt steer" "On-chip controller,PCI bus"
textline "                   "
sif ((cpu()!="MPC8311")&&(cpu()!="MPC8313"))
bitfld.long 0x00 18. " EMSEN  ,External master start enable" "Software CS,Hardware /DREQ"
bitfld.long 0x00 16.--17. "  DAHTS ,Destination address hold transfer size" "1 byte,2 bytes,4 bytes,8 bytes"
else
bitfld.long 0x00 16.--17. " DAHTS  ,Destination address hold transfer size" "1 byte,2 bytes,4 bytes,8 bytes"
endif
textline "                   "
bitfld.long 0x00 14.--15. " SAHTS  ,Source address hold transfer size" "1 byte,2 bytes,4 bytes,8 bytes"
bitfld.long 0x00 13. "         DAHE  ,Destination address hold enable" "-,Enabled"
textline "                   "
bitfld.long 0x00 12. " SAHE   ,Source address hold enable" "-,Enabled"
bitfld.long 0x00 10.--11. "         PRC   ,PCI read command" "PCI read,PCI read line,PCI read multiple,Reserved"
textline "                   "
bitfld.long 0x00 7. " EOTIE  ,End-of-transfer interrupt enable" "-,Enabled"
bitfld.long 0x00 3. "         TEM   ,Transfer error mask" "Halt,Continue"
textline "                   "
bitfld.long 0x00 2. " CTM    ,Channel transfer mode" "Chaining,Direct"
bitfld.long 0x00 1. "        CC    ,Channel continue" "Normal,Repeated"
textline "                   "
bitfld.long 0x00 0. " CS     ,Channel start" "-,Started"
line.long 0x04 "DMASR2,DMA 2 Status Register"
bitfld.long 0x04 7. " TE     ,Transfer error" "-,Error"
bitfld.long 0x04 2. "           CB    ,Channel busy" "Not busy,Busy"
textline "                   "
bitfld.long 0x04 1. " EOSI   ,End-of-segment interrupt" "-,Interrupt"
bitfld.long 0x04 0. "       EOCDI ,End-of-chain/direct interrupt" "-,Interrupt"
line.long 0x08 "DMACDAR2,DMA 2 Current Descriptor Address Register"
hexmask.long 0x08 5.--31. 0x20 " CDA    ,Current descriptor address"
bitfld.long 0x08 4. "        SNEN  ,Snoop enable" "-,Enabled"
textline "                   "
bitfld.long 0x08 3. " EOSIE  ,End-of-segment interrupt enable" "-,Enabled"
group.long ((0x8000+0x0200)+0x10)++0x3
line.long 0x00 "DMASAR2,DMA 2 Source Address Register"
group.long ((0x8000+0x0200)+0x18)++0x3
line.long 0x00 "DMADAR2,DMA 2 Destination Address Register"
group.long ((0x8000+0x0200)+0x20)++0x7    
line.long 0x00 "DMABCR2,DMA 2 Byte Count Register"
hexmask.long 0x00 0.--25. 1. " BC     ,Byte count"
line.long 0x04 "DMANDAR2,DMA 2 Next Descriptor Address Register"
hexmask.long 0x04 5.--31. 0x20 " NDA    ,Next descriptor address"
bitfld.long 0x04 4. "        NSNEN ,Next snoop enable" "-,Enabled"
textline "                   "
bitfld.long 0x04 3. " NEOSIE ,Next end-of-segment interrupt enable" "-,Enabled"
bitfld.long 0x04 0. "         EOTD  ,End-of-transfer descriptor" "-,Last"
width 0xb
tree.end
tree "DMA 3"
width 10.
group.long (0x8000+0x0280)++0xb
line.long 0x00 "DMAMR3,DMA 3 Mode Register"
bitfld.long 0x00 24.--27. " DRCNT  ,DMA request count" "Reserved,Reserved,Reserved,Reserved,Reserved,1 line,2 lines,4 lines,8 lines,16 lines,32 lines,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 21.--23. "        BWC   ,Bandwidth control" "1 line,2 lines,4 lines,8 lines,16 lines,Reserved,Reserved,Reserved"
textline "                   "
bitfld.long 0x00 20. " DMSEN  ,Direct mode snoop enable" "Disabled,Enabled"
bitfld.long 0x00 19. "        IRQS  ,Interrupt steer" "On-chip controller,PCI bus"
textline "                   "
sif ((cpu()!="MPC8311")&&(cpu()!="MPC8313"))
bitfld.long 0x00 18. " EMSEN  ,External master start enable" "Software CS,Hardware /DREQ"
bitfld.long 0x00 16.--17. "  DAHTS ,Destination address hold transfer size" "1 byte,2 bytes,4 bytes,8 bytes"
else
bitfld.long 0x00 16.--17. " DAHTS  ,Destination address hold transfer size" "1 byte,2 bytes,4 bytes,8 bytes"
endif
textline "                   "
bitfld.long 0x00 14.--15. " SAHTS  ,Source address hold transfer size" "1 byte,2 bytes,4 bytes,8 bytes"
bitfld.long 0x00 13. "         DAHE  ,Destination address hold enable" "-,Enabled"
textline "                   "
bitfld.long 0x00 12. " SAHE   ,Source address hold enable" "-,Enabled"
bitfld.long 0x00 10.--11. "         PRC   ,PCI read command" "PCI read,PCI read line,PCI read multiple,Reserved"
textline "                   "
bitfld.long 0x00 7. " EOTIE  ,End-of-transfer interrupt enable" "-,Enabled"
bitfld.long 0x00 3. "         TEM   ,Transfer error mask" "Halt,Continue"
textline "                   "
bitfld.long 0x00 2. " CTM    ,Channel transfer mode" "Chaining,Direct"
bitfld.long 0x00 1. "        CC    ,Channel continue" "Normal,Repeated"
textline "                   "
bitfld.long 0x00 0. " CS     ,Channel start" "-,Started"
line.long 0x04 "DMASR3,DMA 3 Status Register"
bitfld.long 0x04 7. " TE     ,Transfer error" "-,Error"
bitfld.long 0x04 2. "           CB    ,Channel busy" "Not busy,Busy"
textline "                   "
bitfld.long 0x04 1. " EOSI   ,End-of-segment interrupt" "-,Interrupt"
bitfld.long 0x04 0. "       EOCDI ,End-of-chain/direct interrupt" "-,Interrupt"
line.long 0x08 "DMACDAR3,DMA 3 Current Descriptor Address Register"
hexmask.long 0x08 5.--31. 0x20 " CDA    ,Current descriptor address"
bitfld.long 0x08 4. "        SNEN  ,Snoop enable" "-,Enabled"
textline "                   "
bitfld.long 0x08 3. " EOSIE  ,End-of-segment interrupt enable" "-,Enabled"
group.long ((0x8000+0x0280)+0x10)++0x3
line.long 0x00 "DMASAR3,DMA 3 Source Address Register"
group.long ((0x8000+0x0280)+0x18)++0x3
line.long 0x00 "DMADAR3,DMA 3 Destination Address Register"
group.long ((0x8000+0x0280)+0x20)++0x7    
line.long 0x00 "DMABCR3,DMA 3 Byte Count Register"
hexmask.long 0x00 0.--25. 1. " BC     ,Byte count"
line.long 0x04 "DMANDAR3,DMA 3 Next Descriptor Address Register"
hexmask.long 0x04 5.--31. 0x20 " NDA    ,Next descriptor address"
bitfld.long 0x04 4. "        NSNEN ,Next snoop enable" "-,Enabled"
textline "                   "
bitfld.long 0x04 3. " NEOSIE ,Next end-of-segment interrupt enable" "-,Enabled"
bitfld.long 0x04 0. "         EOTD  ,End-of-transfer descriptor" "-,Last"
width 0xb
tree.end
textline ""
width 8.
group.long (0x8000+0x030)++0x07
line.long 0x00 "OMISR,Outbound Message Interrupt Status Register"    
bitfld.long 0x00 3. " ODI   ,Outbound doorbell interrupt" "-,Interrupt"
eventfld.long 0x00 1. "  OM1I  ,Outbound message 1 interrupt" "-,Interrupt"
eventfld.long 0x00 0. "  OM0I  ,Outbound message 0 interrupt" "-,Interrupt"    
line.long 0x04 "OMIMR,Outbound Message Interrupt Mask Register"
bitfld.long 0x04 3. " ODIM  ,Outbound doorbell interrupt mask" "-,Masked"
bitfld.long 0x04 1. "     OM1IM ,Outbound message 1 interrupt mask" "-,Masked"
bitfld.long 0x04 0. "     OM0IM ,Outbound message 0 interrupt mask" "-,Masked"        
group.long (0x8000+0x050)++0x13
line.long 0x00 "IMR0,Inbound Message Register 0"
hexfld.long 0x00 " IMSG0 ,Inbound message 0"
line.long 0x04 "IMR1,Inbound Message Register 1"
hexfld.long 0x04 " IMSG1 ,Inbound message 1"
line.long 0x08 "OMR0,Outbound Message Register 0"
hexfld.long 0x08 " OMSG0 ,Outbound message 0"
line.long 0x0c "OMR1,Outbound Message Register 1"
hexfld.long 0x0c " OMSG1 ,Outbound message 1"
line.long 0x10 "ODR,Outbound Doorbell Register"
bitfld.long 0x10 28. " ODR28 ,Outbound doorbell 28 interrupt generated" "-,Generated"
bitfld.long 0x10 27. "  ODR27 ,Outbound doorbell 27 interrupt generated" "-,Generated"
bitfld.long 0x10 26. "  ODR26 ,Outbound doorbell 26 interrupt generated" "-,Generated"
textline "                 "
bitfld.long 0x10 25. " ODR25 ,Outbound doorbell 25 interrupt generated" "-,Generated"
bitfld.long 0x10 24. "  ODR24 ,Outbound doorbell 24 interrupt generated" "-,Generated"
bitfld.long 0x10 23. "  ODR23 ,Outbound doorbell 23 interrupt generated" "-,Generated"
textline "                 "
bitfld.long 0x10 22. " ODR22 ,Outbound doorbell 22 interrupt generated" "-,Generated"
bitfld.long 0x10 21. "  ODR21 ,Outbound doorbell 21 interrupt generated" "-,Generated"
textline "                 "
bitfld.long 0x10 20. " ODR20 ,Outbound doorbell 20 interrupt generated" "-,Generated"
bitfld.long 0x10 19. "  ODR19 ,Outbound doorbell 19 interrupt generated" "-,Generated"
bitfld.long 0x10 18. "  ODR18 ,Outbound doorbell 18 interrupt generated" "-,Generated"
textline "                 "
bitfld.long 0x10 17. " ODR17 ,Outbound doorbell 17 interrupt generated" "-,Generated"
bitfld.long 0x10 16. "  ODR16 ,Outbound doorbell 16 interrupt generated" "-,Generated"
bitfld.long 0x10 15. "  ODR15 ,Outbound doorbell 15 interrupt generated" "-,Generated"
textline "                 "
bitfld.long 0x10 14. " ODR14 ,Outbound doorbell 14 interrupt generated" "-,Generated"
bitfld.long 0x10 13. "  ODR13 ,Outbound doorbell 13 interrupt generated" "-,Generated"
bitfld.long 0x10 12. "  ODR12 ,Outbound doorbell 12 interrupt generated" "-,Generated"
textline "                 "
bitfld.long 0x10 11. " ODR11 ,Outbound doorbell 11 interrupt generated" "-,Generated"
bitfld.long 0x10 10. "  ODR10 ,Outbound doorbell 10 interrupt generated" "-,Generated"
bitfld.long 0x10 9. "  ODR9  ,Outbound doorbell 9 interrupt generated" "-,Generated"
textline "                 "
bitfld.long 0x10 8. " ODR8  ,Outbound doorbell 8 interrupt generated" "-,Generated"
bitfld.long 0x10 7. "  ODR7  ,Outbound doorbell 7 interrupt generated" "-,Generated"
bitfld.long 0x10 6. "  ODR6  ,Outbound doorbell 6 interrupt generated" "-,Generated"
textline "                 "
bitfld.long 0x10 5. " ODR5  ,Outbound doorbell 5 interrupt generated" "-,Generated"
bitfld.long 0x10 4. "  ODR4  ,Outbound doorbell 4 interrupt generated" "-,Generated"
bitfld.long 0x10 3. "  ODR3  ,Outbound doorbell 3 interrupt generated" "-,Generated"
textline "                 "
bitfld.long 0x10 2. " ODR2  ,Outbound doorbell 2 interrupt generated" "-,Generated"
bitfld.long 0x10 1. "  ODR1  ,Outbound doorbell 1 interrupt generated" "-,Generated"
bitfld.long 0x10 0. "  ODR0  ,Outbound doorbell 0 interrupt generated" "-,Generated"
group.long (0x8000+0x068)++0x3
line.long 0x00 "IDR,Inbound Doorbell Register"
bitfld.long 0x00 31. " IMC   ,Inbound machine check interrupt generated" "-,Generated"
bitfld.long 0x00 30. "  IDR30 ,Inbound doorbell 30 interrupt generated" "-,Generated"
bitfld.long 0x00 29. "  IDR29 ,Inbound doorbell 29 interrupt generated" "-,Generated"
textline "                 "
bitfld.long 0x00 28. " IDR28 ,Inbound doorbell 28 interrupt generated" "-,Generated"
bitfld.long 0x00 27. "  IDR27 ,Inbound doorbell 27 interrupt generated" "-,Generated"
bitfld.long 0x00 26. "  IDR26 ,Inbound doorbell 26 interrupt generated" "-,Generated"
textline "                 "
bitfld.long 0x00 25. " IDR25 ,Inbound doorbell 25 interrupt generated" "-,Generated"
bitfld.long 0x00 24. "  IDR24 ,Inbound doorbell 24 interrupt generated" "-,Generated"
bitfld.long 0x00 23. "  IDR23 ,Inbound doorbell 23 interrupt generated" "-,Generated"
textline "                 "
bitfld.long 0x00 22. " IDR22 ,Inbound doorbell 22 interrupt generated" "-,Generated"
bitfld.long 0x00 21. "  IDR21 ,Inbound doorbell 21 interrupt generated" "-,Generated"
bitfld.long 0x00 20. "  IDR20 ,Inbound doorbell 20 interrupt generated" "-,Generated"
textline "                 "
bitfld.long 0x00 19. " IDR19 ,Inbound doorbell 19 interrupt generated" "-,Generated"
bitfld.long 0x00 18. "  IDR18 ,Inbound doorbell 18 interrupt generated" "-,Generated"
bitfld.long 0x00 17. "  IDR17 ,Inbound doorbell 17 interrupt generated" "-,Generated"
textline "                 "
bitfld.long 0x00 16. " IDR16 ,Inbound doorbell 16 interrupt generated" "-,Generated"
bitfld.long 0x00 15. "  IDR15 ,Inbound doorbell 15 interrupt generated" "-,Generated"
bitfld.long 0x00 14. "  IDR14 ,Inbound doorbell 14 interrupt generated" "-,Generated"
textline "                 "
bitfld.long 0x00 13. " IDR13 ,Inbound doorbell 13 interrupt generated" "-,Generated"
bitfld.long 0x00 12. "  IDR12 ,Inbound doorbell 12 interrupt generated" "-,Generated"
bitfld.long 0x00 11. "  IDR11 ,Inbound doorbell 11 interrupt generated" "-,Generated"
textline "                 "
bitfld.long 0x00 10. " IDR10 ,Inbound doorbell 10 interrupt generated" "-,Generated"
bitfld.long 0x00 9. "  IDR9  ,Inbound doorbell 9 interrupt generated" "-,Generated"
bitfld.long 0x00 8. "  IDR8  ,Inbound doorbell 8 interrupt generated" "-,Generated"
textline "                 "
bitfld.long 0x00 7. " IDR7  ,Inbound doorbell 7 interrupt generated" "-,Generated"
bitfld.long 0x00 6. "  IDR6  ,Inbound doorbell 6 interrupt generated" "-,Generated"
bitfld.long 0x00 5. "  IDR5  ,Inbound doorbell 5 interrupt generated" "-,Generated"
textline "                 "
bitfld.long 0x00 4. " IDR4  ,Inbound doorbell 4 interrupt generated" "-,Generated"
bitfld.long 0x00 3. "  IDR3  ,Inbound doorbell 3 interrupt generated" "-,Generated"
bitfld.long 0x00 2. "  IDR2  ,Inbound doorbell 2 interrupt generated" "-,Generated"
textline "                 "
bitfld.long 0x00 1. " IDR1  ,Inbound doorbell 1 interrupt generated" "-,Generated"
bitfld.long 0x00 0. "  IDR0  ,Inbound doorbell 0 interrupt generated" "-,Generated"
group.long (0x8000+0x80)++0x07
line.long 0x00 "IMISR,Inbound Message Interrupt Status Register"
bitfld.long 0x00 4. " MCI   ,Machine check interrupt" "-,Interrupt"
bitfld.long 0x00 3. "  IDI   ,Inbound doorbell interrupt" "-,Interrupt"
eventfld.long 0x00 1. "  IM1I  ,Inbound message 1 interrupt" "-,Interrupt"
textline "                 "
eventfld.long 0x00 0. " IM0I  ,Inbound message 0 interrupt" "-,Interrupt"
line.long 0x04 "IMIMR,Inbound Message Interrupt Mask Register"
bitfld.long 0x04 4. " MCIM  ,Machine check interrupt mask" "-,Masked"
bitfld.long 0x04 3. "     IDIM  ,Inbound doorbell interrupt mask" "-,Masked"
bitfld.long 0x04 1. "     IM1IM ,Inbound message 1 interrupt mask" "-,Masked"
textline "                 "
bitfld.long 0x04 0. " IM0IM ,Inbound message 0 interrupt mask" "-,Masked"
rgroup.long (0x8000+0x02a8)++0x03
line.long 0x00 "DMAGSR,DMA General Status Register"
hexmask.long.byte 0x00 24.--31. 1. " CH0   ,Channel 0 Status"
hexmask.long.byte 0x00 16.--23. 1. "         CH1   ,Channel 1 Status"
hexmask.long.byte 0x00 8.--15. 1. "         CH2   ,Channel 2 Status"
textline "                 "
hexmask.long.byte 0x00 0.--7. 1. " CH3   ,Channel 3 Status"
width 0xb
tree.end
endian.be
tree "PCI Bus Interface"
endian.be
tree "PCI Error Management Register"
width 11.
group.long 0x8500++0x0f
line.long 0x00 "PCI_ESR,PCI Error Status Register"
eventfld.long 0x00 31. " MERR    ,Multiple errors" "-,Occurred"
eventfld.long 0x00 10. "           APAR    ,Address parity error" "-,Error"
eventfld.long 0x00 9. "     PCISERR ,PCI system error" "-,Error"
textline "                    "
eventfld.long 0x00 8. " MPERR   ,Master parity error" "-,Error"
eventfld.long 0x00 7. "              TPERR   ,Target parity error" "-,Error"
eventfld.long 0x00 6. "     NORSP   ,No response" "Response,No response"
textline "                    "
eventfld.long 0x00 5. " TABT    ,Target abort" "-,Aborted"
line.long 0x04 "PCI_ECDR,PCI Error Capture Disable Register"
bitfld.long 0x04 10. " APAR    ,Address parity error" "-,Disabled"
bitfld.long 0x04 9. "           PCISERR ,PCI system error" "-,Disabled"
bitfld.long 0x04 8. "  MPERR   ,Master parity error" "-,Disabled"
textline "                    "
bitfld.long 0x04 7. " TPERR   ,Target parity error" "-,Disabled"
bitfld.long 0x04 6. "           NORSP   ,No response" "-,Disabled"
bitfld.long 0x04 5. "  TABT    ,Target abort" "-,Disabled"
line.long 0x08 "PCI_EER,PCI Error Enable Register"
bitfld.long 0x08 10. " APAR    ,Address parity error" "-,Enabled"
bitfld.long 0x08 9. "            PCISERR ,PCI system error" "-,Enabled"
bitfld.long 0x08 8. "   MPERR   ,Master parity error" "-,Enabled"
textline "                    "
bitfld.long 0x08 7. " TPERR   ,Target parity error" "-,Enabled"
bitfld.long 0x08 6. "            NORSP   ,No response" "-,Enabled"
bitfld.long 0x08 5. "   TABT    ,Target abort" "-,Enabled"
line.long 0x0c "PCI_EATCR,PCI Error Attributes Capture Register"
bitfld.long 0x0c 28.--30. " ERRTYPE ,First error type" "Address parity,Write data parity,Read data parity,Master abort,Target abort,System,Parity/read,Parity/write"
bitfld.long 0x0c 24.--27. "  BN      ,Beat number" "1st,2nd,3rd,4th,5th,6th,7th,8th,9th,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x0c 20.--21. "  TS      ,Transaction size" "4 dwords,1 dword,2 dwords,3 dwords"
textline "                    "
bitfld.long 0x0c 16.--19. " ES      ,Error source" "External master,Reserved,Reserved,Reserved,Reserved,DMA,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x0c 12.--15. "    CMD     ,PCI command" "b'0000,b'0001,b'0010,b'0011,b'0100,b'0101,b'0110,b'0111,b'1000,b'1001,b'1010,b'1011,b'1100,b'1101,b'1110,b'1111"
bitfld.long 0x0c 4.--7. "    BE      ,PCI byte enables" "b'0000,b'0001,b'0010,b'0011,b'0100,b'0101,b'0110,b'0111,b'1000,b'1001,b'1010,b'1011,b'1100,b'1101,b'1110,b'1111"
textline "                    "
bitfld.long 0x0c 1. " PB      ,Parity bit" "0,1"
bitfld.long 0x0c 0. "                  VI      ,Error information valid" "-,Valid"
rgroup.long (0x8500+0x10)++0x7
line.long 0x00 "PCI_EACR,PCI Error Address Capture Register"
line.long 0x04 "PCI_EEACR,PCI Error Extended Address Capture Register"
group.long (0x8500+0x18)++0x3
line.long 0x00 "PCI_EDLCR,PCI Error Data Low Capture Register"
tree.end
tree "PCI Control and Status Registers"
width 9.
group.long (0x8500+0x20)++0x07
line.long 0x00 "PCI_GCR,PCI General Control Register"
bitfld.long 0x00 2. " BBR   ,Block bus request" "Normal,Blocked"
bitfld.long 0x00 1. "        PPL     ,PCI pins low" "Normal,Low"
bitfld.long 0x00 0. "         SPRST ,Soft PCI reset" "Low,High"
line.long 0x04 "PCI_ECR,PCI Error Control Register"
bitfld.long 0x04 10. " APAR  ,Address parity error" "Interrupt,Machine check"
bitfld.long 0x04 9. "  PCISERR ,PCI system error" "Interrupt,Machine check"
bitfld.long 0x04 8. "  MPERR ,Master parity error" "Interrupt,Machine check"
textline "                  "
bitfld.long 0x04 7. " TPERR ,Target parity error" "Interrupt,Machine check"
bitfld.long 0x04 6. "  NORSP   ,No response" "Interrupt,Machine check"
bitfld.long 0x04 5. "  TABT  ,Target abort" "Interrupt,Machine check"
rgroup.long (0x8500+0x28)++0x03
line.long 0x00 "PCI_GSR,PCI General Status Register"
bitfld.long 0x00 0. " IDLE  ,PCI control is idle" "Active,Idle"
tree.end
tree "PCI Inbound ATU Register"
width 9.
group.long (0x8500+0x38)++0x3
line.long 0x00 "PITAR2,PCI Inbound Translation Address Register 2"
hexmask.long 0x00 0.--19. 1. " TA  ,Translation address"
group.long (0x8500+0x38+0x8)++0x3
line.long 0x00 "PIBAR2,PCI Inbound Base Address Register 2"
if (2.!=0.)
group.long (0x8500+0x38+0xc)++0x3
line.long 0x00 "PIEBAR2,PCI Inbound Extended Base Address Register 2"
hexmask.long 0x00 0.--19. 1. " EBA ,Extended base address"
endif
group.long (0x8500+0x38+0x10)++0x3
line.long 0x00 "PIWAR2,PCI Inbound Window Attributes Register 2"
bitfld.long 0x00 31. " EN  ,Enable" "-,Enabled"
bitfld.long 0x00 29. "      PF  ,Prefetchable" "-,Prefetchable"
bitfld.long 0x00 16.--19. "  RTT ,Read transaction type" "Reserved,Reserved,Reserved,Reserved,W/out snoop,With snoop,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
textline "                  "
bitfld.long 0x00 12.--15. " WTT ,Write transaction type" "Reserved,Reserved,Reserved,Reserved,W/out snoop,With snoop,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 0.--5. "  IWS ,Inbound window size" "Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,4-Kbyte,8-Kbyte,16-Kbyte,32-Kbyte,64-Kbyte,128-Kbyte,256-Kbyte,512-Kbyte,1-Mbyte,2-Mbyte,4-Mbyte,8-Mbyte,16-Mbyte,32-Mbyte,64-Mbyte,128-Mbyte,256-Mbyte,512-Mbyte,1-Gbyte,2-Gbyte,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
group.long (0x8500+0x50)++0x3
line.long 0x00 "PITAR1,PCI Inbound Translation Address Register 1"
hexmask.long 0x00 0.--19. 1. " TA  ,Translation address"
group.long (0x8500+0x50+0x8)++0x3
line.long 0x00 "PIBAR1,PCI Inbound Base Address Register 1"
if (1.!=0.)
group.long (0x8500+0x50+0xc)++0x3
line.long 0x00 "PIEBAR1,PCI Inbound Extended Base Address Register 1"
hexmask.long 0x00 0.--19. 1. " EBA ,Extended base address"
endif
group.long (0x8500+0x50+0x10)++0x3
line.long 0x00 "PIWAR1,PCI Inbound Window Attributes Register 1"
bitfld.long 0x00 31. " EN  ,Enable" "-,Enabled"
bitfld.long 0x00 29. "      PF  ,Prefetchable" "-,Prefetchable"
bitfld.long 0x00 16.--19. "  RTT ,Read transaction type" "Reserved,Reserved,Reserved,Reserved,W/out snoop,With snoop,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
textline "                  "
bitfld.long 0x00 12.--15. " WTT ,Write transaction type" "Reserved,Reserved,Reserved,Reserved,W/out snoop,With snoop,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 0.--5. "  IWS ,Inbound window size" "Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,4-Kbyte,8-Kbyte,16-Kbyte,32-Kbyte,64-Kbyte,128-Kbyte,256-Kbyte,512-Kbyte,1-Mbyte,2-Mbyte,4-Mbyte,8-Mbyte,16-Mbyte,32-Mbyte,64-Mbyte,128-Mbyte,256-Mbyte,512-Mbyte,1-Gbyte,2-Gbyte,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
group.long (0x8500+0x68)++0x3
line.long 0x00 "PITAR0,PCI Inbound Translation Address Register 0"
hexmask.long 0x00 0.--19. 1. " TA  ,Translation address"
group.long (0x8500+0x68+0x8)++0x3
line.long 0x00 "PIBAR0,PCI Inbound Base Address Register 0"
if (0.!=0.)
group.long (0x8500+0x68+0xc)++0x3
line.long 0x00 "PIEBAR0,PCI Inbound Extended Base Address Register 0"
hexmask.long 0x00 0.--19. 1. " EBA ,Extended base address"
endif
group.long (0x8500+0x68+0x10)++0x3
line.long 0x00 "PIWAR0,PCI Inbound Window Attributes Register 0"
bitfld.long 0x00 31. " EN  ,Enable" "-,Enabled"
bitfld.long 0x00 29. "      PF  ,Prefetchable" "-,Prefetchable"
bitfld.long 0x00 16.--19. "  RTT ,Read transaction type" "Reserved,Reserved,Reserved,Reserved,W/out snoop,With snoop,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
textline "                  "
bitfld.long 0x00 12.--15. " WTT ,Write transaction type" "Reserved,Reserved,Reserved,Reserved,W/out snoop,With snoop,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 0.--5. "  IWS ,Inbound window size" "Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,4-Kbyte,8-Kbyte,16-Kbyte,32-Kbyte,64-Kbyte,128-Kbyte,256-Kbyte,512-Kbyte,1-Mbyte,2-Mbyte,4-Mbyte,8-Mbyte,16-Mbyte,32-Mbyte,64-Mbyte,128-Mbyte,256-Mbyte,512-Mbyte,1-Gbyte,2-Gbyte,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
tree.end
endian.le
tree "PCI Configuration Access Registers"
width 21.  
group.long 0x8300++0x03
line.long 0x00 "PCI_CONFIG_ADDRESS,Address Configuration Register"
bitfld.long 0x00 31. " EN ,Enable configuration transaction" "-,Enabled"
hexmask.long.byte 0x00 16.--23. 1. "                BN ,Bus number"
textline "                              "
bitfld.long 0x00 11.--15. " DN ,Device number" "Internal access,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,31,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,Special / Int. ACK"
bitfld.long 0x00 8.--10. "     FN ,Function number" "0,1,2,3,4,5,6,7"
textline "                              "    
hexmask.long.byte 0x00 2.--7. 1. " RN ,Register number"
if (data.long.littleendian(ANC:iobase()+0x8300)&0x80000000)==0x80000000
group.long (0x8300+0x04)++0x03
line.long 0x00 "PCI1_CONFIG_DATA,Data Configuration Register"
else
wgroup.long (0x8300+0x04)++0x03
line.long 0x00 "PCI1_CONFIG_DATA,Data Configuration Register"
endif    
hgroup.long (0x8300+0x08)++0x03
hide.long 0x00 "PCI_INT_ACK,PCI Interrupt Acknowledge Register"
in
tree.end
tree "PCI Configuration Space Registers"
width 11.  
rgroup.long (0x8300+0x04)++0x03
saveout 0x8300 %l 0y1xxxxxxxxxxxxxxxxxxxxxxx000000xx
line.word 0x00 "VID,Vendor ID"
rgroup.long (0x8300+0x04)++0x03
saveout 0x8300 %l 0y1xxxxxxxxxxxxxxxxxxxxxxx000000xx
line.word 0x02 "DID,Device ID"
group.long (0x8300+0x04)++0x03
saveout 0x8300 %l 0y1xxxxxxxxxxxxxxxxxxxxxxx000001xx
line.word 0x00 "PCI_CMD,PCI Command"
bitfld.word 0x00 10. "     INTD     ,Interrupt disable" "-,Disabled"
bitfld.word 0x00 9. "   FB-B     ,Fast Back-to-back" "0,1"
textline "                    "
bitfld.word 0x00 8. " SERREN   ,SERR enable" "-,Enabled"
bitfld.word 0x00 6. "    PERRR    ,Parity error response" "Ignored,Standard"
textline "                    "
bitfld.word 0x00 4. " MWI      ,Memory-write-and-invalidate" "0,1"
bitfld.word 0x00 3. "          SC       ,Special cycles" "0,1"
textline "                    "
bitfld.word 0x00 2. " BMST     ,Bus master" "-,Master"
bitfld.word 0x00 1. "     MEM      ,Memory space" "-,Responding"
textline "                    "
bitfld.word 0x00 0. " I/O      ,I/O space" "0,1"
group.long (0x8300+0x04)++0x03
saveout 0x8300 %l 0y1xxxxxxxxxxxxxxxxxxxxxxx000001xx
line.word 0x02 "PCI_STS,PCI Status"
eventfld.word 0x02 15. "     DPERR    ,Detected parity error" "-,Error"
eventfld.word 0x02 14. "      SSERR    ,Signalled system error" "-,Error"
textline "                    "
eventfld.word 0x02 13. " RMA      ,Received master abort" "-,Aborted"
eventfld.word 0x02 12. "    RTA      ,Received target abort" "-,Aborted"
textline "                    "
eventfld.word 0x02 11. " STA      ,Signalled target abort" "-,Aborted"
bitfld.word   0x02 9.--10. "    DEVSEL_T ,DEVSEL timing" "00,01,10,11"
textline "                    "
eventfld.word 0x02 8. " DPD      ,Master data parity error" "-,Error"
bitfld.word   0x02 7. "      FB_BC    ,Fast back-to-back capable" "0,1"
textline "                    "
bitfld.word   0x02 5. " 66M      ,66 MHz capable" "0,1"
bitfld.word   0x02 4. "          CL       ,Capabilities list" "0,1"
textline "                    "
eventfld.word 0x02 3. " INTS     ,Interrupt status" "-,Interrupt"
rgroup.long (0x8300+0x04)++0x03
saveout 0x8300 %l 0y1xxxxxxxxxxxxxxxxxxxxxxx000010xx
line.byte 0x00 "RID,Revision ID"
rgroup.long (0x8300+0x04)++0x03
saveout 0x8300 %l 0y1xxxxxxxxxxxxxxxxxxxxxxx000010xx
line.byte 0x01 "SPI,Standard Programming Interface"
rgroup.long (0x8300+0x04)++0x03
saveout 0x8300 %l 0y1xxxxxxxxxxxxxxxxxxxxxxx000010xx
line.byte 0x02 "SC,Subclass Code"
rgroup.long (0x8300+0x04)++0x03
saveout 0x8300 %l 0y1xxxxxxxxxxxxxxxxxxxxxxx000010xx
line.byte 0x03 "BCC,Base Class Code"
group.long (0x8300+0x04)++0x01
saveout 0x8300 %l 0y1xxxxxxxxxxxxxxxxxxxxxxx000011xx
line.byte 0x00 "CLS,Cache Line Size"
group.long (0x8300+0x04)++0x01
saveout 0x8300 %l 0y1xxxxxxxxxxxxxxxxxxxxxxx000011xx
line.byte 0x01 "LT,Latency Timer"
bitfld.byte 0x01 3.--7. "     LT       ,Latency timer" "0,8,16,24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,160,168,176,184,192,200,208,216,224,232,240,248"
rgroup.long (0x8300+0x04)++0x03
saveout 0x8300 %l 0y1xxxxxxxxxxxxxxxxxxxxxxx000011xx
line.byte 0x02 "HT,Header Type"
rgroup.long (0x8300+0x04)++0x03
saveout 0x8300 %l 0y1xxxxxxxxxxxxxxxxxxxxxxx000011xx
line.byte 0x03 "BC,BIST Control"
sif (cpu()=="MPC8360")||(cpu()=="MPC8358")
group.long (0x8300+0x04)++0x03
saveout 0x8300 %l 0y1xxxxxxxxxxxxxxxxxxxxxxx000100xx
line.long 0x00 "PBAR,PIMMR Base Address Register"
hexmask.long.word 0x00 21.--31. 0x20 " BA       ,Base address"
bitfld.long 0x00 3. "   PRE      ,Prefetchable" "0,1"
textline "                    "
bitfld.long 0x00 1.--2. " T        ,Type" "00,01,10,11"
bitfld.long 0x00 0. "         MSI      ,Memory space indicator" "0,1"
else
group.long (0x8300+0x04)++0x03
saveout 0x8300 %l 0y1xxxxxxxxxxxxxxxxxxxxxxx000100xx
line.long 0x00 "PBAR,PIMMR Base Address Register"
hexmask.long 0x00 4.--31. 0x10 " BA       ,Base address"
bitfld.long 0x00 3. "   PRE      ,Prefetchable" "0,1"
textline "                    "
bitfld.long 0x00 1.--2. " T        ,Type" "00,01,10,11"
bitfld.long 0x00 0. "         MSI      ,Memory space indicator" "0,1"
endif
group.long (0x8300+0x04)++0x03
saveout 0x8300 %l 0y1xxxxxxxxxxxxxxxxxxxxxxx000101xx
line.long 0x00 "GBAR_0,GPL Base Address Register 0"
hexmask.long 0x00 12.--31. 0x1000 " BA       ,Base address"
bitfld.long 0x00 3. "   PRE      ,Prefetchable" "0,1"
textline "                    "
bitfld.long 0x00 1.--2. " T        ,Type" "00,01,10,11"
bitfld.long 0x00 0. "         MSI      ,Memory space indicator" "0,1"
group.long (0x8300+0x04)++0x03
saveout 0x8300 %l 0y1xxxxxxxxxxxxxxxxxxxxxxx000110xx
line.long 0x00 "GBAR_1,GPL Base Address Register 1"
hexmask.long 0x00 12.--31. 0x1000 " BA       ,Base address"
bitfld.long 0x00 3. "   PRE      ,Prefetchable" "0,1"
textline "                    "
bitfld.long 0x00 1.--2. " T        ,Type" "00,01,10,11"
bitfld.long 0x00 0. "         MSI      ,Memory space indicator" "0,1"
group.long (0x8300+0x04)++0x03
saveout 0x8300 %l 0y1xxxxxxxxxxxxxxxxxxxxxxx000111xx
line.long 0x00 "GEBAR_1,GPL Extended Base Address Register 1"
group.long (0x8300+0x04)++0x03
saveout 0x8300 %l 0y1xxxxxxxxxxxxxxxxxxxxxxx001000xx
line.long 0x00 "GBAR_2,GPL Base Address Register 2"
hexmask.long 0x00 12.--31. 0x1000 " BA       ,Base address"
bitfld.long 0x00 3. "   PRE      ,Prefetchable" "0,1"
textline "                    "
bitfld.long 0x00 1.--2. " T        ,Type" "00,01,10,11"
bitfld.long 0x00 0. "         MSI      ,Memory space indicator" "0,1"
group.long (0x8300+0x04)++0x03
saveout 0x8300 %l 0y1xxxxxxxxxxxxxxxxxxxxxxx001001xx
line.long 0x00 "GEBAR_2,GPL Extended Base Address Register 2"
group.long (0x8300+0x04)++0x03
saveout 0x8300 %l 0y1xxxxxxxxxxxxxxxxxxxxxxx001011xx
line.word 0x00 "SVID,Sub-system Vendor ID"
group.long (0x8300+0x04)++0x03
saveout 0x8300 %l 0y1xxxxxxxxxxxxxxxxxxxxxxx001011xx
line.word 0x02 "SDID,Sub-system Device ID"
rgroup.long (0x8300+0x04)++0x03
saveout 0x8300 %l 0y1xxxxxxxxxxxxxxxxxxxxxxx001101xx
line.byte 0x00 "CP,Capabilities Pointer"
group.long (0x8300+0x04)++0x03
saveout 0x8300 %l 0y1xxxxxxxxxxxxxxxxxxxxxxx001111xx
line.byte 0x00 "IL,Interrupt Line"
rgroup.long (0x8300+0x04)++0x03
saveout 0x8300 %l 0y1xxxxxxxxxxxxxxxxxxxxxxx001111xx
line.byte 0x01 "IP,Interrupt Pin"
rgroup.long (0x8300+0x04)++0x03
saveout 0x8300 %l 0y1xxxxxxxxxxxxxxxxxxxxxxx001111xx
line.byte 0x02 "MIN_GNT,MIN GNT"
rgroup.long (0x8300+0x04)++0x03
saveout 0x8300 %l 0y1xxxxxxxxxxxxxxxxxxxxxxx001111xx
line.byte 0x03 "MAX_LAT,MAX LAT"
group.long (0x8300+0x04)++0x03
saveout 0x8300 %l 0y1xxxxxxxxxxxxxxxxxxxxxxx010001xx
line.word 0x00 "PCI_F,PCI Function"
bitfld.word 0x00 5. "     CFG_LOCK ,Configuration lock" "-,Locked"
textline "                    "
bitfld.word 0x00 2. " TLTD     ,Target latency timeout disable" "-,Disabled"
bitfld.word 0x00 1. "   MLTD     ,Master latency timer disable" "-,Disabled"
textline "                    "
bitfld.word 0x00 0. " HA       ,Host/Agent" "Host,Agent"
group.long (0x8300+0x04)++0x03
saveout 0x8300 %l 0y1xxxxxxxxxxxxxxxxxxxxxxx010001xx
line.word 0x02 "PCI_ACR,PCI Arbiter Control Register"
bitfld.word 0x02 15. "     AD       ,Arbiter disable" "-,Disabled"
bitfld.word 0x02 14. "   PM       ,Parking mode" "Last device,PCI controller"
textline "                    "
bitfld.word 0x02 12. " PBMD     ,PCI broken master disable" "-,Disabled"
bitfld.word 0x02 6. "   PRI0     ,Priority level for master 0" "Low,High"
textline "                    "
bitfld.word 0x02 5. " PRI1     ,Priority level for master 1" "Low,High"
bitfld.word 0x02 4. "       PRI2     ,Priority level for master 2" "Low,High"
textline "                    "
bitfld.word 0x02 0. " MPRI     ,My priority" "Low,High"
group.long (0x8300+0x04)++0x03
saveout 0x8300 %l 0y1xxxxxxxxxxxxxxxxxxxxxxx010010xx    
line.long 0x00 "HSRC,Hot Swap Register Block"
eventfld.long 0x00 23. " INS      ,Insertion status" "-,Inserted"
eventfld.long 0x00 22. "   EXT      ,Extraction status" "-,Extracted"
textline "                    "
bitfld.long 0x00 19. " LOO      ,LED On/Off" "Off,On"
bitfld.long 0x00 17. "        EIM      ,/ENUM mask" "Enabled,Masked"
textline "                    "
hexmask.long.byte 0x00 8.--15. 1. " NXT_PTR  ,Next pointer"
hexmask.long.byte 0x00 0.--7. 1. "         CAP_ID   ,Capability ID for hot swap"
sif ((CPU()=="MPC8314")||(CPU()=="MPC8315")||(cpu()=="MPC8377")||(cpu()=="MPC8378")||(cpu()=="MPC8379"))    
group.long (0x8300+0x04)++0x03
saveout 0x8300 %l 0y1xxxxxxxxxxxxxxxxxxxxxxx100000xx
line.long 0x00 "PCIPMR0,PCI Power Management Register 0"
bitfld.long 0x00 31. " PME_Support4 ,PME_Support from D3_cold" "-,Supported"
bitfld.long 0x00 30. "     PME_Support3  ,PME_Support from D3_hot" "-,Supported"
textline "                    "
bitfld.long 0x00 29. " PME_Support2 ,PME_Support from D2" "-,Supported"
bitfld.long 0x00 28. "     PME_Support1  ,PME_Support from D1" "-,Supported"
textline "                    "
bitfld.long 0x00 27. " PME_Support0 ,PME_Support from D0" "-,Supported"
bitfld.long 0x00 26. "     D2_Support    ,D2 power management state support" "-,Supported"
textline "                    "
bitfld.long 0x00 25. " D1_Support   ,D1 power management state support" "-,Supported"
bitfld.long 0x00 22.--24. "     Aux_Current   ,Reports the 3.3 Vaux auxiliary current requirements" "0,1,2,3,4,5,6,7"
textline "                    "
bitfld.long 0x00 21. " DSI          ,Device specific initialization" "-,Required"
bitfld.long 0x00 19. "      PME_Clock     ,PME clock" "-,Required"
textline "                    "
bitfld.long 0x00 16.--18. " Version      ,PCI Power Management Interface Specification version" "Reserved,Reserved,Reserved,Revision 1.2,Reserved,Reserved,Reserved,Reserved"
hexmask.long.byte 0x00 8.--15. 1. "  NEXT_CAP_PTR  ,Next capability pointer"
textline "                    "
hexmask.long.byte 0x00 0.--7. 1. " CAP_ID       ,Power management support capability"
group.long (0x8300+0x04)++0x03
saveout 0x8300 %l 0y1xxxxxxxxxxxxxxxxxxxxxxx100001xx
line.long 0x00 "PCIPMR1,PCI Power Management Register 1"
hexmask.long.byte 0x00 24.--31. 1. " Data         ,Data"
bitfld.long 0x00 23. "            BPCC_En       ,Bus power/Clock control enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 22. " B2_B3        ,Direct result of programming function to D3_hot" "B3,B2"
bitfld.long 0x00 15. "            PME_Status    ,PME status" "Default,If (Wake_UP & PME_En)"
textline "                    "
bitfld.long 0x00 13.--14. " Data_Scale   ,Scale factor" "0,1,2,3"
bitfld.long 0x00 9.--12. "             Data_Select   ,Data select" "0.,1.,2.,3.,4.,5.,6.,7.,8.,9.,10.,11.,12.,13.,14.,15."
textline "                    "
bitfld.long 0x00 8. " PME_En       ,Enables function to assert PME#" "-,Enabled"
bitfld.long 0x00 3. "       No_Soft_Reset ,Internal reset" "Reset,-"
textline "                    "
bitfld.long 0x00 0.--1. " Power_State  ,Power status" "D0,D1,D2,D3"        
endif
tree.end
endian.be
width 0xb
tree.end
sif ((CPU()=="MPC8314")||(CPU()=="MPC8315"))
tree "SerDes PHY"
width 0xd
if (((d.l.be(anc:(iobase()+0xe3000+0x10)))&0x700)==0x0100)&&(((d.l.be(anc:(iobase()+0xe3000+0x10)))&0x7)==0x01)
;PCI Express mode (lane A & E )
group.long 0xe3000++0x3
line.long 0x00 "SRDSCR0,SerDes Control Register 0"
bitfld.long 0x00 31. " TLCCA    ,Tracking loop centering control for lane A" "Enabled,Disabled"
bitfld.long 0x00 28.--29. "            RXEQA    ,Receive equalization selection bus for lane A" "No equalization,2 dB equalization,4 dB equalization,Reserved"
textline "                      "
bitfld.long 0x00 27. " TLCCE    ,Tracking loop centering control for lane E" "Enabled,Disabled"
bitfld.long 0x00 24.--25. "            RXEQE    ,Receive equalization selection bus for lane E" "No equalization,2 dB equalization,4 dB equalization,Reserved"
textline "                      "
bitfld.long 0x00 15. " DPPA     ,Diff pk-pk swing for lane A" "Vdd-diff-pk-pk,5/6 Vdd-diff-pk-pk"
bitfld.long 0x00 12.--14. "  TXEQA    ,Peak value for output swing of transmitters and the amount of transmit equalization for lane A" "No equalization,1.09x,1.2x,1.33x,1.5x,1.71x,2.0x,Reserved"
textline "                      "
bitfld.long 0x00 11. " DPPE     ,Diff pk-pk swing for lane E" "Vdd-diff-pk-pk,5/6 Vdd-diff-pk-pk"
bitfld.long 0x00 8.--10. "  TXEQE    ,Peak value for output swing of transmitters and the amount of transmit equalization for lane E" "No equalization,1.09x,1.2x,1.33x,1.5x,1.71x,2.0x,Reserved"
textline "                      "
bitfld.long 0x00 7. " SDPD     ,SerDes power down" "Application mode,Power down"
bitfld.long 0x00 5. "    IACCA    ,On-chip AC coupling in the receiver in lane A" "Disabled,Enabled"
textline "                      "
bitfld.long 0x00 4. " IACCE    ,On-chip AC coupling in the receiver in lane E" "Disabled,Enabled"
bitfld.long 0x00 1. "            RXEIA    ,Lane A in receiver electrical idle state" "Disabled,Enabled"
textline "                      "
bitfld.long 0x00 0. " RXEIE    ,Lane E in receiver electrical idle state" "Disabled,Enabled"
elif (((d.l.be(anc:(iobase()+0xe3000+0x10)))&0x700)==0x0500)&&(((d.l.be(anc:(iobase()+0xe3000+0x10)))&0x7)==0x05)
;SGMII mode (lane A & E )
group.long (0xe3000+0x0)++0x3
line.long 0x00 "SRDSCR0,SerDes Control Register 0"
bitfld.long 0x00 31. " TLCCA    ,Tracking loop centering control for lane A" "Enabled,Disabled"
bitfld.long 0x00 29. "            RXEQA[2] ,Receiver detect" "Low,High"
textline "                      "
bitfld.long 0x00 28. " RXEQA[3] ,Receive equalization selection bus for lane A" "No equalization,~2dB"
bitfld.long 0x00 27. "     TLCCE    ,Tracking loop centering control for lane E" "Enabled,Disabled"
textline "                      "
bitfld.long 0x00 25. " RXEQE[2] ,Receiver detect" "Low,High"
bitfld.long 0x00 24. "                RXEQE[3] ,Receive equalization selection bus for lane E" "No equalization,~2dB"
textline "                      "
bitfld.long 0x00 19. " EACCA    ,DC common mode bias on the receiver in lane A" "Disabled,Enabled"
bitfld.long 0x00 18. "            EACCE    ,DC common mode bias on the receiver in lane E" "Disabled,Enabled"
textline "                      "
bitfld.long 0x00 15. " DPPA     ,Diff pk-pk swing for lane A" "Vdd-diff-pk-pk,5/6 Vdd-diff-pk-pk"
bitfld.long 0x00 12.--14. "  TXEQA    ,Peak value for output swing of transmitters and the amount of transmit equalization for lane A" "No equalization,1.09x/1.2x,1.2x/1.5x,1.33x/2.0x,1.5x/Reserved,1.71x/Reserved,2.0x/Reserved,Reserved"
textline "                      "
bitfld.long 0x00 11. " DPPE     ,Diff pk-pk swing for lane E" "Vdd-diff-pk-pk,5/6 Vdd-diff-pk-pk"
bitfld.long 0x00 8.--10. "  TXEQE    ,Peak value for output swing of transmitters and the amount of transmit equalization for lane E" "No equalization,1.09x/1.2x,1.2x/1.5x,1.33x/2.0x,1.5x/Reserved,1.71x/Reserved,2.0x/Reserved,Reserved"
textline "                      "
bitfld.long 0x00 7. " SDPD     ,SerDes power down" "Active,Powered down"
bitfld.long 0x00 5. "        IACCA    ,On-chip AC coupling in the receiver in lane A" "Disabled,Enabled"
textline "                      "
bitfld.long 0x00 4. " IACCE    ,On-chip AC coupling in the receiver in lane E" "Disabled,Enabled"
bitfld.long 0x00 1. "            RXEIA    ,Lane A in receiver electrical idle state" "Disabled,Enabled"
textline "                      "
bitfld.long 0x00 0. " RXEIE    ,Lane E in receiver electrical idle state" "Disabled,Enabled"
elif (((d.l.be(anc:(iobase()+0xe3000+0x10)))&0x700)==0x0100)&&(((d.l.be(anc:(iobase()+0xe3000+0x10)))&0x7)==0x05)
;lane A = PCI Express ,lane E = SGMII
group.long 0xe3000++0x3
line.long 0x00 "SRDSCR0,SerDes Control Register 0"
bitfld.long 0x00 31. " TLCCA    ,Tracking loop centering control for lane A" "Enabled,Disabled"
bitfld.long 0x00 28.--29. "            RXEQA    ,Receive equalization selection bus for lane A" "No equalization,2 dB equalization,4 dB equalization,Reserved"
textline "                      "
bitfld.long 0x00 27. " TLCCE    ,Tracking loop centering control for lane E" "Enabled,Disabled"
bitfld.long 0x00 25. "            RXEQE[2] ,Receiver detect" "Low,High"
textline "                      "
bitfld.long 0x00 24. " RXEQE[3] ,Receive equalization selection bus for lane E" "No equalization,~2dB"        
bitfld.long 0x00 15. "     DPPA     ,Diff pk-pk swing for lane A" "Vdd-diff-pk-pk,5/6 Vdd-diff-pk-pk"
textline "                      "
bitfld.long 0x00 12.--14. " TXEQA    ,Peak value for output swing of transmitters and the amount of transmit equalization for lane A" "No equalization,1.09x,1.2x,1.33x,1.5x,1.71x,2.0x,Reserved"
bitfld.long 0x00 11. "     DPPE     ,Diff pk-pk swing for lane E" "Vdd-diff-pk-pk,5/6 Vdd-diff-pk-pk"
textline "                      "
bitfld.long 0x00 8.--10. " TXEQE    ,Peak value for output swing of transmitters and the amount of transmit equalization for lane E" "No equalization,1.09x,1.2x,1.33x,1.5x,1.71x,2.0x,Reserved"
bitfld.long 0x00 7. "     SDPD     ,SerDes power down" "Application mode,Power down"
textline "                      "
bitfld.long 0x00 5. " IACCA    ,On-chip AC coupling in the receiver in lane A" "Disabled,Enabled"
bitfld.long 0x00 4. "            IACCE    ,On-chip AC coupling in the receiver in lane E" "Disabled,Enabled"
textline "                      "
bitfld.long 0x00 1. " RXEIA    ,Lane A in receiver electrical idle state" "Disabled,Enabled"
bitfld.long 0x00 0. "            RXEIE    ,Lane E in receiver electrical idle state" "Disabled,Enabled"
elif (((d.l.be(anc:(iobase()+0xe3000+0x10)))&0x700)==0x0500)&&(((d.l.be(anc:(iobase()+0xe3000+0x10)))&0x7)==0x01)        
;lane A = SGMII , lane E = PCI Express
group.long (0xe3000+0x0)++0x3
line.long 0x00 "SRDSCR0,SerDes Control Register 0"
bitfld.long 0x00 31. " TLCCA    ,Tracking loop centering control for lane A" "Enabled,Disabled"
bitfld.long 0x00 29. "            RXEQA[2] ,Receiver detect" "Low,High"
textline "                      "
bitfld.long 0x00 28. " RXEQA[3] ,Receive equalization selection bus for lane A" "No equalization,~2dB"
bitfld.long 0x00 27. "     TLCCE    ,Tracking loop centering control for lane E" "Enabled,Disabled"
textline "                      "
bitfld.long 0x00 24.--25. " RXEQE    ,Receive equalization selection bus for lane E" "No equalization,2 dB equalization,4 dB equalization,Reserved"
bitfld.long 0x00 19. "   EACCA    ,DC common mode bias on the receiver in lane A" "Disabled,Enabled"
textline "                      "
bitfld.long 0x00 18. " EACCE    ,DC common mode bias on the receiver in lane E" "Disabled,Enabled"
bitfld.long 0x00 15. "            DPPA     ,Diff pk-pk swing for lane A" "Vdd-diff-pk-pk,5/6 Vdd-diff-pk-pk"
textline "                      "
bitfld.long 0x00 12.--14. " TXEQA    ,Peak value for output swing of transmitters and the amount of transmit equalization for lane A" "No equalization,1.09x/1.2x,1.2x/1.5x,1.33x/2.0x,1.5x/Reserved,1.71x/Reserved,2.0x/Reserved,Reserved"
bitfld.long 0x00 11. "     DPPE     ,Diff pk-pk swing for lane E" "Vdd-diff-pk-pk,5/6 Vdd-diff-pk-pk"
textline "                      "
bitfld.long 0x00 8.--10. " TXEQE    ,Peak value for output swing of transmitters and the amount of transmit equalization for lane E" "No equalization,1.09x/1.2x,1.2x/1.5x,1.33x/2.0x,1.5x/Reserved,1.71x/Reserved,2.0x/Reserved,Reserved"
bitfld.long 0x00 7. "     SDPD     ,SerDes power down" "Active,Powered down"
textline "                      "
bitfld.long 0x00 5. " IACCA    ,On-chip AC coupling in the receiver in lane A" "Disabled,Enabled"
bitfld.long 0x00 4. "            IACCE    ,On-chip AC coupling in the receiver in lane E" "Disabled,Enabled"
textline "                      "
bitfld.long 0x00 1. " RXEIA    ,Lane A in receiver electrical idle state" "Disabled,Enabled"
bitfld.long 0x00 0. "            RXEIE    ,Lane E in receiver electrical idle state" "Disabled,Enabled"
else
hgroup.long (0xe3000+0x0)++0x3
hide.long 0x00 "SRDSCR0,SerDes Control Register 0"
endif
group.long (0xe3000+0x4)++0x3
line.long 0x00 "SRDSCR1,SerDes Control Register 1"
bitfld.long 0x00 31. " PDA      ,Lane A power down" "Normal,Powered down"
bitfld.long 0x00 27. "        PDE      ,Lane E power down" "Normal,Powered down"
textline "                      "
bitfld.long 0x00 21. " X3SA     ,Lane A transmitter tri-state" "Active,Tri-state"
bitfld.long 0x00 17. "           X3SE     ,Lane E transmitter tri-state" "Active,Tri-state"
textline "                      "
bitfld.long 0x00 7.--10. " LBSEL    ,Loop-back type" "Application,Digital,Analog,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 5. "         PLLRST   ,PLL master reset for SerDes" "No effect,Reset"
textline "                      "
bitfld.long 0x00 4. " SDRST    ,Master reset for SerDes logic" "No effect,Reset"
bitfld.long 0x00 1. "           RPTA     ,Repeater mode on lane A enable" "Disabled,Enabled"
textline "                      "
bitfld.long 0x00 0. " RPTE     ,Repeater mode on lane E enable" "Disabled,Enabled"    
group.long (0xe3000+0x08)++0x3
line.long 0x00 "SRDSCR2,SerDes Control Register 2"
bitfld.long 0x00 17. " TIMPCALS ,Transmitter impedance calibration stop command" "Running,Stopped"
bitfld.long 0x00 16. "             RIMPCALS ,Receiver impedance calibration stop command" "Running,Stopped"
textline "                      "
bitfld.long 0x00 8.--9. " PEICA    ,PCI Express receiver electrical idle detection control for lanes A-D" "~85 UI|~1 us,~85 UI|~10 us,~45 UI|~1 us,Bypassed"
bitfld.long 0x00 0.--1. "       PEICE    ,PCI Express receiver electrical idle detection control for lanes E-H" "~85 UI|~1 us,~85 UI|~10 us,~45 UI|~1 us,Bypassed"
group.long (0xe3000+0xc)++0x3
line.long 0x0 "SRDSCR3,SerDes Control Register 3"
bitfld.long 0x00 24.--25. " SDFMA    ,Bandwidth of the digital filter for lane A" "200ppm,600ppm,Reserved,Reserved"
bitfld.long 0x00 16.--17. "            SDFME    ,Bandwidth of the digital filter to optimize for lane E" "200ppm,600ppm,Reserved,Reserved"
group.long (0xe3000+0x10)++0x3
line.long 0x0 "SRDSCR4,SerDes Control Register 4"
bitfld.long 0x00 28.--29. " RFCKS    ,SerDes reference clock selection" "100MHz,125MHz,Reserved,Reserved"
bitfld.long 0x00 8.--10. "            PROTA    ,Lane A protocol select" "Reserved,PCI Express,Reserved,Reserved,Reserved,SGMII,Reserved,Reserved"
textline "                      "
bitfld.long 0x00 0.--2. " PROTE    ,Lane E protocol select" "Reserved,PCI Express,Reserved,Reserved,Reserved,SGMII,Reserved,Reserved"
group.long (0xe3000+0x20)++0x3
line.long 0x0 "SRDSRSTCTL,SerDes Reset Control Register"
bitfld.long 0x00 31. " RST      ,SerDes soft reset software" "No effect,Reset"
bitfld.long 0x00 30. "           RDONE    ,SerDes reset done from SerDes state machine" "Not done,Done"
textline "                      "
bitfld.long 0x00 25.--27. " PSCL     ,Number of platform cycles equal one state machine tick" "1 cycle,2 cycles,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 20.--23. "            CNT1     ,/2 Number of ticks before exiting states using cnt1" "32,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30"
textline "                      "
bitfld.long 0x00 16.--19. " CNT2     ,/8 Number of ticks before exiting states using cnt2" "128,8,16,24,32,40,48,56,64,72,80,88,96,104,112,120"
bitfld.long 0x00 12.--15. "                 CNT3     ,/64 Number of ticks before exiting states using cnt3" "1024,64,128,192,256,320,384,448,512,576,640,704,768,832,896,960"
textline "                      "
bitfld.long 0x00 8.--11. " CNT4     ,/4096 Number of ticks before exiting states using cnt4" "65536,4096,8192,12288,16384,20480,24576,28672,32768,36864,40960,45056,49152,53248,57344,61440"
tree.end
endif
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315"))    
tree "SEC (Security Engine 2.2)"
tree "Controller Registers"
width 7.
rgroup (0x30000+0x1028)++0x07
line.quad 0x00 "EUASR,EU Assignment Status Register"
bitfld.quad 0x00 48. " MDEU      ,Message Digest Execution Unit" "-,Assigned"
bitfld.quad 0x00 40. "      AESU     ,Advanced Encryption Standard Execution Unit" "-,Assigned"
textline "                        "
bitfld.quad 0x00 32. " DEU       ,Data Encryption Standard Execution Unit" "-,Assigned"
group (0x30000+0x1008)++0x07
line.quad 0x00 "IMR,Interrupt Mask Register"
bitfld.quad 0x00 48. " ITO       ,Internal Time-out Interrupt Mask" "Masked,-"
bitfld.quad 0x00 40. "        DO_1     ,Done overflow channel 1 Interrupt Mask" "Masked,-"
textline "                        "
bitfld.quad 0x00 33. " CHN_1_Err ,Channel 1 error Interrupt Mask" "Masked,-"
bitfld.quad 0x00 32. "        CHN_1_Dn ,Channel 1 done Interrupt Mask" "Masked,-"
textline "                        "
bitfld.quad 0x00 9. " MDEU_Err  ,Message Digest Execution Unit error Interrupt Mask" "Masked,-"
bitfld.quad 0x00 8. "        MDEU_Dn  ,Message Digest Execution Unit done Interrupt Mask" "Masked,-"
textline "                        "
bitfld.quad 0x00 5. " AESU_Err  ,Advanced Encryption Standard Execution Unit error Interrupt Mask" "Masked,-"
bitfld.quad 0x00 4. "        AESU_Dn  ,Advanced Encryption Standard Execution Unit done Interrupt Mask" "Masked,-"
textline "                        "
bitfld.quad 0x00 1. " DEU_Err   ,Data Encryption Standard Execution Unit error Interrupt Mask" "Masked,-"
bitfld.quad 0x00 0. "        DEU_Dn   ,Data Encryption Standard Execution Unit done Interrupt Mask" "Masked,-"
rgroup (0x30000+0x1010)++0x07
line.quad 0x00 "ISR,Interrupt Status Register"
bitfld.quad 0x00 48. " ITO       ,Internal Time-out" "-,Interrupt"
bitfld.quad 0x00 40. "     DO_1     ,Done overflow channel 1" "-,Interrupt"
textline "                        "
bitfld.quad 0x00 33. " CHN_1_Err ,Channel 1 error" "-,Interrupt"
bitfld.quad 0x00 32. "     CHN_1_Dn ,Channel 1 done" "-,Interrupt"
textline "                        "
bitfld.quad 0x00 9. " MDEU_Err  ,Message Digest Execution Unit error" "-,Interrupt"
bitfld.quad 0x00 8. "     MDEU_Dn  ,Message Digest Execution Unit done" "-,Interrupt"
textline "                        "
bitfld.quad 0x00 5. " AESU_Err  ,Advanced Encryption Standard Execution Unit error" "-,Interrupt"
bitfld.quad 0x00 4. "     AESU_Dn  ,Advanced Encryption Standard Execution Unit done" "-,Interrupt"
textline "                        "
bitfld.quad 0x00 1. " DEU_Err   ,Data Encryption Standard Execution Unit error" "-,Interrupt"
bitfld.quad 0x00 0. "     DEU_Dn   ,Data Encryption Standard Execution Unit done" "-,Interrupt"
wgroup (0x30000+0x1018)++0x07
line.quad 0x00 "ICR,Interrupt Clear Register"
bitfld.quad 0x00 48. " ITO       ,Internal Time-out" "-,Cleared"
bitfld.quad 0x00 40. "       DO_1     ,Done overflow channel 1" "-,Cleared"
textline "                        "
bitfld.quad 0x00 33. " CHN_1_Err ,Channel 1 error" "-,Cleared"
bitfld.quad 0x00 32. "       CHN_1_Dn ,Channel 1 done" "-,Cleared"
textline "                        "
bitfld.quad 0x00 9. " MDEU_Err  ,Message Digest Execution Unit error" "-,Cleared"
bitfld.quad 0x00 8. "       MDEU_Dn  ,Message Digest Execution Unit done" "-,Cleared"
textline "                        "
bitfld.quad 0x00 5. " AESU_Err  ,Advanced Encryption Standard Execution Unit error" "-,Cleared"
bitfld.quad 0x00 4. "       AESU_Dn  ,Advanced Encryption Standard Execution Unit done" "-,Cleared"
textline "                        "
bitfld.quad 0x00 1. " DEU_Err   ,Data Encryption Standard Execution Unit error" "-,Cleared"
bitfld.quad 0x00 0. "       DEU_Dn   ,Data Encryption Standard Execution Unit done" "-,Cleared"
rgroup (0x30000+0x1020)++0x07
line.quad 0x00 "IDR,ID Register"
hexmask.quad.byte 0x00 0.--6. 1. " VERSION   ,Version of the SEC 2.2"
group (0x30000+0x1030)++0x07
line.quad 0x00 "MCR,Master Control Register"
bitfld.quad 0x00 40.--41. " PRIORITY  ,Priority on Master Bus" "Lowest,Next lowest,Next highest,Highest"
bitfld.quad 0x00 33. "  GIH      ,Global inhibit" "Active,Inactive"
textline "                        "
bitfld.quad 0x00 32. " SWR       ,Software reset" "-,Reset"
tree.end
tree "Channel"
width 8.
group (0x30000+0x1108)++0x07
line.quad 0x00 "CCCR,Crypto-Channel Configuration Register"
bitfld.quad 0x00 33. " CON        ,Continue bit" "-,Reset"
bitfld.quad 0x00 32. "      R       ,Reset channel" "-,Reset"
textline "                         "
bitfld.quad 0x00 8. " BS         ,Burst Size" "64 bytes,128 bytes"
bitfld.quad 0x00 7. "  IWSE    ,ICV Writeback Status Enable" "-,Enabled"
textline "                         "
bitfld.quad 0x00 6. " AWSE       ,Always Writeback Status Enable" "-,Enabled"
bitfld.quad 0x00 5. "    EAE     ,EAE" "0,1"
textline "                         "
bitfld.quad 0x00 4. " CDWE       ,Channel Done Writeback enable" "-,Enabled"
bitfld.quad 0x00 2. "    NT      ,Notification Type" "Global,Selected"
textline "                         "
bitfld.quad 0x00 1. " CDIE       ,Channel Done Interrupt Enable" "-,Enabled"
group (0x30000+0x1110)++0x07
line.quad 0x00 "CCPSR,Crypto-Channel Pointer Status Register"
bitfld.quad 0x00 56.--60. " FF_COUNTER ,Fetch Fifo counter" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
textline "                         "
bitfld.quad 0x00 48.--51. " G_STATE    ,Gather State Machine State" "GS_IDLE,GS_LOAD_POINTER,GS_LOAD_POINTER_DONE,GS_LOAD_NEXT_POINTER,GS_PROCESS_POINTER,GS_TRANS_BLOCK,GS_TRANS_BLOCK_DONE,GS_TRANS_BYTES,GS_TRANS_BYTES_DONE,GS_INC_PAIR_PTR,GS_UPDATE,GS_DONE,GS_ERROR,GS_RELOAD,GS_TRANS_INBOUND,GS_TRANS_INBOUND_DONE"
textline "                         "
bitfld.quad 0x00 40.--43. " S_STATE    ,Scatter State Machine State" "GS_IDLE,GS_LOAD_POINTER,GS_LOAD_POINTER_DONE,GS_LOAD_NEXT_POINTER,GS_PROCESS_POINTER,GS_TRANS_BLOCK,GS_TRANS_BLOCK_DONE,GS_TRANS_BYTES,GS_TRANS_BYTES_DONE,GS_INC_PAIR_PTR,GS_UPDATE,GS_DONE,GS_ERROR,GS_RELOAD,GS_TRANS_INBOUND,GS_TRANS_INBOUND_DONE"
textline "                         "
hexmask.quad.byte 0x00 32.--39. 1. " CHN_STATE  ,State"
textline "                         "
bitfld.quad 0x00 25. " MI         ,Multi_EU_IN" "-,Enabled"
bitfld.quad 0x00 24. "    MO      ,Multi_EU_OUT" "-,Enabled"
textline "                         "
bitfld.quad 0x00 23. " PR         ,Request primary EU assignment" "-,Requested"
bitfld.quad 0x00 22. "  SR      ,Request secondary EU assignment" "-,Requested"
textline "                         "
bitfld.quad 0x00 21. " PG         ,Primary EU granted" "-,Granted"
bitfld.quad 0x00 20. "    SG      ,Secondary EU granted" "-,Granted"
textline "                         "
bitfld.quad 0x00 19. " PRD        ,Primary EU reset done" "-,Reset"
bitfld.quad 0x00 18. "      SRD     ,Secondary EU reset done" "-,Reset"
textline "                         "
bitfld.quad 0x00 17. " PD         ,Primary EU done" "-,Done"
bitfld.quad 0x00 16. "       SD      ,Secondary EU done" "-,Done"
textline "                         "
bitfld.quad 0x00 15. " DOF        ,Double Fetch Fifo write overflow Error" "-,Error"
bitfld.quad 0x00 14. "      SOF     ,Single Fetch Fifo write overflow Error" "-,Error"
textline "                         "
bitfld.quad 0x00 13. " MDTE       ,Master Data Transfer Error received from the master bus interface" "-,Error"
bitfld.quad 0x00 12. "      SGDLZE  ,Scatter/Gather Data Length Zero Error" "-,Error"
textline "                         "
bitfld.quad 0x00 11. " FPZE       ,Fetch Pointer Zero Error" "-,Error"
bitfld.quad 0x00 10. "      IDH     ,Illegal descriptor header" "-,Error"
textline "                         "
bitfld.quad 0x00 9. " IEUAR      ,Invalid EU assignment request" "-,Error"
bitfld.quad 0x00 8. "      EUED    ,EU error detected" "-,Error"
textline "                         "
bitfld.quad 0x00 7. " GBE        ,Gather boundary error" "-,Error"
bitfld.quad 0x00 6. "      GRLE    ,Gather return/length error" "-,Error"
textline "                         "
bitfld.quad 0x00 5. " SBE        ,Scatter Boundary Error" "-,Error"
bitfld.quad 0x00 4. "      SRLE    ,Scatter Return/Length Error" "-,Error"
textline "                         "
bitfld.quad 0x00 0.--3. " PAIR_PTR   ,Descriptor buffer register length/pointer pair" "Header / Ptr 0,Ptr 1,Ptr 2,Ptr 3,Ptr 4,Ptr 5,Ptr 6,Complete,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
rgroup (0x30000+0x1140)++0x07
line.quad 0x00 "CDPR,Crypto-Channel Current Descriptor Pointer Register"
hexmask.quad.long 0x00 0.--31. 1. " CUR_DES_PTR_ADRS  ,Current Descriptor Pointer Address"
wgroup (0x30000+0x1148)++0x07
line.quad 0x00 "FF,Fetch FIFO"
hexmask.quad.long 0x00 0.--31. 1. " FETCH_ADRS ,Fetch Address"
rgroup (0x30000+0x1180)++0x3f
line.quad 0x00 "Header,Header dword"
bitfld.quad 0x00 60.--63. " EU_SEL0    ,Primary EU select" "None,Reserved,DEU,MDEU,Reserved,Reserved,AESU,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
hexmask.quad.byte 0x00 52.--59. 1. "   MODE0   ,Primary mode"
textline "                         "
bitfld.quad 0x00 48.--51. " EU_SEL1    ,Secondary EU select" "None,Reserved,DEU,MDEU,Reserved,Reserved,AESU,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
hexmask.quad.byte 0x00 40.--47. 1. "   MODE1   ,Secondary mode"
textline "                         "
bitfld.quad 0x00 35.--39. " DESC_TYPE  ,Descriptor type" "aesu_ctr_nonsnoop,ipsec_esp,common_nonsnoop,802.11i AES ccmp,hmac_snoop_no_afeu,srtp,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,tls_ssl_block,Reserved,Reserved,Reserved,raid_xor,Reserved,Reserved,hmac_snoop_aesu_ctr,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
textline "                         "
bitfld.quad 0x00 33. " DIR        ,Direction of overall data flow" "Outbound,Inbound"
bitfld.quad 0x00 32. "   DN      ,Done notification" "-,Done"
textline "                         "
bitfld.quad 0x00 27.--28. " ICR0       ,Integrity check result from primary" "-,Passed,Failed,Reserved"
bitfld.quad 0x00 19.--20. "   ICR1    ,Integrity check result from secondary" "-,Passed,Failed,Reserved"
line.quad 0x08 "Ptr_0,Pointer dword 0"
hexmask.quad.word 0x08 48.--63. 1. " LENGTH     ,Length"
bitfld.quad 0x08 47. "       J       ,Jump" "Data,Link table"
textline "                         "
hexmask.quad.byte 0x08 40.--46. 1. " EXTENT     ,Extent"
hexmask.quad.long 0x08 0.--31. 1. "         POINTER ,Pointer"
line.quad 0x10 "Ptr_1,Pointer dword 1"
hexmask.quad.word 0x10 48.--63. 1. " LENGTH     ,Length"
bitfld.quad 0x10 47. "       J       ,Jump" "Data,Link table"
textline "                         "
hexmask.quad.byte 0x10 40.--46. 1. " EXTENT     ,Extent"
hexmask.quad.long 0x10 0.--31. 1. "         POINTER ,Pointer"
line.quad 0x18 "Ptr_2,Pointer dword 2"
hexmask.quad.word 0x18 48.--63. 1. " LENGTH     ,Length"
bitfld.quad 0x18 47. "       J       ,Jump" "Data,Link table"
textline "                         "
hexmask.quad.byte 0x18 40.--46. 1. " EXTENT     ,Extent"
hexmask.quad.long 0x18 0.--31. 1. "         POINTER ,Pointer"
line.quad 0x20 "Ptr_3,Pointer dword 3"
hexmask.quad.word 0x20 48.--63. 1. " LENGTH     ,Length"
bitfld.quad 0x20 47. "       J       ,Jump" "Data,Link table"
textline "                         "
hexmask.quad.byte 0x20 40.--46. 1. " EXTENT     ,Extent"
hexmask.quad.long 0x20 0.--31. 1. "         POINTER ,Pointer"
line.quad 0x28 "Ptr_4,Pointer dword 4"
hexmask.quad.word 0x28 48.--63. 1. " LENGTH     ,Length"
bitfld.quad 0x28 47. "       J       ,Jump" "Data,Link table"
textline "                         "
hexmask.quad.byte 0x28 40.--46. 1. " EXTENT     ,Extent"
hexmask.quad.long 0x28 0.--31. 1. "         POINTER ,Pointer"
line.quad 0x30 "Ptr_5,Pointer dword 5"
hexmask.quad.word 0x30 48.--63. 1. " LENGTH     ,Length"
bitfld.quad 0x30 47. "       J       ,Jump" "Data,Link table"
textline "                         "
hexmask.quad.byte 0x30 40.--46. 1. " EXTENT     ,Extent"
hexmask.quad.long 0x30 0.--31. 1. "         POINTER ,Pointer"
line.quad 0x38 "Ptr_6,Pointer dword 6"
hexmask.quad.word 0x38 48.--63. 1. " LENGTH     ,Length"
bitfld.quad 0x38 47. "       J       ,Jump" "Data,Link table"
textline "                         "
hexmask.quad.byte 0x38 40.--46. 1. " EXTENT     ,Extent"
hexmask.quad.long 0x38 0.--31. 1. "         POINTER ,Pointer"
rgroup (0x30000+0x1bf8)++0x7
line.quad 0x00 "IPBRR,IP Block Revision Register"
hexmask.quad.byte 0x00 0.--6. 1. " VERSION    ,Version"
tree.end
tree "DEU (Data Encryption Standard Execution Unit)"
width 10.
group (0x30000+0x2000)++0x1f
line.quad 0x00 "DEUMR,DEU Mode Register"
sif ((cpu()=="MPC8321")||(cpu()=="MPC8323"))
bitfld.quad 0x00 8.--10. " BURST_SIZE ,Burst size" "0,1,2,3,4,5,6,7"
bitfld.quad 0x00 2. "           CE  ,CBC / ECB" "ECB,CBC"
bitfld.quad 0x00 1. "        TS   ,Triple / Single" "Single,Triple"
textline "                           "
bitfld.quad 0x00 0. " ED         ,Encrypt / Decrypt" "Decryption,Encryption"
else
bitfld.quad 0x00 2. " CE         ,CBC / ECB" "ECB,CBC"
bitfld.quad 0x00 1. "         TS   ,Triple / Single" "Single,Triple"
bitfld.quad 0x00 0. "   ED    ,Encrypt / Decrypt" "Decryption,Encryption"
endif
line.quad 0x08 "DEUKSR,DEU Key Size Register"
hexmask.quad.word 0x08 0.--11. 1. " KS         ,Key Size"
line.quad 0x10 "DEUDSR,DEU Data Size Register"
hexmask.quad.word 0x10 0.--11. 1. " DS         ,Data Size"
line.quad 0x18 "DEURCR,DEU Reset Control Register"
bitfld.quad 0x18 2. " RI         ,Reset interrupt" "-,Reset"
bitfld.quad 0x18 1. "       MI  ,Module initialization" "-,Reset"
bitfld.quad 0x18 0. "      SR   ,Software reset" "-,Reset"
rgroup (0x30000+0x2028)++0x0f
line.quad 0x00 "DEUSR,DEU Status Register"
hexmask.quad.byte 0x00 16.--23. 1. " OFL        ,Ouput FIFO length"
hexmask.quad.byte 0x00 8.--15. 1. "          IFL ,Input FIFO length"
bitfld.quad 0x00 5. "         HALT ,Halt" "-,Halted"
textline "                           "
bitfld.quad 0x00 2. " IE         ,Interrupt error" "-,Error"
bitfld.quad 0x00 1. "       ID  ,Interrupt done" "-,Done"
bitfld.quad 0x00 0. "       RD   ,Reset done" "In progress,Done"
line.quad 0x08 "DEUISR,DEU Interrupt Status Register"
bitfld.quad 0x08 13. " KPE        ,Key parity error" "-,Error"
bitfld.quad 0x08 12. "       IE  ,Internal error" "-,Error"
bitfld.quad 0x08 11. "      ERE  ,Early read error" "-,Error"
textline "                           "
bitfld.quad 0x08 10. " CE         ,Context error" "-,Error"
bitfld.quad 0x08 9. "       KSE ,Key size error" "-,Error"
bitfld.quad 0x08 8. "      DSE  ,Data size error" "-,Error"
textline "                           "
bitfld.quad 0x08 7. " ME         ,Mode error" "-,Error"
bitfld.quad 0x08 6. "       AE  ,Address error" "-,Error"
bitfld.quad 0x08 5. "      OFE  ,Output FIFO error" "-,Error"
textline "                           "
bitfld.quad 0x08 4. " IFE        ,Input FIFO error" "-,Error"
bitfld.quad 0x08 3. "       IFU ,Input FIFO underflow" "-,Underflow"
bitfld.quad 0x08 2. "  IFO  ,Input FIFO overflow" "-,Overflow"
textline "                           "
bitfld.quad 0x08 1. " OFU        ,Output FIFO underflow" "-,Underflow"
bitfld.quad 0x08 0. "   OFO ,Output FIFO overflow" "-,Overflow"
group (0x30000+0x2038)++0x07
line.quad 0x00 "DEUICR,DEU Interrupt Control Register"
bitfld.quad 0x00 13. " KPE        ,Key parity error" "Enabled,Disabled"
bitfld.quad 0x00 12. "    IE  ,Internal error" "Enabled,Disabled"
bitfld.quad 0x00 11. "   ERE  ,Early read error" "Enabled,Disabled"
textline "                           "
bitfld.quad 0x00 10. " CE         ,Context error" "Enabled,Disabled"
bitfld.quad 0x00 9. "    KSE ,Key size error" "Enabled,Disabled"
bitfld.quad 0x00 8. "   DSE  ,Data size error" "Enabled,Disabled"
textline "                           "
bitfld.quad 0x00 7. " ME         ,Mode error" "Enabled,Disabled"
bitfld.quad 0x00 6. "    AE  ,Address error" "Enabled,Disabled"
bitfld.quad 0x00 5. "   OFE  ,Output FIFO error" "Enabled,Disabled"
textline "                           "
bitfld.quad 0x00 4. " IFE        ,Input FIFO error" "Enabled,Disabled"
bitfld.quad 0x00 3. "    IFU ,Input FIFO underflow" "Enabled,Disabled"
bitfld.quad 0x00 2. "   IFO  ,Input FIFO overflow" "Enabled,Disabled"
textline "                           "
bitfld.quad 0x00 1. " OFU        ,Output FIFO underflow" "Enabled,Disabled"
bitfld.quad 0x00 0. "    OFO ,Output FIFO overflow" "Enabled,Disabled"
wgroup (0x30000+0x2050)++0x07
line.quad 0x00 "DEUEUG,DEU EU-Go Register"
group (0x30000+0x2100)++0x07
line.quad 0x00 "DEUIV,DEU initialization vector register"
wgroup (0x30000+0x2400)++0x17
line.quad 0x00 "DEUK1,DEU key 1 register"
line.quad 0x08 "DEUK2,DEU key 2 register"
line.quad 0x10 "DEUK3,DEU key 3 register"
group (0x30000+0x2800)++0x07
line.quad 0x00 "DEU_FIFO,DEU FIFO Registers"
button "DEU FIFOs" "d anc:(iobase()+0x32800)--(iobase()+0x32fff) /QUAD"
tree.end
tree "AESU (Advanced Encryption Standard Execution Units)"
width 11.
group (0x30000+0x4000)++0x1f
line.quad 0x00 "AESUMR,AESU Mode Register"
bitfld.quad 0x00 10.--12. " SCM       ,Sub-cipher mode" "0,1,2,3,4,5,6,7"
bitfld.quad 0x00 1.--2. 6.--7. "                 ECM/CM ,Extended Cipher Mode / Cipher Mode" "ECB,CBC,Reserved,CTR,Reserved,Reserved,Reserved,SRT,CCM no ICV,Reserved,Reserved,Reserved,CCM with ICV,Reserved,Reserved,XOR"
textline "                            "
bitfld.quad 0x00 5. " FM        ,Final MAC" "-,Generated"
bitfld.quad 0x00 4. "         IM     ,Initialize MAC" "-,Initialized"
textline "                            "
bitfld.quad 0x00 3. " RDK       ,Restore Decrypt Key" "Expanded,Not expanded"
bitfld.quad 0x00 0. "      ED     ,Encrypt/Decrypt" "Decryption,Encryption"
line.quad 0x08 "AESUKSR,AESU Key Size Register"
hexmask.quad.word 0x08 0.--11. 1. " KS        ,Key Size"
line.quad 0x10 "AESUDSR,AESU Data Size Register"
hexmask.quad.word 0x10 0.--11. 1. " Data_Size ,Data Size"
line.quad 0x18 "AESURCR,AESU Reset Control Register"
bitfld.quad 0x18 2. " RI        ,Reset Interrupt" "-,Reset"
bitfld.quad 0x18 1. "             MI     ,Module initialization" "-,Reset"
textline "                            "
bitfld.quad 0x18 0. " SR        ,Software reset" "-,Reset"
rgroup (0x30000+0x4028)++0x0f
line.quad 0x00 "AESUSR,AESU Status Register"
hexmask.quad.byte 0x00 16.--23. 1. " OFL       ,Number of dwords currently in the output FIFO"
hexmask.quad.byte 0x00 8.--15. 1. "                IFL    ,Number of dwords currently in the input FIFO"
textline "                            "
bitfld.quad 0x00 5. " HALT      ,Halt" "-,Halted"
bitfld.quad 0x00 3.--4. "            ICCR   ,Integrity check comparison result" "-,Passed,Failed,Reserved"
textline "                            "
bitfld.quad 0x00 2. " IE        ,Interrupt Error" "-,Signaled"
bitfld.quad 0x00 1. "          ID     ,Interrupt Done" "-,Done"
textline "                            "
bitfld.quad 0x00 0. " RD        ,Reset Done" "In progress,Done"
line.quad 0x08 "AESUISR,AESU Interrupt Status Register"
bitfld.quad 0x08 14. " ICE       ,Integrity check error" "-,Error"
bitfld.quad 0x08 12. "             IE     ,Internal Error" "-,Error"
textline "                            "
bitfld.quad 0x08 11. " ERE       ,Early Read Error" "-,Error"
bitfld.quad 0x08 10. "             CE     ,Context Error" "-,Error"
textline "                            "
bitfld.quad 0x08 9. " KSE       ,Key Size Error" "-,Error"
bitfld.quad 0x08 8. "             DSE    ,Data Size Error" "-,Error"
textline "                            "
bitfld.quad 0x08 7. " ME        ,Mode Error" "-,Error"
bitfld.quad 0x08 6. "             AE     ,Address Error" "-,Error"
textline "                            "
bitfld.quad 0x08 5. " OFE       ,Output FIFO Error" "-,Error"
bitfld.quad 0x08 4. "             IFE    ,Input FIFO Error" "-,Error"
textline "                            "
bitfld.quad 0x08 2. " IFO       ,Input FIFO Overflow" "-,Overflowed"
bitfld.quad 0x08 1. "        OFU    ,Output FIFO Underflow" "-,Underflow"
group (0x30000+0x4038)++0x07
line.quad 0x00 "AESUICR,AESU Interrupt Control Register"
bitfld.quad 0x00 14. " ICE       ,Integrity check error" "Enabled,Disabled"
bitfld.quad 0x00 12. "          IE     ,Internal Error" "Enabled,Disabled"
textline "                            "
bitfld.quad 0x00 11. " ERE       ,Early Read Error" "Enabled,Disabled"
bitfld.quad 0x00 10. "          CE     ,Context Error" "Enabled,Disabled"
textline "                            "
bitfld.quad 0x00 9. " KSE       ,Key Size Error" "Enabled,Disabled"
bitfld.quad 0x00 8. "          DSE    ,Data Size Error" "Enabled,Disabled"
textline "                            "
bitfld.quad 0x00 7. " ME        ,Mode Error" "Enabled,Disabled"
bitfld.quad 0x00 6. "          AE     ,Address Error" "Enabled,Disabled"
textline "                            "
bitfld.quad 0x00 5. " OFE       ,Output FIFO Error" "Enabled,Disabled"
bitfld.quad 0x00 4. "          IFE    ,Input FIFO Error" "Enabled,Disabled"
textline "                            "
bitfld.quad 0x00 2. " IFO       ,Input FIFO Overflow" "Enabled,Disabled"
bitfld.quad 0x00 1. "          OFU    ,Output FIFO Underflow" "Enabled,Disabled"
wgroup (0x30000+0x4050)++0x07
line.quad 0x00 "AESUEMR,AESU End of Message Register"
hexmask.quad 0x00 0.--63. 1. " AESUEM    ,AESU End of Message"
group (0x30000+0x4100)++0x37
line.quad 0x00 "AESUCR1,AESU Context Register 1"
line.quad 0x08 "AESUCR2,AESU Context Register 2"
line.quad 0x10 "AESUCR3,AESU Context Register 3"
line.quad 0x18 "AESUCR4,AESU Context Register 4"
line.quad 0x20 "AESUCR5,AESU Context Register 5"
line.quad 0x28 "AESUCR6,AESU Context Register 6"
line.quad 0x30 "AESUCR7,AESU Context Register 7"
group (0x30000+0x4400)++0x0f
line.quad 0x00 "AESUKR1,AESU Key Register 1"
line.quad 0x08 "AESUKR2,AESU Key Register 2"
group (0x30000+0x4800)++0x07ff
line.quad 0x00 "AESU_FIFO,AESU FIFO Registers"
button "AESU FIFOs" "d anc:(iobase()+0x34800)--(iobase()+0x34fff) /QUAD"
tree.end
tree "MDEU (Message Digest Execution Unit)"
width 11.
if (((d.q(anc:(iobase()+0x30000+0x6000)))&0x200)==0x0)
group (0x30000+0x6000)++0x7
line.quad 0x00 "MDEUMR,MDEU Mode Register"
textline "                            "
bitfld.quad 0x00 9. " NEW        ,NEW" "Old,New"
bitfld.quad 0x00 7. "               CONT ,Continue" "-,Continue"
textline "                            "
bitfld.quad 0x00 6. " CICV       ,Compare integrity check values" "-,Compared"
bitfld.quad 0x00 5. "          SMAC ,Specifies whether to perform an SSL-MAC operation" "Normal,SSL3.0 MAC"
textline "                            "
bitfld.quad 0x00 4. " INIT       ,Initialization bit" "-,Initialized"
bitfld.quad 0x00 3. "       HMAC ,Perform HMAC operation" "Normal,HMAC"
textline "                            "
bitfld.quad 0x00 2. " PD         ,PD" "0,1"
bitfld.quad 0x00 0.--1. "                 ALG  ,Message digest algorithm selection" "SHA-160,SHA-256,MD5,SHA-224"
else
group (0x30000+0x6000)++0x1f
line.quad 0x00 "MDEUMR,MDEU Mode Register"
bitfld.quad 0x00 10. " STIB       ,SSL.TLS inbound block cipher" "Normal,Special"
textline "                            "
bitfld.quad 0x00 9. " NEW        ,NEW" "Old,New"
bitfld.quad 0x00 7. "               CONT ,Continue" "-,Continue"
textline "                            "
bitfld.quad 0x00 6. " CICV       ,Compare integrity check values" "-,Compared"
bitfld.quad 0x00 5. "          SMAC ,Specifies whether to perform an SSL-MAC operation" "Normal,SSL3.0 MAC"
textline "                            "
bitfld.quad 0x00 4. " INIT       ,Initialization bit" "-,Initialized"
bitfld.quad 0x00 3. "       HMAC ,Perform HMAC operation" "Normal,HMAC"
textline "                            "
bitfld.quad 0x00 0.--2. " ALG/EALG   ,Message digest algorithm selection / Extended algorithm" "SHA-160,SHA-256,MD5,SHA-224,Reserved,Reserved,Reserved,Reserved"
endif
group (0x30000+0x6008)++0x17
line.quad 0x00 "MDEUKSR,MDEU Key Size Register"
hexmask.quad.byte 0x00 0.--6. 1. " MDEUKSR    ,MDEU Key Size Register"
line.quad 0x08 "MDEUDSR,MDEU Data Size Register"
hexmask.quad.byte 0x08 0.--6. 1. " Data_Size  ,Data Size"
line.quad 0x10 "MDEURCR,MDEU Reset Control Register"
bitfld.quad 0x10 2. " RI         ,Reset interrupt" "-,Reset"
bitfld.quad 0x10 1. "             MI   ,Module initialization" "-,Reset"
textline "                            "
bitfld.quad 0x10 0. " SR         ,Software reset" "-,Reset"
rgroup (0x30000+0x6028)++0x0f
line.quad 0x00 "MDEUSR,MDEU Status Register"
bitfld.quad 0x00 5. " HALT       ,Halt" "-,Halted"
bitfld.quad 0x00 3.--4. "            ICCR ,Integrity check comparison result" "-,Passed,Failed,Reserved"
textline "                            "
bitfld.quad 0x00 2. " IE         ,Interrupt error" "-,Signaled"
bitfld.quad 0x00 1. "          ID   ,Interrupt done" "-,Done"
textline "                            "
bitfld.quad 0x00 0. " RD         ,Reset done" "In progress,Done"
line.quad 0x08 "MDEUISR,MDEU Interrupt Status Register"
bitfld.quad 0x08 14. " ICE        ,Integrity check error" "-,Error"
bitfld.quad 0x08 12. "             IE   ,Internal error" "-,Error"
textline "                            "
bitfld.quad 0x08 11. " ERE        ,Early read error" "-,Error"
bitfld.quad 0x08 10. "             CE   ,Context error" "-,Error"
textline "                            "
bitfld.quad 0x08 9. " KSE        ,Key size error" "-,Error"
bitfld.quad 0x08 8. "             DSE  ,Data size error" "-,Error"
textline "                            "
bitfld.quad 0x08 7. " ME         ,Mode error" "-,Error"
bitfld.quad 0x08 6. "             AE   ,Address error" "-,Error"
textline "                            "
bitfld.quad 0x08 2. " IFO        ,Input FIFO Overflow" "-,Overflow"
group (0x30000+0x6038)++0x07
line.quad 0x00 "MDEUICR,MDEU Interrupt Control Register"
bitfld.quad 0x00 14. " ICE        ,Integrity check error" "Enabled,Disabled"
bitfld.quad 0x00 12. "          IE   ,Internal error" "Enabled,Disabled"
textline "                            "
bitfld.quad 0x00 11. " ERE        ,Early read error" "Enabled,Disabled"
bitfld.quad 0x00 10. "          CE   ,Context error" "Enabled,Disabled"
textline "                            "
bitfld.quad 0x00 9. " KSE        ,Key size error" "Enabled,Disabled"
bitfld.quad 0x00 8. "          DSE  ,Data size error" "Enabled,Disabled"
textline "                            "
bitfld.quad 0x00 7. " ME         ,Mode error" "Enabled,Disabled"
bitfld.quad 0x00 6. "          AE   ,Address error" "Enabled,Disabled"
textline "                            "
bitfld.quad 0x00 2. " IFO        ,Input FIFO overflow" "Enabled,Disabled"
group (0x30000+0x6040)++0x07
line.quad 0x00 "MDEUICVSR,MDEU ICV Size Register"
hexmask.quad.byte 0x00 0.--6. 1. " ICV_SIZE   ,ICV Size"
wgroup (0x30000+0x6050)++0x07
line.quad 0x00 "MDEUEUG,MDEU EU-Go Register"
hexmask.quad 0x00 0.--63. 1. " MDEU_EU-Go ,MDEU EU-Go"
group (0x30000+0x6100)++0x27
line.quad 0x00 "MDEUCR1,MDEU Context Register 1"
hexmask.quad.long 0x00 32.--63. 1. " A          ,"
hexmask.quad.long 0x00 0.--31. 1. "          B    ,"
line.quad 0x08 "MDEUCR2,MDEU Context Register 2"
hexmask.quad.long 0x08 32.--63. 1. " C          ,"
hexmask.quad.long 0x08 0.--31. 1. "          D    ,"
line.quad 0x10 "MDEUCR3,MDEU Context Register 3"
hexmask.quad.long 0x10 32.--63. 1. " E          ,"
hexmask.quad.long 0x10 0.--31. 1. "          F    ,"
line.quad 0x18 "MDEUCR4,MDEU Context Register 4"
hexmask.quad.long 0x18 32.--63. 1. " G          ,"
hexmask.quad.long 0x18 0.--31. 1. "          H    ,"
line.quad 0x20 "MDEUCR5,MDEU Context Register 5"
hexmask.quad 0x20 0.--63. 1. " MLC        ,Message Length Count"
wgroup (0x30000+0x6400)++0x7f
line.quad 0x00 "MDEU_KR,MDEU Key Registers"
button "MDEU Key Memory" "d anc:(iobase()+0x36400)--(iobase()+0x3647f) /QUAD"
wgroup (0x30000+0x6800)++0x07ff
line.quad 0x00 "MDEU_FIFO,MDEU FIFO Registers"
button "MDEU FIFOs" "d anc:(iobase()+0x36800)--(iobase()+0x36fff) /QUAD"
tree.end
width 0xb
tree.end
elif ((CPU()=="MPC8314")||(CPU()=="MPC8315"))
tree "SEC (Security Engine 3.3)"
tree "Channel 1"
width 0xa
group (0x30000+0x1108)++0x7 
line.quad 0x0 "C1CR,Channel 1 Configuration Register" 
bitfld.quad 0x00 34. " NPR              ,No-Pop-Reset" "No effect,Reset"
bitfld.quad 0x00 33. "            CON        ,Continue bit" "No effect,Reset"
textline "                           "
bitfld.quad 0x00 32. " R                ,Reset channel" "No effect,Reset"
bitfld.quad 0x00 12. "            PBS        ,Permit Byte Summing" "Not permitted,Permitted"
textline "                           "
bitfld.quad 0x00 8. " BS               ,Burst Size" "64 bytes,128 bytes"
bitfld.quad 0x00 7. "            IWSE       ,ICV Writeback Status Enable" "Disabled,Enabled"
textline "                           "
bitfld.quad 0x00 5. " EAE              ,Extend Address Enable" "32-bit,36-bit"
bitfld.quad 0x00 4. "               CDWE       ,Channel Done Writeback Enable" "Disabled,Enabled"
textline "                           "
bitfld.quad 0x00 3. " AWSE             ,Always Writeback Status Enable" "Disabled,Enabled"
bitfld.quad 0x00 2. "             NT         ,Notification Type" "Global,Selected"
textline "                           "
bitfld.quad 0x00 1. " CDIE             ,Channel Done Interrupt Enable" "Disabled,Enabled"
rgroup (0x30000+0x1110)++0x7    
line.quad 0x00 "C1SR,Channel 1 Status Register"
hexmask.quad.byte 0x00 56.--62. 1. " GET_STATE        ,Get State Machine State"
hexmask.quad.byte 0x00 48.--54. 1. "                   PUT_STATE  ,Put State Machine State"
textline "                           "
hexmask.quad.word 0x00 32.--40. 1. " MAIN_STATE       ,Main State Machine State"
textline "                           "
bitfld.quad 0x00 24.--28. " FF_LEVEL         ,Fetch Fifo Level" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.quad 0x00 19. "                   PRD        ,Primary EU reset done" "Inactive,Active"
textline "                           "
bitfld.quad 0x00 18. " SRD              ,Secondary EU reset done" "Inactive,Active"
bitfld.quad 0x00 17. "             PD         ,Primary EU done" "Inactive,Active"
textline "                           "
bitfld.quad 0x00 16. " SD               ,Secondary EU done" "Inactive,Active"
eventfld.quad 0x00 15. "             Error_DOF  ,Double Fetch Fifo write overflow Error" "No error,Error"
textline "                           "
eventfld.quad 0x00 14. " Error_SOF        ,Single Fetch Fifo write overflow Error" "No error,Error"
eventfld.quad 0x00 13. "             Error_MDTE ,Master Data Transfer Error" "No error,Error"
textline "                           "        
bitfld.quad 0x00 10. " Error_IDH        ,Illegal descriptor header" "No error,Error"
bitfld.quad 0x00 8. "             Error_EU   ,EU error" "No error,Error"
textline "                           "
bitfld.quad 0x00 7. " Error_WDT        ,Watchdog timeout" "No error,Error"
bitfld.quad 0x00 6. "             Error_SGLM ,Scatter/Gather Length Mismatch" "No error,Error"
textline "                           "
bitfld.quad 0x00 5. " Error_RSI        ,Raid Size Incorrect" "No error,Error"
bitfld.quad 0x00 4. "             Error_RSG  ,Raid Scatter Gather Error" "No error,Error"
rgroup (0x30000+0x1140)++0x7
line.quad 0x0 "CDPR1,Channel 1 Current Descriptor Pointer Register"
hexmask.quad.word 0x0 48.--63. 1. " ID_TAG           ,Descriptor Identification Tag"
bitfld.quad 0x0 32.--35. "                 EPTR       ,Extended Pointer" "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xA,0xB,0xC,0xD,0xE,0xF"
textline "                           "
hexmask.quad.long 0x0 0.--31. 1. " CUR_DES_PTR_ADRS ,Current Descriptor Pointer Address"
wgroup (0x30000+0x1148)++0x7
line.quad 0x0 "FF1,Channel 1 Fetch FIFO"
hexmask.quad.word 0x0 48.--63. 1. " ID_TAG           ,Descriptor Identification Tag"    
bitfld.quad 0x0 32.--35. "                 EPTR       ,Extended Pointer" "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xA,0xB,0xC,0xD,0xE,0xF"
textline "                           "        
hexmask.quad.long 0x0 0.--31. 1. " CUR_DES_PTR_ADRS ,Current Descriptor Pointer Address"
base ANC:(((d.q(anc:iobase()+31148))&0x00000000ffffffff))
width 0x6
tree "Channel 1 Descriptor Buffer"
group 0x00++0x3   
line.long 0x00 "HD,Header Dword"
bitfld.long 0x00 28.--31. "         EU_SEL0       ,EU Selection 2 (Reserved)" "No EU selected,Reserved,DEU,MDEU-A,RNGU,PKEU,AESU,Reserved,Reserved,CRCU,Reserved,Reserved,MDEU-B,Reserved,Reserved,Reserved"
hexmask.long.byte 0x00 20.--27. 1. "       MODE0 ,Mode 0"
textline "                       "
bitfld.long 0x00 16.--19. " EU_SEL1       ,EU Selection 1" "No EU selected,Reserved,DEU,MDEU-A,RNGU,PKEU,AESU,Reserved,Reserved,CRCU,Reserved,Reserved,MDEU-B,Reserved,Reserved,Reserved"
hexmask.long.byte 0x00 8.--15. 1. "       MODE1 ,Mode 1 (Reserved)"
textline "                       "
bitfld.long 0x00 3.--7. " DESC_TYPE/DIR ,Descriptor Type/Direction" "aesu_ctr_nonsnoop,Common_nonsnoop,hmac_snoop_no_afeu,Reserved,Reserved,Reserved,Reserved,Reserved,pkeu_mm,Reserved,Reserved,Reserved,hmac_snoop_aesu_ctr,Reserved,Reserved,Reserved,ipsec_esp,802.11i_aes_ccmp,srtp,pkeu_build,pkeu_ptmul,pkeu_ptadd_dbl,Reserved,Reserved,tls_ssl_block,Reserved,raid_xor,ipsec_aes_gcm,dbl_digest,?..."
bitfld.long 0x00 0. "  DN    ,Done notification" "Not done,Done"
group 0x08++0x37
line.long 0x0 "PD0L,Pointer Dword 0 Low"
hexmask.long.word 0x0 16.--31. 1. "         LENGTH        ,Length"
bitfld.long 0x0 15. "                 J     ,Jump" "Data,Link table"
textline "                       "
hexmask.long.byte 0x0 8.--14. 1. " EXTENT        ,Extent"
bitfld.long 0x0 0.--3. "                   EPTR  ,Extended Pointer" "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xA,0xB,0xC,0xD,0xE,0xF"
textline "                       "
line.long 0x4 "PD0H,Pointer Dword 0 High"    
hexmask.long 0x4 0.--31. 1. "         POINTER       ,Pointer"
line.long 0x8 "PD1L,Pointer Dword 1 Low"
hexmask.long.word 0x8 16.--31. 1. "         LENGTH        ,Length"
bitfld.long 0x8 15. "                 J     ,Jump" "Data,Link table"
textline "                       "
hexmask.long.byte 0x8 8.--14. 1. " EXTENT        ,Extent"
bitfld.long 0x8 0.--3. "                   EPTR  ,Extended Pointer" "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xA,0xB,0xC,0xD,0xE,0xF"
textline "                       "
line.long 0xC "PD1H,Pointer Dword 1 High"    
hexmask.long 0xC 0.--31. 1. "         POINTER       ,Pointer"
line.long 0x10 "PD2L,Pointer Dword 2 Low"
hexmask.long.word 0x10 16.--31. 1. "         LENGTH        ,Length"
bitfld.long 0x10 15. "                 J     ,Jump" "Data,Link table"
textline "                       "
hexmask.long.byte 0x10 8.--14. 1. " EXTENT        ,Extent"
bitfld.long 0x10 0.--3. "                   EPTR  ,Extended Pointer" "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xA,0xB,0xC,0xD,0xE,0xF"
textline "                       "
line.long 0x14 "PD2H,Pointer Dword 2 High"    
hexmask.long 0x14 0.--31. 1. "         POINTER       ,Pointer"
line.long 0x18 "PD3L,Pointer Dword 3 Low"
hexmask.long.word 0x18 16.--31. 1. "         LENGTH        ,Length"
bitfld.long 0x18 15. "                 J     ,Jump" "Data,Link table"
textline "                       "
hexmask.long.byte 0x18 8.--14. 1. " EXTENT        ,Extent"
bitfld.long 0x18 0.--3. "                   EPTR  ,Extended Pointer" "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xA,0xB,0xC,0xD,0xE,0xF"
textline "                       "
line.long 0x1C "PD3H,Pointer Dword 3 High"    
hexmask.long 0x1C 0.--31. 1. "         POINTER       ,Pointer"
line.long 0x20 "PD4L,Pointer Dword 4 Low"
hexmask.long.word 0x20 16.--31. 1. "         LENGTH        ,Length"
bitfld.long 0x20 15. "                 J     ,Jump" "Data,Link table"
textline "                       "
hexmask.long.byte 0x20 8.--14. 1. " EXTENT        ,Extent"
bitfld.long 0x20 0.--3. "                   EPTR  ,Extended Pointer" "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xA,0xB,0xC,0xD,0xE,0xF"
textline "                       "
line.long 0x24 "PD4H,Pointer Dword 4 High"    
hexmask.long 0x24 0.--31. 1. "         POINTER       ,Pointer"
line.long 0x28 "PD5L,Pointer Dword 5 Low"
hexmask.long.word 0x28 16.--31. 1. "         LENGTH        ,Length"
bitfld.long 0x28 15. "                 J     ,Jump" "Data,Link table"
textline "                       "
hexmask.long.byte 0x28 8.--14. 1. " EXTENT        ,Extent"
bitfld.long 0x28 0.--3. "                   EPTR  ,Extended Pointer" "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xA,0xB,0xC,0xD,0xE,0xF"
textline "                       "
line.long 0x2C "PD5H,Pointer Dword 5 High"    
hexmask.long 0x2C 0.--31. 1. "         POINTER       ,Pointer"
line.long 0x30 "PD6L,Pointer Dword 6 Low"
hexmask.long.word 0x30 16.--31. 1. "         LENGTH        ,Length"
bitfld.long 0x30 15. "                 J     ,Jump" "Data,Link table"
textline "                       "
hexmask.long.byte 0x30 8.--14. 1. " EXTENT        ,Extent"
bitfld.long 0x30 0.--3. "                   EPTR  ,Extended Pointer" "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xA,0xB,0xC,0xD,0xE,0xF"
textline "                       "
line.long 0x34 "PD6H,Pointer Dword 6 High"    
hexmask.long 0x34 0.--31. 1. "         POINTER       ,Pointer"
tree.end            
base anc:iobase()    
tree.end
tree "Channel 2"
width 0xa
group (0x30100+0x1108)++0x7 
line.quad 0x0 "C2CR,Channel 2 Configuration Register" 
bitfld.quad 0x00 34. " NPR              ,No-Pop-Reset" "No effect,Reset"
bitfld.quad 0x00 33. "            CON        ,Continue bit" "No effect,Reset"
textline "                           "
bitfld.quad 0x00 32. " R                ,Reset channel" "No effect,Reset"
bitfld.quad 0x00 12. "            PBS        ,Permit Byte Summing" "Not permitted,Permitted"
textline "                           "
bitfld.quad 0x00 8. " BS               ,Burst Size" "64 bytes,128 bytes"
bitfld.quad 0x00 7. "            IWSE       ,ICV Writeback Status Enable" "Disabled,Enabled"
textline "                           "
bitfld.quad 0x00 5. " EAE              ,Extend Address Enable" "32-bit,36-bit"
bitfld.quad 0x00 4. "               CDWE       ,Channel Done Writeback Enable" "Disabled,Enabled"
textline "                           "
bitfld.quad 0x00 3. " AWSE             ,Always Writeback Status Enable" "Disabled,Enabled"
bitfld.quad 0x00 2. "             NT         ,Notification Type" "Global,Selected"
textline "                           "
bitfld.quad 0x00 1. " CDIE             ,Channel Done Interrupt Enable" "Disabled,Enabled"
rgroup (0x30100+0x1110)++0x7    
line.quad 0x00 "C2SR,Channel 2 Status Register"
hexmask.quad.byte 0x00 56.--62. 1. " GET_STATE        ,Get State Machine State"
hexmask.quad.byte 0x00 48.--54. 1. "                   PUT_STATE  ,Put State Machine State"
textline "                           "
hexmask.quad.word 0x00 32.--40. 1. " MAIN_STATE       ,Main State Machine State"
textline "                           "
bitfld.quad 0x00 24.--28. " FF_LEVEL         ,Fetch Fifo Level" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.quad 0x00 19. "                   PRD        ,Primary EU reset done" "Inactive,Active"
textline "                           "
bitfld.quad 0x00 18. " SRD              ,Secondary EU reset done" "Inactive,Active"
bitfld.quad 0x00 17. "             PD         ,Primary EU done" "Inactive,Active"
textline "                           "
bitfld.quad 0x00 16. " SD               ,Secondary EU done" "Inactive,Active"
eventfld.quad 0x00 15. "             Error_DOF  ,Double Fetch Fifo write overflow Error" "No error,Error"
textline "                           "
eventfld.quad 0x00 14. " Error_SOF        ,Single Fetch Fifo write overflow Error" "No error,Error"
eventfld.quad 0x00 13. "             Error_MDTE ,Master Data Transfer Error" "No error,Error"
textline "                           "        
bitfld.quad 0x00 10. " Error_IDH        ,Illegal descriptor header" "No error,Error"
bitfld.quad 0x00 8. "             Error_EU   ,EU error" "No error,Error"
textline "                           "
bitfld.quad 0x00 7. " Error_WDT        ,Watchdog timeout" "No error,Error"
bitfld.quad 0x00 6. "             Error_SGLM ,Scatter/Gather Length Mismatch" "No error,Error"
textline "                           "
bitfld.quad 0x00 5. " Error_RSI        ,Raid Size Incorrect" "No error,Error"
bitfld.quad 0x00 4. "             Error_RSG  ,Raid Scatter Gather Error" "No error,Error"
rgroup (0x30100+0x1140)++0x7
line.quad 0x0 "CDPR2,Channel 2 Current Descriptor Pointer Register"
hexmask.quad.word 0x0 48.--63. 1. " ID_TAG           ,Descriptor Identification Tag"
bitfld.quad 0x0 32.--35. "                 EPTR       ,Extended Pointer" "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xA,0xB,0xC,0xD,0xE,0xF"
textline "                           "
hexmask.quad.long 0x0 0.--31. 1. " CUR_DES_PTR_ADRS ,Current Descriptor Pointer Address"
wgroup (0x30100+0x1148)++0x7
line.quad 0x0 "FF2,Channel 2 Fetch FIFO"
hexmask.quad.word 0x0 48.--63. 1. " ID_TAG           ,Descriptor Identification Tag"    
bitfld.quad 0x0 32.--35. "                 EPTR       ,Extended Pointer" "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xA,0xB,0xC,0xD,0xE,0xF"
textline "                           "        
hexmask.quad.long 0x0 0.--31. 1. " CUR_DES_PTR_ADRS ,Current Descriptor Pointer Address"
base ANC:(((d.q(anc:iobase()+0x31248))&0x00000000ffffffff))
width 0x6
tree "Channel 2 Descriptor Buffer"
group 0x00++0x3   
line.long 0x00 "HD,Header Dword"
bitfld.long 0x00 28.--31. "         EU_SEL0       ,EU Selection 2 (Reserved)" "No EU selected,Reserved,DEU,MDEU-A,RNGU,PKEU,AESU,Reserved,Reserved,CRCU,Reserved,Reserved,MDEU-B,Reserved,Reserved,Reserved"
hexmask.long.byte 0x00 20.--27. 1. "       MODE0 ,Mode 0"
textline "                       "
bitfld.long 0x00 16.--19. " EU_SEL1       ,EU Selection 1" "No EU selected,Reserved,DEU,MDEU-A,RNGU,PKEU,AESU,Reserved,Reserved,CRCU,Reserved,Reserved,MDEU-B,Reserved,Reserved,Reserved"
hexmask.long.byte 0x00 8.--15. 1. "       MODE1 ,Mode 1 (Reserved)"
textline "                       "
bitfld.long 0x00 3.--7. " DESC_TYPE/DIR ,Descriptor Type/Direction" "aesu_ctr_nonsnoop,Common_nonsnoop,hmac_snoop_no_afeu,Reserved,Reserved,Reserved,Reserved,Reserved,pkeu_mm,Reserved,Reserved,Reserved,hmac_snoop_aesu_ctr,Reserved,Reserved,Reserved,ipsec_esp,802.11i_aes_ccmp,srtp,pkeu_build,pkeu_ptmul,pkeu_ptadd_dbl,Reserved,Reserved,tls_ssl_block,Reserved,raid_xor,ipsec_aes_gcm,dbl_digest,?..."
bitfld.long 0x00 0. "  DN    ,Done notification" "Not done,Done"
group 0x08++0x37
line.long 0x0 "PD0L,Pointer Dword 0 Low"
hexmask.long.word 0x0 16.--31. 1. "         LENGTH        ,Length"
bitfld.long 0x0 15. "                 J     ,Jump" "Data,Link table"
textline "                       "
hexmask.long.byte 0x0 8.--14. 1. " EXTENT        ,Extent"
bitfld.long 0x0 0.--3. "                   EPTR  ,Extended Pointer" "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xA,0xB,0xC,0xD,0xE,0xF"
textline "                       "
line.long 0x4 "PD0H,Pointer Dword 0 High"    
hexmask.long 0x4 0.--31. 1. "         POINTER       ,Pointer"
line.long 0x8 "PD1L,Pointer Dword 1 Low"
hexmask.long.word 0x8 16.--31. 1. "         LENGTH        ,Length"
bitfld.long 0x8 15. "                 J     ,Jump" "Data,Link table"
textline "                       "
hexmask.long.byte 0x8 8.--14. 1. " EXTENT        ,Extent"
bitfld.long 0x8 0.--3. "                   EPTR  ,Extended Pointer" "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xA,0xB,0xC,0xD,0xE,0xF"
textline "                       "
line.long 0xC "PD1H,Pointer Dword 1 High"    
hexmask.long 0xC 0.--31. 1. "         POINTER       ,Pointer"
line.long 0x10 "PD2L,Pointer Dword 2 Low"
hexmask.long.word 0x10 16.--31. 1. "         LENGTH        ,Length"
bitfld.long 0x10 15. "                 J     ,Jump" "Data,Link table"
textline "                       "
hexmask.long.byte 0x10 8.--14. 1. " EXTENT        ,Extent"
bitfld.long 0x10 0.--3. "                   EPTR  ,Extended Pointer" "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xA,0xB,0xC,0xD,0xE,0xF"
textline "                       "
line.long 0x14 "PD2H,Pointer Dword 2 High"    
hexmask.long 0x14 0.--31. 1. "         POINTER       ,Pointer"
line.long 0x18 "PD3L,Pointer Dword 3 Low"
hexmask.long.word 0x18 16.--31. 1. "         LENGTH        ,Length"
bitfld.long 0x18 15. "                 J     ,Jump" "Data,Link table"
textline "                       "
hexmask.long.byte 0x18 8.--14. 1. " EXTENT        ,Extent"
bitfld.long 0x18 0.--3. "                   EPTR  ,Extended Pointer" "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xA,0xB,0xC,0xD,0xE,0xF"
textline "                       "
line.long 0x1C "PD3H,Pointer Dword 3 High"    
hexmask.long 0x1C 0.--31. 1. "         POINTER       ,Pointer"
line.long 0x20 "PD4L,Pointer Dword 4 Low"
hexmask.long.word 0x20 16.--31. 1. "         LENGTH        ,Length"
bitfld.long 0x20 15. "                 J     ,Jump" "Data,Link table"
textline "                       "
hexmask.long.byte 0x20 8.--14. 1. " EXTENT        ,Extent"
bitfld.long 0x20 0.--3. "                   EPTR  ,Extended Pointer" "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xA,0xB,0xC,0xD,0xE,0xF"
textline "                       "
line.long 0x24 "PD4H,Pointer Dword 4 High"    
hexmask.long 0x24 0.--31. 1. "         POINTER       ,Pointer"
line.long 0x28 "PD5L,Pointer Dword 5 Low"
hexmask.long.word 0x28 16.--31. 1. "         LENGTH        ,Length"
bitfld.long 0x28 15. "                 J     ,Jump" "Data,Link table"
textline "                       "
hexmask.long.byte 0x28 8.--14. 1. " EXTENT        ,Extent"
bitfld.long 0x28 0.--3. "                   EPTR  ,Extended Pointer" "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xA,0xB,0xC,0xD,0xE,0xF"
textline "                       "
line.long 0x2C "PD5H,Pointer Dword 5 High"    
hexmask.long 0x2C 0.--31. 1. "         POINTER       ,Pointer"
line.long 0x30 "PD6L,Pointer Dword 6 Low"
hexmask.long.word 0x30 16.--31. 1. "         LENGTH        ,Length"
bitfld.long 0x30 15. "                 J     ,Jump" "Data,Link table"
textline "                       "
hexmask.long.byte 0x30 8.--14. 1. " EXTENT        ,Extent"
bitfld.long 0x30 0.--3. "                   EPTR  ,Extended Pointer" "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xA,0xB,0xC,0xD,0xE,0xF"
textline "                       "
line.long 0x34 "PD6H,Pointer Dword 6 High"    
hexmask.long 0x34 0.--31. 1. "         POINTER       ,Pointer"
tree.end            
base anc:iobase()    
tree.end
tree "Channel 3"
width 0xa
group (0x30200+0x1108)++0x7 
line.quad 0x0 "C3CR,Channel 3 Configuration Register" 
bitfld.quad 0x00 34. " NPR              ,No-Pop-Reset" "No effect,Reset"
bitfld.quad 0x00 33. "            CON        ,Continue bit" "No effect,Reset"
textline "                           "
bitfld.quad 0x00 32. " R                ,Reset channel" "No effect,Reset"
bitfld.quad 0x00 12. "            PBS        ,Permit Byte Summing" "Not permitted,Permitted"
textline "                           "
bitfld.quad 0x00 8. " BS               ,Burst Size" "64 bytes,128 bytes"
bitfld.quad 0x00 7. "            IWSE       ,ICV Writeback Status Enable" "Disabled,Enabled"
textline "                           "
bitfld.quad 0x00 5. " EAE              ,Extend Address Enable" "32-bit,36-bit"
bitfld.quad 0x00 4. "               CDWE       ,Channel Done Writeback Enable" "Disabled,Enabled"
textline "                           "
bitfld.quad 0x00 3. " AWSE             ,Always Writeback Status Enable" "Disabled,Enabled"
bitfld.quad 0x00 2. "             NT         ,Notification Type" "Global,Selected"
textline "                           "
bitfld.quad 0x00 1. " CDIE             ,Channel Done Interrupt Enable" "Disabled,Enabled"
rgroup (0x30200+0x1110)++0x7    
line.quad 0x00 "C3SR,Channel 3 Status Register"
hexmask.quad.byte 0x00 56.--62. 1. " GET_STATE        ,Get State Machine State"
hexmask.quad.byte 0x00 48.--54. 1. "                   PUT_STATE  ,Put State Machine State"
textline "                           "
hexmask.quad.word 0x00 32.--40. 1. " MAIN_STATE       ,Main State Machine State"
textline "                           "
bitfld.quad 0x00 24.--28. " FF_LEVEL         ,Fetch Fifo Level" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.quad 0x00 19. "                   PRD        ,Primary EU reset done" "Inactive,Active"
textline "                           "
bitfld.quad 0x00 18. " SRD              ,Secondary EU reset done" "Inactive,Active"
bitfld.quad 0x00 17. "             PD         ,Primary EU done" "Inactive,Active"
textline "                           "
bitfld.quad 0x00 16. " SD               ,Secondary EU done" "Inactive,Active"
eventfld.quad 0x00 15. "             Error_DOF  ,Double Fetch Fifo write overflow Error" "No error,Error"
textline "                           "
eventfld.quad 0x00 14. " Error_SOF        ,Single Fetch Fifo write overflow Error" "No error,Error"
eventfld.quad 0x00 13. "             Error_MDTE ,Master Data Transfer Error" "No error,Error"
textline "                           "        
bitfld.quad 0x00 10. " Error_IDH        ,Illegal descriptor header" "No error,Error"
bitfld.quad 0x00 8. "             Error_EU   ,EU error" "No error,Error"
textline "                           "
bitfld.quad 0x00 7. " Error_WDT        ,Watchdog timeout" "No error,Error"
bitfld.quad 0x00 6. "             Error_SGLM ,Scatter/Gather Length Mismatch" "No error,Error"
textline "                           "
bitfld.quad 0x00 5. " Error_RSI        ,Raid Size Incorrect" "No error,Error"
bitfld.quad 0x00 4. "             Error_RSG  ,Raid Scatter Gather Error" "No error,Error"
rgroup (0x30200+0x1140)++0x7
line.quad 0x0 "CDPR3,Channel 3 Current Descriptor Pointer Register"
hexmask.quad.word 0x0 48.--63. 1. " ID_TAG           ,Descriptor Identification Tag"
bitfld.quad 0x0 32.--35. "                 EPTR       ,Extended Pointer" "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xA,0xB,0xC,0xD,0xE,0xF"
textline "                           "
hexmask.quad.long 0x0 0.--31. 1. " CUR_DES_PTR_ADRS ,Current Descriptor Pointer Address"
wgroup (0x30200+0x1148)++0x7
line.quad 0x0 "FF3,Channel 3 Fetch FIFO"
hexmask.quad.word 0x0 48.--63. 1. " ID_TAG           ,Descriptor Identification Tag"    
bitfld.quad 0x0 32.--35. "                 EPTR       ,Extended Pointer" "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xA,0xB,0xC,0xD,0xE,0xF"
textline "                           "        
hexmask.quad.long 0x0 0.--31. 1. " CUR_DES_PTR_ADRS ,Current Descriptor Pointer Address"
base ANC:(((d.q(anc:iobase()+0x31348))&0x00000000ffffffff))
width 0x6
tree "Channel 3 Descriptor Buffer"
group 0x00++0x3   
line.long 0x00 "HD,Header Dword"
bitfld.long 0x00 28.--31. "         EU_SEL0       ,EU Selection 2 (Reserved)" "No EU selected,Reserved,DEU,MDEU-A,RNGU,PKEU,AESU,Reserved,Reserved,CRCU,Reserved,Reserved,MDEU-B,Reserved,Reserved,Reserved"
hexmask.long.byte 0x00 20.--27. 1. "       MODE0 ,Mode 0"
textline "                       "
bitfld.long 0x00 16.--19. " EU_SEL1       ,EU Selection 1" "No EU selected,Reserved,DEU,MDEU-A,RNGU,PKEU,AESU,Reserved,Reserved,CRCU,Reserved,Reserved,MDEU-B,Reserved,Reserved,Reserved"
hexmask.long.byte 0x00 8.--15. 1. "       MODE1 ,Mode 1 (Reserved)"
textline "                       "
bitfld.long 0x00 3.--7. " DESC_TYPE/DIR ,Descriptor Type/Direction" "aesu_ctr_nonsnoop,Common_nonsnoop,hmac_snoop_no_afeu,Reserved,Reserved,Reserved,Reserved,Reserved,pkeu_mm,Reserved,Reserved,Reserved,hmac_snoop_aesu_ctr,Reserved,Reserved,Reserved,ipsec_esp,802.11i_aes_ccmp,srtp,pkeu_build,pkeu_ptmul,pkeu_ptadd_dbl,Reserved,Reserved,tls_ssl_block,Reserved,raid_xor,ipsec_aes_gcm,dbl_digest,?..."
bitfld.long 0x00 0. "  DN    ,Done notification" "Not done,Done"
group 0x08++0x37
line.long 0x0 "PD0L,Pointer Dword 0 Low"
hexmask.long.word 0x0 16.--31. 1. "         LENGTH        ,Length"
bitfld.long 0x0 15. "                 J     ,Jump" "Data,Link table"
textline "                       "
hexmask.long.byte 0x0 8.--14. 1. " EXTENT        ,Extent"
bitfld.long 0x0 0.--3. "                   EPTR  ,Extended Pointer" "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xA,0xB,0xC,0xD,0xE,0xF"
textline "                       "
line.long 0x4 "PD0H,Pointer Dword 0 High"    
hexmask.long 0x4 0.--31. 1. "         POINTER       ,Pointer"
line.long 0x8 "PD1L,Pointer Dword 1 Low"
hexmask.long.word 0x8 16.--31. 1. "         LENGTH        ,Length"
bitfld.long 0x8 15. "                 J     ,Jump" "Data,Link table"
textline "                       "
hexmask.long.byte 0x8 8.--14. 1. " EXTENT        ,Extent"
bitfld.long 0x8 0.--3. "                   EPTR  ,Extended Pointer" "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xA,0xB,0xC,0xD,0xE,0xF"
textline "                       "
line.long 0xC "PD1H,Pointer Dword 1 High"    
hexmask.long 0xC 0.--31. 1. "         POINTER       ,Pointer"
line.long 0x10 "PD2L,Pointer Dword 2 Low"
hexmask.long.word 0x10 16.--31. 1. "         LENGTH        ,Length"
bitfld.long 0x10 15. "                 J     ,Jump" "Data,Link table"
textline "                       "
hexmask.long.byte 0x10 8.--14. 1. " EXTENT        ,Extent"
bitfld.long 0x10 0.--3. "                   EPTR  ,Extended Pointer" "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xA,0xB,0xC,0xD,0xE,0xF"
textline "                       "
line.long 0x14 "PD2H,Pointer Dword 2 High"    
hexmask.long 0x14 0.--31. 1. "         POINTER       ,Pointer"
line.long 0x18 "PD3L,Pointer Dword 3 Low"
hexmask.long.word 0x18 16.--31. 1. "         LENGTH        ,Length"
bitfld.long 0x18 15. "                 J     ,Jump" "Data,Link table"
textline "                       "
hexmask.long.byte 0x18 8.--14. 1. " EXTENT        ,Extent"
bitfld.long 0x18 0.--3. "                   EPTR  ,Extended Pointer" "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xA,0xB,0xC,0xD,0xE,0xF"
textline "                       "
line.long 0x1C "PD3H,Pointer Dword 3 High"    
hexmask.long 0x1C 0.--31. 1. "         POINTER       ,Pointer"
line.long 0x20 "PD4L,Pointer Dword 4 Low"
hexmask.long.word 0x20 16.--31. 1. "         LENGTH        ,Length"
bitfld.long 0x20 15. "                 J     ,Jump" "Data,Link table"
textline "                       "
hexmask.long.byte 0x20 8.--14. 1. " EXTENT        ,Extent"
bitfld.long 0x20 0.--3. "                   EPTR  ,Extended Pointer" "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xA,0xB,0xC,0xD,0xE,0xF"
textline "                       "
line.long 0x24 "PD4H,Pointer Dword 4 High"    
hexmask.long 0x24 0.--31. 1. "         POINTER       ,Pointer"
line.long 0x28 "PD5L,Pointer Dword 5 Low"
hexmask.long.word 0x28 16.--31. 1. "         LENGTH        ,Length"
bitfld.long 0x28 15. "                 J     ,Jump" "Data,Link table"
textline "                       "
hexmask.long.byte 0x28 8.--14. 1. " EXTENT        ,Extent"
bitfld.long 0x28 0.--3. "                   EPTR  ,Extended Pointer" "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xA,0xB,0xC,0xD,0xE,0xF"
textline "                       "
line.long 0x2C "PD5H,Pointer Dword 5 High"    
hexmask.long 0x2C 0.--31. 1. "         POINTER       ,Pointer"
line.long 0x30 "PD6L,Pointer Dword 6 Low"
hexmask.long.word 0x30 16.--31. 1. "         LENGTH        ,Length"
bitfld.long 0x30 15. "                 J     ,Jump" "Data,Link table"
textline "                       "
hexmask.long.byte 0x30 8.--14. 1. " EXTENT        ,Extent"
bitfld.long 0x30 0.--3. "                   EPTR  ,Extended Pointer" "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xA,0xB,0xC,0xD,0xE,0xF"
textline "                       "
line.long 0x34 "PD6H,Pointer Dword 6 High"    
hexmask.long 0x34 0.--31. 1. "         POINTER       ,Pointer"
tree.end            
base anc:iobase()    
tree.end
tree "Channel 4"
width 0xa
group (0x30300+0x1108)++0x7 
line.quad 0x0 "C4CR,Channel 4 Configuration Register" 
bitfld.quad 0x00 34. " NPR              ,No-Pop-Reset" "No effect,Reset"
bitfld.quad 0x00 33. "            CON        ,Continue bit" "No effect,Reset"
textline "                           "
bitfld.quad 0x00 32. " R                ,Reset channel" "No effect,Reset"
bitfld.quad 0x00 12. "            PBS        ,Permit Byte Summing" "Not permitted,Permitted"
textline "                           "
bitfld.quad 0x00 8. " BS               ,Burst Size" "64 bytes,128 bytes"
bitfld.quad 0x00 7. "            IWSE       ,ICV Writeback Status Enable" "Disabled,Enabled"
textline "                           "
bitfld.quad 0x00 5. " EAE              ,Extend Address Enable" "32-bit,36-bit"
bitfld.quad 0x00 4. "               CDWE       ,Channel Done Writeback Enable" "Disabled,Enabled"
textline "                           "
bitfld.quad 0x00 3. " AWSE             ,Always Writeback Status Enable" "Disabled,Enabled"
bitfld.quad 0x00 2. "             NT         ,Notification Type" "Global,Selected"
textline "                           "
bitfld.quad 0x00 1. " CDIE             ,Channel Done Interrupt Enable" "Disabled,Enabled"
rgroup (0x30300+0x1110)++0x7    
line.quad 0x00 "C4SR,Channel 4 Status Register"
hexmask.quad.byte 0x00 56.--62. 1. " GET_STATE        ,Get State Machine State"
hexmask.quad.byte 0x00 48.--54. 1. "                   PUT_STATE  ,Put State Machine State"
textline "                           "
hexmask.quad.word 0x00 32.--40. 1. " MAIN_STATE       ,Main State Machine State"
textline "                           "
bitfld.quad 0x00 24.--28. " FF_LEVEL         ,Fetch Fifo Level" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.quad 0x00 19. "                   PRD        ,Primary EU reset done" "Inactive,Active"
textline "                           "
bitfld.quad 0x00 18. " SRD              ,Secondary EU reset done" "Inactive,Active"
bitfld.quad 0x00 17. "             PD         ,Primary EU done" "Inactive,Active"
textline "                           "
bitfld.quad 0x00 16. " SD               ,Secondary EU done" "Inactive,Active"
eventfld.quad 0x00 15. "             Error_DOF  ,Double Fetch Fifo write overflow Error" "No error,Error"
textline "                           "
eventfld.quad 0x00 14. " Error_SOF        ,Single Fetch Fifo write overflow Error" "No error,Error"
eventfld.quad 0x00 13. "             Error_MDTE ,Master Data Transfer Error" "No error,Error"
textline "                           "        
bitfld.quad 0x00 10. " Error_IDH        ,Illegal descriptor header" "No error,Error"
bitfld.quad 0x00 8. "             Error_EU   ,EU error" "No error,Error"
textline "                           "
bitfld.quad 0x00 7. " Error_WDT        ,Watchdog timeout" "No error,Error"
bitfld.quad 0x00 6. "             Error_SGLM ,Scatter/Gather Length Mismatch" "No error,Error"
textline "                           "
bitfld.quad 0x00 5. " Error_RSI        ,Raid Size Incorrect" "No error,Error"
bitfld.quad 0x00 4. "             Error_RSG  ,Raid Scatter Gather Error" "No error,Error"
rgroup (0x30300+0x1140)++0x7
line.quad 0x0 "CDPR4,Channel 4 Current Descriptor Pointer Register"
hexmask.quad.word 0x0 48.--63. 1. " ID_TAG           ,Descriptor Identification Tag"
bitfld.quad 0x0 32.--35. "                 EPTR       ,Extended Pointer" "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xA,0xB,0xC,0xD,0xE,0xF"
textline "                           "
hexmask.quad.long 0x0 0.--31. 1. " CUR_DES_PTR_ADRS ,Current Descriptor Pointer Address"
wgroup (0x30300+0x1148)++0x7
line.quad 0x0 "FF4,Channel 4 Fetch FIFO"
hexmask.quad.word 0x0 48.--63. 1. " ID_TAG           ,Descriptor Identification Tag"    
bitfld.quad 0x0 32.--35. "                 EPTR       ,Extended Pointer" "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xA,0xB,0xC,0xD,0xE,0xF"
textline "                           "        
hexmask.quad.long 0x0 0.--31. 1. " CUR_DES_PTR_ADRS ,Current Descriptor Pointer Address"
base ANC:(((d.q(anc:iobase()+0x31448))&0x00000000ffffffff))
width 0x6
tree "Channel 4 Descriptor Buffer"
group 0x00++0x3   
line.long 0x00 "HD,Header Dword"
bitfld.long 0x00 28.--31. "         EU_SEL0       ,EU Selection 2 (Reserved)" "No EU selected,Reserved,DEU,MDEU-A,RNGU,PKEU,AESU,Reserved,Reserved,CRCU,Reserved,Reserved,MDEU-B,Reserved,Reserved,Reserved"
hexmask.long.byte 0x00 20.--27. 1. "       MODE0 ,Mode 0"
textline "                       "
bitfld.long 0x00 16.--19. " EU_SEL1       ,EU Selection 1" "No EU selected,Reserved,DEU,MDEU-A,RNGU,PKEU,AESU,Reserved,Reserved,CRCU,Reserved,Reserved,MDEU-B,Reserved,Reserved,Reserved"
hexmask.long.byte 0x00 8.--15. 1. "       MODE1 ,Mode 1 (Reserved)"
textline "                       "
bitfld.long 0x00 3.--7. " DESC_TYPE/DIR ,Descriptor Type/Direction" "aesu_ctr_nonsnoop,Common_nonsnoop,hmac_snoop_no_afeu,Reserved,Reserved,Reserved,Reserved,Reserved,pkeu_mm,Reserved,Reserved,Reserved,hmac_snoop_aesu_ctr,Reserved,Reserved,Reserved,ipsec_esp,802.11i_aes_ccmp,srtp,pkeu_build,pkeu_ptmul,pkeu_ptadd_dbl,Reserved,Reserved,tls_ssl_block,Reserved,raid_xor,ipsec_aes_gcm,dbl_digest,?..."
bitfld.long 0x00 0. "  DN    ,Done notification" "Not done,Done"
group 0x08++0x37
line.long 0x0 "PD0L,Pointer Dword 0 Low"
hexmask.long.word 0x0 16.--31. 1. "         LENGTH        ,Length"
bitfld.long 0x0 15. "                 J     ,Jump" "Data,Link table"
textline "                       "
hexmask.long.byte 0x0 8.--14. 1. " EXTENT        ,Extent"
bitfld.long 0x0 0.--3. "                   EPTR  ,Extended Pointer" "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xA,0xB,0xC,0xD,0xE,0xF"
textline "                       "
line.long 0x4 "PD0H,Pointer Dword 0 High"    
hexmask.long 0x4 0.--31. 1. "         POINTER       ,Pointer"
line.long 0x8 "PD1L,Pointer Dword 1 Low"
hexmask.long.word 0x8 16.--31. 1. "         LENGTH        ,Length"
bitfld.long 0x8 15. "                 J     ,Jump" "Data,Link table"
textline "                       "
hexmask.long.byte 0x8 8.--14. 1. " EXTENT        ,Extent"
bitfld.long 0x8 0.--3. "                   EPTR  ,Extended Pointer" "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xA,0xB,0xC,0xD,0xE,0xF"
textline "                       "
line.long 0xC "PD1H,Pointer Dword 1 High"    
hexmask.long 0xC 0.--31. 1. "         POINTER       ,Pointer"
line.long 0x10 "PD2L,Pointer Dword 2 Low"
hexmask.long.word 0x10 16.--31. 1. "         LENGTH        ,Length"
bitfld.long 0x10 15. "                 J     ,Jump" "Data,Link table"
textline "                       "
hexmask.long.byte 0x10 8.--14. 1. " EXTENT        ,Extent"
bitfld.long 0x10 0.--3. "                   EPTR  ,Extended Pointer" "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xA,0xB,0xC,0xD,0xE,0xF"
textline "                       "
line.long 0x14 "PD2H,Pointer Dword 2 High"    
hexmask.long 0x14 0.--31. 1. "         POINTER       ,Pointer"
line.long 0x18 "PD3L,Pointer Dword 3 Low"
hexmask.long.word 0x18 16.--31. 1. "         LENGTH        ,Length"
bitfld.long 0x18 15. "                 J     ,Jump" "Data,Link table"
textline "                       "
hexmask.long.byte 0x18 8.--14. 1. " EXTENT        ,Extent"
bitfld.long 0x18 0.--3. "                   EPTR  ,Extended Pointer" "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xA,0xB,0xC,0xD,0xE,0xF"
textline "                       "
line.long 0x1C "PD3H,Pointer Dword 3 High"    
hexmask.long 0x1C 0.--31. 1. "         POINTER       ,Pointer"
line.long 0x20 "PD4L,Pointer Dword 4 Low"
hexmask.long.word 0x20 16.--31. 1. "         LENGTH        ,Length"
bitfld.long 0x20 15. "                 J     ,Jump" "Data,Link table"
textline "                       "
hexmask.long.byte 0x20 8.--14. 1. " EXTENT        ,Extent"
bitfld.long 0x20 0.--3. "                   EPTR  ,Extended Pointer" "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xA,0xB,0xC,0xD,0xE,0xF"
textline "                       "
line.long 0x24 "PD4H,Pointer Dword 4 High"    
hexmask.long 0x24 0.--31. 1. "         POINTER       ,Pointer"
line.long 0x28 "PD5L,Pointer Dword 5 Low"
hexmask.long.word 0x28 16.--31. 1. "         LENGTH        ,Length"
bitfld.long 0x28 15. "                 J     ,Jump" "Data,Link table"
textline "                       "
hexmask.long.byte 0x28 8.--14. 1. " EXTENT        ,Extent"
bitfld.long 0x28 0.--3. "                   EPTR  ,Extended Pointer" "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xA,0xB,0xC,0xD,0xE,0xF"
textline "                       "
line.long 0x2C "PD5H,Pointer Dword 5 High"    
hexmask.long 0x2C 0.--31. 1. "         POINTER       ,Pointer"
line.long 0x30 "PD6L,Pointer Dword 6 Low"
hexmask.long.word 0x30 16.--31. 1. "         LENGTH        ,Length"
bitfld.long 0x30 15. "                 J     ,Jump" "Data,Link table"
textline "                       "
hexmask.long.byte 0x30 8.--14. 1. " EXTENT        ,Extent"
bitfld.long 0x30 0.--3. "                   EPTR  ,Extended Pointer" "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xA,0xB,0xC,0xD,0xE,0xF"
textline "                       "
line.long 0x34 "PD6H,Pointer Dword 6 High"    
hexmask.long 0x34 0.--31. 1. "         POINTER       ,Pointer"
tree.end            
base anc:iobase()    
tree.end
tree "Execution Units"
width 0xa
tree "Polychannel Registers"
group (0x31000)++0x1f
line.quad 0x00 "FFE_CNT,Fetch FIFO Enqueue Counter"
hexmask.quad.long 0x0 0.--31. 1. " FETCH_FIFO_ENQ_COUNT      ,Fetch FIFO Enqueue Counter"
line.quad 0x08 "DF_CNT,Descriptor Finished Counter"
hexmask.quad.long 0x0 0.--31. 1. " DESCRIPTOR_FINISHED_COUNT ,Descriptor Finished Count"
line.quad 0x10 "DI_CNT,Data Bytes In Counter"
line.quad 0x18 "DO_CNT,Data Bytes Out Counter"
tree.end
width 0xa
tree "Controller Registers"
rgroup (0x31000+0x28)++0x07
line.quad 0x00 "EUASR,EU Assignment Status Register"
bitfld.quad 0x00 48.--51. " MDEU            ,Message Digest Execution Unit" "None,Channel 1,Channel 2,Channel 3,Channel 4,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.quad 0x00 40.--43. "     AESU            ,Advanced Encryption Standard Execution Unit" "None,Channel 1,Channel 2,Channel 3,Channel 4,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
textline "                           "
bitfld.quad 0x00 32.--35. " DEU             ,Data Encryption Standard Execution Unit" "None,Channel 1,Channel 2,Channel 3,Channel 4,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.quad 0x00 20.--23. "     CRCU            ,CRC Unit" "None,Channel 1,Channel 2,Channel 3,Channel 4,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
textline "                           "
bitfld.quad 0x00 8.--11. " PKEU            ,Public Key Execution Unit" "None,Channel 1,Channel 2,Channel 3,Channel 4,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.quad 0x00 0.--3. "     RNG             ,One private on-chip Random Number Generator" "None,Channel 1,Channel 2,Channel 3,Channel 4,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
group (0x31000+0x08)++0x07
line.quad 0x00 "IER,Interrupt Enable Register"
bitfld.quad 0x00 53. " DI_CNT          ,Data In Count Rollover Interrupt Enable" "Disabled,Enabled"
bitfld.quad 0x00 52. "      DO_CNT          ,Data Out Count Rollover Interrupt Enable" "Disabled,Enabled"
textline "                           "
bitfld.quad 0x00 48. " ITO             ,Internal Time-out Interrupt Enable" "Disabled,Enabled"
bitfld.quad 0x00 43. "      DO_4            ,Done Overflow Channel 4 Interrupt Enable" "Disabled,Enabled"
textline "                           "
bitfld.quad 0x00 42. " DO_3            ,Done Overflow Channel 3 Interrupt Enable" "Disabled,Enabled"
bitfld.quad 0x00 41. "      DO_2            ,Done Overflow Channel 2 Interrupt Enable" "Disabled,Enabled"
textline "                           "
bitfld.quad 0x00 40. " DO_1            ,Done Overflow Channel 1 Interrupt Enable" "Disabled,Enabled"
bitfld.quad 0x00 39. "      CHN_4_Err       ,Channel 4 Error Interrupt Enable" "Disabled,Enabled"
textline "                           "
bitfld.quad 0x00 38. " CHN_4_Dn        ,Channel 4 Done Interrupt Enable" "Disabled,Enabled"
bitfld.quad 0x00 37. "      CHN_3_Err       ,Channel 3 Error Interrupt Enable" "Disabled,Enabled"
textline "                           "
bitfld.quad 0x00 36. " CHN_3_Dn        ,Channel 3 Done Interrupt Enable" "Disabled,Enabled"
bitfld.quad 0x00 35. "      CHN_2_Err       ,Channel 2 Error Interrupt Enable" "Disabled,Enabled"
textline "                           "
bitfld.quad 0x00 34. " CHN_2_Dn        ,Channel 2 Done Interrupt Enable" "Disabled,Enabled"
bitfld.quad 0x00 33. "      CHN_1_Err       ,Channel 1 Error Interrupt Enable" "Disabled,Enabled"
textline "                           "
bitfld.quad 0x00 32. " CHN_1_Dn        ,Channel 1 Done Interrupt Enable" "Disabled,Enabled"
bitfld.quad 0x00 27. "      CRCU_Err        ,CRC Unit Error Interrupt Enable" "Disabled,Enabled"
textline "                           "
bitfld.quad 0x00 26. " CRCU_1_Dn       ,Channel 1 Done Interrupt Enable" "Disabled,Enabled"
bitfld.quad 0x00 21. "      PKEU_Err        ,Public Key Execution Unit Error Interrupt Enable" "Disabled,Enabled"
textline "                           "
bitfld.quad 0x00 20. " PKEU_Dn         ,Public Key Execution Unit done Interrupt Enable" "Disabled,Enabled"
bitfld.quad 0x00 17. "      RNG_Err         ,One private on-chip Random Number Generator error Interrupt Enable" "Disabled,Enabled"
textline "                           "
bitfld.quad 0x00 16. " RNG_Dn          ,One private on-chip Random Number Generator done Interrupt Enable" "Disabled,Enabled"
bitfld.quad 0x00 9. "      MDEU_Err        ,Message Digest Execution Unit error Interrupt Enable" "Disabled,Enabled"
textline "                           "
bitfld.quad 0x00 8. " MDEU_Dn         ,Message Digest Execution Unit done Interrupt Enable" "Disabled,Enabled"
bitfld.quad 0x00 5. "      AESU_Err        ,Advanced Encryption Standard Execution Unit error Interrupt Enable" "Disabled,Enabled"
textline "                           "
bitfld.quad 0x00 4. " AESU_Dn         ,Advanced Encryption Standard Execution Unit done Interrupt Enable" "Disabled,Enabled"
bitfld.quad 0x00 1. "      DEU_Err         ,Data Encryption Standard Execution Unit error Interrupt Enable" "Disabled,Enabled"
textline "                           "
bitfld.quad 0x00 0. " DEU_Dn          ,Data Encryption Standard Execution Unit done Interrupt Enable" "Disabled,Enabled"
rgroup (0x31000+0x10)++0x07
line.quad 0x00 "ISR,Interrupt Status Register"
bitfld.quad    0x00 53. " DI_CNT          ,Data In Count Rollover" "No interrupt,Interrupt"
bitfld.quad 0x00 52. "  DO_CNT          ,Data Out Count Rollover" "No interrupt,Interrupt"
textline "                           "
bitfld.quad 0x00 48. " ITO             ,Internal Time-out" "No interrupt,Interrupt"
bitfld.quad 0x00 43. "  DO_4            ,Done overflow channel 4" "No interrupt,Interrupt"
textline "                           "
bitfld.quad 0x00 42. " DO_3            ,Done overflow channel 3" "No interrupt,Interrupt"
bitfld.quad 0x00 41. "  DO_2            ,Done overflow channel 2" "No interrupt,Interrupt"
textline "                           "
bitfld.quad 0x00 40. " DO_1            ,Done overflow channel 1" "No interrupt,Interrupt"
bitfld.quad 0x00 39. "  CHN_4_Err       ,Channel 4 error" "No interrupt,Interrupt"
textline "                           "
bitfld.quad 0x00 38. " CHN_4_Dn        ,Channel 4 done" "No interrupt,Interrupt"
bitfld.quad 0x00 37. "  CHN_3_Err       ,Channel 3 error" "No interrupt,Interrupt"
textline "                           "
bitfld.quad 0x00 36. " CHN_3_Dn        ,Channel 3 done" "No interrupt,Interrupt"
bitfld.quad 0x00 35. "  CHN_2_Err       ,Channel 2 error" "No interrupt,Interrupt"
textline "                           "
bitfld.quad 0x00 34. " CHN_2_Dn        ,Channel 2 done" "No interrupt,Interrupt"
bitfld.quad 0x00 33. "  CHN_1_Err       ,Channel 1 error" "No interrupt,Interrupt"
textline "                           "
bitfld.quad 0x00 32. " CHN_1_Dn        ,Channel 1 done" "No interrupt,Interrupt"
bitfld.quad 0x00 27. "  CRCU_Err        ,CRC Unit Error" "No interrupt,Interrupt"
textline "                           "
bitfld.quad 0x00 26. " CRCU_1_Dn       ,Channel 1 Done" "No interrupt,Interrupt"    
bitfld.quad 0x00 21. "  PKEU_Err        ,Public Key Execution Unit error" "No interrupt,Interrupt"
textline "                           "
bitfld.quad 0x00 20. " PKEU_Dn         ,Public Key Execution Unit done" "No interrupt,Interrupt"
bitfld.quad 0x00 17. "  RNG_Err         ,One private on-chip Random Number Generator error" "No interrupt,Interrupt"
textline "                           "
bitfld.quad 0x00 16. " RNG_Dn          ,One private on-chip Random Number Generator done" "No interrupt,Interrupt"
bitfld.quad 0x00 9. "  MDEU_Err        ,Message Digest Execution Unit error" "No interrupt,Interrupt"
textline "                           "
bitfld.quad 0x00 8. " MDEU_Dn         ,Message Digest Execution Unit done" "No interrupt,Interrupt"
bitfld.quad 0x00 5. "  AESU_Err        ,Advanced Encryption Standard Execution Unit error" "No interrupt,Interrupt"
textline "                           "
bitfld.quad 0x00 4. " AESU_Dn         ,Advanced Encryption Standard Execution Unit done" "No interrupt,Interrupt"
bitfld.quad 0x00 1. "  DEU_Err         ,Data Encryption Standard Execution Unit error" "No interrupt,Interrupt"
textline "                           "
bitfld.quad 0x00 0. " DEU_Dn          ,Data Encryption Standard Execution Unit done" "No interrupt,Interrupt"
wgroup (0x31000+0x18)++0x07
line.quad 0x00 "ICR,Interrupt Clear Register"
bitfld.quad 0x00 53. " DI_CNT          ,Data In Count Rollover" "No effect,Cleared"
bitfld.quad 0x00 52. "     DO_CNT          ,Data Out Count Rollover" "No effect,Cleared"
textline "                           "
bitfld.quad 0x00 48. " ITO             ,Internal Time-out" "No effect,Cleared"
bitfld.quad 0x00 43. "     DO_4            ,Done overflow channel 4" "No effect,Cleared"
textline "                           "
bitfld.quad 0x00 42. " DO_3            ,Done overflow channel 3" "No effect,Cleared"
bitfld.quad 0x00 41. "     DO_2            ,Done overflow channel 2" "No effect,Cleared"
textline "                           "
bitfld.quad 0x00 40. " DO_1            ,Done overflow channel 1" "No effect,Cleared"
bitfld.quad 0x00 39. "     CHN_4_Err       ,Channel 4 error" "No effect,Cleared"
textline "                           "
bitfld.quad 0x00 38. " CHN_4_Dn        ,Channel 4 done" "No effect,Cleared"
bitfld.quad 0x00 37. "     CHN_3_Err       ,Channel 3 error" "No effect,Cleared"
textline "                           "
bitfld.quad 0x00 36. " CHN_3_Dn        ,Channel 3 done" "No effect,Cleared"
bitfld.quad 0x00 35. "     CHN_2_Err       ,Channel 2 error" "No effect,Cleared"
textline "                           "
bitfld.quad 0x00 34. " CHN_2_Dn        ,Channel 2 done" "No effect,Cleared"
bitfld.quad 0x00 33. "     CHN_1_Err       ,Channel 1 error" "No effect,Cleared"
textline "                           "
bitfld.quad 0x00 32. " CHN_1_Dn        ,Channel 1 done" "No effect,Cleared"
bitfld.quad 0x00 27. "     CRCU_Err        ,CRC Unit Error" "No effect,Cleared"
textline "                           "
bitfld.quad 0x00 26. " CRCU_1_Dn       ,Channel 1 Done" "No effect,Cleared"
bitfld.quad 0x00 21. "     PKEU_Err        ,Public Key Execution Unit error" "No effect,Cleared"
textline "                           "
bitfld.quad 0x00 20. " PKEU_Dn         ,Public Key Execution Unit done" "No effect,Cleared"
bitfld.quad 0x00 17. "     RNG_Err         ,One private on-chip Random Number Generator error" "No effect,Cleared"
textline "                           "
bitfld.quad 0x00 16. " RNG_Dn          ,One private on-chip Random Number Generator done" "No effect,Cleared"
bitfld.quad 0x00 13. "     AFEU_Err        ,ARC Four Execution Unit error" "No effect,Cleared"
textline "                           "
bitfld.quad 0x00 12. " AFEU_Dn         ,ARC Four Execution Unit done" "No effect,Cleared"
bitfld.quad 0x00 9. "     MDEU_Err        ,Message Digest Execution Unit error" "No effect,Cleared"
textline "                           "
bitfld.quad 0x00 8. " MDEU_Dn         ,Message Digest Execution Unit done" "No effect,Cleared"
bitfld.quad 0x00 1. "     DEU_Err         ,Data Encryption Standard Execution Unit error" "No effect,Cleared"
textline "                           "
bitfld.quad 0x00 0. " DEU_Dn          ,Data Encryption Standard Execution Unit done" "No effect,Cleared"
rgroup (0x31000+0x020)++0x07
line.quad 0x00 "IDR,ID Register"
rgroup (0x31000+0xbf8)++0x07
line.quad 0x00 "IPBRR,IP Block Revision Register"
hexmask.quad.word 0x00 48.--63. 1. " IP_ID           ,IP block identifier"
hexmask.quad.byte 0x00 40.--47. 1. "          IP_MJ           ,IP major revision number" 
textline "                           "
hexmask.quad.byte 0x00 32.--39. 1. " IP_MN           ,IP minor revision number"
hexmask.quad.byte 0x00 16.--23. 1. "            IP_INT          ,IP block integration options"
textline "                           "
hexmask.quad.byte 0x00 0.--7. 1. " IP_CFG          ,IP block configuration options"
group (0x31000+0x30)++0x07
line.quad 0x00 "MCR,Master Control Register"
bitfld.quad 0x00 40.--41. " PRIORITY        ,Priority on Master Bus" "Lowest,Next lowest,Next highest,Highest"
bitfld.quad 0x00 33. "  GIH             ,Global inhibit" "Snoopable,Not snoopable"
textline "                           "
bitfld.quad 0x00 32. " SWR             ,Software reset" "Not reset,Reset"
hexmask.quad.byte 0x00 24.--31. 1. "     CHN3_EU_PR_CNT  ,Channel 3 EU Priority Counter"
textline "                           "
hexmask.quad.byte 0x00 16.--23. 1. " CHN4_EU_PR_CNT  ,Channel 4 EU Priority counter"
hexmask.quad.byte 0x00 8.--15. 1. "            CHN3_BUS_PR_CNT ,Channel 3 Bus Priority Counter"
textline "                           "
hexmask.quad.byte 0x00 0.--7. 1. " CHN4_BUS_PR_CNT ,Channel 4 Bus Priority Counter"
tree.end
width 0xa
tree "Advanced Encryption Standard Execution Unit"
group (0x31000+0x3000)++0x7
line.quad 0x00 "AESUMR,AESU Mode Register"
bitfld.quad 0x00 11.--13. " SCM       ,Sub-cipher-mode" "Reserved,Reserved,2,3,4,5,6,Reserved"
bitfld.quad 0x00 1.--2. 6.--7. "      ECM/CM ,Extended Cipher Mode / Cipher Mode" "ECB,CBC|CBC-RBP,OFB,CTR,Reserved,Reserved,CMAC/CMAC(w/ICV),SRT,CCM,GCM,XCBC-MAC/XCBC-MAC(w/ICV),CFB128,CCM w/ICV,GCM w/ICV,Reserved,XOR"
textline "                           "
bitfld.quad 0x00 5. " AUX2      ,AUX2 mode" "Low,High"
bitfld.quad 0x00 4. "          AUX1   ,AUX1 mode" "Low,High"
textline "                           "
bitfld.quad 0x00 3. " AUX0      ,AUX0 mode" "Low,High"
bitfld.quad 0x00 0. "          ED     ,Encrypt/Decrypt" "Decryption,Encryption"
group (0x31000+0x3008)++0x17
line.quad 0x00 "AESUKSR,AESU Key Size Register"
hexmask.quad.word 0x00 0.--11. 1. " KS        ,Key Size"
line.quad 0x08 "AESUDSR,AESU Data Size Register"
hexmask.quad.long 0x08 0.--18. 1. " Data_Size ,Data Size"
line.quad 0x10 "AESURCR,AESU Reset Control Register"
bitfld.quad 0x10 2. " RI        ,Reset Interrupt" "No reset,Reset"
bitfld.quad 0x10 1. "      MI     ,Module initialization" "No reset,Reset"
bitfld.quad 0x10 0. "                  SR   ,Software reset" "No reset,Reset"
rgroup (0x31000+0x3028)++0x07
line.quad 0x00 "AESUSR,AESU Status Register"
hexmask.quad.byte 0x00 16.--23. 1. " OFL       ,Number of dwords currently in the output FIFO"
hexmask.quad.byte 0x00 8.--15. 1. "            IFL    ,Number of dwords currently in the input FIFO"
bitfld.quad 0x00 5. "                        HALT ,Halt" "Not halted,Halted"
textline "                           "
bitfld.quad 0x00 3.--4. " ICCR      ,Integrity check comparison result" "Not checked,Passed,Failed,Reserved"
bitfld.quad 0x00 2. "   IE     ,Error Interrupt" "No error,Error"
bitfld.quad 0x00 1. "                  ID   ,Interrupt Done" "Not done,Done"
textline "                           "
bitfld.quad 0x00 0. " RD        ,Reset Done" "In progress,Done"
group (0x31000+0x3030)++0x07        
line.quad 0x00 "AESUISR,AESU Interrupt Status Register"
bitfld.quad 0x00 14. " ICE       ,Integrity check error"  "No error,Error"
bitfld.quad 0x00 12. "      IE     ,Internal Error" "No error,Error"
bitfld.quad 0x00 11. "                  ERE  ,Early Read Error" "No error,Error"
textline "                           "
bitfld.quad 0x00 10. " CE        ,Context Error" "No error,Error"
bitfld.quad 0x00 9. "      KSE    ,Key Size Error" "No error,Error"
bitfld.quad 0x00 8. "                  DSE  ,Data Size Error" "No error,Error"
textline "                           "
bitfld.quad 0x00 7. " ME        ,Mode Error" "No error,Error"
bitfld.quad 0x00 6. "      AE     ,Address Error" "No error,Error"
bitfld.quad 0x00 5. "                  OFE  ,Output FIFO Error" "No error,Error"
textline "                           "
bitfld.quad 0x00 4. " IFE       ,Input FIFO Error" "No error,Error"
bitfld.quad 0x00 2. "      IFO    ,Input FIFO Overflow" "No overflow,Overflow"
bitfld.quad 0x00 1. "               OFU  ,Output FIFO Underflow" "No underflow,Underflow"
group (0x31000+0x3038)++0x07
line.quad 0x00 "AESUICR,AESU Interrupt Mask Register"
bitfld.quad 0x00 14. " ICE       ,Integrity Check Error Mask" "Not masked,Masked"
bitfld.quad 0x00 12. "    IE     ,Internal Error Mask" "Not masked,Masked"
bitfld.quad 0x00 11. "                ERE  ,Early Read Error Mask" "Not masked,Masked"
textline "                           "
bitfld.quad 0x00 10. " CE        ,Context Error Mask" "Not masked,Masked"
bitfld.quad 0x00 9. "    KSE    ,Key Size Error Mask" "Not masked,Masked"
bitfld.quad 0x00 8. "                DSE  ,Data Size Error Mask" "Not masked,Masked"
textline "                           "
bitfld.quad 0x00 7. " ME        ,Mode Error Mask" "Not masked,Masked"
bitfld.quad 0x00 6. "    AE     ,Address Error Mask" "Not masked,Masked"
bitfld.quad 0x00 5. "                OFE  ,Output FIFO Error Mask" "Not masked,Masked"
textline "                           "
bitfld.quad 0x00 4. " IFE       ,Input FIFO Error Mask" "Not masked,Masked"
bitfld.quad 0x00 2. "    IFO    ,Input FIFO Overflow Mask" "Not masked,Masked"
bitfld.quad 0x00 1. "                OFU  ,Output FIFO Underflow Mask" "Not masked,Masked"
group (0x31000+0x3040)++0x07
line.quad 0x00 "ICVSR,ICV Size Register"
wgroup (0x31000+0x3050)++0x07
line.quad 0x00 "AESUEMR,AESU End of Message Register"
group (0x31000+0x3100)++0x5f
line.quad 0x00 "AESUCR1,AESU Context Register 1"
line.quad 0x08 "AESUCR2,AESU Context Register 2"
line.quad 0x10 "AESUCR3,AESU Context Register 3"
line.quad 0x18 "AESUCR4,AESU Context Register 4"
line.quad 0x20 "AESUCR5,AESU Context Register 5"
line.quad 0x28 "AESUCR6,AESU Context Register 6"
line.quad 0x30 "AESUCR7,AESU Context Register 7"
line.quad 0x38 "AESUCR8,AESU Context Register 8"
line.quad 0x40 "AESUCR9,AESU Context Register 9"
line.quad 0x48 "AESUCR10,AESU Context Register 10"
line.quad 0x50 "AESUCR11,AESU Context Register 11"
line.quad 0x58 "AESUCR12,AESU Context Register 12"
group (0x31000+0x3400)++0x1f
line.quad 0x00 "AESUKM1,AESU Key Memory Register 1"
line.quad 0x08 "AESUKM2,AESU Key Memory Register 2"
line.quad 0x10 "AESUKM3,AESU Key Memory Register 3"
line.quad 0x18 "AESUKM4,AESU Key Memory Register 4"
wgroup (0x31000+0x3800)++0x07
line.quad 0x00 "AESU_FIFO,AESU FIFO Registers"
button "AESU FIFOs" "d anc:(iobase()+0x34800)--(iobase()+0x34fff) /QUAD"    
tree.end
tree "Cyclical Redundancy Check Unit"
group (0x31000+0xe000)++0x1f
line.quad 0x00 "CRCUMR,CRCU Mode Register"
bitfld.quad 0x00 7. " RAW       ,Raw output" "Swapped,Not swapped"
bitfld.quad 0x00 6. "   CICV   ,ICV (CRC) Check" "Disabled,Enabled"
bitfld.quad 0x00 0.--1. "                  ALG  ,CRC algorithm mode for the CRCU" "IEEE 802,iSCSI,Static,Dynamic"
line.quad 0x08 "CRCUKSR,CRCU Key Size Register"
hexmask.quad.byte 0x08 0.--7. 1. " Key_Size  ,Key Size"
line.quad 0x10 "CRCUDSR,CRCU Data Size Register"
hexmask.quad.byte 0x10 0.--7. 1. " Data_Size ,Data Size"
line.quad 0x18 "CRCURCR,CRCU Reset Control Register"
bitfld.quad 0x18 2. " RI        ,Reset interrupt" "Not reset,Reset"
bitfld.quad 0x18 1. "     MI     ,Module initialization" "Not reset,Reset"
bitfld.quad 0x18 0. "                 SR   ,Software reset" "Not reset,Reset"
rgroup (0x31000+0xe020)++0x0f
line.quad 0x00 "CRCUCR,CRCU Control Register"
line.quad 0x08 "CRCUSR,CRCU Status Register"
hexmask.quad.byte 0x08 8.--14. 1. " IFL       ,Number of dwords currently in the input FIFO"
bitfld.quad 0x08 5. "            HALT   ,CRCU Core Halt" "Not halted,Halted"
bitfld.quad 0x08 3.--4. "                ICCR ,Integrity Check Comparison Result" "Not checked,Passed,Failed,Reserved"
textline "                           "
bitfld.quad 0x08 2. " EI        ,Error Interrupt" "Not signaled,Signaled"
bitfld.quad 0x08 1. "  DI     ,Done interrupt" "Not done,Done"
bitfld.quad 0x08 0. "                  RD   ,Reset done" "In progress,Done"
rgroup (0x31000+0xe030)++0x07
line.quad 0x00 "CRCUISR,CRCU Interrupt Status Register"
bitfld.quad 0x00 14. " ICE       ,Integrity check (CRC) error" "No error,Error"
bitfld.quad 0x00 13. "      PE     ,Polynomial error" "No error,Error"
bitfld.quad 0x00 12. "                  IE   ,Internal error" "No error,Error"
textline "                           "
bitfld.quad 0x00 11. " ERE       ,Early read error" "No error,Error"
bitfld.quad 0x00 10. "      CE     ,Context Error" "No error,Error"
bitfld.quad 0x00 9. "                  KSE  ,Key size error" "No error,Error"
textline "                           "
bitfld.quad 0x00 8. " DSE       ,Data size error" "No error,Error"
bitfld.quad 0x00 7. "      ME     ,Mode error" "No error,Error"
bitfld.quad 0x00 6. "                  AE   ,Address error" "No error,Error"
textline "                           "
bitfld.quad 0x00 2. " IFO       ,Input FIFO overflow" "No overflow,Overflow"
group (0x31000+0xe038)++0x07
line.quad 0x00 "CRCUIMR,CRCU Interrupt Mask Register"
bitfld.quad 0x00 14. " ICE       ,Integrity check error interrupt mask" "Not masked,Masked"
bitfld.quad 0x00 13. "    PE     ,Polynomial error interrupt mask" "Not masked,Masked"
bitfld.quad 0x00 12. "                IE   ,Internal error interrupt mask" "Not masked,Masked"
textline "                           "
bitfld.quad 0x00 11. " ERE       ,Early read error interrupt mask" "Not masked,Masked"
bitfld.quad 0x00 10. "    CE     ,Context error interrupt mask" "Not masked,Masked"
bitfld.quad 0x00 9. "                KSE  ,Key size error interrupt mask" "Not masked,Masked"
textline "                           "
bitfld.quad 0x00 8. " DSE       ,Data size error interrupt mask" "Not masked,Masked"
bitfld.quad 0x00 7. "    ME     ,Mode error interrupt mask" "Not masked,Masked"
bitfld.quad 0x00 6. "                AE   ,Address error interrupt mask" "Not masked,Masked"
textline "                           "
bitfld.quad 0x00 2. " IFO       ,Input FIFO overflow interrupt mask" "Not masked,Masked"
group (0x31000+0xe048)++0x07
line.quad 0x00 "CRCUDO,CRCU Data Out Register"
wgroup (0x31000+0xe050)++0x07
line.quad 0x00 "CRCUEMR,CRCU End of Message Register"
group (0x31000+0xe100)++0xf    
line.quad 0x00 "CRCURI,CRCU Received ICV Register"
line.quad 0x08 "CRCU_CR,CRCU Context Register"
group (0x31000+0xe400)++0x07
line.quad 0x00 "CRCUK,CRCU Key Register"
wgroup (0x31000+0xe800)++0x07
line.quad 0x00 "CRCU_FIFO,CRCU Input FIFO Registers"
button "AESU FIFOs" "d anc:(iobase()+0x3f800)--(iobase()+0x3ffff) /QUAD"    
tree.end
width 0xa
tree "Data Encryption Standard Execution Unit"
group (0x31000+0x1000)++0x1f
line.quad 0x00 "DEUMR,DEU Mode Register"
bitfld.quad 0x00 2.--3. " CM        ,Cipher Mode" "ECB,CBC,CBF-64,OBF-64"
bitfld.quad 0x00 1. "        TS  ,Triple/Single DES" "Single,Triple"
bitfld.quad 0x00 0. "        ED   ,Encrypt/decrypt" "Decryption,Encryption"
line.quad 0x08 "DEUKSR,DEU Key Size Register"
hexmask.quad.word 0x08 0.--11. 1. " Key_Size  ,Key Size"
line.quad 0x10 "DEUDSR,DEU Data Size Register"
hexmask.quad.byte 0x10 0.--11. 1. " Data_Size ,Data Size"
line.quad 0x18 "DEURCR,DEU Reset Control Register"
bitfld.quad 0x18 2. " RI        ,Reset interrupt" "Not reset,Reset"
bitfld.quad 0x18 1. "     MI  ,Module initialization" "Not reset,Reset"
bitfld.quad 0x18 0. "     SR   ,Software reset" "Not reset,Reset"
rgroup (0x31000+0x1028)++0x07
line.quad 0x00 "DEUSR,DEU Status Register"
hexmask.quad.byte 0x00 16.--23. 1. " OFL       ,Number of dwords currently in the output FIFO"
hexmask.quad.byte 0x00 8.--15. 1. "            IFL ,Number of dwords currently in the input FIFO"
bitfld.quad 0x00 5. "            HALT ,DEU Halt" "Not halted,Halted"
textline "                           "
bitfld.quad 0x00 2. " EI        ,Error Interrupt" "Not signaled,Signaled"
bitfld.quad 0x00 1. "  DI  ,Done interrupt" "Not signaled,Signaled"
textline "                           "
bitfld.quad 0x00 0. " RD        ,Reset done" "In progress,Done"
rgroup (0x31000+0x1030)++0x07
line.quad 0x00 "DEUISR,DEU Interrupt Status Register"
bitfld.quad 0x00 13. " KPE       ,Key parity error" "No error,Error"
bitfld.quad 0x00 12. "      IE  ,Internal error" "No error,Error"
bitfld.quad 0x00 11. "      ERE  ,Early read error" "No error,Error"
textline "                           "
bitfld.quad 0x00 10. " CE        ,Context Error" "No error,Error"
bitfld.quad 0x00 9. "      KSE ,Key size error" "No error,Error"
bitfld.quad 0x00 8. "      DSE  ,Data size error" "No error,Error"
textline "                           "
bitfld.quad 0x00 7. " ME        ,Mode error" "No error,Error"
bitfld.quad 0x00 6. "      AE  ,Address error" "No error,Error"
bitfld.quad 0x00 5. "      OFE  ,Output FIFO error" "No error,Error"
textline "                           "
bitfld.quad 0x00 4. " IFE       ,Input FIFO error" "No error,Error"
bitfld.quad 0x00 3. "      IFU ,Input FIFO underflow" "No underflow,Underflow"
bitfld.quad 0x00 2. "  IFO  ,Input FIFO overflow" "No overflow,Overflow"
textline "                           "
bitfld.quad 0x00 1. " OFU       ,Output FIFO underflow" "No underflow,Underflow"
bitfld.quad 0x00 0. "  OFO ,Output FIFO overflow" "No overflow,Overflow"
group (0x31000+0x1038)++0x07
line.quad 0x00 "DEUIMR,DEU Interrupt Mask Register"
bitfld.quad 0x00 13. " KPE       ,Key parity error interrupt mask" "Not masked,Masked"
bitfld.quad 0x00 12. "    IE  ,Internal error interrupt mask" "Not masked,Masked"
bitfld.quad 0x00 11. "    ERE  ,Early read error interrupt mask" "Not masked,Masked"
textline "                           "
bitfld.quad 0x00 10. " CE        ,Context error interrupt mask" "Not masked,Masked"
bitfld.quad 0x00 9. "    KSE ,Key size error interrupt mask" "Not masked,Masked"
bitfld.quad 0x00 8. "    DSE  ,Data size error interrupt mask" "Not masked,Masked"
textline "                           "
bitfld.quad 0x00 7. " ME        ,Mode error interrupt mask" "Not masked,Masked"
bitfld.quad 0x00 6. "    AE  ,Address error interrupt mask" "Not masked,Masked"
bitfld.quad 0x00 5. "    OFE  ,Output FIFO error interrupt mask" "Not masked,Masked"
textline "                           "
bitfld.quad 0x00 4. " IFE       ,Input FIFO error interrupt mask" "Not masked,Masked"
bitfld.quad 0x00 3. "    IFU ,Input FIFO underflow interrupt mask" "Not masked,Masked"
bitfld.quad 0x00 2. "    IFO  ,Input FIFO overflow interrupt mask" "Not masked,Masked"
textline "                           "
bitfld.quad 0x00 1. " OFU       ,Output FIFO underflow interrupt mask" "Not masked,Masked"
bitfld.quad 0x00 0. "    OFO ,Output FIFO overflow interrupt mask" "Not masked,Masked"
wgroup (0x31000+0x1050)++0x07
line.quad 0x00 "DEUEMR,DEU End of Message Register"
group (0x31000+0x1100)++0x07    
line.quad 0x00 "DEU_IV,DEU IV Register"
wgroup (0x31000+0x1400)++0x017
line.quad 0x00 "DEUK1,DEU Key 1 Register"
line.quad 0x08 "DEUK2,DEU Key 2 Register"
line.quad 0x10 "DEUK3,DEU Key 3 Register"
wgroup (0x31000+0x1800)++0x07
line.quad 0x00 "DEU_FIFO,DEU FIFO Registers"
button "DEU FIFOs" "d anc:(iobase()+0x32800)--(iobase()+0x32fff) /QUAD"    
tree.end
tree "Message Digest Execution Unit"
width 0xb
if (((d.q(anc:(iobase()+0x36000)))&0x1200)==0x0000)
; this -> MDEU_B == MDEU_A   AND&& NEW == 0
group.quad (0x36000+0x00)++0xf
line.quad 0x00 "MDEUMR,MDEU Mode Register"
bitfld.quad 0x00 12. " MDEU_B    ,Algorithm" "MDEU-A,MDEU-B"
bitfld.quad 0x00 9. "        NEW  ,Configuration of the MDEU Mode Register" "0,1"
textline "                            "
bitfld.quad 0x00 7. " CONT      ,Do autopadding and complete the message digest" "Enabled,Disabled"
bitfld.quad 0x00 6. "      CICV ,Compare Integrity Check Values" "Not checked,Checked"
bitfld.quad 0x00 5. "  SMAC ,SSL-MAC operation" "Normal,SLL-MAC"
textline "                            "
bitfld.quad 0x00 4. " INIT      ,Initialization Bit" "Disabled,Enabled"
bitfld.quad 0x00 3. "      HMAC ,HMAC operation" "Normal,HMAC"
textline "                            "
bitfld.quad 0x00 2. " PD        ,Opposite to CONT" "0,1"
bitfld.quad 0x00 0.--1. "             ALG  ,Message Digest algorithm selection" "SHA-160,SHA-256,MD5,SHA-224"
elif (((d.q(anc:(iobase()+0x36000)))&0x1200)==0x1000)
; this -> MDEU_B == MDEU_B   AND&& NEW == 0
group.quad (0x36000+0x00)++0xf
line.quad 0x00 "MDEUMR,MDEU Mode Register"
bitfld.quad 0x00 12. " MDEU_B    ,Algorithm" "MDEU-A,MDEU-B"
bitfld.quad 0x00 9. "        NEW  ,Configuration of the MDEU Mode Register" "0,1"
textline "                            "
bitfld.quad 0x00 7. " CONT      ,Do autopadding and complete the message digest" "Enabled,Disabled"
bitfld.quad 0x00 6. "      CICV ,Compare Integrity Check Values" "Not checked,Checked"
bitfld.quad 0x00 5. "  SMAC ,SSL-MAC operation" "Normal,SLL-MAC"
textline "                            "
bitfld.quad 0x00 4. " INIT      ,Initialization Bit" "Disabled,Enabled"
bitfld.quad 0x00 3. "      HMAC ,HMAC operation" "Normal,HMAC"
textline "                            "
bitfld.quad 0x00 2. " PD        ,Opposite to CONT" "0,1"
bitfld.quad 0x00 0.--1. "             ALG  ,Message Digest algorithm selection" "SHA-384,SHA-256,SHA-512,SHA-224"
elif (((d.q(anc:(iobase()+0x36000)))&0x1200)==0x0200)
; this -> MDEU_B == MDEU_A   AND&& NEW == 1
group.quad (0x36000+0x00)++0xf
line.quad 0x00 "MDEUMR,MDEU Mode Register"
bitfld.quad 0x00 12. " MDEU_B    ,Algorithm" "MDEU-A,MDEU-B"
bitfld.quad 0x00 10. "        STIB ,SSL/TLS inbound | block cipher" "Disabled,Enabled"
bitfld.quad 0x00 9. "     NEW  ,Configuration of the MDEU Mode Register" "0,1"
textline "                            "
bitfld.quad 0x00 7. " CONT      ,Do autopadding and complete the message digest" "Enabled,Disabled"
bitfld.quad 0x00 6. "      CICV ,Compare Integrity Check Values" "Disabled,Enabled"
bitfld.quad 0x00 5. "     SMAC ,SSL-MAC operation" "Disabled,Enabled"
textline "                            "
bitfld.quad 0x00 4. " INIT      ,Initialization Bit" "Disabled,Enabled"
bitfld.quad 0x00 3. "      HMAC ,HMAC operation" "Disabled,Enabled"
textline "                            "
bitfld.quad 0x00 0.--1. 2. " ALG/EALG  ,Message Digest algorithm selection" "SHA-160,SHA-256,MD5,SHA-224,Reserved,Reserved,Reserved,Reserved"
else
; this -> MDEU_B  == MDEU_B   AND&& NEW == 1
group.quad (0x36000+0x00)++0xf
line.quad 0x00 "MDEUMR,MDEU Mode Register"
bitfld.quad 0x00 12. " MDEU_B    ,Algorithm" "MDEU-A,MDEU-B"
bitfld.quad 0x00 10. "        STIB ,SSL/TLS inbound | block cipher" "Disabled,Enabled"
bitfld.quad 0x00 9. "     NEW  ,Configuration of the MDEU Mode Register" "0,1"
textline "                            "
bitfld.quad 0x00 7. " CONT      ,Do autopadding and complete the message digest" "Enabled,Disabled"
bitfld.quad 0x00 6. "      CICV ,Compare Integrity Check Values" "Not checked,Checked"
bitfld.quad 0x00 5. "  SMAC ,SSL-MAC operation" "Normal,SLL-MAC"
textline "                            "
bitfld.quad 0x00 4. " INIT      ,Initialization Bit" "Disabled,Enabled"
bitfld.quad 0x00 3. "      HMAC ,HMAC operation" "Normal,HMAC"
textline "                            "
bitfld.quad 0x00 0.--1. 2. " ALG/EALG  ,Message Digest algorithm selection" "SHA-384,SHA-256,SHA-512,SHA-224,Reserved,Reserved,Reserved,Reserved"
endif        
group.quad (0x36000+0x8)++0x17        
line.quad 0x00 "MDEUKSR,MDEU Key Size Register"
hexmask.quad.byte 0x00 0.--7. 1. " Key_Size  ,Key Size"
line.quad 0x08 "MDEUDSR,MDEU Data Size Register"
hexmask.quad.long 0x08 0.--20. 1. " Data_Size ,Data Size"
line.quad 0x10 "MDEURCR,MDEU Reset Control Register"
bitfld.quad 0x10 2. " RI        ,Reset Interrupt" "No reset,Reset"
bitfld.quad 0x10 1. "      MI   ,Module Initialization" "No reset,Reset"
bitfld.quad 0x10 0. "     SR   ,Software reset" "No reset,Reset"
rgroup.quad (0x36000+0x28)++0x07
line.quad 0x0 "MDEUSR,MDEU Status Register"
bitfld.quad 0x0 5. " HALT      ,MDEU Halt" "Not halted,Halted"
bitfld.quad 0x0 3.--4. "    ICCR ,Integrity Check Comparison Result" "Not checked,Passed,Failed,Reserved"
bitfld.quad 0x0 2. "  EI   ,Error Interrupt" "Not signaled,Signaled"
textline "                            "
bitfld.quad 0x0 1. " DI        ,Done interrupt" "Not signaled,Signaled"
bitfld.quad 0x0 0. "  RD   ,Reset done" "In progress,Done"
rgroup.quad (0x36000+0x30)++0x07
line.quad 0x00 "MDEUISR,MDEU Interrupt Status Register"
bitfld.quad 0x00 14. " ICE       ,Integrity check error" "No error,Error"
bitfld.quad 0x00 12. "      IE   ,Internal error" "No error,Error"
bitfld.quad 0x00 11. "     ERE  ,Early read error" "No error,Error"
textline "                            "
bitfld.quad 0x00 10. " CE        ,Context Error" "No error,Error"
bitfld.quad 0x00 9. "      KSE  ,Key size error" "No error,Error"
bitfld.quad 0x00 8. "     DSE  ,Data size error" "No error,Error"
textline "                            "
bitfld.quad 0x00 7. " ME        ,Mode error" "No error,Error"
bitfld.quad 0x00 6. "      AE   ,Address error" "No error,Error"
bitfld.quad 0x00 2. "     IFO  ,Input FIFO overflow" "No overflow,Overflow"
group.quad (0x36000+0x38)++0x07
line.quad 0x00 "MDEUIMR,MDEU Interrupt Mask Register"
bitfld.quad 0x00 14. " ICE       ,Integrity check error interrupt mask" "Not masked,Masked"
bitfld.quad 0x00 12. "    IE   ,Internal error interrupt mask" "Not masked,Masked"
bitfld.quad 0x00 11. "   ERE  ,Early read error interrupt mask" "Not masked,Masked"
textline "                            "
bitfld.quad 0x00 10. " CE        ,Context error interrupt mask" "Not masked,Masked"
bitfld.quad 0x00 9. "    KSE  ,Key size error interrupt mask" "Not masked,Masked"
bitfld.quad 0x00 8. "   DSE  ,Data size error interrupt mask" "Not masked,Masked"
textline "                            "
bitfld.quad 0x00 7. " ME        ,Mode error interrupt mask" "Not masked,Masked"
bitfld.quad 0x00 6. "    AE   ,Address error interrupt mask" "Not masked,Masked"
bitfld.quad 0x00 2. "   IFO  ,Input FIFO overflow interrupt mask" "Not masked,Masked"
group.quad (0x36000+0x40)++0x7
line.quad 0x0 "MDEUICVR,MDEU ICV Size Register"
hexmask.quad.byte 0x0 0.--6. 1. " ICV_Size  ,ICV size"
wgroup.quad (0x36000+0x50)++0x07
line.quad 0x00 "MDEUEMR,MDEU End of Message Register"
group.quad (0x36000+0x100)++0x47
line.quad 0x0 "CONTEXT_1,Context_1 Register"
line.quad 0x8 "CONTEXT_2,Context_2 Register"
line.quad 0x10 "CONTEXT_3,Context_3 Register"
line.quad 0x18 "CONTEXT_4,Context_4 Register"
line.quad 0x20 "CONTEXT_5,Context_5 Register"
line.quad 0x28 "CONTEXT_6,Context_6 Register"
line.quad 0x30 "CONTEXT_7,Context_7 Register"
line.quad 0x38 "CONTEXT_8,Context_8 Register"
line.quad 0x40 "CONTEXT_9,Context_9 Register"
wgroup.quad (0x36000+0x400)++0x07f
line.quad 0x0 "MDEU_KEY0,MDEU Key Data Register_0"
line.quad 0x8 "MDEU_KEY1,MDEU Key Data Register_1"
line.quad 0x10 "MDEU_KEY2,MDEU Key Data Register_2"
line.quad 0x18 "MDEU_KEY3,MDEU Key Data Register_3"
line.quad 0x20 "MDEU_KEY4,MDEU Key Data Register_4"
line.quad 0x28 "MDEU_KEY5,MDEU Key Data Register_5"
line.quad 0x30 "MDEU_KEY6,MDEU Key Data Register_6"
line.quad 0x38 "MDEU_KEY7,MDEU Key Data Register_7"
line.quad 0x40 "MDEU_KEY8,MDEU Key Data Register_8"
line.quad 0x48 "MDEU_KEY9,MDEU Key Data Register_9"
line.quad 0x50 "MDEU_KEY10,MDEU Key Data Register_10"
line.quad 0x58 "MDEU_KEY11,MDEU Key Data Register_11"
line.quad 0x60 "MDEU_KEY12,MDEU Key Data Register_12"
line.quad 0x68 "MDEU_KEY13,MDEU Key Data Register_13"
line.quad 0x70 "MDEU_KEY14,MDEU Key Data Register_14"
line.quad 0x78 "MDEU_KEY15,MDEU Key Data Register_15"
wgroup.quad (0x36000+0x800)++0x07
line.quad 0x00 "MDEU_FIFO,AESU FIFO Registers"
button "MDEU FIFOs" "d anc:(iobase()+0x36800)--(iobase()+0x36fff) /QUAD"    
tree.end
tree "Public Key Execution Units"
width 0xd
group (0x31000+0xb000)++0x1f
line.quad 0x00 "PKEUMR,PKEU Mode Register"
hexmask.quad.byte 0x00 0.--7. 1. " ROUTINE   ,Routine"
line.quad 0x08 "PKEUKSR,PKEU Key Size Register"
hexmask.quad.word 0x08 0.--11. 1. " Key_Size  ,Key Size"
line.quad 0x10 "PKEUDSR,PKEU Data Size Register"
hexmask.quad.word 0x10 0.--11. 1. " Data_Size ,Data Size"
line.quad 0x18 "PKEURCR,PKEU Reset Control Register"
bitfld.quad 0x18 2. " RI        ,Reset Interrupt" "No reset,Reset"
bitfld.quad 0x18 1. "      MI  ,Module Initialization" "No reset,Reset"
bitfld.quad 0x18 0. "      SR   ,Software reset" "No reset,Reset"
rgroup (0x31000+0xb028)++0x07
line.quad 0x0 "PKEUSR,PKEU Status Register"
bitfld.quad 0x0 7. " I         ,Infinity" "Not detected,Detected"
bitfld.quad 0x0 6. "  Z   ,Zero" "Not detected,Detected"
bitfld.quad 0x0 5. "  HALT ,PKEU Halt" "Not halted,Halted"
textline "                              "
bitfld.quad 0x0 2. " EI        ,Error Interrupt" "Not signaled,Signaled"
bitfld.quad 0x0 1. "  DI  ,Done interrupt" "Not signaled,Signaled"
bitfld.quad 0x0 0. "  RD   ,Reset done" "In progress,Done"
rgroup (0x31000+0xb030)++0x07
line.quad 0x00 "PKEUISR,PKEU Interrupt Status Register"
bitfld.quad 0x00 14. " EVM       ,Even modulus error" "No error,Error"
bitfld.quad 0x00 13. "      INV ,Inversion error" "No error,Error"
bitfld.quad 0x00 12. "      IE   ,Internal error" "No error,Error"
textline "                              "
bitfld.quad 0x00 11. " BE        ,Boot Error" "No error,Error"
bitfld.quad 0x00 10. "      CE  ,Context error" "No error,Error"
bitfld.quad 0x00 9. "      KSE  ,Key size error" "No error,Error"
textline "                              "
bitfld.quad 0x00 8. " DSE       ,Data size error" "No error,Error"
bitfld.quad 0x00 7. "      ME  ,Mode error" "No error,Error"
bitfld.quad 0x00 6. "      AE   ,Address error" "No error,Error"
rgroup (0x31000+0xb038)++0x07
line.quad 0x00 "PKEUIMR,PKEU Interrupt Mask Register"
bitfld.quad 0x00 14. " EVM       ,Even modulus error interrupt mask" "Not masked,Masked"
bitfld.quad 0x00 13. "    INV ,Inversion error interrupt mask" "Not masked,Masked"
bitfld.quad 0x00 12. "    IE   ,Internal error interrupt mask" "Not masked,Masked"
textline "                              "
bitfld.quad 0x00 11. " BE        ,Boot error interrupt mask" "Not masked,Masked"
bitfld.quad 0x00 10. "    CE  ,Context error interrupt mask" "Not masked,Masked"
bitfld.quad 0x00 9. "    KSE  ,Key size error interrupt mask" "Not masked,Masked"
textline "                              "
bitfld.quad 0x00 8. " DSE       ,Data size error interrupt mask" "Not masked,Masked"
bitfld.quad 0x00 7. "    ME  ,Mode error interrupt mask" "Not masked,Masked"
bitfld.quad 0x00 6. "    AE   ,Address error interrupt mask" "Not masked,Masked"
group (0x31000+0xb040)++0x7
line.quad 0x0 "PKEUABR,PKEU AB Size Register"
hexmask.quad.word 0x0 0.--11. 1. " AB_Size   ,AB size"
wgroup (0x31000+0xb050)++0x07
line.quad 0x00 "PKEUEMR,PKEU End of Message Register"
group (0x31000+0xb200)++0x07
line.quad 0x00 "PARAMETERA0,PKEU Parameter Memory A0 Registers"
button "PARAMETER A0" "d anc:(iobase()+0x3c200)--(iobase()+0x3c27f) /QUAD"    
group (0x31000+0xb280)++0x07
line.quad 0x00 "PARAMETERA1,PKEU Parameter Memory A1 Registers"
button "PARAMETER A1" "d anc:(iobase()+0x3c280)--(iobase()+0x3c2FF) /QUAD"    
group (0x31000+0xb300)++0x07
line.quad 0x00 "PARAMETERA2,PKEU Parameter Memory A2 Registers"
button "PARAMETER A2" "d anc:(iobase()+0x3c300)--(iobase()+0x3c37F) /QUAD"    
group (0x31000+0xb380)++0x07
line.quad 0x00 "PARAMETERA3,PKEU Parameter Memory A3 Registers"
button "PARAMETER A3" "d anc:(iobase()+0x3c380)--(iobase()+0x3c3FF) /QUAD"    
group (0x31000+0xb400)++0x07
line.quad 0x00 "PARAMETERB0,PKEU Parameter Memory B0 Registers"
button "PARAMETER B0" "d anc:(iobase()+0x3c400)--(iobase()+0x3c47F) /QUAD"    
group (0x31000+0xb480)++0x07
line.quad 0x00 "PARAMETERB1,PKEU Parameter Memory B1 Registers"
button "PARAMETER B1" "d anc:(iobase()+0x3c480)--(iobase()+0x3c4FF) /QUAD"    
group (0x31000+0xb500)++0x07
line.quad 0x00 "PARAMETERB2,PKEU Parameter Memory B2 Registers"
button "PARAMETER B2" "d anc:(iobase()+0x3c500)--(iobase()+0x3c57F) /QUAD"    
group (0x31000+0xb580)++0x07
line.quad 0x00 "PARAMETERB3,PKEU Parameter Memory B3 Registers"
button "PARAMETER B3" "d anc:(iobase()+0x3c580)--(iobase()+0x3c5FF) /QUAD"    
group (0x31000+0xb800)++0x07
line.quad 0x00 "PARAMETERN,PKEU Parameter Memory N Registers"
button "PARAMETER N" "d anc:(iobase()+0x3c800)--(iobase()+0x3c9FF) /QUAD"    
wgroup (0x31000+0xba00)++0x07
line.quad 0x00 "PARAMETERE,PKEU Parameter Memory E Registers"
button "PARAMETER E" "d anc:(iobase()+0x3cA00)--(iobase()+0x3cBFF) /QUAD"    
tree.end
tree "Random Number Generator Unit"
width 0xd
group (0x31000+0x9000)++0x7
line.quad 0x00 "RNGUMR,RNGU Mode Register"
group (0x31000+0x9010)++0xf        
line.quad 0x00 "RNGUDSR,RNGU Data Size Register"
line.quad 0x08 "RNGURCR,RNGU Reset Control Register"
bitfld.quad 0x08 2. " RI  ,Reset Interrupt" "No reset,Reset"
bitfld.quad 0x08 1. "     MI   ,Module Initialization" "No effect,Reinitialized"
bitfld.quad 0x08 0. "  SR ,Software reset" "No reset,Reset"
rgroup (0x31000+0x9028)++0x07
line.quad 0x00 "RNGUSR,RNGU Status Register"
hexmask.quad.byte 0x00 16.--23. 1. " OFL ,Number of dwords currently in the output FIFO"
bitfld.quad 0x00 5. "           HALT ,RNGU Halt" "Not halted,Halted"
bitfld.quad 0x00 2. "     EI ,Error Interrupt" "Not signalled,Signalled"
textline "                              "
bitfld.quad 0x00 0. " RD  ,Reset done" "In progress,Done"
group (0x31000+0x9030)++0x07
line.quad 0x00 "RNGUISR,RNGU Interrupt Status Register"
bitfld.quad 0x00 12. " IE  ,Internal error" "No error,Error"
bitfld.quad 0x00 7. "     ME   ,Mode error" "No error,Error"
textline "                              "
bitfld.quad 0x00 6. " AE  ,Address error" "No error,Error"
bitfld.quad 0x00 1. "     OFU  ,Output FIFO underflow" "No underflow,Underflow"
rgroup (0x31000+0x9038)++0x07
line.quad 0x00 "RNGUIMR,RNGU Interrupt Mask Register"
bitfld.quad 0x00 12. " IE  ,Internal error interrupt mask" "Not masked,Masked"
bitfld.quad 0x00 7. "   ME   ,Mode error interrupt mask" "Not masked,Masked"
textline "                              "
bitfld.quad 0x00 6. " AE  ,Address error interrupt mask" "Not masked,Masked"
bitfld.quad 0x00 1. "   OFU  ,Output FIFO underflow interrupt mask" "Not masked,Masked"
wgroup (0x31000+0x9050)++0x07
line.quad 0x00 "RNGUEMR,RNGU End of Message Register"
wgroup (0x31000+0x9400)++0x07
line.quad 0x00 "RNGU_ENTROPY,RNGU Entropy Registers"
button "RNGU ENTROPY" "d anc:(iobase()+0x3a400)--(iobase()+0x3A43F) /QUAD"    
rgroup (0x31000+0x9800)++0x07
line.quad 0x00 "RNGU_FIFO,AESU FIFO Registers"
button "RNGU FIFOs" "d anc:(iobase()+0x3A800)--(iobase()+0x3AFFF) /QUAD"    
tree.end

tree.end
tree.end    
endif    
tree "eTSEC (Enhanced Three-Speed Ethernet Controllers)"
tree "eTSEC1"
tree "eTSEC1 General Control and Status Registers"
width 10.
rgroup.long 0x24000++0x7
line.long 0x00 "TSEC_ID1,Controller ID Register"
hexmask.long.word 0x00 16.--31. 1. " TSEC_ID     ,eTSEC ID"
hexmask.long.byte 0x00  8.--15. 1. "                TSEC_REV_MJ ,Major revision of the eTSEC"
textline "                   "
hexmask.long.byte 0x00  0.--7.  1. " TSEC_REV_MN ,Minor revision of the eTSEC"
line.long 0x04 "TSEC_ID2,Controller ID Register"
bitfld.long 0x04 21. " TSEC_INT5   ,Ethernet mode supported" "-,Supported"
sif (CPU()!="MPC8308")
bitfld.long 0x04 20. " TSEC_INT4   ,FIFO mode support" "-,Supported"
endif
textline "                   "
bitfld.long 0x04 17. " TSEC_INT1   ,Ethernet normal/full mode off" "-,Off"
textline "                   "
bitfld.long 0x04 16. " TSEC_INT0   ,Ethernet reduced mode off" "-,Off"
hexmask.long.byte 0x04  0.--7.  1. "                 TSEC_CFG    ,Configuration options of the eTSEC"
group.long (0x24000+0x10)++0x0b
line.long 0x00 "IEVENT,Interrupt Event Register"
eventfld.long 0x00 31. " BABR        ,Babbling receive error" "-,Received"
eventfld.long 0x00 30. "            RXC         ,Receive control interrupt" "-,Received"
textline "                   "
eventfld.long 0x00 29. " BSY         ,Busy condition interrupt" "-,Received"
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315")&&(CPU()!="MPC8308"))
textline "                   "
eventfld.long 0x00 28. " EBERR       ,Ethernet bus error" "-,Error"
textline "                   "
eventfld.long 0x00 26. " MSRO        ,MSTAT Register Overflow" "-,Overflow"
else
eventfld.long 0x00 28. " EBERR       ,Internal bus error" "-,Error"
textline "                   "
eventfld.long 0x00 26. " MSRO        ,MIB Counter Overflow" "-,Overflow"
endif
eventfld.long 0x00 25. " GTSC        ,Graceful transmit stop complete" "-,Completed"
textline "                   "
eventfld.long 0x00 24. " BABT        ,Babbling transmit error" "-,Error"
eventfld.long 0x00 23. "               TXC         ,Transmit control interrupt" "-,Interrupt"
textline "                   "
eventfld.long 0x00 22. " TXE         ,Transmit error" "-,Error"
eventfld.long 0x00 21. "               TXB         ,Transmit buffer" "-,Updated"
textline "                   "
eventfld.long 0x00 20. " TXF         ,Transmit frame interrupt" "-,Interrupt"
eventfld.long 0x00 18. "           LC          ,Late collision" "-,Occurred"
textline "                   "
eventfld.long 0x00 17. " CRL         ,Collision retry limit" "-,Occurred"
eventfld.long 0x00 16. "            XFUN        ,Transmit FIFO underrun" "-,Underrun"
textline "                   "
eventfld.long 0x00 15. " RXB         ,Receive buffer" "-,Updated"
sif (CPU()!="MPC8308")
eventfld.long 0x00 11. " MAG         ,Magic Packet detected" "-,Detected"
endif
textline "                   "
eventfld.long 0x00 10. " MMRD        ,MII management read completion" "-,Completed"
eventfld.long 0x00 9. "           MMWR        ,MII management write completion" "-,Completed"
textline "                   "
eventfld.long 0x00 8. " GRSC        ,Graceful receive stop complete" "-,Completed"
eventfld.long 0x00 7. "           RXF         ,Receive frame interrupt" "-,Received"
textline "                   "
sif (CPU()=="MPC8308")
eventfld.long 0x00 4. " FGPI        ,Filer generated general purpose interrupt on a set of filer rule match"  "-,Occurred"
textline "                   "
endif
eventfld.long 0x00 3. " FIR         ,Receive queue filer result is invalid"  "-,Error"
eventfld.long 0x00 2. "               FIQ         ,Filed frame to invalid receive queue" "-,Error"
textline "                   "
eventfld.long 0x00 1. " DPE         ,Internal data parity error" "-,Error"
eventfld.long 0x00 0. "               PERR        ,Receive frame parse error for TCP/IP off-load" "-,Error"
line.long 0x04 "IMASK,Interrupt Mask Register"
bitfld.long 0x04 31. " BREN        ,Babbling receiver interrupt enable" "-,Enabled"
bitfld.long 0x04 30. "             RXCEN       ,Receive control interrupt enable" "-,Enabled"
textline "                   "
bitfld.long 0x04 29. " BSYEN       ,Busy interrupt enable" "-,Enabled"
bitfld.long 0x04 28. "             EBERREN     ,Ethernet controller bus error enable" "-,Enabled"
textline "                   "
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315")&&(CPU()!="MPC8308"))
bitfld.long 0x04 26. " MSROEN      ,MSTAT register overflow interrupt enable" "-,Enabled"
else
bitfld.long 0x04 26. " MSROEN      ,MIB counter overflow interrupt enable" "-,Enabled"
endif
bitfld.long 0x04 25. " GTSCEN      ,Graceful transmit stop complete interrupt enable" "-,Enabled"
textline "                   "
bitfld.long 0x04 24. " BTEN        ,Babbling transmitter interrupt enable" "-,Enabled"
bitfld.long 0x04 23. "             TXCEN       ,Transmit control interrupt enable" "-,Enabled"
textline "                   "
bitfld.long 0x04 22. " TXEEN       ,Transmit error interrupt enable" "-,Enabled"
bitfld.long 0x04 21. "             TXBEN       ,Transmit buffer interrupt enable" "-,Enabled"
textline "                   "
bitfld.long 0x04 20. " TXFEN       ,Transmit frame interrupt enable" "-,Enabled"
bitfld.long 0x04 18. "             LCEN        ,Late collision enable" "-,Enabled"
textline "                   "
bitfld.long 0x04 17. " CRLEN       ,Collision retry limit enable" "-,Enabled"
bitfld.long 0x04 16. "             XFUNEN      ,Transmit FIFO underrun enable" "-,Enabled"
textline "                   "
bitfld.long 0x04 15. " RXBEN       ,Receive buffer interrupt enable" "-,Enabled"
sif (CPU()!="MPC8308")
bitfld.long 0x04 11. " MAGEN       ,Magic Packet detected enable" "-,Enabled"
endif
textline "                   "
bitfld.long 0x04 10. " MMRDEN      ,MII management read completion enable" "-,Enabled"
bitfld.long 0x04 9. "             MMWREN      ,MII management write completion enable" "-,Enabled"
textline "                   "
bitfld.long 0x04 8. " GRSCEN      ,Graceful receive stop complete interrupt enable" "-,Enabled"
bitfld.long 0x04 7. "             RXFEN       ,Receive frame interrupt enable" "-,Enabled"
textline "                   "
sif (CPU()=="MPC8308")
bitfld.long 0x04 4. " FGPIEN      ,Filer general purpose interrupt enable" "-,Enabled"
textline "                   "
endif
bitfld.long 0x04 3. " FIREN       ,Filer invalid result interrupt enable" "-,Enabled"
bitfld.long 0x04 2. "             FIQEN       ,Filed frame to invalid queue interrupt enable" "-,Enabled"
textline "                   "
bitfld.long 0x04 1. " DPEEN       ,Data parity error interrupt enable" "-,Enabled"
bitfld.long 0x04 0. "             PERREN      ,Receive frame parse error enable" "-,Enabled"
line.long 0x08 "EDIS,Error Disabled Register"
bitfld.long 0x08 29. " BSYDIS      ,Busy disable" "-,Disabled"
bitfld.long 0x08 28. "            EBERRDIS    ,Ethernet controller bus error disable" "-,Disabled"
textline "                   "
bitfld.long 0x08 24. " BARTDIS     ,Babbling transmit error disable" "-,Disabled"
bitfld.long 0x08 22. "            TXEDIS      ,Transmit error disable" "-,Disabled"
textline "                   "
bitfld.long 0x08 18. " LCDIS       ,Late collision disable" "-,Disabled"
bitfld.long 0x08 17. "            CRLDIS      ,Collision retry limit excessive defer abort disable" "-,Disabled"
textline "                   "
bitfld.long 0x08 16. " XFUNDIS     ,Transmit FIFO underrun disable" "-,Disabled"
bitfld.long 0x08  3. "            FIRDIS      ,Filer invalid result error disable" "-,Disabled"
textline "                   "
bitfld.long 0x08  2. " FIQDIS      ,Filed frame to invalid queue error disable" "-,Disabled"
bitfld.long 0x08  1. "            DPEDIS      ,Data parity error disable" "-,Disabled"
textline "                   "
bitfld.long 0x08  0. " PERRDIS     ,Receive frame parse error disable" "-,Disabled"
group.long (0x24000+0x20)++0x3
line.long 0x00 "ECNTRL,Ethernet Control Register"
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315")&&(CPU()!="MPC8308"))
bitfld.long 0x00 14. " CLRCNT      ,Clear all statistics counters" "-,Cleared"
bitfld.long 0x00 13. "             AUTOZ       ,Automatically zero addressed statistical counter values input to MSTAT module" "Cleared by user,Cleared by host read"
textline "                   "
bitfld.long 0x00 12. " STEN        ,Statistics enabled input to MSTAT module" "-,Enabled"
bitfld.long 0x00 6. "             GMII        ,GMII interface mode" "-,Enabled"
textline "                   "
bitfld.long 0x00 5. " TBIM        ,Ten-bit interface mode" "GMII or MII,TBI"
bitfld.long 0x00 4. "         RPM         ,Reduced signal mode" "GMII or TBI,RGMII or RTBI"
textline "                   "
bitfld.long 0x00 3. " R100M       ,RGMII 100 mode" "10 Mbps,100 Mbps"
bitfld.long 0x00 2. "            RMM         ,Reduced-pin mode for 10/100 interfaces" "-,Enabled"
textline "                   "
bitfld.long 0x00 1. " SGMIIM      ,Serial GMII mode" "-,Enabled"
elif ((CPU()!="MPC8314")&&(CPU()!="MPC8315"))
bitfld.long 0x00 14. " CLRCNT      ,Clear all statistics counters" "-,Cleared"
bitfld.long 0x00 13. "             AUTOZ       ,Automatically zero MIB counter values" "Cleared by user,Cleared by host read"
textline "                   "
bitfld.long 0x00 12. " STEN        ,MIB counter statistics enabled" "-,Enabled"
rbitfld.long 0x00 6. "             GMII        ,GMII interface mode" "MII/RMII,RGMII"
textline "                   "
rbitfld.long 0x00 4. " RPM         ,Reduced-pin mode for Gigabit interfaces" "MII,RGMII/RTBI"
bitfld.long 0x00 3. "          R100M       ,RGMII/RMII 100 mode" "10 Mbps,100 Mbps"
elif (CPU()!="MPC8308")
bitfld.long 0x00 14. " CLRCNT      ,Clear all statistics counters" "-,Cleared"
bitfld.long 0x00 13. "             AUTOZ       ,Automatically zero MIB counter values" "Cleared by user,Cleared by host read"
textline "                   "
bitfld.long 0x00 12. " STEN        ,MIB counter statistics enabled" "-,Enabled"
bitfld.long 0x00 6. "             GMII        ,GMII interface mode" "MII/RMII,RGMII"
textline "                   "
bitfld.long 0x00 4. " RPM         ,Reduced-pin mode for Gigabit interfaces" "MII,RGMII/RTBI"
bitfld.long 0x00 3. "          R100M       ,RGMII/RMII 100 mode" "10 Mbps,100 Mbps"
textline "                   "
bitfld.long 0x00 2. " RMM         ,Reduced-pin mode for 10/100 interfaces" "MII/RGMII/RTBI,RMII"
bitfld.long 0x00 1. "      SGMIIM      ,Serial GMII mode" "-,Enabled"
else
bitfld.long 0x00 14. " CLRCNT      ,Clear all statistics counters" "-,Cleared"
bitfld.long 0x00 13. "             AUTOZ       ,Automatically zero MIB counter values" "Cleared by user,Cleared by host read"
textline "                   "
bitfld.long 0x00 12. " STEN        ,MIB counter statistics enabled" "-,Enabled"
rbitfld.long 0x00 6. "             GMII        ,GMII interface mode" "MII/RMII,RGMII"
textline "                   "
rbitfld.long 0x00 4. " RPM         ,Reduced-pin mode for Gigabit interfaces" "MII,RGMII/RTBI"
bitfld.long 0x00 3. "          R100M       ,RGMII/RMII 100 mode" "10 Mbps,100 Mbps"
endif
group.long (0x24000+0x28)++0x7
line.long 0x00 "PTV,Pause Time Value Register"
hexmask.long.word 0x00 16.--31. 1. " PTE         ,Extended pause control"
hexmask.long.word 0x00 0.--15. 1. "                PT          ,Pause time value"
line.long 0x04 "DMACTRL,DMA Control Register"
bitfld.long 0x04 15. " LE          ,Little-endian descriptor mode enable" "Big,Little"
bitfld.long 0x04 7. "              TDSEN       ,Tx Data snoop enable" "-,Enabled"
textline "                   "
bitfld.long 0x04 6. " TBDSEN      ,TxBD snoop enable" "-,Enabled"
bitfld.long 0x04 4. "             GRS         ,Graceful receive stop" "Scan,Stop"
textline "                   "
bitfld.long 0x04 3. " GTS         ,Graceful transmit stop" "Transmition,Stop"
bitfld.long 0x04 2. "         TOD         ,Transmit on demand for TxBD ring 0" "-,Enabled"
textline "                   "
bitfld.long 0x04 1. " WWR         ,Write with response" "No acknowledgement,Acknowledgement"
bitfld.long 0x04 0. "  WOP         ,Wait or poll" "Poll,Wait"        
sif ((CPU()=="MPC8313")||(CPU()=="MPC8308"))
group.long (0x24000+0x30)++0x3       
line.long 0x00 "TBIPA,TBI Physical Address Register"
hexmask.long.byte 0x00 0.--4. 1. " TBIPA       ,This field is used to program the PHY address of the ten-bit interface's MII management bus"
endif
width 0xb
tree.end
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315")&&(CPU()!="MPC8308"))
tree "eTSEC1 FIFO Control and Status Registers"
width 24.
group.long (0x24000+0x58)++0x7
line.long 0x00 "FIFO_RX_ALARM,FIFO Receive Alarm Start Threshold Register"
hexmask.long.byte 0x00 0.--7. 1. " ALARM_START            ,FIFO receive alarm threshold"
line.long 0x04 "FIFO_RX_ALARM_SHUTOFF,FIFO Receive Alarm Shut-off Threshold Register"
hexmask.long.byte 0x04 0.--7. 1. " ALARM_SHUTOFF          ,FIFO receive alarm shutoff"
group.long (0x24000+0x8c)++0x3
line.long 0x00 "FIFO_TX_THR,FIFO Transmit Threshold Register"
hexmask.long.word 0x00 0.--8. 1. " FIFO_TX_THR            ,FIFO transmit threshold"
group.long (0x24000+0x98)++0x7
line.long 0x00 "FIFO_TX_STARVE,FIFO Transmit Starve Register"
hexmask.long.word 0x00 0.--8. 1. " FIFO_TX_STARVE         ,FIFO transmit starve"
line.long 0x04 "FIFO_TX_STARVE_SHUTOFF,FIFO Transmit Starve Shutoff Register"
hexmask.long.word 0x04 0.--8. 1. " FIFO_TX_STARVE_SHUTOFF ,FIFO transmit starve shutoff"
width 0xb
tree.end
endif
tree "eTSEC1 Transmit Control and Status Registers"
width 14.
group.long (0x24000+0x100)++0x0b
line.long 0x00 "TCTRL,Transmit Control Register"
bitfld.long 0x00 14. " IPCSEN    ,IP header checksum generation enable" "-,Enabled"
bitfld.long 0x00 13. "                        TUCSEN    ,TCP/UDP header checksum generation enable" "-,Enabled"
textline "                       "
bitfld.long 0x00 12. " VLINS     ,VLAN tag insertion enable" "-,Enabled"
bitfld.long 0x00 11. "                        THDF      ,Transmit half-duplex flow control" "Disabled,Back pressure"
textline "                       "
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315")&&(CPU()!="MPC8308"))
bitfld.long 0x00 4. " RFC_PAUSE ,Receive flow control pause frame" "Complete,In progress"
bitfld.long 0x00 3. "                    TFC_PAUSE ,Transmit flow control pause frame" "-,Requested"
else
rbitfld.long 0x00 4. " RFC_PAUSE ,Receive flow control pause frame" "Complete,Received"
bitfld.long 0x00 3. "                       TFC_PAUSE ,Transmit flow control pause frame" "-,Transmitted"
endif        
textline "                       "
bitfld.long 0x00 1.--2. " TXSCHED   ,Transmit ring scheduling algorithm" "Single polled ring,Priority schedulling,Modified weighted round-robin,"
line.long 0x04 "TSTAT,Transmit Status Register"
eventfld.long 0x04 31. " THLT0     ,Transmit halt of ring 0" "-,Halted"
eventfld.long 0x04 30. "                         THLT1     ,Transmit halt of ring 1" "-,Halted"
textline "                       "
eventfld.long 0x04 29. " THLT2     ,Transmit halt of ring 2" "-,Halted"
eventfld.long 0x04 28. "                         THLT3     ,Transmit halt of ring 3" "-,Halted"
textline "                       "
eventfld.long 0x04 27. " THLT4     ,Transmit halt of ring 4" "-,Halted"
eventfld.long 0x04 26. "                         THLT5     ,Transmit halt of ring 5" "-,Halted"
textline "                       "
eventfld.long 0x04 25. " THLT6     ,Transmit halt of ring 6" "-,Halted"
eventfld.long 0x04 24. "                         THLT7     ,Transmit halt of ring 7" "-,Halted"
textline "                       "
eventfld.long 0x04 15. " TXF0      ,Transmit frame event occurred on ring 0" "-,Occurred"
eventfld.long 0x04 14. "                       TXF1      ,Transmit frame event occurred on ring 1" "-,Occurred"
textline "                       "
eventfld.long 0x04 13. " TXF2      ,Transmit frame event occurred on ring 2" "-,Occurred"
eventfld.long 0x04 12. "                       TXF3      ,Transmit frame event occurred on ring 3" "-,Occurred"
textline "                       "
eventfld.long 0x04 11. " TXF4      ,Transmit frame event occurred on ring 4" "-,Occurred"
eventfld.long 0x04 10. "                       TXF5      ,Transmit frame event occurred on ring 5" "-,Occurred"
textline "                       "
eventfld.long 0x04  9. " TXF6      ,Transmit frame event occurred on ring 6" "-,Occurred"
eventfld.long 0x04  8. "                       TXF7      ,Transmit frame event occurred on ring 7" "-,Occurred"
line.long 0x08 "DFVLAN,Default VLAN Control Word Register"
hexmask.long.word 0x08 16.--31. 1. " TAG       ,Default Ethertype used to tag VLAN frames"
bitfld.long 0x08 13.--15. "                           PRI       ,Default value used for the IEEE Std. 802.1p frame priority" "0,1,2,3,4,5,6,7"
textline "                       "
bitfld.long 0x08 12. " CFI       ,Default value used for the IEEE Std. 802.1Q canonical format indicator" "0,1"
hexmask.long.word 0x08 0.--11. 1. "                              VID       ,Default value used for the virtual-LAN identifier in VLAN-tagged frames"
group.long ((0x24000+0x100)+0x10)++0x07
line.long 0x00 "TXIC,Transmit Interrupt Coalescing Configuration Register"
bitfld.long 0x00 31. " ICEN      ,Interrupt coalescing enable" "-,Enabled"
bitfld.long 0x00 30. "                        ICCS      ,Interrupt coalescing timer clock source" "Interface,System"
textline "                       "
hexmask.long.byte 0x00 21.--28. 1. " ICFT      ,Interrupt coalescing frame count threshold"
hexmask.long.word 0x00 0.--15. 1. "                             ICTT      ,Interrupt coalescing timer threshold"
line.long 0x04 "TQUEUE,Transmit Queue Control Register"
bitfld.long 0x04 15. " EN0       ,Transmit queue 0 enable" "-,Enabled"
bitfld.long 0x04 14. "                        EN1       ,Transmit queue 1 enable" "-,Enabled"
textline "                       "
bitfld.long 0x04 13. " EN2       ,Transmit queue 2 enable" "-,Enabled"
bitfld.long 0x04 12. "                        EN3       ,Transmit queue 3 enable" "-,Enabled"
textline "                       "
bitfld.long 0x04 11. " EN4       ,Transmit queue 4 enable" "-,Enabled"
bitfld.long 0x04 10. "                        EN5       ,Transmit queue 5 enable" "-,Enabled"
textline "                       "
bitfld.long 0x04  9. " EN6       ,Transmit queue 6 enable" "-,Enabled"
bitfld.long 0x04  8. "                        EN7       ,Transmit queue 7 enable" "-,Enabled"
group.long ((0x24000+0x100)+0x40)++0x7
line.long 0x00 "TR03WT,TxBD Ring 0-3 Weighting Register"
hexmask.long.byte 0x00 24.--31. 1. " WT0       ,Weighting value for TxBD ring 0"
hexmask.long.byte 0x00 16.--23. 1. "                             WT1       ,Weighting value for TxBD ring 1"
textline "                       "
hexmask.long.byte 0x00  8.--15. 1. " WT2       ,Weighting value for TxBD ring 2"
hexmask.long.byte 0x00  0.--7.  1. "                             WT3       ,Weighting value for TxBD ring 3"
line.long 0x04 "TR47WT,TxBD Ring 4-7 Weighting Register"
hexmask.long.byte 0x04 24.--31. 1. " WT4       ,Weighting value for TxBD ring 4"
hexmask.long.byte 0x04 16.--23. 1. "                             WT5       ,Weighting value for TxBD ring 5"
textline "                       "
hexmask.long.byte 0x04  8.--15. 1. " WT6       ,Weighting value for TxBD ring 6"
hexmask.long.byte 0x04  0.--7.  1. "                             WT7       ,Weighting value for TxBD ring 7"
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315")&&(CPU()!="MPC8308"))
group.long ((0x24000+0x100)+0x80)++0x3
line.long 0x00 "TBDBPH,Transmit Data Buffer Pointer High Register"
bitfld.long 0x00 0.--3. " TBDBPH    ,Transmit data buffer pointer high" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
endif
group.long ((0x24000+0x100)+0x84)++0x03
line.long 0x00 "TBPTR0,Transmit Buffer Descriptor Pointer 0"
hexmask.long 0x00 3.--31. 0x8 " TBPTR0    ,Current TxBD pointer for TxBD ring 0"
group.long ((0x24000+0x100)+0x8c)++0x3
line.long 0x00 "TBPTR1,Transmit Buffer Descriptor Pointer 1"
hexmask.long 0x00 3.--31. 0x8 " TBPTR1    ,Current TxBD pointer for TxBD ring 1"
group.long ((0x24000+0x100)+0x94)++0x3
line.long 0x00 "TBPTR2,Transmit Buffer Descriptor Pointer 2"
hexmask.long 0x00 3.--31. 0x8 " TBPTR2    ,Current TxBD pointer for TxBD ring 2"
group.long ((0x24000+0x100)+0x9c)++0x3
line.long 0x00 "TBPTR3,Transmit Buffer Descriptor Pointer 3"
hexmask.long 0x00 3.--31. 0x8 " TBPTR3    ,Current TxBD pointer for TxBD ring 3"
group.long ((0x24000+0x100)+0xa4)++0x3
line.long 0x00 "TBPTR4,Transmit Buffer Descriptor Pointer 4"
hexmask.long 0x00 3.--31. 0x8 " TBPTR4    ,Current TxBD pointer for TxBD ring 4"
group.long ((0x24000+0x100)+0xac)++0x3
line.long 0x00 "TBPTR5,Transmit Buffer Descriptor Pointer 5"
hexmask.long 0x00 3.--31. 0x8 " TBPTR5    ,Current TxBD pointer for TxBD ring 5"
group.long ((0x24000+0x100)+0xb4)++0x3
line.long 0x00 "TBPTR6,Transmit Buffer Descriptor Pointer 6"
hexmask.long 0x00 3.--31. 0x8 " TBPTR6    ,Current TxBD pointer for TxBD ring 6"
group.long ((0x24000+0x100)+0xbc)++0x3
line.long 0x00 "TBPTR7,Transmit Buffer Descriptor Pointer 7"
hexmask.long 0x00 3.--31. 0x8 " TBPTR7    ,Current TxBD pointer for TxBD ring 7"
sif (CPU()!="MPC8308")
group.long ((0x24000+0x100)+0x100)++0x03
line.long 0x00 "TBASE,Transmit Descriptor Base Address Register"
hexmask.long.byte 0x00 0.--3. 1. " TBASEH    ,Most significant bits common to all TxBD addresses"
endif
group.long ((0x24000+0x100)+0x104)++0x3
line.long 0x00 "TBASE0,Transmit Descriptor Base Address Register 0"
hexmask.long 0x00 3.--31. 0x8 " TBASE0    ,Transmit base address for ring 0"
group.long ((0x24000+0x100)+0x10c)++0x3
line.long 0x00 "TBASE1,Transmit Descriptor Base Address Register 1"
hexmask.long 0x00 3.--31. 0x8 " TBASE1    ,Transmit base address for ring 1"
group.long ((0x24000+0x100)+0x114)++0x3
line.long 0x00 "TBASE2,Transmit Descriptor Base Address Register 2"
hexmask.long 0x00 3.--31. 0x8 " TBASE2    ,Transmit base address for ring 2"
group.long ((0x24000+0x100)+0x11c)++0x3
line.long 0x00 "TBASE3,Transmit Descriptor Base Address Register 3"
hexmask.long 0x00 3.--31. 0x8 " TBASE3    ,Transmit base address for ring 3"
group.long ((0x24000+0x100)+0x124)++0x3
line.long 0x00 "TBASE4,Transmit Descriptor Base Address Register 4"
hexmask.long 0x00 3.--31. 0x8 " TBASE4    ,Transmit base address for ring 4"
group.long ((0x24000+0x100)+0x12c)++0x3
line.long 0x00 "TBASE5,Transmit Descriptor Base Address Register 5"
hexmask.long 0x00 3.--31. 0x8 " TBASE5    ,Transmit base address for ring 5"
group.long ((0x24000+0x100)+0x134)++0x3
line.long 0x00 "TBASE6,Transmit Descriptor Base Address Register 6"
hexmask.long 0x00 3.--31. 0x8 " TBASE6    ,Transmit base address for ring 6"
group.long ((0x24000+0x100)+0x13c)++0x3
line.long 0x00 "TBASE7,Transmit Descriptor Base Address Register 7"
hexmask.long 0x00 3.--31. 0x8 " TBASE7    ,Transmit base address for ring 7"
rgroup.long ((0x24000+0x100)+0x180)++0x7
line.long 0x00 "TMR_TXTS1_ID,Transmit Time Stamp Identification Register"
hexmask.long.word 0x00 0.--15. 1. " TXTS_ID   ,Tx time stamp identification field"
line.long 0x04 "TMR_TXTS2_ID,Transmit Time Stamp Identification Register"
hexmask.long.word 0x04 0.--15. 1. " TXTS_ID   ,Tx time stamp identification field"
sif (CPU()=="MPC8308")
rgroup.long ((0x24000+0x100)+0x1c0)++0xf
line.long 0x00 "TMR_TXTS1_H,Transmit Time Stamp Register 1 High"
line.long 0x04 "TMR_TXTS1_L,Transmit Time Stamp Register 1 Low"
line.long 0x08 "TMR_TXTS2_H,Transmit Time Stamp Register 2 High"
line.long 0x0c "TMR_TXTS2_L,Transmit Time Stamp Register 2 Low"
else
group.long ((0x24000+0x100)+0x1c0)++0xf
line.long 0x00 "TMR_TXTS1_H,Transmit Time Stamp Register 1 High"
line.long 0x04 "TMR_TXTS1_L,Transmit Time Stamp Register 1 Low"
line.long 0x08 "TMR_TXTS2_H,Transmit Time Stamp Register 2 High"
line.long 0x0c "TMR_TXTS2_L,Transmit Time Stamp Register 2 Low"
endif
width 0xb
tree.end
tree "eTSEC1 Receive Control and Status Registers"
width 12.
group.long (0x24000+0x300)++0x07
line.long 0x00 "RCTRL,Receive Control Register"
bitfld.long 0x00 24. " TS     ,Time stamp incoming packets as padding bytes" "-,Occurred"
bitfld.long 0x00 16.--20. "     PAL      ,Packet alignment padding length" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
textline "                     "
bitfld.long 0x00 14. " LFC    ,Lossless flow control" "-,Enabled"
textline "                     "
bitfld.long 0x00 13. " VLEX   ,Automatic VLAN tag extraction and deletion from Ethernet frames enable" "-,Enabled"
bitfld.long 0x00 12. "      FILREN   ,Filter enable" "-,Enabled"
textline "                     "
bitfld.long 0x00 11. " FSQEN  ,Single-queue mode for the receive frame filer enable" "-,Enabled"
bitfld.long 0x00 10. "      GHTX     ,Group address hash table extend" "-,Extended"
textline "                     "
bitfld.long 0x00 9. " IPCSEN ,IP Checksum verification enable" "-,Enabled"
bitfld.long 0x00 8. "      TUCSEN   ,TCP or UDP Checksum verification enable" "-,Enabled"
textline "                     "
bitfld.long 0x00 6.--7. " PRSDEP ,Parser Control" "-,Ethernet,IP,TCP/UDP"
bitfld.long 0x00 4. "     BC_REJ   ,Broadcast frame reject" "-,Rejected"
textline "                     "
bitfld.long 0x00 3. " PROM   ,Promiscuous mode" "-,Enabled"
bitfld.long 0x00 2. "      RSF      ,Receive short frame mode" "-,Enabled"
textline "                     "
bitfld.long 0x00 1. " EMEN   ,Exact match MAC address enable" "-,Enabled"
line.long 0x04 "RSTAT,Receive Status Register"
eventfld.long 0x04 23. " QHLT0  ,RxBD queue 0 is halted" "-,Halted"
eventfld.long 0x04 22. "       QHLT1    ,RxBD queue 1 is halted" "-,Halted"
textline "                     "
eventfld.long 0x04 21. " QHLT2  ,RxBD queue 2 is halted" "-,Halted"
eventfld.long 0x04 20. "       QHLT3    ,RxBD queue 3 is halted" "-,Halted"
textline "                     "
eventfld.long 0x04 19. " QHLT4  ,RxBD queue 4 is halted" "-,Halted"
eventfld.long 0x04 18. "       QHLT5    ,RxBD queue 5 is halted" "-,Halted"
textline "                     "
eventfld.long 0x04 17. " QHLT6  ,RxBD queue 6 is halted" "-,Halted"
eventfld.long 0x04 16. "       QHLT7    ,RxBD queue 7 is halted" "-,Halted"
textline "                     "
eventfld.long 0x04  7. " RXF0   ,Receive frame event occurred on ring 0" "-,Occurred"
eventfld.long 0x04  6. "     RXF1     ,Receive frame event occurred on ring 1" "-,Occurred"
textline "                     "
eventfld.long 0x04  5. " RXF2   ,Receive frame event occurred on ring 2" "-,Occurred"
eventfld.long 0x04  4. "     RXF3     ,Receive frame event occurred on ring 3" "-,Occurred"
textline "                     "
eventfld.long 0x04  3. " RXF4   ,Receive frame event occurred on ring 4" "-,Occurred"
eventfld.long 0x04  2. "     RXF5     ,Receive frame event occurred on ring 5" "-,Occurred"
textline "                     "
eventfld.long 0x04  1. " RXF6   ,Receive frame event occurred on ring 6" "-,Occurred"
eventfld.long 0x04  0. "     RXF7     ,Receive frame event occurred on ring 7" "-,Occurred"
group.long ((0x24000+0x300)+0x10)++0x7
line.long 0x00 "RXIC,Receive Interrupt Coalescing Configuration Register"
bitfld.long 0x00 31. " ICEN   ,Interrupt coalescing enable" "-,Enabled"
bitfld.long 0x00 30. "      ICCS     ,Interrupt coalescing timer clock source" "Interface,System"
textline "                     "
hexmask.long.byte 0x00 21.--28. 1. " ICFCT  ,Interrupt coalescing frame count threshold"
hexmask.long.word 0x00 0.--15. 1. "           ICTT     ,Interrupt coalescing timer threshold"
line.long 0x04 "RQUEUE,Receive Queue Control Register"
bitfld.long 0x04 23. " EX0    ,Receive queue 0 extract enable" "-,Enabled"
bitfld.long 0x04 22. "      EX1      ,Receive queue 1 extract enable" "-,Enabled"
textline "                     "
bitfld.long 0x04 21. " EX2    ,Receive queue 2 extract enable" "-,Enabled"
bitfld.long 0x04 20. "      EX3      ,Receive queue 3 extract enable" "-,Enabled"
textline "                     "
bitfld.long 0x04 19. " EX4    ,Receive queue 4 extract enable" "-,Enabled"
bitfld.long 0x04 18. "      EX5      ,Receive queue 5 extract enable" "-,Enabled"
textline "                     "
bitfld.long 0x04 17. " EX6    ,Receive queue 6 extract enable" "-,Enabled"
bitfld.long 0x04 16. "      EX7      ,Receive queue 7 extract enable" "-,Enabled"
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315"))
textline "                     "
bitfld.long 0x04  7. " EN0    ,Receive queue 0 enable" "-,Enabled"
bitfld.long 0x04  6. "      EN1      ,Receive queue 1 enable" "-,Enabled"
textline "                     "
bitfld.long 0x04  5. " EN2    ,Receive queue 2 enable" "-,Enabled"
bitfld.long 0x04  4. "      EN3      ,Receive queue 3 enable" "-,Enabled"
textline "                     "
bitfld.long 0x04  3. " EN4    ,Receive queue 4 enable" "-,Enabled"
bitfld.long 0x04  2. "      EN5      ,Receive queue 5 enable" "-,Enabled"
textline "                     "
bitfld.long 0x04  1. " EN6    ,Receive queue 6 enable" "-,Enabled"
bitfld.long 0x04  0. "      EN7      ,Receive queue 7 enable" "-,Enabled"
endif
sif (CPU()=="MPC8308")
group.long ((0x24000+0x300)+0x30)++0x7
line.long 0x00 "RBIFX,Receive Bit Field Extract Control Register"
bitfld.long 0x00 30.--31. " B0CTL  ,Location of byte 0 of property ARB" "-,Ethernet DA,L2 header,L3 header"
hexmask.long.byte 0x00 24.--29. 1. "  B0OFFSET ,Offset relative to the header defined by B0CTL"
textline "                     "
bitfld.long 0x00 22.--23. " B1CTL  ,Location of byte 1 of property ARB" "-,Ethernet DA,L2 header,L3 header"
hexmask.long.byte 0x00 16.--21. 1. "  B1OFFSET ,Offset relative to the header defined by B1CTL"
textline "                     "
bitfld.long 0x00 14.--15. " B2CTL  ,Location of byte 2 of property ARB" "-,Ethernet DA,L2 header,L3 header"
hexmask.long.byte 0x00 8.--13. 1. "  B2OFFSET ,Offset relative to the header defined by B2CTL"
textline "                     "
bitfld.long 0x00 6.--7. " B3CTL  ,Location of byte 3 of property ARB" "-,Ethernet DA,L2 header,L3 header"
hexmask.long.byte 0x00 0.--5. 1. "  B3OFFSET ,Offset relative to the header defined by B3CTL"
line.long 0x04 "RQFAR,Receive Queue Filer Table Address Register"
hexmask.long.byte 0x04 0.--7. 1. " RQFAR  ,Current index of receive queue filer table"
else
group.long ((0x24000+0x300)+0x30)++0x7
line.long 0x00 "RBIFX,Receive Bit Field Extract Control Register"
bitfld.long 0x00 30.--31. " B0CTL  ,Location of byte 0 of property ARB" "-,Ethernet DA,L3 header,L4 header"
hexmask.long.byte 0x00 24.--29. 1. "  B0OFFSET ,Offset relative to the header defined by B0CTL"
textline "                     "
bitfld.long 0x00 22.--23. " B1CTL  ,Location of byte 1 of property ARB" "-,Ethernet DA,L3 header,L4 header"
hexmask.long.byte 0x00 16.--21. 1. "  B1OFFSET ,Offset relative to the header defined by B1CTL"
textline "                     "
bitfld.long 0x00 14.--15. " B2CTL  ,Location of byte 2 of property ARB" "-,Ethernet DA,L3 header,L4 header"
hexmask.long.byte 0x00 8.--13. 1. "  B2OFFSET ,Offset relative to the header defined by B2CTL"
textline "                     "
bitfld.long 0x00 6.--7. " B3CTL  ,Location of byte 3 of property ARB" "-,Ethernet DA,L3 header,L4 header"
hexmask.long.byte 0x00 0.--5. 1. "  B3OFFSET ,Offset relative to the header defined by B3CTL"
line.long 0x04 "RQFAR,Receive Queue Filer Table Address Register"
hexmask.long.byte 0x04 0.--7. 1. " RQFAR  ,Current index of receive queue filer table"
endif
if (((d.l.be(anc:(iobase()+(0x24000+0x300)+0x38)))&0xf)==0x0)
group.long ((0x24000+0x300)+0x38)++0x3
line.long 0x00 "RQFCR,Receive Queue Filer Table Control Register"
sif (CPU()=="MPC8308")
bitfld.long 0x00 31. " GPI    ,General purpose interrupt" "Disabled,Enabled"
textline "                     "
endif 
hexmask.long.byte 0x00 10.--15. 0x400 " Q      ,Receive queue index"
bitfld.long 0x00 9. "           CLE      ,Cluster entry/exit" "Regular,Cluster"
textline "                     "
bitfld.long 0x00 8. " REJ    ,Reject frame" "Accept,Reject"
bitfld.long 0x00 7. "       AND      ,Current and next entry matched as a pair" "Independent,Pair"
textline "                     "
bitfld.long 0x00 5.--6. " CMP    ,Comparison operation" "Matched,Matched,Failed,Failed"
bitfld.long 0x00 0.--3. "      PID      ,Property identifier" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
else
group.long ((0x24000+0x300)+0x38)++0x3
line.long 0x00 "RQFCR,Receive Queue Filer Table Control Register"
sif (CPU()=="MPC8308")
bitfld.long 0x00 31. " GPI    ,General purpose interrupt" "Disabled,Enabled"
textline "                     "
endif
hexmask.long.byte 0x00 10.--15. 0x400 " Q      ,Receive queue index"
bitfld.long 0x00 9. "           CLE      ,Cluster entry/exit" "Regular,Cluster"
textline "                     "
bitfld.long 0x00 8. " REJ    ,Reject frame" "Accept,Reject"
bitfld.long 0x00 7. "       AND      ,Current and next entry matched as a pair" "Independent,Pair"
textline "                     "
bitfld.long 0x00 5.--6. " CMP    ,Comparison operation" "=  RQPROP,>= RQPROP,!= RQPROP,<  RQPROP"
bitfld.long 0x00 0.--3. "    PID      ,Property identifier" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
endif
if (((d.l.be(anc:(iobase()+(0x24000+0x300)+0x38)))&0xf)==0x0)
group.long ((0x24000+0x300)+0x3c)++0x3
line.long 0x00 "RQFPR,Receive Queue Filer Table Property Register"
bitfld.long 0x00 31. " MASK   ,Mask bit 31" "0,1"
bitfld.long 0x00 30. ",Mask bit 30"  "0,1"
bitfld.long 0x00 29. ",Mask bit 29"  "0,1"
bitfld.long 0x00 28. ",Mask bit 28"  "0,1"
bitfld.long 0x00 27. ",Mask bit 27"  "0,1"
bitfld.long 0x00 26. ",Mask bit 26"  "0,1"
bitfld.long 0x00 25. ",Mask bit 25"  "0,1"
bitfld.long 0x00 24. ",Mask bit 24"  "0,1"
bitfld.long 0x00 23. ",Mask bit 23"  "0,1"
bitfld.long 0x00 22. ",Mask bit 22"  "0,1"
bitfld.long 0x00 21. ",Mask bit 21"  "0,1"
bitfld.long 0x00 20. ",Mask bit 20"  "0,1"
bitfld.long 0x00 19. ",Mask bit 19"  "0,1"
bitfld.long 0x00 18. ",Mask bit 18"  "0,1"
bitfld.long 0x00 17. ",Mask bit 17"  "0,1"
bitfld.long 0x00 16. ",Mask bit 16"  "0,1"
bitfld.long 0x00 15. ",Mask bit 15"  "0,1"
bitfld.long 0x00 14. ",Mask bit 14"  "0,1"
bitfld.long 0x00 13. ",Mask bit 13"  "0,1"
bitfld.long 0x00 12. ",Mask bit 12"  "0,1"
bitfld.long 0x00 11. ",Mask bit 11"  "0,1"
bitfld.long 0x00 10. ",Mask bit 10"  "0,1"
bitfld.long 0x00 9. ",Mask bit 9"  "0,1"
bitfld.long 0x00 8. ",Mask bit 8"  "0,1"
bitfld.long 0x00 7. ",Mask bit 7"  "0,1"
bitfld.long 0x00 6. ",Mask bit 6"  "0,1"
bitfld.long 0x00 5. ",Mask bit 5"  "0,1"
bitfld.long 0x00 4. ",Mask bit 4"  "0,1"
bitfld.long 0x00 3. ",Mask bit 3"  "0,1"
bitfld.long 0x00 2. ",Mask bit 2"  "0,1"
bitfld.long 0x00 1. ",Mask bit 1"  "0,1"
bitfld.long 0x00 0. ",Mask bit 0"  "0,1"
elif (((d.l.be(anc:(iobase()+(0x24000+0x300)+0x38)))&0xf)==0x1)
group.long ((0x24000+0x300)+0x3c)++0x3
line.long 0x00 "RQFPR,Receive Queue Filer Table Property Register"
bitfld.long 0x00 15. " EBC    ,Ethernet destination address is broadast" "-,Broadcast"
bitfld.long 0x00 14. "    VLN      ,VLAN tag seen in the frame" "-,Seen"
textline "                     "
bitfld.long 0x00 13. " CFI    ,Canonical format indicator" "0,1"
bitfld.long 0x00 12. "            JUM      ,Jumbo ethernet parsed" "-,Parsed"
textline "                     "
bitfld.long 0x00 11. " IPF    ,Fragmented IPv4/IPv6 encountered" "-,Encountered"
bitfld.long 0x00 9. "  IP4      ,IPv4 header parsed" "-,Parsed"
textline "                     "
bitfld.long 0x00 8. " IP6    ,IPv6 header parsed" "-,Parsed"
bitfld.long 0x00 7. "       ICC      ,IPv4 header checksum checked" "-,Checked"
textline "                     "
bitfld.long 0x00 6. " ICV    ,IPv4 header checksum verifiied correct" "-,Correct"
bitfld.long 0x00 5. "      TCP      ,TCP header parsed" "-,Parsed"
textline "                     "
bitfld.long 0x00 4. " UDP    ,UDP header parsed" "-,Parsed"
bitfld.long 0x00 1. "       PER      ,Parse error" "-,Error"
textline "                     "
bitfld.long 0x00 0. " EER    ,Ethernet framing error" "-,Error"
elif (((d.l.be(anc:(iobase()+(0x24000+0x300)+0x38)))&0xf)==0x2)
group.long ((0x24000+0x300)+0x3c)++0x3
line.long 0x00 "RQFPR,Receive Queue Filer Table Property Register"
hexmask.long.byte 0x00 24.--31. 1. " ARB0   ,Arbitrary bit field property: byte 0 extracted"
hexmask.long.byte 0x00 16.--23. 1. "           ARB1     ,Arbitrary bit field property: byte 1 extracted"
textline "                     "
hexmask.long.byte 0x00  8.--15. 1. " ARB2   ,Arbitrary bit field property: byte 2 extracted"
hexmask.long.byte 0x00  0.--7.  1. "           ARB3     ,Arbitrary bit field property: byte 3 extracted"
elif (((d.l.be(anc:(iobase()+(0x24000+0x300)+0x38)))&0xf)==0x3)
group.long ((0x24000+0x300)+0x3c)++0x3
line.long 0x00 "RQFPR,Receive Queue Filer Table Property Register"
hexmask.long.tbyte 0x00 0.--23. 1. " DAH    ,Destination MAC address high"
elif (((d.l.be(anc:(iobase()+(0x24000+0x300)+0x38)))&0xf)==0x4)
group.long ((0x24000+0x300)+0x3c)++0x3
line.long 0x00 "RQFPR,Receive Queue Filer Table Property Register"
hexmask.long.tbyte 0x00 0.--23. 1. " DAL    ,Destination MAC address low"
elif (((d.l.be(anc:(iobase()+(0x24000+0x300)+0x38)))&0xf)==0x5)
group.long ((0x24000+0x300)+0x34)++0x3
line.long 0x00 "RQFPR,Receive Queue Filer Table Property Register"
hexmask.long.tbyte 0x00 0.--23. 1. " SAH    ,Source MAC address high"
elif (((d.l.be(anc:(iobase()+(0x24000+0x300)+0x38)))&0xf)==0x6)
group.long ((0x24000+0x300)+0x3c)++0x3
line.long 0x00 "RQFPR,Receive Queue Filer Table Property Register"
hexmask.long.tbyte 0x00 0.--23. 1. " SAL    ,Source MAC address low"
elif (((d.l.be(anc:(iobase()+(0x24000+0x300)+0x38)))&0xf)==0x7)
group.long ((0x24000+0x300)+0x3c)++0x3
line.long 0x00 "RQFPR,Receive Queue Filer Table Property Register"
hexmask.long.word 0x00 0.--15. 1. " ETY    ,Ethertype for next protocol"
elif (((d.l.be(anc:(iobase()+(0x24000+0x300)+0x38)))&0xf)==0x8)
group.long ((0x24000+0x300)+0x3c)++0x3
line.long 0x00 "RQFPR,Receive Queue Filer Table Property Register"
hexmask.long.word 0x00 0.--11. 1. " VID    ,VLAN network identifier"
elif (((d.l.be(anc:(iobase()+(0x24000+0x300)+0x38)))&0xf)==0x9)
group.long ((0x24000+0x300)+0x3c)++0x3
line.long 0x00 "RQFPR,Receive Queue Filer Table Property Register"
bitfld.long 0x00 0.--2. " PRI    ,VLAN user priority" "0,1,2,3,4,5,6,7"
elif (((d.l.be(anc:(iobase()+(0x24000+0x300)+0x38)))&0xf)==0xa)
group.long ((0x24000+0x300)+0x3c)++0x3
line.long 0x00 "RQFPR,Receive Queue Filer Table Property Register"
hexmask.long.byte 0x00 0.--7. 1. " TOS    ,IPv4 header Type Of Service field or IPv6 Traffic Class field"
elif (((d.l.be(anc:(iobase()+(0x24000+0x300)+0x38)))&0xf)==0xb)
group.long ((0x24000+0x300)+0x3c)++0x3
line.long 0x00 "RQFPR,Receive Queue Filer Table Property Register"
hexmask.long.byte 0x00 0.--7. 1. " L4P    ,Layer 4 protocol identifier as per published IANA specification"
elif (((d.l.be(anc:(iobase()+(0x24000+0x300)+0x38)))&0xf)==0xc)
group.long ((0x24000+0x300)+0x3c)++0x3
line.long 0x00 "RQFPR,Receive Queue Filer Table Property Register"
hexmask.long 0x00 0.--31. 1. " DIA    ,Destination IP address"
elif (((d.l.be(anc:(iobase()+(0x24000+0x300)+0x38)))&0xf)==0xd)
group.long ((0x24000+0x300)+0x3c)++0x3
line.long 0x00 "RQFPR,Receive Queue Filer Table Property Register"
hexmask.long 0x00 0.--31. 1. " SIA    ,Source IP address"
elif (((d.l.be(anc:(iobase()+(0x24000+0x300)+0x38)))&0xf)==0xe)
group.long ((0x24000+0x300)+0x3c)++0x3
line.long 0x00 "RQFPR,Receive Queue Filer Table Property Register"
hexmask.long.word 0x00 0.--15. 1. " DPT    ,Destination port number for TCP or UDP headers"
else
group.long ((0x24000+0x300)+0x3c)++0x3
line.long 0x00 "RQFPR,Receive Queue Filer Table Property Register"
hexmask.long.word 0x00 0.--15. 1. " SPT    ,Source port number for TCP or UDP headers"
endif
group.long ((0x24000+0x300)+0x40)++0x03
line.long 0x00 "MRBLR,Maximum Receive Buffer Length Register"
hexmask.long.word 0x00 6.--15. 0x40 " MRBL   ,Maximum receive buffer length"
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315")&&(CPU()!="MPC8308"))
group.long ((0x24000+0x300)+0x80)++0x3
line.long 0x00 "RBDBPH,Receive Data Buffer Pointer High Register"
hexmask.long.byte 0x00 0.--3. 1. " RBDBPH ,Most significant bits common to all data buffer addresses contained in RxBDs"
endif
group.long ((0x24000+0x300)+0x84)++0x03
line.long 0x00 "RBPTR0,Receive Buffer Descriptor Pointer Register 0"
hexmask.long 0x00 3.--31. 0x8 " RBPTR0 ,Current RxBD pointer for RxBD ring 0"
group.long ((0x24000+0x300)+0x8c)++0x03
line.long 0x00 "RBPTR1,Receive Buffer Descriptor Pointer Register 1"
hexmask.long 0x00 3.--31. 0x8 " RBPTR1 ,Current RxBD pointer for RxBD ring 1"
group.long ((0x24000+0x300)+0x94)++0x03
line.long 0x00 "RBPTR2,Receive Buffer Descriptor Pointer Register 2"
hexmask.long 0x00 3.--31. 0x8 " RBPTR2 ,Current RxBD pointer for RxBD ring 2"
group.long ((0x24000+0x300)+0x9c)++0x03
line.long 0x00 "RBPTR3,Receive Buffer Descriptor Pointer Register 3"
hexmask.long 0x00 3.--31. 0x8 " RBPTR3 ,Current RxBD pointer for RxBD ring 3"
group.long ((0x24000+0x300)+0xa4)++0x03
line.long 0x00 "RBPTR4,Receive Buffer Descriptor Pointer Register 4"
hexmask.long 0x00 3.--31. 0x8 " RBPTR4 ,Current RxBD pointer for RxBD ring 4"
group.long ((0x24000+0x300)+0xac)++0x03
line.long 0x00 "RBPTR5,Receive Buffer Descriptor Pointer Register 5"
hexmask.long 0x00 3.--31. 0x8 " RBPTR5 ,Current RxBD pointer for RxBD ring 5"
group.long ((0x24000+0x300)+0xb4)++0x03
line.long 0x00 "RBPTR6,Receive Buffer Descriptor Pointer Register 6"
hexmask.long 0x00 3.--31. 0x8 " RBPTR6 ,Current RxBD pointer for RxBD ring 6"
group.long ((0x24000+0x300)+0xbc)++0x03
line.long 0x00 "RBPTR7,Receive Buffer Descriptor Pointer Register 7"
hexmask.long 0x00 3.--31. 0x8 " RBPTR7 ,Current RxBD pointer for RxBD ring 7"
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315")&&(CPU()!="MPC8308"))
group.long ((0x24000+0x300)+0x100)++0x3
line.long 0x00 "RBASEH,Receive Descriptor Base Address High Register"
hexmask.long.byte 0x00 0.--3. 1. " RBASEH ,Most significant bits common to all RxBD addresses-except data buffer pointers"
endif
group.long ((0x24000+0x300)+0x104)++0x03
line.long 0x00 "RBASE0,Receive Descriptor Base Address Register 0"
hexmask.long 0x00 3.--31. 0x8 " RBASE0 ,Receive base for ring 0"
group.long ((0x24000+0x300)+0x10c)++0x03
line.long 0x00 "RBASE1,Receive Descriptor Base Address Register 1"
hexmask.long 0x00 3.--31. 0x8 " RBASE1 ,Receive base for ring 1"
group.long ((0x24000+0x300)+0x114)++0x03
line.long 0x00 "RBASE2,Receive Descriptor Base Address Register 2"
hexmask.long 0x00 3.--31. 0x8 " RBASE2 ,Receive base for ring 2"
group.long ((0x24000+0x300)+0x11c)++0x03
line.long 0x00 "RBASE3,Receive Descriptor Base Address Register 3"
hexmask.long 0x00 3.--31. 0x8 " RBASE3 ,Receive base for ring 3"
group.long ((0x24000+0x300)+0x124)++0x03
line.long 0x00 "RBASE4,Receive Descriptor Base Address Register 4"
hexmask.long 0x00 3.--31. 0x8 " RBASE4 ,Receive base for ring 4"
group.long ((0x24000+0x300)+0x12c)++0x03
line.long 0x00 "RBASE5,Receive Descriptor Base Address Register 5"
hexmask.long 0x00 3.--31. 0x8 " RBASE5 ,Receive base for ring 5"
group.long ((0x24000+0x300)+0x134)++0x03
line.long 0x00 "RBASE6,Receive Descriptor Base Address Register 6"
hexmask.long 0x00 3.--31. 0x8 " RBASE6 ,Receive base for ring 6"
group.long ((0x24000+0x300)+0x13c)++0x03
line.long 0x00 "RBASE7,Receive Descriptor Base Address Register 7"
hexmask.long 0x00 3.--31. 0x8 " RBASE7 ,Receive base for ring 7"
group.long ((0x24000+0x300)+0x1c0)++0x7
line.long 0x00 "TMR_RXTS_H,Receive Stamp Register High"
line.long 0x04 "TMR_RXTS_L,Receive Stamp Register Low"
width 0xb
tree.end
tree "eTSEC1 MAC Registers"
width 13.
group.long (0x24000+0x500)++0x13
line.long 0x00 "MACCFG1,MAC Configuration Register 1"
bitfld.long 0x00 31. " SOFT_RESET                ,Soft reset" "-,Reset"
textline "                      "
bitfld.long 0x00 19. " RESET_RX_MC               ,Reset receive MAC control block" "-,Reset"
textline "                      "
bitfld.long 0x00 18. " RESET_TX_MC               ,Reset transmit MAC control block" "-,Reset"
textline "                      "
bitfld.long 0x00 17. " RESET_RX_FUN              ,Reset receive function block" "-,Reset"
textline "                      "
bitfld.long 0x00 16. " RESET_TX_FUN              ,Reset transmit function block" "-,Reset"
textline "                      "
bitfld.long 0x00 8. " LOOP_BACK                 ,Loop back" "-,Enabled"
textline "                      "
bitfld.long 0x00 5. " RX_FLOW                   ,Receive flow" "Ignore,Detect"
textline "                      "
bitfld.long 0x00 4. " TX_FLOW                   ,Transmit flow" "-,Send"
textline "                      "
sif (CPU()=="MPC8308")
rbitfld.long 0x00 3. " SYNCD_RX_EN               ,Receive enable synchronized to the receive stream" "-,Enabled"
else
bitfld.long 0x00 3. " SYNCD_RX_EN               ,Receive enable synchronized to the receive stream" "-,Enabled"
endif
textline "                      "
bitfld.long 0x00 2. " RX_EN                     ,Receive enable" "-,Enabled"
textline "                      "
sif (CPU()=="MPC8308")
rbitfld.long 0x00 1. " SYNCD_TX_EN               ,Transmit enable synchronized to the transmit stream" "-,Enabled"
else
bitfld.long 0x00 1. " SYNCD_TX_EN               ,Transmit enable synchronized to the transmit stream" "-,Enabled"
endif
textline "                      "
bitfld.long 0x00 0. " TX_EN                     ,Transmit enable" "-,Enabled"
line.long 0x04 "MACCFG2,MAC Configuration Register 2"
bitfld.long 0x04 12.--15. " PREAMBLE_LENGTH           ,Determines the length in bytes of the preamble field of the packet" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
textline "                      "
sif (CPU()=="MPC8308")
bitfld.long 0x04 8.--9. " I/F_Mode                  ,Determines the type of interface to which the MAC is connected" ",Nibble,1000 Mbps,"
else
bitfld.long 0x04 8.--9. " I/F_Mode                  ,Determines the type of interface to which the MAC is connected" ",Nibble,Byte,"
endif
textline "                      "
bitfld.long 0x04 7. " PREAMRXEN                 ,User defined preamble enable for received frames" "-,Enabled"
textline "                      "
bitfld.long 0x04 6. " PREAMTXEN                 ,User defined preamble enable for transmitted frames" "-,Enabled"
textline "                      "
bitfld.long 0x04 5. " HUGE_FRAME                ,Huge frame enable" "-,Enabled"
textline "                      "
bitfld.long 0x04 4. " LENGTH_CHECK              ,Length check" "-,Checked"
textline "                      "
sif ((CPU()=="MPC8314")||(CPU()=="MPC8315"))
bitfld.long 0x04 3. " MPEN                      ,Magic packet enable for Ethernet modes" "-,Enabled"
textline "                      "
endif
bitfld.long 0x04 2. " PAD/CRC                   ,Pad and append CRC" "Valid length,Short frames"
textline "                      "
bitfld.long 0x04 1. " CRC_EN                    ,CRC enable" "-,Enabled"
textline "                      "
bitfld.long 0x04 0. " FULL_DUPLEX               ,Full duplex configure" "Half,Full"
line.long 0x08 "IPGIFG,Inter-Packet Gap/Inter-Frame Gap Register"
hexmask.long.byte 0x08 24.--30. 1. " NBB_IPG_1                 ,Non Back to Back Inter Packet Gap Part 1"
textline "                      "
hexmask.long.byte 0x08 16.--22. 1. " NBB_IPG_2                 ,Non Back to Back Inter Packet Gap Part 2"
textline "                      "
hexmask.long.byte 0x08 8.--15. 1. " MIFG_E                    ,Minimum IFG Enforcement"
textline "                      "
hexmask.long.byte 0x08 0.--6. 1. " BB_IPG                    ,Back to Back Inter Packet Gap"
line.long 0x0c "HAFDUP,Half-Duplex Register"
bitfld.long 0x0C 20.--23. " ALTERNATE_BEB_TRUNCATION  ,Alternate BEB truncation" "0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F"
textline "                      "
bitfld.long 0x0C 19. " ALT_BEB                   ,Alternate binary exponential back-off" "Standard,Alternate"
textline "                      "
bitfld.long 0x0C 18. " BP_NO_BACKOFF             ,Back pressure no back-off" "Back-off,No back-off"
textline "                      "
bitfld.long 0x0C 17. " NO_BACKOFF                ,No back-off" "Back-off,No back-off"
textline "                      "
bitfld.long 0x0C 16. " EXCESS_DEFER              ,Excessively deferred" "Aborted,Allowed"
textline "                      "
bitfld.long 0x0C 12.--15. " RETRANSMISSION_MAXIMUM    ,Maximum retransmission number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
textline "                      "
hexmask.long.word 0x0C 0.--9. 1. " COLLISION_WINDOW          ,Collision window"
line.long 0x10 "MAXFRM,Maximum Frame Length Register"
hexmask.long.word 0x10 0.--15. 1. " Maximum_Frame             ,Maximum frame size"
sif (CPU()=="MPC8308")
group.long ((0x24000+0x500)+0x20)++0x0B
line.long 0x00 "MIIMCFG,MII Management Configuration Register"
bitfld.long 0x00 31. " RESET_MGMT                ,Reset management" "-,Reset"
textline "                      "
bitfld.long 0x00 4. " NO_PRE                    ,Preamble suppress" "Preamble,No preamble"
textline "                      "
bitfld.long 0x00 0.--2. " MGMT_CLOCK_SELECT         ,Mgmt Clock (EC_MDC) Clock frequency" "Divided by 4,Divided by 4,Divided by 6,Divided by 8,Divided by 10,Divided by 14,Divided by 20,Divided by 28"
line.long 0x04 "MIIMCOM,MII Management Command Register"
bitfld.long 0x04 1. " SCAN_CYCLE                ,Scan cycle" "Normal,Scan cycle"
textline "                      "
bitfld.long 0x04 0. " READ_CYCLE                ,Read cycle" "Normal,Read cycle"
line.long 0x08 "MIIMADD,MII Management Address Register"
bitfld.long 0x08 8.--12. " PHY_ADDRESS               ,PHY address field of management cycles" ",1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
textline "                      "
bitfld.long 0x08 0.--4. " REGISTER_ADDRESS          ,Register address field of management cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
wgroup.long ((0x24000+0x500)+0x2C)++0x0f
line.long 0x00 "MIIMCON,MII Management Control Register"
hexmask.long.word 0x00 0.--15. 1. " PHY_Control               ,PHY Control"
else
group.long ((0x24000+0x500)+0x20)++0x0f
line.long 0x00 "MIIMCFG,MII Management Configuration Register"
bitfld.long 0x00 31. " RESET_MGMT                ,Reset management" "-,Reset"
textline "                      "
bitfld.long 0x00 4. " NO_PRE                    ,Preamble suppress" "Preamble,No preamble"
textline "                      "
bitfld.long 0x00 0.--2. " MGMT_CLOCK_SELECT         ,Mgmt Clock (EC_MDC) Clock frequency" "Divided by 4,Divided by 4,Divided by 6,Divided by 8,Divided by 10,Divided by 14,Divided by 20,Divided by 28"
line.long 0x04 "MIIMCOM,MII Management Command Register"
bitfld.long 0x04 1. " SCAN_CYCLE                ,Scan cycle" "Normal,Scan cycle"
textline "                      "
bitfld.long 0x04 0. " READ_CYCLE                ,Read cycle" "Normal,Read cycle"
line.long 0x08 "MIIMADD,MII Management Address Register"
bitfld.long 0x08 8.--12. " PHY_ADDRESS               ,PHY address field of management cycles" ",1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
textline "                      "
bitfld.long 0x08 0.--4. " REGISTER_ADDRESS          ,Register address field of management cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
line.long 0x0c "MIIMCON,MII Management Control Register"
hexmask.long.word 0x0c 0.--15. 1. " PHY_Control               ,PHY Control"
endif
rgroup.long ((0x24000+0x500)+0x30)++0x07
line.long 0x00 "MIIMSTAT,MII Management Status Register"
hexmask.long.word 0x00 0.--15. 1. " PHY_Status                ,Following an MII Mgmt read cycle, the 16-bit data can be read from this location"
line.long 0x04 "MIIMIND,MII Management Indicator Register"
bitfld.long 0x04 2. " NOT_VALID                 ,Not valid" "-,Not valid"
textline "                      "
bitfld.long 0x04 1. " SCAN                      ,Scan in progress" "-,In progress"
textline "                      "
bitfld.long 0x04 0. " BUSY                      ,Busy" "-,Busy"
rgroup.long ((0x24000+0x500)+0x3c)++0x03
line.long 0x00 "IFSTAT,Interface Status Register"
bitfld.long 0x00 9. " Excess_Defer              ,Excessive transmission defer" "Normal,Defered"
group.long ((0x24000+0x500)+0x40)++0x07
line.long 0x00 "MACSTNADDR1,Station Address Register Part 1"
hexmask.long.byte 0x00 24.--31. 1. " STATION_ADDRESS_6TH_OCTET ,Sixth octet of the station address"
textline "                      "
hexmask.long.byte 0x00 16.--23. 1. " STATION_ADDRESS_5TH_OCTET ,Fifth octet of the station address"
textline "                      "
hexmask.long.byte 0x00 8.--15. 1. " STATION_ADDRESS_4TH_OCTET ,Fourth octet of the station address"
textline "                      "
hexmask.long.byte 0x00 0.--7. 1. " STATION_ADDRESS_3TH_OCTET ,Third octet of the station address"
line.long 0x04 "MACSTNADDR2,Station Address Register Part 2"
hexmask.long.byte 0x04 24.--31. 1. " STATION_ADDRESS_2ND_OCTET ,Second octet of the station address"
textline "                      "
hexmask.long.byte 0x04 16.--23. 1. " STATION_ADDRESS_1ST_OCTET ,First octet of the station address"
group.long ((0x24000+0x500)+0x48)++0x7f
line.long 0x0 "MAC01ADDR1,MAC Exact Match Address 01 Part 1 Register"
hexmask.long.byte 0x0 24.--31. 1. " EXACT_MATCH_ADDRESS_6TH_OCTET ,Sixth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x0 16.--23. 1. " EXACT_MATCH_ADDRESS_5TH_OCTET ,Fifth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x0 8.--15. 1. " EXACT_MATCH_ADDRESS_4TH_OCTET ,Fourth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x0 0.--7. 1. " EXACT_MATCH_ADDRESS_3TH_OCTET ,Third octet of the exact match address"
line.long (0x0+0x04) "MAC01ADDR2,Station Address 01 Part 2 Register"
hexmask.long.byte (0x0+0x04) 24.--31. 1. " EXACT_MATCH_ADDRESS_2ND_OCTET ,Second octet of the exact match address"
textline "                      "
hexmask.long.byte (0x0+0x04) 16.--23. 1. " EXACT_MATCH_ADDRESS_1ST_OCTET ,First octet of the exact match address"
line.long 0x8 "MAC02ADDR1,MAC Exact Match Address 02 Part 1 Register"
hexmask.long.byte 0x8 24.--31. 1. " EXACT_MATCH_ADDRESS_6TH_OCTET ,Sixth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x8 16.--23. 1. " EXACT_MATCH_ADDRESS_5TH_OCTET ,Fifth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x8 8.--15. 1. " EXACT_MATCH_ADDRESS_4TH_OCTET ,Fourth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x8 0.--7. 1. " EXACT_MATCH_ADDRESS_3TH_OCTET ,Third octet of the exact match address"
line.long (0x8+0x04) "MAC02ADDR2,Station Address 02 Part 2 Register"
hexmask.long.byte (0x8+0x04) 24.--31. 1. " EXACT_MATCH_ADDRESS_2ND_OCTET ,Second octet of the exact match address"
textline "                      "
hexmask.long.byte (0x8+0x04) 16.--23. 1. " EXACT_MATCH_ADDRESS_1ST_OCTET ,First octet of the exact match address"
line.long 0x10 "MAC03ADDR1,MAC Exact Match Address 03 Part 1 Register"
hexmask.long.byte 0x10 24.--31. 1. " EXACT_MATCH_ADDRESS_6TH_OCTET ,Sixth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x10 16.--23. 1. " EXACT_MATCH_ADDRESS_5TH_OCTET ,Fifth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x10 8.--15. 1. " EXACT_MATCH_ADDRESS_4TH_OCTET ,Fourth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x10 0.--7. 1. " EXACT_MATCH_ADDRESS_3TH_OCTET ,Third octet of the exact match address"
line.long (0x10+0x04) "MAC03ADDR2,Station Address 03 Part 2 Register"
hexmask.long.byte (0x10+0x04) 24.--31. 1. " EXACT_MATCH_ADDRESS_2ND_OCTET ,Second octet of the exact match address"
textline "                      "
hexmask.long.byte (0x10+0x04) 16.--23. 1. " EXACT_MATCH_ADDRESS_1ST_OCTET ,First octet of the exact match address"
line.long 0x18 "MAC04ADDR1,MAC Exact Match Address 04 Part 1 Register"
hexmask.long.byte 0x18 24.--31. 1. " EXACT_MATCH_ADDRESS_6TH_OCTET ,Sixth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x18 16.--23. 1. " EXACT_MATCH_ADDRESS_5TH_OCTET ,Fifth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x18 8.--15. 1. " EXACT_MATCH_ADDRESS_4TH_OCTET ,Fourth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x18 0.--7. 1. " EXACT_MATCH_ADDRESS_3TH_OCTET ,Third octet of the exact match address"
line.long (0x18+0x04) "MAC04ADDR2,Station Address 04 Part 2 Register"
hexmask.long.byte (0x18+0x04) 24.--31. 1. " EXACT_MATCH_ADDRESS_2ND_OCTET ,Second octet of the exact match address"
textline "                      "
hexmask.long.byte (0x18+0x04) 16.--23. 1. " EXACT_MATCH_ADDRESS_1ST_OCTET ,First octet of the exact match address"
line.long 0x20 "MAC05ADDR1,MAC Exact Match Address 05 Part 1 Register"
hexmask.long.byte 0x20 24.--31. 1. " EXACT_MATCH_ADDRESS_6TH_OCTET ,Sixth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x20 16.--23. 1. " EXACT_MATCH_ADDRESS_5TH_OCTET ,Fifth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x20 8.--15. 1. " EXACT_MATCH_ADDRESS_4TH_OCTET ,Fourth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x20 0.--7. 1. " EXACT_MATCH_ADDRESS_3TH_OCTET ,Third octet of the exact match address"
line.long (0x20+0x04) "MAC05ADDR2,Station Address 05 Part 2 Register"
hexmask.long.byte (0x20+0x04) 24.--31. 1. " EXACT_MATCH_ADDRESS_2ND_OCTET ,Second octet of the exact match address"
textline "                      "
hexmask.long.byte (0x20+0x04) 16.--23. 1. " EXACT_MATCH_ADDRESS_1ST_OCTET ,First octet of the exact match address"
line.long 0x28 "MAC06ADDR1,MAC Exact Match Address 06 Part 1 Register"
hexmask.long.byte 0x28 24.--31. 1. " EXACT_MATCH_ADDRESS_6TH_OCTET ,Sixth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x28 16.--23. 1. " EXACT_MATCH_ADDRESS_5TH_OCTET ,Fifth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x28 8.--15. 1. " EXACT_MATCH_ADDRESS_4TH_OCTET ,Fourth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x28 0.--7. 1. " EXACT_MATCH_ADDRESS_3TH_OCTET ,Third octet of the exact match address"
line.long (0x28+0x04) "MAC06ADDR2,Station Address 06 Part 2 Register"
hexmask.long.byte (0x28+0x04) 24.--31. 1. " EXACT_MATCH_ADDRESS_2ND_OCTET ,Second octet of the exact match address"
textline "                      "
hexmask.long.byte (0x28+0x04) 16.--23. 1. " EXACT_MATCH_ADDRESS_1ST_OCTET ,First octet of the exact match address"
line.long 0x30 "MAC07ADDR1,MAC Exact Match Address 07 Part 1 Register"
hexmask.long.byte 0x30 24.--31. 1. " EXACT_MATCH_ADDRESS_6TH_OCTET ,Sixth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x30 16.--23. 1. " EXACT_MATCH_ADDRESS_5TH_OCTET ,Fifth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x30 8.--15. 1. " EXACT_MATCH_ADDRESS_4TH_OCTET ,Fourth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x30 0.--7. 1. " EXACT_MATCH_ADDRESS_3TH_OCTET ,Third octet of the exact match address"
line.long (0x30+0x04) "MAC07ADDR2,Station Address 07 Part 2 Register"
hexmask.long.byte (0x30+0x04) 24.--31. 1. " EXACT_MATCH_ADDRESS_2ND_OCTET ,Second octet of the exact match address"
textline "                      "
hexmask.long.byte (0x30+0x04) 16.--23. 1. " EXACT_MATCH_ADDRESS_1ST_OCTET ,First octet of the exact match address"
line.long 0x38 "MAC08ADDR1,MAC Exact Match Address 08 Part 1 Register"
hexmask.long.byte 0x38 24.--31. 1. " EXACT_MATCH_ADDRESS_6TH_OCTET ,Sixth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x38 16.--23. 1. " EXACT_MATCH_ADDRESS_5TH_OCTET ,Fifth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x38 8.--15. 1. " EXACT_MATCH_ADDRESS_4TH_OCTET ,Fourth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x38 0.--7. 1. " EXACT_MATCH_ADDRESS_3TH_OCTET ,Third octet of the exact match address"
line.long (0x38+0x04) "MAC08ADDR2,Station Address 08 Part 2 Register"
hexmask.long.byte (0x38+0x04) 24.--31. 1. " EXACT_MATCH_ADDRESS_2ND_OCTET ,Second octet of the exact match address"
textline "                      "
hexmask.long.byte (0x38+0x04) 16.--23. 1. " EXACT_MATCH_ADDRESS_1ST_OCTET ,First octet of the exact match address"
line.long 0x40 "MAC09ADDR1,MAC Exact Match Address 09 Part 1 Register"
hexmask.long.byte 0x40 24.--31. 1. " EXACT_MATCH_ADDRESS_6TH_OCTET ,Sixth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x40 16.--23. 1. " EXACT_MATCH_ADDRESS_5TH_OCTET ,Fifth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x40 8.--15. 1. " EXACT_MATCH_ADDRESS_4TH_OCTET ,Fourth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x40 0.--7. 1. " EXACT_MATCH_ADDRESS_3TH_OCTET ,Third octet of the exact match address"
line.long (0x40+0x04) "MAC09ADDR2,Station Address 09 Part 2 Register"
hexmask.long.byte (0x40+0x04) 24.--31. 1. " EXACT_MATCH_ADDRESS_2ND_OCTET ,Second octet of the exact match address"
textline "                      "
hexmask.long.byte (0x40+0x04) 16.--23. 1. " EXACT_MATCH_ADDRESS_1ST_OCTET ,First octet of the exact match address"
line.long 0x48 "MAC10ADDR1,MAC Exact Match Address 10 Part 1 Register"
hexmask.long.byte 0x48 24.--31. 1. " EXACT_MATCH_ADDRESS_6TH_OCTET ,Sixth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x48 16.--23. 1. " EXACT_MATCH_ADDRESS_5TH_OCTET ,Fifth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x48 8.--15. 1. " EXACT_MATCH_ADDRESS_4TH_OCTET ,Fourth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x48 0.--7. 1. " EXACT_MATCH_ADDRESS_3TH_OCTET ,Third octet of the exact match address"
line.long (0x48+0x04) "MAC10ADDR2,Station Address 10 Part 2 Register"
hexmask.long.byte (0x48+0x04) 24.--31. 1. " EXACT_MATCH_ADDRESS_2ND_OCTET ,Second octet of the exact match address"
textline "                      "
hexmask.long.byte (0x48+0x04) 16.--23. 1. " EXACT_MATCH_ADDRESS_1ST_OCTET ,First octet of the exact match address"
line.long 0x50 "MAC11ADDR1,MAC Exact Match Address 11 Part 1 Register"
hexmask.long.byte 0x50 24.--31. 1. " EXACT_MATCH_ADDRESS_6TH_OCTET ,Sixth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x50 16.--23. 1. " EXACT_MATCH_ADDRESS_5TH_OCTET ,Fifth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x50 8.--15. 1. " EXACT_MATCH_ADDRESS_4TH_OCTET ,Fourth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x50 0.--7. 1. " EXACT_MATCH_ADDRESS_3TH_OCTET ,Third octet of the exact match address"
line.long (0x50+0x04) "MAC11ADDR2,Station Address 11 Part 2 Register"
hexmask.long.byte (0x50+0x04) 24.--31. 1. " EXACT_MATCH_ADDRESS_2ND_OCTET ,Second octet of the exact match address"
textline "                      "
hexmask.long.byte (0x50+0x04) 16.--23. 1. " EXACT_MATCH_ADDRESS_1ST_OCTET ,First octet of the exact match address"
line.long 0x58 "MAC12ADDR1,MAC Exact Match Address 12 Part 1 Register"
hexmask.long.byte 0x58 24.--31. 1. " EXACT_MATCH_ADDRESS_6TH_OCTET ,Sixth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x58 16.--23. 1. " EXACT_MATCH_ADDRESS_5TH_OCTET ,Fifth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x58 8.--15. 1. " EXACT_MATCH_ADDRESS_4TH_OCTET ,Fourth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x58 0.--7. 1. " EXACT_MATCH_ADDRESS_3TH_OCTET ,Third octet of the exact match address"
line.long (0x58+0x04) "MAC12ADDR2,Station Address 12 Part 2 Register"
hexmask.long.byte (0x58+0x04) 24.--31. 1. " EXACT_MATCH_ADDRESS_2ND_OCTET ,Second octet of the exact match address"
textline "                      "
hexmask.long.byte (0x58+0x04) 16.--23. 1. " EXACT_MATCH_ADDRESS_1ST_OCTET ,First octet of the exact match address"
line.long 0x60 "MAC13ADDR1,MAC Exact Match Address 13 Part 1 Register"
hexmask.long.byte 0x60 24.--31. 1. " EXACT_MATCH_ADDRESS_6TH_OCTET ,Sixth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x60 16.--23. 1. " EXACT_MATCH_ADDRESS_5TH_OCTET ,Fifth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x60 8.--15. 1. " EXACT_MATCH_ADDRESS_4TH_OCTET ,Fourth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x60 0.--7. 1. " EXACT_MATCH_ADDRESS_3TH_OCTET ,Third octet of the exact match address"
line.long (0x60+0x04) "MAC13ADDR2,Station Address 13 Part 2 Register"
hexmask.long.byte (0x60+0x04) 24.--31. 1. " EXACT_MATCH_ADDRESS_2ND_OCTET ,Second octet of the exact match address"
textline "                      "
hexmask.long.byte (0x60+0x04) 16.--23. 1. " EXACT_MATCH_ADDRESS_1ST_OCTET ,First octet of the exact match address"
line.long 0x68 "MAC14ADDR1,MAC Exact Match Address 14 Part 1 Register"
hexmask.long.byte 0x68 24.--31. 1. " EXACT_MATCH_ADDRESS_6TH_OCTET ,Sixth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x68 16.--23. 1. " EXACT_MATCH_ADDRESS_5TH_OCTET ,Fifth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x68 8.--15. 1. " EXACT_MATCH_ADDRESS_4TH_OCTET ,Fourth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x68 0.--7. 1. " EXACT_MATCH_ADDRESS_3TH_OCTET ,Third octet of the exact match address"
line.long (0x68+0x04) "MAC14ADDR2,Station Address 14 Part 2 Register"
hexmask.long.byte (0x68+0x04) 24.--31. 1. " EXACT_MATCH_ADDRESS_2ND_OCTET ,Second octet of the exact match address"
textline "                      "
hexmask.long.byte (0x68+0x04) 16.--23. 1. " EXACT_MATCH_ADDRESS_1ST_OCTET ,First octet of the exact match address"
line.long 0x70 "MAC15ADDR1,MAC Exact Match Address 15 Part 1 Register"
hexmask.long.byte 0x70 24.--31. 1. " EXACT_MATCH_ADDRESS_6TH_OCTET ,Sixth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x70 16.--23. 1. " EXACT_MATCH_ADDRESS_5TH_OCTET ,Fifth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x70 8.--15. 1. " EXACT_MATCH_ADDRESS_4TH_OCTET ,Fourth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x70 0.--7. 1. " EXACT_MATCH_ADDRESS_3TH_OCTET ,Third octet of the exact match address"
line.long (0x70+0x04) "MAC15ADDR2,Station Address 15 Part 2 Register"
hexmask.long.byte (0x70+0x04) 24.--31. 1. " EXACT_MATCH_ADDRESS_2ND_OCTET ,Second octet of the exact match address"
textline "                      "
hexmask.long.byte (0x70+0x04) 16.--23. 1. " EXACT_MATCH_ADDRESS_1ST_OCTET ,First octet of the exact match address"
width 0xb
tree.end
tree "eTSEC1 RMON MIB Registers"
tree "TSEC1 Transmit and Receive Counters"
width 7.
group.long (0x24000+0x0680)++0x1b
line.long 0x00 "TR64,Transmit and Receive 64-Byte Frame Counter Register"
hexmask.long.tbyte 0x00 0.--21. 1. " TR64  ,Transmit and receive 64-byte frame counter"
line.long 0x04 "TR127,Transmit and Receive 65- to 127-Byte Frame Counter Register"
hexmask.long.tbyte 0x04 0.--21. 1. " TR127 ,Transmit and receive 65- to 127-byte frame counter"
line.long 0x08 "TR255,Transmit and Receive 128- to 255-Byte Frame Counter Register"
hexmask.long.tbyte 0x08 0.--21. 1. " TR255 ,Transmit and receive 128- to 255-byte frame counter"
line.long 0x0c "TR511,Transmit and Receive 256- to 511-Byte Frame Counter Register"
hexmask.long.tbyte 0x0c 0.--21. 1. " TR511 ,Transmit and receive 256- to 511-byte frame counter"
line.long 0x10 "TR1K,Transmit and Receive 512- to 1023-Byte Frame Counter Register"
hexmask.long.tbyte 0x10 0.--21. 1. " TR1K  ,Transmit and Receive 512- to 1023-Byte Frame Counter"
line.long 0x14 "TRMAX,Transmit and Receive 1024- to 1518-Byte Frame Counter Register"
hexmask.long.tbyte 0x14 0.--21. 1. " TRMAX ,Transmit and Receive 1024- to 1518-Byte Frame Counter"
line.long 0x18 "TRMGV,Transmit and Receive 1519- to 1522-Byte VLAN Frame Counter Register"
hexmask.long.tbyte 0x18 0.--21. 1. " TRMGV ,Transmit and Receive 1519- to 1522-Byte VLAN Frame Counter"
tree.end
tree "TSEC1 Receive Counters"
width 6.
group.long (0x24000+0x069c)++0x43
line.long 0x00 "RBYT,Receive Byte Counter Register"
line.long 0x04 "RPKT,Receive Packet Counter Register"
hexmask.long.tbyte 0x04 0.--21. 1. " RPKT  ,Receive packet counter"
line.long 0x08 "RFCS,Receive FCS Error Counter Register"
hexmask.long.word 0x08 0.--15. 1. " RFCS  ,Receive FCS error counter"
line.long 0x0c "RMCA,Receive Multicast Packet Counter Register"
hexmask.long.tbyte 0x0c 0.--21. 1. " RMCA  ,Receive multicast packet counter"
line.long 0x10 "RBCA,Receive Broadcast Packet Counter Register"
hexmask.long.tbyte 0x10 0.--21. 1. " RBCA  ,Receive broadcast packet counter"
line.long 0x14 "RXCF,Receive Control Frame Packet Counter Register"
hexmask.long.word 0x14 0.--15. 1. " RXCF  ,Receive control frame packet counter"
line.long 0x18 "RXPF,Receive Pause Frame Packet Counter Register"
hexmask.long.word 0x18 0.--15. 1. " RXPF  ,Receive PAUSE frame packet counter"
line.long 0x1c "RXUO,Receive Unknown Opcode Packet Counter Register"
hexmask.long.word 0x1c 0.--15. 1. " RXUO  ,Receive unknown opcode counter"
line.long 0x20 "RALN,Receive Alignment Error Counter Register"
hexmask.long.word 0x20 0.--15. 1. " RALN  ,Receive alignment error counter"
line.long 0x24 "RFLR,Receive Frame Length Error Counter Register"
hexmask.long.word 0x24 0.--15. 1. " RFLR  ,Receive frame length error counter"
line.long 0x28 "RCDE,Receive Code Error Counter Register"
hexmask.long.word 0x28 0.--15. 1. " RCDE  ,Receive code error counter"
line.long 0x2c "RCSE,Receive Carrier Sense Error Counter Register"
hexmask.long.word 0x2c 0.--15. 1. " RCSE  ,Receive false carrier counter"
line.long 0x30 "RUND,Receive Undersize Packet Counter Register"
hexmask.long.word 0x30 0.--15. 1. " RUND  ,Receive undersize packet counter"
line.long 0x34 "ROVR,Receive Oversize Packet Counter Register"
hexmask.long.word 0x34 0.--15. 1. " ROVR  ,Receive oversize packet counter"
line.long 0x38 "RFRG,Receive Fragments Counter Register"
hexmask.long.word 0x38 0.--15. 1. " RFRG  ,Receive fragments counter"
line.long 0x3c "RJBR,Receive Jabber Counter Register"
hexmask.long.word 0x3c 0.--15. 1. " RJBR  ,Receive jabber counter"
line.long 0x40 "RDRP,Receive Dropped Packet Counter Register"
hexmask.long.word 0x40 0.--15. 1. " RDRP  ,Receive dropped packets counter"
tree.end
tree "TSEC1 Transmit Counters"
width 6.
group.long (0x24000+0x06e0)++0x2f
line.long 0x00 "TBYT,Transmit Byte Counter Register"
line.long 0x04 "TPKT,Transmit Packet Counter Register"
hexmask.long.tbyte 0x04 0.--21. 1. " TPKT  ,Transmit packet counter"
line.long 0x08 "TMCA,Transmit Multicast Packet Counter Register"
hexmask.long.tbyte 0x08 0.--21. 1. " TMCA  ,Transmit multicast packet counter"
line.long 0x0c "TBCA,Transmit Broadcast Packet Counter Register"
hexmask.long.tbyte 0x0c 0.--21. 1. " TBCA  ,Transmit broadcast packet counter"
line.long 0x10 "TXPF,Transmit Pause Control Frame Counter Register"
hexmask.long.word 0x10 0.--15. 1. " TXPF  ,Transmit PAUSE frame packet counter"
line.long 0x14 "TDFR,Transmit Deferral Packet Counter Register"
hexmask.long.word 0x14 0.--11. 1. " TDFR  ,Transmit deferral packet counter"
line.long 0x18 "TEDF,Transmit Excessive Deferral Packet Counter Register"
hexmask.long.word 0x18 0.--11. 1. " TEDF  ,Transmit excessive deferral packet counter"
line.long 0x1c "TSCL,Transmit Single Collision Packet Counter Register"
hexmask.long.word 0x1c 0.--11. 1. " TSCL  ,Transmit single collision packet counter"
line.long 0x20 "TMCL,Transmit Multiple Collision Packet Counter Register"
hexmask.long.word 0x20 0.--11. 1. " TMCL  ,Transmit multiple collision packet counter"
line.long 0x24 "TLCL,Transmit Late Collision Packet Counter Register"
hexmask.long.word 0x24 0.--11. 1. " TLCL  ,Transmit late collision packet counter"
line.long 0x28 "TXCL,Transmit Excessive Collision Packet Counter Register"
hexmask.long.word 0x28 0.--11. 1. " TXCL  ,Transmit excessive collision packet counter"
line.long 0x2c "TNCL,Transmit Total Collision Counter Register"
hexmask.long.word 0x2c 0.--11. 1. " TNCL  ,Transmit total collision counter"
group.long (0x24000+0x0714)++0x1b
line.long 0x00 "TDRP,Transmit Drop Frame Counter Register"
hexmask.long.word 0x00 0.--15. 1. " TDRP  ,Transmit drop frame counter"
line.long 0x04 "TJBR,Transmit Jabber Frame Counter Register"
hexmask.long.word 0x04 0.--11. 1. " TJBR  ,Transmit jabber frame counter"
line.long 0x08 "TFCS,Transmit FCS Error Counter Register"
hexmask.long.word 0x08 0.--11. 1. " TFCS  ,Transmit FCS error counter"
line.long 0x0c "TXCF,Transmit Control Frame Counter Register"
hexmask.long.word 0x0c 0.--11. 1. " TXCF  ,Transmit control frame counter"
line.long 0x10 "TOVR,Transmit Oversize Frame Counter Register"
hexmask.long.word 0x10 0.--11. 1. " TOVR  ,Transmit oversize frame counter"
line.long 0x14 "TUND,Transmit Undersize Frame Counter Register"
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315")&&(CPU()!="MPC8308"))
hexmask.long.word 0x14 0.--11. 1. " TDFR  ,Transmit undersize frame counter"
else
hexmask.long.word 0x14 0.--11. 1. " TUND  ,Transmit undersize frame counter"
endif
line.long 0x18 "TFRG,Transmit Fragment Counter Register"
hexmask.long.word 0x18 0.--11. 1. " TFRG  ,Transmit fragment counter"
tree.end
tree "TSEC1 General Registers"
width 7.
group.long (0x24000+0x0730)++0x13
sif (CPU()=="MPC8308")
line.long 0x00 "CAR1,Carry Register 1"
eventfld.long 0x00 31. " C164  ,Carry register 1 TR64 counter carry bit" "0,1"
eventfld.long 0x00 30. "       C1127 ,Carry register 1 TR127 counter carry bit" "0,1"
eventfld.long 0x00 29. "  C1255 ,Carry register 1 TR255 counter carry bit" "0,1"
eventfld.long 0x00 28. "  C1511 ,Carry register 1 TR511 counter carry bit" "0,1"
textline "                "
eventfld.long 0x00 27. " C11K  ,Carry register 1 TR1K counter carry bit" "0,1"
eventfld.long 0x00 26. "       C1MAX ,Carry register 1 TRMAX counter carry bit" "0,1"
eventfld.long 0x00 25. "  C1MGV ,Carry register 1 TRMGV counter carry bit" "0,1"
eventfld.long 0x00 17. "  C1REJ ,Carry register 1 RREJ counter carry" "0,1"
textline "                "
eventfld.long 0x00 16. " C1RBY ,Carry register 1 RBYT counter carry bit" "0,1"
eventfld.long 0x00 15. "       C1RPK ,Carry register 1 RPKT counter carry bit" "0,1"
eventfld.long 0x00 14. "  C1RFC ,Carry register 1 RFCS counter carry bit" "0,1"
eventfld.long 0x00 13. "  C1RMC ,Carry register 1 RMCA counter carry bit" "0,1"
textline "                "
eventfld.long 0x00 12. " C1RBC ,Carry register 1 RBCA counter carry bit" "0,1"
eventfld.long 0x00 11. "       C1RXC ,Carry register 1 RXCF counter carry bit" "0,1"
eventfld.long 0x00 10. "  C1RXP ,Carry register 1 RXPF counter carry bit" "0,1"
eventfld.long 0x00 9. "  C1RXU ,Carry register 1 RXUO counter carry bit" "0,1"
textline "                "
eventfld.long 0x00 8. " C1RAL ,Carry register 1 RALN counter carry bit" "0,1"
eventfld.long 0x00 7. "       C1RFL ,Carry register 1 RFLR counter carry bit" "0,1"
eventfld.long 0x00 6. "  C1RCD ,Carry register 1 RCDE counter carry bit" "0,1"
eventfld.long 0x00 5. "  C1RCS ,Carry register 1 RCSE counter carry bit" "0,1"
textline "                "
eventfld.long 0x00 4. " C1RUN ,Carry register 1 RUND counter carry bit" "0,1"
eventfld.long 0x00 3. "       C1ROV ,Carry register 1 ROVR counter carry bit" "0,1"
eventfld.long 0x00 2. "  C1RFR ,Carry register 1 RFRG counter carry bit" "0,1"
eventfld.long 0x00 1. "  C1RJB ,Carry register 1 RJBR counter carry bit" "0,1"
textline "                "
eventfld.long 0x00 0. " C1RDR ,Carry register 1 RDRP counter carry bit" "0,1"
line.long 0x04 "CAR2,Carry Register 2"
eventfld.long 0x04 19. " C2TJB ,Carry register 2 TJBR Counter Carry bit" "0,1"
eventfld.long 0x04 18. "       C2TFC ,Carry register 2 TFCS Counter Carry bit" "0,1"
eventfld.long 0x04 17. "  C2TCF ,Carry register 2 TXCF Counter Carry bit" "0,1"
eventfld.long 0x04 16. "  C2TOV ,Carry register 2 TOVR Counter Carry bit" "0,1"
textline "                "
eventfld.long 0x04 15. " C2TUN ,Carry register 2 TUND Counter Carry bit" "0,1"
eventfld.long 0x04 14. "       C2TFG ,Carry register 2 TFRG Counter Carry bit" "0,1"
eventfld.long 0x04 13. "  C2TBY ,Carry register 2 TBYT Counter Carry bit" "0,1"
eventfld.long 0x04 12. "  C2TPK ,Carry register 2 TPKT Counter Carry bit" "0,1"
textline "                "
eventfld.long 0x04 11. " C2TMC ,Carry register 2 TMCA Counter Carry bit" "0,1"
eventfld.long 0x04 10. "       C2TBC ,Carry register 2 TBCA Counter Carry bit" "0,1"
eventfld.long 0x04 9. "  C2TPF ,Carry register 2 TXPF Counter Carry bit" "0,1"
eventfld.long 0x04 8. "  C2TDF ,Carry register 2 TDFR Counter Carry bit" "0,1"
textline "                "
eventfld.long 0x04 7. " C2TED ,Carry register 2 TEDF Counter Carry bit" "0,1"
eventfld.long 0x04 6. "       C2TSC ,Carry register 2 TSCL Counter Carry bit" "0,1"
eventfld.long 0x04 5. "  C2TMA ,Carry register 2 TMCL Counter Carry bit" "0,1"
eventfld.long 0x04 4. "  C2TLC ,Carry register 2 TLCL Counter Carry bit" "0,1"
textline "                "
eventfld.long 0x04 3. " C2TXC ,Carry register 2 TXCL Counter Carry bit" "0,1"
eventfld.long 0x04 2. "       C2TNC ,Carry register 2 TNCL Counter Carry bit" "0,1"
eventfld.long 0x04 0. "  C2TDP ,Carry register 2 TDRP Counter Carry bit" "0,1"
else
line.long 0x00 "CAR1,Carry Register 1"
bitfld.long 0x00 31. " C164  ,Carry register 1 TR64 counter carry bit" "0,1"
bitfld.long 0x00 30. "       C1127 ,Carry register 1 TR127 counter carry bit" "0,1"
bitfld.long 0x00 29. "  C1255 ,Carry register 1 TR255 counter carry bit" "0,1"
bitfld.long 0x00 28. "  C1511 ,Carry register 1 TR511 counter carry bit" "0,1"
textline "                "
bitfld.long 0x00 27. " C11K  ,Carry register 1 TR1K counter carry bit" "0,1"
bitfld.long 0x00 26. "       C1MAX ,Carry register 1 TRMAX counter carry bit" "0,1"
bitfld.long 0x00 25. "  C1MGV ,Carry register 1 TRMGV counter carry bit" "0,1"
bitfld.long 0x00 17. "  C1REJ ,Carry register 1 RREJ counter carry" "0,1"
textline "                "
bitfld.long 0x00 16. " C1RBY ,Carry register 1 RBYT counter carry bit" "0,1"
bitfld.long 0x00 15. "       C1RPK ,Carry register 1 RPKT counter carry bit" "0,1"
bitfld.long 0x00 14. "  C1RFC ,Carry register 1 RFCS counter carry bit" "0,1"
bitfld.long 0x00 13. "  C1RMC ,Carry register 1 RMCA counter carry bit" "0,1"
textline "                "
bitfld.long 0x00 12. " C1RBC ,Carry register 1 RBCA counter carry bit" "0,1"
bitfld.long 0x00 11. "       C1RXC ,Carry register 1 RXCF counter carry bit" "0,1"
bitfld.long 0x00 10. "  C1RXP ,Carry register 1 RXPF counter carry bit" "0,1"
bitfld.long 0x00 9. "  C1RXU ,Carry register 1 RXUO counter carry bit" "0,1"
textline "                "
bitfld.long 0x00 8. " C1RAL ,Carry register 1 RALN counter carry bit" "0,1"
bitfld.long 0x00 7. "       C1RFL ,Carry register 1 RFLR counter carry bit" "0,1"
bitfld.long 0x00 6. "  C1RCD ,Carry register 1 RCDE counter carry bit" "0,1"
bitfld.long 0x00 5. "  C1RCS ,Carry register 1 RCSE counter carry bit" "0,1"
textline "                "
bitfld.long 0x00 4. " C1RUN ,Carry register 1 RUND counter carry bit" "0,1"
bitfld.long 0x00 3. "       C1ROV ,Carry register 1 ROVR counter carry bit" "0,1"
bitfld.long 0x00 2. "  C1RFR ,Carry register 1 RFRG counter carry bit" "0,1"
bitfld.long 0x00 1. "  C1RJB ,Carry register 1 RJBR counter carry bit" "0,1"
textline "                "
bitfld.long 0x00 0. " C1RDR ,Carry register 1 RDRP counter carry bit" "0,1"
line.long 0x04 "CAR2,Carry Register 2"
bitfld.long 0x04 19. " C2TJB ,Carry register 2 TJBR Counter Carry bit" "0,1"
bitfld.long 0x04 18. "       C2TFC ,Carry register 2 TFCS Counter Carry bit" "0,1"
bitfld.long 0x04 17. "  C2TCF ,Carry register 2 TXCF Counter Carry bit" "0,1"
bitfld.long 0x04 16. "  C2TOV ,Carry register 2 TOVR Counter Carry bit" "0,1"
textline "                "
bitfld.long 0x04 15. " C2TUN ,Carry register 2 TUND Counter Carry bit" "0,1"
bitfld.long 0x04 14. "       C2TFG ,Carry register 2 TFRG Counter Carry bit" "0,1"
bitfld.long 0x04 13. "  C2TBY ,Carry register 2 TBYT Counter Carry bit" "0,1"
bitfld.long 0x04 12. "  C2TPK ,Carry register 2 TPKT Counter Carry bit" "0,1"
textline "                "
bitfld.long 0x04 11. " C2TMC ,Carry register 2 TMCA Counter Carry bit" "0,1"
bitfld.long 0x04 10. "       C2TBC ,Carry register 2 TBCA Counter Carry bit" "0,1"
bitfld.long 0x04 9. "  C2TPF ,Carry register 2 TXPF Counter Carry bit" "0,1"
bitfld.long 0x04 8. "  C2TDF ,Carry register 2 TDFR Counter Carry bit" "0,1"
textline "                "
bitfld.long 0x04 7. " C2TED ,Carry register 2 TEDF Counter Carry bit" "0,1"
bitfld.long 0x04 6. "       C2TSC ,Carry register 2 TSCL Counter Carry bit" "0,1"
bitfld.long 0x04 5. "  C2TMA ,Carry register 2 TMCL Counter Carry bit" "0,1"
bitfld.long 0x04 4. "  C2TLC ,Carry register 2 TLCL Counter Carry bit" "0,1"
textline "                "
bitfld.long 0x04 3. " C2TXC ,Carry register 2 TXCL Counter Carry bit" "0,1"
bitfld.long 0x04 2. "       C2TNC ,Carry register 2 TNCL Counter Carry bit" "0,1"
bitfld.long 0x04 0. "  C2TDP ,Carry register 2 TDRP Counter Carry bit" "0,1"
endif
line.long 0x08 "CAM1,Carry Mask Register 1"
bitfld.long 0x08 31. " M164  ,Mask register 1 TR64 counter carry bit mask" "0,1"
bitfld.long 0x08 30. "       M1127 ,Mask register 1 TR127 counter carry bit mask" "0,1"
bitfld.long 0x08 29. "  M1255 ,Mask register 1 TR255 counter carry bit mask" "0,1"
bitfld.long 0x08 28. "  M1511 ,Mask register 1 TR511 counter carry bit mask" "0,1"
textline "                "
bitfld.long 0x08 27. " M11K  ,Mask register 1 TR1K counter carry bit mask" "0,1"
bitfld.long 0x08 26. "       M1MAX ,Mask register 1 TRMAX counter carry bit mask" "0,1"
bitfld.long 0x08 25. "  M1MGV ,Mask register 1 TRMGV counter carry bit mask" "0,1"
bitfld.long 0x08 17. "  M1REJ ,Mask register 1 RREJ counter carry bit mask" "0,1"
textline "                "
bitfld.long 0x08 16. " M1RBY ,Mask register 1 RBYT counter carry bit mask" "0,1"
bitfld.long 0x08 15. "       M1RPK ,Mask register 1 RPKT counter carry bit mask" "0,1"
bitfld.long 0x08 14. "  M1RFC ,Mask register 1 RFCS counter carry bit mask" "0,1"
bitfld.long 0x08 13. "  M1RMC ,Mask register 1 RMCA counter carry bit mask" "0,1"
textline "                "
bitfld.long 0x08 12. " M1RBC ,Mask register 1 RBCA counter carry bit mask" "0,1"
bitfld.long 0x08 11. "       M1RXC ,Mask register 1 RXCF counter carry bit mask" "0,1"
bitfld.long 0x08 10. "  M1RXP ,Mask register 1 RXPF counter carry bit mask" "0,1"
bitfld.long 0x08 9. "  M1RXU ,Mask register 1 RXUO counter carry bit mask" "0,1"
textline "                "
bitfld.long 0x08 8. " M1RAL ,Mask register 1 RALN counter carry bit mask" "0,1"
bitfld.long 0x08 7. "       M1RFL ,Mask register 1 RFLR counter carry bit mask" "0,1"
bitfld.long 0x08 6. "  M1RCD ,Mask register 1 RCDE counter carry bit mask" "0,1"
bitfld.long 0x08 5. "  M1RCS ,Mask register 1 RCSE counter carry bit mask" "0,1"
textline "                "
bitfld.long 0x08 4. " M1RUN ,Mask register 1 RUND counter carry bit mask" "0,1"
bitfld.long 0x08 3. "       M1ROV ,Mask register 1 ROVR counter carry bit mask" "0,1"
bitfld.long 0x08 2. "  M1RFR ,Mask register 1 RFRG counter carry bit mask" "0,1"
bitfld.long 0x08 1. "  M1RJB ,Mask register 1 RJBR counter carry bit mask" "0,1"
textline "                "
bitfld.long 0x08 0. " M1RDR ,Mask register 1 RDRP counter carry bit mask" "0,1"
line.long 0x0c "CAM2,Carry Mask Register 2"
bitfld.long 0x0C 19. " M2TJB ,Mask register 2 TJBR counter carry bit mask" "0,1"
bitfld.long 0x0C 18. "       M2TFC ,Mask register 2 TFCS counter carry bit mask" "0,1"
bitfld.long 0x0C 17. "  M2TCF ,Mask register 2 TXCF counter carry bit mask" "0,1"
bitfld.long 0x0C 16. "  M2TOV ,Mask register 2 TOVR counter carry bit mask" "0,1"
textline "                "
bitfld.long 0x0C 15. " M2TUN ,Mask register 2 TUND counter carry bit mask" "0,1"
bitfld.long 0x0C 14. "       M2TFG ,Mask register 2 TFRG counter carry bit mask" "0,1"
bitfld.long 0x0C 13. "  M2TBY ,Mask register 2 TBYT counter carry bit mask" "0,1"
bitfld.long 0x0C 12. "  M2TPK ,Mask register 2 TPKT counter carry bit mask" "0,1"
textline "                "
bitfld.long 0x0C 11. " M2TMC ,Mask register 2 TMCA counter carry bit mask" "0,1"
bitfld.long 0x0C 10. "       M2TBC ,Mask register 2 TBCA counter carry bit mask" "0,1"
bitfld.long 0x0C 9. "  M2TPF ,Mask register 2 TXPF counter carry bit mask" "0,1"
bitfld.long 0x0C 8. "  M2TDF ,Mask register 2 TDFR counter carry bit mask" "0,1"
textline "                "
bitfld.long 0x0C 7. " M2TED ,Mask register 2 TEDF counter carry bit mask" "0,1"
bitfld.long 0x0C 6. "       M2TSC ,Mask register 2 TSCL counter carry bit mask" "0,1"
bitfld.long 0x0C 5. "  M2TMA ,Mask register 2 TMCL counter carry bit mask" "0,1"
bitfld.long 0x0C 4. "  M2TLC ,Mask register 2 TLCL counter carry bit mask" "0,1"
textline "                "
bitfld.long 0x0C 3. " M2TXC ,Mask register 2 TXCL counter carry bit mask" "0,1"
bitfld.long 0x0C 2. "       M2TNC ,Mask register 2 TNCL counter carry bit mask" "0,1"
bitfld.long 0x0C 0. "  M2TDP ,Mask register 2 TDRP counter carry bit mask" "0,1"
line.long 0x10 "RREJ,Receive Filer Rejected Packet Counter"
hexmask.long.tbyte 0x10 0.--21. 1. " RREJ  ,Receive filer rejected packet counter"
tree.end
width 0xb
tree.end
tree "eTSEC1 Hash Function Registers"
width 8. 
group.long (0x24000+0x800)++0x1f
line.long 0x00 "IGADDR0,Individual/Group Address Register 0"
bitfld.long 0x00 31. " IADDR0   ,Hash table entry 0 enable" "-,Enabled"
bitfld.long 0x00 30. "  IADDR1   ,Hash table entry 1 enable" "-,Enabled"
bitfld.long 0x00 29. "  IADDR2   ,Hash table entry 2 enable" "-,Enabled"
textline "                 "
bitfld.long 0x00 28. " IADDR3   ,Hash table entry 3 enable" "-,Enabled"
bitfld.long 0x00 27. "  IADDR4   ,Hash table entry 4 enable" "-,Enabled"
bitfld.long 0x00 26. "  IADDR5   ,Hash table entry 5 enable" "-,Enabled"
textline "                 "
bitfld.long 0x00 25. " IADDR6   ,Hash table entry 6 enable" "-,Enabled"
bitfld.long 0x00 24. "  IADDR7   ,Hash table entry 7 enable" "-,Enabled"
bitfld.long 0x00 23. "  IADDR8   ,Hash table entry 8 enable" "-,Enabled"
textline "                 "
bitfld.long 0x00 22. " IADDR9   ,Hash table entry 9 enable" "-,Enabled"
bitfld.long 0x00 21. "  IADDR10  ,Hash table entry 10 enable" "-,Enabled"
bitfld.long 0x00 20. "  IADDR11  ,Hash table entry 11 enable" "-,Enabled"
textline "                 "    
bitfld.long 0x00 19. " IADDR12  ,Hash table entry 12 enable" "-,Enabled"
bitfld.long 0x00 18. "  IADDR13  ,Hash table entry 13 enable" "-,Enabled"
bitfld.long 0x00 17. "  IADDR14  ,Hash table entry 14 enable" "-,Enabled"
textline "                 "
bitfld.long 0x00 16. " IADDR15  ,Hash table entry 15 enable" "-,Enabled"
bitfld.long 0x00 15. "  IADDR16  ,Hash table entry 16 enable" "-,Enabled"
bitfld.long 0x00 14. "  IADDR17  ,Hash table entry 17 enable" "-,Enabled"
textline "                 "
bitfld.long 0x00 13. " IADDR18  ,Hash table entry 18 enable" "-,Enabled"
bitfld.long 0x00 12. "  IADDR19  ,Hash table entry 19 enable" "-,Enabled"
bitfld.long 0x00 11. "  IADDR20  ,Hash table entry 20 enable" "-,Enabled"
textline "                 "
bitfld.long 0x00 10. " IADDR21  ,Hash table entry 21 enable" "-,Enabled"
bitfld.long 0x00 9. "  IADDR22  ,Hash table entry 22 enable" "-,Enabled"
bitfld.long 0x00 8. "  IADDR23  ,Hash table entry 23 enable" "-,Enabled"
textline "                 "    
bitfld.long 0x00 7. " IADDR24  ,Hash table entry 24 enable" "-,Enabled"
bitfld.long 0x00 6. "  IADDR25  ,Hash table entry 25 enable" "-,Enabled"
bitfld.long 0x00 5. "  IADDR26  ,Hash table entry 26 enable" "-,Enabled"
textline "                 "
bitfld.long 0x00 4. " IADDR27  ,Hash table entry 27 enable" "-,Enabled"
bitfld.long 0x00 3. "  IADDR28  ,Hash table entry 28 enable" "-,Enabled"
bitfld.long 0x00 2. "  IADDR29  ,Hash table entry 29 enable" "-,Enabled"
textline "                 "
bitfld.long 0x00 1. " IADDR30  ,Hash table entry 30 enable" "-,Enabled"
bitfld.long 0x00 0. "  IADDR31  ,Hash table entry 31 enable" "-,Enabled"
line.long 0x04 "IGADDR1,Individual/Group Address Register 1"
bitfld.long 0x04 31. " IADDR32  ,Hash table entry 32 enable" "-,Enabled"
bitfld.long 0x04 30. "  IADDR33  ,Hash table entry 33 enable" "-,Enabled"
bitfld.long 0x04 29. "  IADDR34  ,Hash table entry 34 enable" "-,Enabled"
textline "                 "
bitfld.long 0x04 28. " IADDR35  ,Hash table entry 35 enable" "-,Enabled"
bitfld.long 0x04 27. "  IADDR36  ,Hash table entry 36 enable" "-,Enabled"
bitfld.long 0x04 26. "  IADDR37  ,Hash table entry 37 enable" "-,Enabled"
textline "                 "
bitfld.long 0x04 25. " IADDR38  ,Hash table entry 38 enable" "-,Enabled"
bitfld.long 0x04 24. "  IADDR39  ,Hash table entry 39 enable" "-,Enabled"
bitfld.long 0x04 23. "  IADDR40  ,Hash table entry 40 enable" "-,Enabled"
textline "                 "
bitfld.long 0x04 22. " IADDR41  ,Hash table entry 41 enable" "-,Enabled"
bitfld.long 0x04 21. "  IADDR42  ,Hash table entry 42 enable" "-,Enabled"
bitfld.long 0x04 20. "  IADDR43  ,Hash table entry 43 enable" "-,Enabled"
textline "                 "
bitfld.long 0x04 19. " IADDR44  ,Hash table entry 44 enable" "-,Enabled"
bitfld.long 0x04 18. "  IADDR45  ,Hash table entry 45 enable" "-,Enabled"
bitfld.long 0x04 17. "  IADDR46  ,Hash table entry 46 enable" "-,Enabled"
textline "                 "
bitfld.long 0x04 16. " IADDR47  ,Hash table entry 47 enable" "-,Enabled"
bitfld.long 0x04 15. "  IADDR48  ,Hash table entry 48 enable" "-,Enabled"
bitfld.long 0x04 14. "  IADDR49  ,Hash table entry 49 enable" "-,Enabled"
textline "                 "
bitfld.long 0x04 13. " IADDR50  ,Hash table entry 50 enable" "-,Enabled"
bitfld.long 0x04 12. "  IADDR51  ,Hash table entry 51 enable" "-,Enabled"
bitfld.long 0x04 11. "  IADDR52  ,Hash table entry 52 enable" "-,Enabled"
textline "                 "
bitfld.long 0x04 10. " IADDR53  ,Hash table entry 53 enable" "-,Enabled"
bitfld.long 0x04 9. "  IADDR54  ,Hash table entry 54 enable" "-,Enabled"
bitfld.long 0x04 8. "  IADDR55  ,Hash table entry 55 enable" "-,Enabled"
textline "                 "
bitfld.long 0x04 7. " IADDR56  ,Hash table entry 56 enable" "-,Enabled"
bitfld.long 0x04 6. "  IADDR57  ,Hash table entry 57 enable" "-,Enabled"
bitfld.long 0x04 5. "  IADDR58  ,Hash table entry 58 enable" "-,Enabled"
textline "                 "
bitfld.long 0x04 4. " IADDR59  ,Hash table entry 59 enable" "-,Enabled"
bitfld.long 0x04 3. "  IADDR60  ,Hash table entry 60 enable" "-,Enabled"
bitfld.long 0x04 2. "  IADDR61  ,Hash table entry 61 enable" "-,Enabled"
textline "                 "
bitfld.long 0x04 1. " IADDR62  ,Hash table entry 62 enable" "-,Enabled"
bitfld.long 0x04 0. "  IADDR63  ,Hash table entry 63 enable" "-,Enabled"
line.long 0x08 "IGADDR2,Individual/Group Address Register 2"
bitfld.long 0x08 31. " IADDR64  ,Hash table entry 64 enable" "-,Enabled"
bitfld.long 0x08 30. "  IADDR65  ,Hash table entry 65 enable" "-,Enabled"
bitfld.long 0x08 29. "  IADDR66  ,Hash table entry 66 enable" "-,Enabled"
textline "                 "
bitfld.long 0x08 28. " IADDR67  ,Hash table entry 67 enable" "-,Enabled"
bitfld.long 0x08 27. "  IADDR68  ,Hash table entry 68 enable" "-,Enabled"
bitfld.long 0x08 26. "  IADDR69  ,Hash table entry 69 enable" "-,Enabled"
textline "                 "
bitfld.long 0x08 25. " IADDR70  ,Hash table entry 70 enable" "-,Enabled"
bitfld.long 0x08 24. "  IADDR71  ,Hash table entry 71 enable" "-,Enabled"
bitfld.long 0x08 23. "  IADDR72  ,Hash table entry 72 enable" "-,Enabled"
textline "                 "
bitfld.long 0x08 22. " IADDR73  ,Hash table entry 73 enable" "-,Enabled"
bitfld.long 0x08 21. "  IADDR74  ,Hash table entry 74 enable" "-,Enabled"
bitfld.long 0x08 20. "  IADDR75  ,Hash table entry 75 enable" "-,Enabled"
textline "                 "
bitfld.long 0x08 19. " IADDR76  ,Hash table entry 76 enable" "-,Enabled"
bitfld.long 0x08 18. "  IADDR77  ,Hash table entry 77 enable" "-,Enabled"
bitfld.long 0x08 17. "  IADDR78  ,Hash table entry 78 enable" "-,Enabled"
textline "                 "
bitfld.long 0x08 16. " IADDR79  ,Hash table entry 79 enable" "-,Enabled"
bitfld.long 0x08 15. "  IADDR80  ,Hash table entry 80 enable" "-,Enabled"
bitfld.long 0x08 14. "  IADDR81  ,Hash table entry 81 enable" "-,Enabled"
textline "                 "
bitfld.long 0x08 13. " IADDR82  ,Hash table entry 82 enable" "-,Enabled"
bitfld.long 0x08 12. "  IADDR83  ,Hash table entry 83 enable" "-,Enabled"
bitfld.long 0x08 11. "  IADDR84  ,Hash table entry 84 enable" "-,Enabled"
textline "                 "
bitfld.long 0x08 10. " IADDR85  ,Hash table entry 85 enable" "-,Enabled"
bitfld.long 0x08 9. "  IADDR86  ,Hash table entry 86 enable" "-,Enabled"
bitfld.long 0x08 8. "  IADDR87  ,Hash table entry 87 enable" "-,Enabled"
textline "                 "
bitfld.long 0x08 7. " IADDR88  ,Hash table entry 88 enable" "-,Enabled"
bitfld.long 0x08 6. "  IADDR89  ,Hash table entry 89 enable" "-,Enabled"
bitfld.long 0x08 5. "  IADDR90  ,Hash table entry 90 enable" "-,Enabled"
textline "                 "
bitfld.long 0x08 4. " IADDR91  ,Hash table entry 91 enable" "-,Enabled"
bitfld.long 0x08 3. "  IADDR92  ,Hash table entry 92 enable" "-,Enabled"
bitfld.long 0x08 2. "  IADDR93  ,Hash table entry 93 enable" "-,Enabled"
textline "                 "
bitfld.long 0x08 1. " IADDR94  ,Hash table entry 94 enable" "-,Enabled"
bitfld.long 0x08 0. "  IADDR95  ,Hash table entry 95 enable" "-,Enabled"
line.long 0x0c "IGADDR3,Individual/Group Address Register 3"
bitfld.long 0x0c 31. " IADDR96  ,Hash table entry 96 enable" "-,Enabled"
bitfld.long 0x0c 30. "  IADDR97  ,Hash table entry 97 enable" "-,Enabled"
bitfld.long 0x0c 29. "  IADDR98  ,Hash table entry 98 enable" "-,Enabled"
textline "                 "
bitfld.long 0x0c 28. " IADDR99  ,Hash table entry 99 enable" "-,Enabled"
bitfld.long 0x0c 27. "  IADDR100 ,Hash table entry 100 enable" "-,Enabled"
bitfld.long 0x0c 26. "  IADDR101 ,Hash table entry 101 enable" "-,Enabled"
textline "                 "
bitfld.long 0x0c 25. " IADDR102 ,Hash table entry 102 enable" "-,Enabled"
bitfld.long 0x0c 24. "  IADDR103 ,Hash table entry 103 enable" "-,Enabled"
bitfld.long 0x0c 23. "  IADDR104 ,Hash table entry 104 enable" "-,Enabled"
textline "                 "
bitfld.long 0x0c 22. " IADDR105 ,Hash table entry 105 enable" "-,Enabled"
bitfld.long 0x0c 21. "  IADDR106 ,Hash table entry 106 enable" "-,Enabled"
bitfld.long 0x0c 20. "  IADDR107 ,Hash table entry 107 enable" "-,Enabled"
textline "                 "
bitfld.long 0x0c 19. " IADDR108 ,Hash table entry 108 enable" "-,Enabled"
bitfld.long 0x0c 18. "  IADDR109 ,Hash table entry 109 enable" "-,Enabled"
bitfld.long 0x0c 17. "  IADDR110 ,Hash table entry 110 enable" "-,Enabled"
textline "                 "
bitfld.long 0x0c 16. " IADDR111 ,Hash table entry 111 enable" "-,Enabled"
bitfld.long 0x0c 15. "  IADDR112 ,Hash table entry 112 enable" "-,Enabled"
bitfld.long 0x0c 14. "  IADDR113 ,Hash table entry 113 enable" "-,Enabled"
textline "                 "
bitfld.long 0x0c 13. " IADDR114 ,Hash table entry 114 enable" "-,Enabled"
bitfld.long 0x0c 12. "  IADDR115 ,Hash table entry 115 enable" "-,Enabled"
bitfld.long 0x0c 11. "  IADDR116 ,Hash table entry 116 enable" "-,Enabled"
textline "                 "
bitfld.long 0x0c 10. " IADDR117 ,Hash table entry 117 enable" "-,Enabled"
bitfld.long 0x0c 9. "  IADDR118 ,Hash table entry 118 enable" "-,Enabled"
bitfld.long 0x0c 8. "  IADDR119 ,Hash table entry 119 enable" "-,Enabled"
textline "                 "
bitfld.long 0x0c 7. " IADDR120 ,Hash table entry 120 enable" "-,Enabled"
bitfld.long 0x0c 6. "  IADDR121 ,Hash table entry 121 enable" "-,Enabled"
bitfld.long 0x0c 5. "  IADDR122 ,Hash table entry 122 enable" "-,Enabled"
textline "                 "
bitfld.long 0x0c 4. " IADDR123 ,Hash table entry 123 enable" "-,Enabled"
bitfld.long 0x0c 3. "  IADDR124 ,Hash table entry 124 enable" "-,Enabled"
bitfld.long 0x0c 2. "  IADDR125 ,Hash table entry 125 enable" "-,Enabled"
textline "                 "
bitfld.long 0x0c 1. " IADDR126 ,Hash table entry 126 enable" "-,Enabled"
bitfld.long 0x0c 0. "  IADDR127 ,Hash table entry 127 enable" "-,Enabled"
line.long 0x10 "IGADDR4,Individual/Group Address Register 4"
bitfld.long 0x10 31. " IADDR128 ,Hash table entry 128 enable" "-,Enabled"
bitfld.long 0x10 30. "  IADDR129 ,Hash table entry 129 enable" "-,Enabled"
bitfld.long 0x10 29. "  IADDR130 ,Hash table entry 130 enable" "-,Enabled"
textline "                 "
bitfld.long 0x10 28. " IADDR131 ,Hash table entry 131 enable" "-,Enabled"
bitfld.long 0x10 27. "  IADDR132 ,Hash table entry 132 enable" "-,Enabled"
bitfld.long 0x10 26. "  IADDR133 ,Hash table entry 133 enable" "-,Enabled"
textline "                 "
bitfld.long 0x10 25. " IADDR134 ,Hash table entry 134 enable" "-,Enabled"
bitfld.long 0x10 24. "  IADDR135 ,Hash table entry 135 enable" "-,Enabled"
bitfld.long 0x10 23. "  IADDR136 ,Hash table entry 136 enable" "-,Enabled"
textline "                 "
bitfld.long 0x10 22. " IADDR137 ,Hash table entry 137 enable" "-,Enabled"
bitfld.long 0x10 21. "  IADDR138 ,Hash table entry 138 enable" "-,Enabled"
bitfld.long 0x10 20. "  IADDR139 ,Hash table entry 139 enable" "-,Enabled"
textline "                 "
bitfld.long 0x10 19. " IADDR140 ,Hash table entry 140 enable" "-,Enabled"
bitfld.long 0x10 18. "  IADDR141 ,Hash table entry 141 enable" "-,Enabled"
bitfld.long 0x10 17. "  IADDR142 ,Hash table entry 142 enable" "-,Enabled"
textline "                 "
bitfld.long 0x10 16. " IADDR143 ,Hash table entry 143 enable" "-,Enabled"
bitfld.long 0x10 15. "  IADDR144 ,Hash table entry 144 enable" "-,Enabled"
bitfld.long 0x10 14. "  IADDR145 ,Hash table entry 145 enable" "-,Enabled"
textline "                 "
bitfld.long 0x10 13. " IADDR146 ,Hash table entry 146 enable" "-,Enabled"
bitfld.long 0x10 12. "  IADDR147 ,Hash table entry 147 enable" "-,Enabled"
bitfld.long 0x10 11. "  IADDR148 ,Hash table entry 148 enable" "-,Enabled"
textline "                 "
bitfld.long 0x10 10. " IADDR149 ,Hash table entry 149 enable" "-,Enabled"
bitfld.long 0x10 9. "  IADDR150 ,Hash table entry 150 enable" "-,Enabled"
bitfld.long 0x10 8. "  IADDR151 ,Hash table entry 151 enable" "-,Enabled"
textline "                 "
bitfld.long 0x10 7. " IADDR152 ,Hash table entry 152 enable" "-,Enabled"
bitfld.long 0x10 6. "  IADDR153 ,Hash table entry 153 enable" "-,Enabled"
bitfld.long 0x10 5. "  IADDR154 ,Hash table entry 154 enable" "-,Enabled"
textline "                 "
bitfld.long 0x10 4. " IADDR155 ,Hash table entry 155 enable" "-,Enabled"
bitfld.long 0x10 3. "  IADDR156 ,Hash table entry 156 enable" "-,Enabled"
bitfld.long 0x10 2. "  IADDR157 ,Hash table entry 157 enable" "-,Enabled"
textline "                 "
bitfld.long 0x10 1. " IADDR158 ,Hash table entry 158 enable" "-,Enabled"
bitfld.long 0x10 0. "  IADDR159 ,Hash table entry 159 enable" "-,Enabled"
line.long 0x14 "IGADDR5,Individual/Group Address Register 5"
bitfld.long 0x14 31. " IADDR160 ,Hash table entry 160 enable" "-,Enabled"
bitfld.long 0x14 30. "  IADDR161 ,Hash table entry 161 enable" "-,Enabled"
bitfld.long 0x14 29. "  IADDR162 ,Hash table entry 162 enable" "-,Enabled"
textline "                 "
bitfld.long 0x14 28. " IADDR163 ,Hash table entry 163 enable" "-,Enabled"
bitfld.long 0x14 27. "  IADDR164 ,Hash table entry 164 enable" "-,Enabled"
bitfld.long 0x14 26. "  IADDR165 ,Hash table entry 165 enable" "-,Enabled"
textline "                 "
bitfld.long 0x14 25. " IADDR166 ,Hash table entry 166 enable" "-,Enabled"
bitfld.long 0x14 24. "  IADDR167 ,Hash table entry 167 enable" "-,Enabled"
bitfld.long 0x14 23. "  IADDR168 ,Hash table entry 168 enable" "-,Enabled"
textline "                 "
bitfld.long 0x14 22. " IADDR169 ,Hash table entry 169 enable" "-,Enabled"
bitfld.long 0x14 21. "  IADDR170 ,Hash table entry 170 enable" "-,Enabled"
bitfld.long 0x14 20. "  IADDR171 ,Hash table entry 171 enable" "-,Enabled"
textline "                 "
bitfld.long 0x14 19. " IADDR172 ,Hash table entry 172 enable" "-,Enabled"
bitfld.long 0x14 18. "  IADDR173 ,Hash table entry 173 enable" "-,Enabled"
bitfld.long 0x14 17. "  IADDR174 ,Hash table entry 174 enable" "-,Enabled"
textline "                 "
bitfld.long 0x14 16. " IADDR175 ,Hash table entry 175 enable" "-,Enabled"
bitfld.long 0x14 15. "  IADDR176 ,Hash table entry 176 enable" "-,Enabled"
bitfld.long 0x14 14. "  IADDR177 ,Hash table entry 177 enable" "-,Enabled"
textline "                 "
bitfld.long 0x14 13. " IADDR178 ,Hash table entry 178 enable" "-,Enabled"
bitfld.long 0x14 12. "  IADDR179 ,Hash table entry 179 enable" "-,Enabled"
bitfld.long 0x14 11. "  IADDR180 ,Hash table entry 180 enable" "-,Enabled"
textline "                 "
bitfld.long 0x14 10. " IADDR181 ,Hash table entry 181 enable" "-,Enabled"
bitfld.long 0x14 9. "  IADDR182 ,Hash table entry 182 enable" "-,Enabled"
bitfld.long 0x14 8. "  IADDR183 ,Hash table entry 183 enable" "-,Enabled"
textline "                 "
bitfld.long 0x14 7. " IADDR184 ,Hash table entry 184 enable" "-,Enabled"
bitfld.long 0x14 6. "  IADDR185 ,Hash table entry 185 enable" "-,Enabled"
bitfld.long 0x14 5. "  IADDR186 ,Hash table entry 186 enable" "-,Enabled"
textline "                 "
bitfld.long 0x14 4. " IADDR187 ,Hash table entry 187 enable" "-,Enabled"
bitfld.long 0x14 3. "  IADDR188 ,Hash table entry 188 enable" "-,Enabled"
bitfld.long 0x14 2. "  IADDR189 ,Hash table entry 189 enable" "-,Enabled"
textline "                 "
bitfld.long 0x14 1. " IADDR190 ,Hash table entry 190 enable" "-,Enabled"
bitfld.long 0x14 0. "  IADDR191 ,Hash table entry 191 enable" "-,Enabled"
line.long 0x18 "IGADDR6,Individual/Group Address Register 6"
bitfld.long 0x18 31. " IADDR192 ,Hash table entry 192 enable" "-,Enabled"
bitfld.long 0x18 30. "  IADDR193 ,Hash table entry 193 enable" "-,Enabled"
bitfld.long 0x18 29. "  IADDR194 ,Hash table entry 194 enable" "-,Enabled"
textline "                 "
bitfld.long 0x18 28. " IADDR195 ,Hash table entry 195 enable" "-,Enabled"
bitfld.long 0x18 27. "  IADDR196 ,Hash table entry 196 enable" "-,Enabled"
bitfld.long 0x18 26. "  IADDR197 ,Hash table entry 197 enable" "-,Enabled"
textline "                 "
bitfld.long 0x18 25. " IADDR198 ,Hash table entry 198 enable" "-,Enabled"
bitfld.long 0x18 24. "  IADDR199 ,Hash table entry 199 enable" "-,Enabled"
bitfld.long 0x18 23. "  IADDR200 ,Hash table entry 200 enable" "-,Enabled"
textline "                 "
bitfld.long 0x18 22. " IADDR201 ,Hash table entry 201 enable" "-,Enabled"
bitfld.long 0x18 21. "  IADDR202 ,Hash table entry 202 enable" "-,Enabled"
bitfld.long 0x18 20. "  IADDR203 ,Hash table entry 203 enable" "-,Enabled"
textline "                 "
bitfld.long 0x18 19. " IADDR204 ,Hash table entry 204 enable" "-,Enabled"
bitfld.long 0x18 18. "  IADDR205 ,Hash table entry 205 enable" "-,Enabled"
bitfld.long 0x18 17. "  IADDR206 ,Hash table entry 206 enable" "-,Enabled"
textline "                 "
bitfld.long 0x18 16. " IADDR207 ,Hash table entry 207 enable" "-,Enabled"
bitfld.long 0x18 15. "  IADDR208 ,Hash table entry 208 enable" "-,Enabled"
bitfld.long 0x18 14. "  IADDR209 ,Hash table entry 209 enable" "-,Enabled"
textline "                 "
bitfld.long 0x18 13. " IADDR210 ,Hash table entry 210 enable" "-,Enabled"
bitfld.long 0x18 12. "  IADDR211 ,Hash table entry 211 enable" "-,Enabled"
bitfld.long 0x18 11. "  IADDR212 ,Hash table entry 212 enable" "-,Enabled"
textline "                 "
bitfld.long 0x18 10. " IADDR213 ,Hash table entry 213 enable" "-,Enabled"
bitfld.long 0x18 9. "  IADDR214 ,Hash table entry 214 enable" "-,Enabled"
bitfld.long 0x18 8. "  IADDR215 ,Hash table entry 215 enable" "-,Enabled"
textline "                 "
bitfld.long 0x18 7. " IADDR216 ,Hash table entry 216 enable" "-,Enabled"
bitfld.long 0x18 6. "  IADDR217 ,Hash table entry 217 enable" "-,Enabled"
bitfld.long 0x18 5. "  IADDR218 ,Hash table entry 218 enable" "-,Enabled"
textline "                 "
bitfld.long 0x18 4. " IADDR219 ,Hash table entry 219 enable" "-,Enabled"
bitfld.long 0x18 3. "  IADDR220 ,Hash table entry 220 enable" "-,Enabled"
bitfld.long 0x18 2. "  IADDR221 ,Hash table entry 221 enable" "-,Enabled"
textline "                 "
bitfld.long 0x18 1. " IADDR222 ,Hash table entry 222 enable" "-,Enabled"
bitfld.long 0x18 0. "  IADDR223 ,Hash table entry 223 enable" "-,Enabled"
line.long 0x1c "IGADDR7,Individual/Group Address Register 7"
bitfld.long 0x1c 31. " IADDR224 ,Hash table entry 224 enable" "-,Enabled"
bitfld.long 0x1c 30. "  IADDR225 ,Hash table entry 225 enable" "-,Enabled"
bitfld.long 0x1c 29. "  IADDR226 ,Hash table entry 226 enable" "-,Enabled"
textline "                 "
bitfld.long 0x1c 28. " IADDR227 ,Hash table entry 227 enable" "-,Enabled"
bitfld.long 0x1c 27. "  IADDR228 ,Hash table entry 228 enable" "-,Enabled"
bitfld.long 0x1c 26. "  IADDR229 ,Hash table entry 229 enable" "-,Enabled"
textline "                 "
bitfld.long 0x1c 25. " IADDR230 ,Hash table entry 230 enable" "-,Enabled"
bitfld.long 0x1c 24. "  IADDR231 ,Hash table entry 231 enable" "-,Enabled"
bitfld.long 0x1c 23. "  IADDR232 ,Hash table entry 232 enable" "-,Enabled"
textline "                 "
bitfld.long 0x1c 22. " IADDR233 ,Hash table entry 233 enable" "-,Enabled"
bitfld.long 0x1c 21. "  IADDR234 ,Hash table entry 234 enable" "-,Enabled"
bitfld.long 0x1c 20. "  IADDR235 ,Hash table entry 235 enable" "-,Enabled"
textline "                 "
bitfld.long 0x1c 19. " IADDR236 ,Hash table entry 236 enable" "-,Enabled"
bitfld.long 0x1c 18. "  IADDR237 ,Hash table entry 237 enable" "-,Enabled"
bitfld.long 0x1c 17. "  IADDR238 ,Hash table entry 238 enable" "-,Enabled"
textline "                 "
bitfld.long 0x1c 16. " IADDR239 ,Hash table entry 239 enable" "-,Enabled"
bitfld.long 0x1c 15. "  IADDR240 ,Hash table entry 240 enable" "-,Enabled"
bitfld.long 0x1c 14. "  IADDR241 ,Hash table entry 241 enable" "-,Enabled"
textline "                 "
bitfld.long 0x1c 13. " IADDR242 ,Hash table entry 242 enable" "-,Enabled"
bitfld.long 0x1c 12. "  IADDR243 ,Hash table entry 243 enable" "-,Enabled"
bitfld.long 0x1c 11. "  IADDR244 ,Hash table entry 244 enable" "-,Enabled"
textline "                 "
bitfld.long 0x1c 10. " IADDR245 ,Hash table entry 245 enable" "-,Enabled"
bitfld.long 0x1c 9. "  IADDR246 ,Hash table entry 246 enable" "-,Enabled"
bitfld.long 0x1c 8. "  IADDR247 ,Hash table entry 247 enable" "-,Enabled"
textline "                 "
bitfld.long 0x1c 7. " IADDR248 ,Hash table entry 248 enable" "-,Enabled"
bitfld.long 0x1c 6. "  IADDR249 ,Hash table entry 249 enable" "-,Enabled"
bitfld.long 0x1c 5. "  IADDR250 ,Hash table entry 250 enable" "-,Enabled"
textline "                 "
bitfld.long 0x1c 4. " IADDR251 ,Hash table entry 251 enable" "-,Enabled"
bitfld.long 0x1c 3. "  IADDR252 ,Hash table entry 252 enable" "-,Enabled"
bitfld.long 0x1c 2. "  IADDR253 ,Hash table entry 253 enable" "-,Enabled"
textline "                 "
bitfld.long 0x1c 1. " IADDR254 ,Hash table entry 254 enable" "-,Enabled"
bitfld.long 0x1c 0. "  IADDR255 ,Hash table entry 255 enable" "-,Enabled"
group.long ((0x24000+0x800)+0x80)++0x1f
line.long 0x00 "GADDR0,Group Address Register 0"
bitfld.long 0x00 31. " GADDR0   ,Group hash table entry 0 enable" "-,Enabled"
bitfld.long 0x00 30. "  GADDR1   ,Group hash table entry 1 enable" "-,Enabled"
bitfld.long 0x00 29. "  GADDR2   ,Group hash table entry 2 enable" "-,Enabled"
textline "                 "
bitfld.long 0x00 28. " GADDR3   ,Group hash table entry 3 enable" "-,Enabled"
bitfld.long 0x00 27. "  GADDR4   ,Group hash table entry 4 enable" "-,Enabled"
bitfld.long 0x00 26. "  GADDR5   ,Group hash table entry 5 enable" "-,Enabled"
textline "                 "
bitfld.long 0x00 25. " GADDR6   ,Group hash table entry 6 enable" "-,Enabled"
bitfld.long 0x00 24. "  GADDR7   ,Group hash table entry 7 enable" "-,Enabled"
bitfld.long 0x00 23. "  GADDR8   ,Group hash table entry 8 enable" "-,Enabled"
textline "                 "
bitfld.long 0x00 22. " GADDR9   ,Group hash table entry 9 enable" "-,Enabled"
bitfld.long 0x00 21. "  GADDR10  ,Group hash table entry 10 enable" "-,Enabled"
bitfld.long 0x00 20. "  GADDR11  ,Group hash table entry 11 enable" "-,Enabled"
textline "                 "    
bitfld.long 0x00 19. " GADDR12  ,Group hash table entry 12 enable" "-,Enabled"
bitfld.long 0x00 18. "  GADDR13  ,Group hash table entry 13 enable" "-,Enabled"
bitfld.long 0x00 17. "  GADDR14  ,Group hash table entry 14 enable" "-,Enabled"
textline "                 "
bitfld.long 0x00 16. " GADDR15  ,Group hash table entry 15 enable" "-,Enabled"
bitfld.long 0x00 15. "  GADDR16  ,Group hash table entry 16 enable" "-,Enabled"
bitfld.long 0x00 14. "  GADDR17  ,Group hash table entry 17 enable" "-,Enabled"
textline "                 "
bitfld.long 0x00 13. " GADDR18  ,Group hash table entry 18 enable" "-,Enabled"
bitfld.long 0x00 12. "  GADDR19  ,Group hash table entry 19 enable" "-,Enabled"
bitfld.long 0x00 11. "  GADDR20  ,Group hash table entry 20 enable" "-,Enabled"
textline "                 "
bitfld.long 0x00 10. " GADDR21  ,Group hash table entry 21 enable" "-,Enabled"
bitfld.long 0x00 9. "  GADDR22  ,Group hash table entry 22 enable" "-,Enabled"
bitfld.long 0x00 8. "  GADDR23  ,Group hash table entry 23 enable" "-,Enabled"
textline "                 "    
bitfld.long 0x00 7. " GADDR24  ,Group hash table entry 24 enable" "-,Enabled"
bitfld.long 0x00 6. "  GADDR25  ,Group hash table entry 25 enable" "-,Enabled"
bitfld.long 0x00 5. "  GADDR26  ,Group hash table entry 26 enable" "-,Enabled"
textline "                 "
bitfld.long 0x00 4. " GADDR27  ,Group hash table entry 27 enable" "-,Enabled"
bitfld.long 0x00 3. "  GADDR28  ,Group hash table entry 28 enable" "-,Enabled"
bitfld.long 0x00 2. "  GADDR29  ,Group hash table entry 29 enable" "-,Enabled"
textline "                 "
bitfld.long 0x00 1. " GADDR30  ,Group hash table entry 30 enable" "-,Enabled"
bitfld.long 0x00 0. "  GADDR31  ,Group hash table entry 31 enable" "-,Enabled"
line.long 0x04 "GADDR1,Group Address Register 1"
bitfld.long 0x04 31. " GADDR32  ,Group hash table entry 32 enable" "-,Enabled"
bitfld.long 0x04 30. "  GADDR33  ,Group hash table entry 33 enable" "-,Enabled"
bitfld.long 0x04 29. "  GADDR34  ,Group hash table entry 34 enable" "-,Enabled"
textline "                 "
bitfld.long 0x04 28. " GADDR35  ,Group hash table entry 35 enable" "-,Enabled"
bitfld.long 0x04 27. "  GADDR36  ,Group hash table entry 36 enable" "-,Enabled"
bitfld.long 0x04 26. "  GADDR37  ,Group hash table entry 37 enable" "-,Enabled"
textline "                 "
bitfld.long 0x04 25. " GADDR38  ,Group hash table entry 38 enable" "-,Enabled"
bitfld.long 0x04 24. "  GADDR39  ,Group hash table entry 39 enable" "-,Enabled"
bitfld.long 0x04 23. "  GADDR40  ,Group hash table entry 40 enable" "-,Enabled"
textline "                 "
bitfld.long 0x04 22. " GADDR41  ,Group hash table entry 41 enable" "-,Enabled"
bitfld.long 0x04 21. "  GADDR42  ,Group hash table entry 42 enable" "-,Enabled"
bitfld.long 0x04 20. "  GADDR43  ,Group hash table entry 43 enable" "-,Enabled"
textline "                 "
bitfld.long 0x04 19. " GADDR44  ,Group hash table entry 44 enable" "-,Enabled"
bitfld.long 0x04 18. "  GADDR45  ,Group hash table entry 45 enable" "-,Enabled"
bitfld.long 0x04 17. "  GADDR46  ,Group hash table entry 46 enable" "-,Enabled"
textline "                 "
bitfld.long 0x04 16. " GADDR47  ,Group hash table entry 47 enable" "-,Enabled"
bitfld.long 0x04 15. "  GADDR48  ,Group hash table entry 48 enable" "-,Enabled"
bitfld.long 0x04 14. "  GADDR49  ,Group hash table entry 49 enable" "-,Enabled"
textline "                 "
bitfld.long 0x04 13. " GADDR50  ,Group hash table entry 50 enable" "-,Enabled"
bitfld.long 0x04 12. "  GADDR51  ,Group hash table entry 51 enable" "-,Enabled"
bitfld.long 0x04 11. "  GADDR52  ,Group hash table entry 52 enable" "-,Enabled"
textline "                 "
bitfld.long 0x04 10. " GADDR53  ,Group hash table entry 53 enable" "-,Enabled"
bitfld.long 0x04 9. "  GADDR54  ,Group hash table entry 54 enable" "-,Enabled"
bitfld.long 0x04 8. "  GADDR55  ,Group hash table entry 55 enable" "-,Enabled"
textline "                 "
bitfld.long 0x04 7. " GADDR56  ,Group hash table entry 56 enable" "-,Enabled"
bitfld.long 0x04 6. "  GADDR57  ,Group hash table entry 57 enable" "-,Enabled"
bitfld.long 0x04 5. "  GADDR58  ,Group hash table entry 58 enable" "-,Enabled"
textline "                 "
bitfld.long 0x04 4. " GADDR59  ,Group hash table entry 59 enable" "-,Enabled"
bitfld.long 0x04 3. "  GADDR60  ,Group hash table entry 60 enable" "-,Enabled"
bitfld.long 0x04 2. "  GADDR61  ,Group hash table entry 61 enable" "-,Enabled"
textline "                 "
bitfld.long 0x04 1. " GADDR62  ,Group hash table entry 62 enable" "-,Enabled"
bitfld.long 0x04 0. "  GADDR63  ,Group hash table entry 63 enable" "-,Enabled"
line.long 0x08 "GADDR2,Group Address Register 2"
bitfld.long 0x08 31. " GADDR64  ,Group hash table entry 64 enable" "-,Enabled"
bitfld.long 0x08 30. "  GADDR65  ,Group hash table entry 65 enable" "-,Enabled"
bitfld.long 0x08 29. "  GADDR66  ,Group hash table entry 66 enable" "-,Enabled"
textline "                 "
bitfld.long 0x08 28. " GADDR67  ,Group hash table entry 67 enable" "-,Enabled"
bitfld.long 0x08 27. "  GADDR68  ,Group hash table entry 68 enable" "-,Enabled"
bitfld.long 0x08 26. "  GADDR69  ,Group hash table entry 69 enable" "-,Enabled"
textline "                 "
bitfld.long 0x08 25. " GADDR70  ,Group hash table entry 70 enable" "-,Enabled"
bitfld.long 0x08 24. "  GADDR71  ,Group hash table entry 71 enable" "-,Enabled"
bitfld.long 0x08 23. "  GADDR72  ,Group hash table entry 72 enable" "-,Enabled"
textline "                 "
bitfld.long 0x08 22. " GADDR73  ,Group hash table entry 73 enable" "-,Enabled"
bitfld.long 0x08 21. "  GADDR74  ,Group hash table entry 74 enable" "-,Enabled"
bitfld.long 0x08 20. "  GADDR75  ,Group hash table entry 75 enable" "-,Enabled"
textline "                 "
bitfld.long 0x08 19. " GADDR76  ,Group hash table entry 76 enable" "-,Enabled"
bitfld.long 0x08 18. "  GADDR77  ,Group hash table entry 77 enable" "-,Enabled"
bitfld.long 0x08 17. "  GADDR78  ,Group hash table entry 78 enable" "-,Enabled"
textline "                 "
bitfld.long 0x08 16. " GADDR79  ,Group hash table entry 79 enable" "-,Enabled"
bitfld.long 0x08 15. "  GADDR80  ,Group hash table entry 80 enable" "-,Enabled"
bitfld.long 0x08 14. "  GADDR81  ,Group hash table entry 81 enable" "-,Enabled"
textline "                 "
bitfld.long 0x08 13. " GADDR82  ,Group hash table entry 82 enable" "-,Enabled"
bitfld.long 0x08 12. "  GADDR83  ,Group hash table entry 83 enable" "-,Enabled"
bitfld.long 0x08 11. "  GADDR84  ,Group hash table entry 84 enable" "-,Enabled"
textline "                 "
bitfld.long 0x08 10. " GADDR85  ,Group hash table entry 85 enable" "-,Enabled"
bitfld.long 0x08 9. "  GADDR86  ,Group hash table entry 86 enable" "-,Enabled"
bitfld.long 0x08 8. "  GADDR87  ,Group hash table entry 87 enable" "-,Enabled"
textline "                 "
bitfld.long 0x08 7. " GADDR88  ,Group hash table entry 88 enable" "-,Enabled"
bitfld.long 0x08 6. "  GADDR89  ,Group hash table entry 89 enable" "-,Enabled"
bitfld.long 0x08 5. "  GADDR90  ,Group hash table entry 90 enable" "-,Enabled"
textline "                 "
bitfld.long 0x08 4. " GADDR91  ,Group hash table entry 91 enable" "-,Enabled"
bitfld.long 0x08 3. "  GADDR92  ,Group hash table entry 92 enable" "-,Enabled"
bitfld.long 0x08 2. "  GADDR93  ,Group hash table entry 93 enable" "-,Enabled"
textline "                 "
bitfld.long 0x08 1. " GADDR94  ,Group hash table entry 94 enable" "-,Enabled"
bitfld.long 0x08 0. "  GADDR95  ,Group hash table entry 95 enable" "-,Enabled"
line.long 0x0c "GADDR3,Group Address Register 3"
bitfld.long 0x0c 31. " GADDR96  ,Group hash table entry 96 enable" "-,Enabled"
bitfld.long 0x0c 30. "  GADDR97  ,Group hash table entry 97 enable" "-,Enabled"
bitfld.long 0x0c 29. "  GADDR98  ,Group hash table entry 98 enable" "-,Enabled"
textline "                 "
bitfld.long 0x0c 28. " GADDR99  ,Group hash table entry 99 enable" "-,Enabled"
bitfld.long 0x0c 27. "  GADDR100 ,Group hash table entry 100 enable" "-,Enabled"
bitfld.long 0x0c 26. "  GADDR101 ,Group hash table entry 101 enable" "-,Enabled"
textline "                 "
bitfld.long 0x0c 25. " GADDR102 ,Group hash table entry 102 enable" "-,Enabled"
bitfld.long 0x0c 24. "  GADDR103 ,Group hash table entry 103 enable" "-,Enabled"
bitfld.long 0x0c 23. "  GADDR104 ,Group hash table entry 104 enable" "-,Enabled"
textline "                 "
bitfld.long 0x0c 22. " GADDR105 ,Group hash table entry 105 enable" "-,Enabled"
bitfld.long 0x0c 21. "  GADDR106 ,Group hash table entry 106 enable" "-,Enabled"
bitfld.long 0x0c 20. "  GADDR107 ,Group hash table entry 107 enable" "-,Enabled"
textline "                 "
bitfld.long 0x0c 19. " GADDR108 ,Group hash table entry 108 enable" "-,Enabled"
bitfld.long 0x0c 18. "  GADDR109 ,Group hash table entry 109 enable" "-,Enabled"
bitfld.long 0x0c 17. "  GADDR110 ,Group hash table entry 110 enable" "-,Enabled"
textline "                 "
bitfld.long 0x0c 16. " GADDR111 ,Group hash table entry 111 enable" "-,Enabled"
bitfld.long 0x0c 15. "  GADDR112 ,Group hash table entry 112 enable" "-,Enabled"
bitfld.long 0x0c 14. "  GADDR113 ,Group hash table entry 113 enable" "-,Enabled"
textline "                 "
bitfld.long 0x0c 13. " GADDR114 ,Group hash table entry 114 enable" "-,Enabled"
bitfld.long 0x0c 12. "  GADDR115 ,Group hash table entry 115 enable" "-,Enabled"
bitfld.long 0x0c 11. "  GADDR116 ,Group hash table entry 116 enable" "-,Enabled"
textline "                 "
bitfld.long 0x0c 10. " GADDR117 ,Group hash table entry 117 enable" "-,Enabled"
bitfld.long 0x0c 9. "  GADDR118 ,Group hash table entry 118 enable" "-,Enabled"
bitfld.long 0x0c 8. "  GADDR119 ,Group hash table entry 119 enable" "-,Enabled"
textline "                 "
bitfld.long 0x0c 7. " GADDR120 ,Group hash table entry 120 enable" "-,Enabled"
bitfld.long 0x0c 6. "  GADDR121 ,Group hash table entry 121 enable" "-,Enabled"
bitfld.long 0x0c 5. "  GADDR122 ,Group hash table entry 122 enable" "-,Enabled"
textline "                 "
bitfld.long 0x0c 4. " GADDR123 ,Group hash table entry 123 enable" "-,Enabled"
bitfld.long 0x0c 3. "  GADDR124 ,Group hash table entry 124 enable" "-,Enabled"
bitfld.long 0x0c 2. "  GADDR125 ,Group hash table entry 125 enable" "-,Enabled"
textline "                 "
bitfld.long 0x0c 1. " GADDR126 ,Group hash table entry 126 enable" "-,Enabled"
bitfld.long 0x0c 0. "  GADDR127 ,Group hash table entry 127 enable" "-,Enabled"
line.long 0x10 "GADDR4,Group Address Register 4"
bitfld.long 0x10 31. " GADDR128 ,Group hash table entry 128 enable" "-,Enabled"
bitfld.long 0x10 30. "  GADDR129 ,Group hash table entry 129 enable" "-,Enabled"
bitfld.long 0x10 29. "  GADDR130 ,Group hash table entry 130 enable" "-,Enabled"
textline "                 "
bitfld.long 0x10 28. " GADDR131 ,Group hash table entry 131 enable" "-,Enabled"
bitfld.long 0x10 27. "  GADDR132 ,Group hash table entry 132 enable" "-,Enabled"
bitfld.long 0x10 26. "  GADDR133 ,Group hash table entry 133 enable" "-,Enabled"
textline "                 "
bitfld.long 0x10 25. " GADDR134 ,Group hash table entry 134 enable" "-,Enabled"
bitfld.long 0x10 24. "  GADDR135 ,Group hash table entry 135 enable" "-,Enabled"
bitfld.long 0x10 23. "  GADDR136 ,Group hash table entry 136 enable" "-,Enabled"
textline "                 "
bitfld.long 0x10 22. " GADDR137 ,Group hash table entry 137 enable" "-,Enabled"
bitfld.long 0x10 21. "  GADDR138 ,Group hash table entry 138 enable" "-,Enabled"
bitfld.long 0x10 20. "  GADDR139 ,Group hash table entry 139 enable" "-,Enabled"
textline "                 "
bitfld.long 0x10 19. " GADDR140 ,Group hash table entry 140 enable" "-,Enabled"
bitfld.long 0x10 18. "  GADDR141 ,Group hash table entry 141 enable" "-,Enabled"
bitfld.long 0x10 17. "  GADDR142 ,Group hash table entry 142 enable" "-,Enabled"
textline "                 "
bitfld.long 0x10 16. " GADDR143 ,Group hash table entry 143 enable" "-,Enabled"
bitfld.long 0x10 15. "  GADDR144 ,Group hash table entry 144 enable" "-,Enabled"
bitfld.long 0x10 14. "  GADDR145 ,Group hash table entry 145 enable" "-,Enabled"
textline "                 "
bitfld.long 0x10 13. " GADDR146 ,Group hash table entry 146 enable" "-,Enabled"
bitfld.long 0x10 12. "  GADDR147 ,Group hash table entry 147 enable" "-,Enabled"
bitfld.long 0x10 11. "  GADDR148 ,Group hash table entry 148 enable" "-,Enabled"
textline "                 "
bitfld.long 0x10 10. " GADDR149 ,Group hash table entry 149 enable" "-,Enabled"
bitfld.long 0x10 9. "  GADDR150 ,Group hash table entry 150 enable" "-,Enabled"
bitfld.long 0x10 8. "  GADDR151 ,Group hash table entry 151 enable" "-,Enabled"
textline "                 "
bitfld.long 0x10 7. " GADDR152 ,Group hash table entry 152 enable" "-,Enabled"
bitfld.long 0x10 6. "  GADDR153 ,Group hash table entry 153 enable" "-,Enabled"
bitfld.long 0x10 5. "  GADDR154 ,Group hash table entry 154 enable" "-,Enabled"
textline "                 "
bitfld.long 0x10 4. " GADDR155 ,Group hash table entry 155 enable" "-,Enabled"
bitfld.long 0x10 3. "  GADDR156 ,Group hash table entry 156 enable" "-,Enabled"
bitfld.long 0x10 2. "  GADDR157 ,Group hash table entry 157 enable" "-,Enabled"
textline "                 "
bitfld.long 0x10 1. " GADDR158 ,Group hash table entry 158 enable" "-,Enabled"
bitfld.long 0x10 0. "  GADDR159 ,Group hash table entry 159 enable" "-,Enabled"
line.long 0x14 "GADDR5,Group Address Register 5"
bitfld.long 0x14 31. " GADDR160 ,Group hash table entry 160 enable" "-,Enabled"
bitfld.long 0x14 30. "  GADDR161 ,Group hash table entry 161 enable" "-,Enabled"
bitfld.long 0x14 29. "  GADDR162 ,Group hash table entry 162 enable" "-,Enabled"
textline "                 "
bitfld.long 0x14 28. " GADDR163 ,Group hash table entry 163 enable" "-,Enabled"
bitfld.long 0x14 27. "  GADDR164 ,Group hash table entry 164 enable" "-,Enabled"
bitfld.long 0x14 26. "  GADDR165 ,Group hash table entry 165 enable" "-,Enabled"
textline "                 "
bitfld.long 0x14 25. " GADDR166 ,Group hash table entry 166 enable" "-,Enabled"
bitfld.long 0x14 24. "  GADDR167 ,Group hash table entry 167 enable" "-,Enabled"
bitfld.long 0x14 23. "  GADDR168 ,Group hash table entry 168 enable" "-,Enabled"
textline "                 "
bitfld.long 0x14 22. " GADDR169 ,Group hash table entry 169 enable" "-,Enabled"
bitfld.long 0x14 21. "  GADDR170 ,Group hash table entry 170 enable" "-,Enabled"
bitfld.long 0x14 20. "  GADDR171 ,Group hash table entry 171 enable" "-,Enabled"
textline "                 "
bitfld.long 0x14 19. " GADDR172 ,Group hash table entry 172 enable" "-,Enabled"
bitfld.long 0x14 18. "  GADDR173 ,Group hash table entry 173 enable" "-,Enabled"
bitfld.long 0x14 17. "  GADDR174 ,Group hash table entry 174 enable" "-,Enabled"
textline "                 "
bitfld.long 0x14 16. " GADDR175 ,Group hash table entry 175 enable" "-,Enabled"
bitfld.long 0x14 15. "  GADDR176 ,Group hash table entry 176 enable" "-,Enabled"
bitfld.long 0x14 14. "  GADDR177 ,Group hash table entry 177 enable" "-,Enabled"
textline "                 "
bitfld.long 0x14 13. " GADDR178 ,Group hash table entry 178 enable" "-,Enabled"
bitfld.long 0x14 12. "  GADDR179 ,Group hash table entry 179 enable" "-,Enabled"
bitfld.long 0x14 11. "  GADDR180 ,Group hash table entry 180 enable" "-,Enabled"
textline "                 "
bitfld.long 0x14 10. " GADDR181 ,Group hash table entry 181 enable" "-,Enabled"
bitfld.long 0x14 9. "  GADDR182 ,Group hash table entry 182 enable" "-,Enabled"
bitfld.long 0x14 8. "  GADDR183 ,Group hash table entry 183 enable" "-,Enabled"
textline "                 "
bitfld.long 0x14 7. " GADDR184 ,Group hash table entry 184 enable" "-,Enabled"
bitfld.long 0x14 6. "  GADDR185 ,Group hash table entry 185 enable" "-,Enabled"
bitfld.long 0x14 5. "  GADDR186 ,Group hash table entry 186 enable" "-,Enabled"
textline "                 "
bitfld.long 0x14 4. " GADDR187 ,Group hash table entry 187 enable" "-,Enabled"
bitfld.long 0x14 3. "  GADDR188 ,Group hash table entry 188 enable" "-,Enabled"
bitfld.long 0x14 2. "  GADDR189 ,Group hash table entry 189 enable" "-,Enabled"
textline "                 "
bitfld.long 0x14 1. " GADDR190 ,Group hash table entry 190 enable" "-,Enabled"
bitfld.long 0x14 0. "  GADDR191 ,Group hash table entry 191 enable" "-,Enabled"
line.long 0x18 "GADDR6,Group Address Register 6"
bitfld.long 0x18 31. " GADDR192 ,Group hash table entry 192 enable" "-,Enabled"
bitfld.long 0x18 30. "  GADDR193 ,Group hash table entry 193 enable" "-,Enabled"
bitfld.long 0x18 29. "  GADDR194 ,Group hash table entry 194 enable" "-,Enabled"
textline "                 "
bitfld.long 0x18 28. " GADDR195 ,Group hash table entry 195 enable" "-,Enabled"
bitfld.long 0x18 27. "  GADDR196 ,Group hash table entry 196 enable" "-,Enabled"
bitfld.long 0x18 26. "  GADDR197 ,Group hash table entry 197 enable" "-,Enabled"
textline "                 "
bitfld.long 0x18 25. " GADDR198 ,Group hash table entry 198 enable" "-,Enabled"
bitfld.long 0x18 24. "  GADDR199 ,Group hash table entry 199 enable" "-,Enabled"
bitfld.long 0x18 23. "  GADDR200 ,Group hash table entry 200 enable" "-,Enabled"
textline "                 "
bitfld.long 0x18 22. " GADDR201 ,Group hash table entry 201 enable" "-,Enabled"
bitfld.long 0x18 21. "  GADDR202 ,Group hash table entry 202 enable" "-,Enabled"
bitfld.long 0x18 20. "  GADDR203 ,Group hash table entry 203 enable" "-,Enabled"
textline "                 "
bitfld.long 0x18 19. " GADDR204 ,Group hash table entry 204 enable" "-,Enabled"
bitfld.long 0x18 18. "  GADDR205 ,Group hash table entry 205 enable" "-,Enabled"
bitfld.long 0x18 17. "  GADDR206 ,Group hash table entry 206 enable" "-,Enabled"
textline "                 "
bitfld.long 0x18 16. " GADDR207 ,Group hash table entry 207 enable" "-,Enabled"
bitfld.long 0x18 15. "  GADDR208 ,Group hash table entry 208 enable" "-,Enabled"
bitfld.long 0x18 14. "  GADDR209 ,Group hash table entry 209 enable" "-,Enabled"
textline "                 "
bitfld.long 0x18 13. " GADDR210 ,Group hash table entry 210 enable" "-,Enabled"
bitfld.long 0x18 12. "  GADDR211 ,Group hash table entry 211 enable" "-,Enabled"
bitfld.long 0x18 11. "  GADDR212 ,Group hash table entry 212 enable" "-,Enabled"
textline "                 "
bitfld.long 0x18 10. " GADDR213 ,Group hash table entry 213 enable" "-,Enabled"
bitfld.long 0x18 9. "  GADDR214 ,Group hash table entry 214 enable" "-,Enabled"
bitfld.long 0x18 8. "  GADDR215 ,Group hash table entry 215 enable" "-,Enabled"
textline "                 "
bitfld.long 0x18 7. " GADDR216 ,Group hash table entry 216 enable" "-,Enabled"
bitfld.long 0x18 6. "  GADDR217 ,Group hash table entry 217 enable" "-,Enabled"
bitfld.long 0x18 5. "  GADDR218 ,Group hash table entry 218 enable" "-,Enabled"
textline "                 "
bitfld.long 0x18 4. " GADDR219 ,Group hash table entry 219 enable" "-,Enabled"
bitfld.long 0x18 3. "  GADDR220 ,Group hash table entry 220 enable" "-,Enabled"
bitfld.long 0x18 2. "  GADDR221 ,Group hash table entry 221 enable" "-,Enabled"
textline "                 "
bitfld.long 0x18 1. " GADDR222 ,Group hash table entry 222 enable" "-,Enabled"
bitfld.long 0x18 0. "  GADDR223 ,Group hash table entry 223 enable" "-,Enabled"
line.long 0x1c "GADDR7,Group Address Register 7"
bitfld.long 0x1c 31. " GADDR224 ,Group hash table entry 224 enable" "-,Enabled"
bitfld.long 0x1c 30. "  GADDR225 ,Group hash table entry 225 enable" "-,Enabled"
bitfld.long 0x1c 29. "  GADDR226 ,Group hash table entry 226 enable" "-,Enabled"
textline "                 "
bitfld.long 0x1c 28. " GADDR227 ,Group hash table entry 227 enable" "-,Enabled"
bitfld.long 0x1c 27. "  GADDR228 ,Group hash table entry 228 enable" "-,Enabled"
bitfld.long 0x1c 26. "  GADDR229 ,Group hash table entry 229 enable" "-,Enabled"
textline "                 "
bitfld.long 0x1c 25. " GADDR230 ,Group hash table entry 230 enable" "-,Enabled"
bitfld.long 0x1c 24. "  GADDR231 ,Group hash table entry 231 enable" "-,Enabled"
bitfld.long 0x1c 23. "  GADDR232 ,Group hash table entry 232 enable" "-,Enabled"
textline "                 "
bitfld.long 0x1c 22. " GADDR233 ,Group hash table entry 233 enable" "-,Enabled"
bitfld.long 0x1c 21. "  GADDR234 ,Group hash table entry 234 enable" "-,Enabled"
bitfld.long 0x1c 20. "  GADDR235 ,Group hash table entry 235 enable" "-,Enabled"
textline "                 "
bitfld.long 0x1c 19. " GADDR236 ,Group hash table entry 236 enable" "-,Enabled"
bitfld.long 0x1c 18. "  GADDR237 ,Group hash table entry 237 enable" "-,Enabled"
bitfld.long 0x1c 17. "  GADDR238 ,Group hash table entry 238 enable" "-,Enabled"
textline "                 "
bitfld.long 0x1c 16. " GADDR239 ,Group hash table entry 239 enable" "-,Enabled"
bitfld.long 0x1c 15. "  GADDR240 ,Group hash table entry 240 enable" "-,Enabled"
bitfld.long 0x1c 14. "  GADDR241 ,Group hash table entry 241 enable" "-,Enabled"
textline "                 "
bitfld.long 0x1c 13. " GADDR242 ,Group hash table entry 242 enable" "-,Enabled"
bitfld.long 0x1c 12. "  GADDR243 ,Group hash table entry 243 enable" "-,Enabled"
bitfld.long 0x1c 11. "  GADDR244 ,Group hash table entry 244 enable" "-,Enabled"
textline "                 "
bitfld.long 0x1c 10. " GADDR245 ,Group hash table entry 245 enable" "-,Enabled"
bitfld.long 0x1c 9. "  GADDR246 ,Group hash table entry 246 enable" "-,Enabled"
bitfld.long 0x1c 8. "  GADDR247 ,Group hash table entry 247 enable" "-,Enabled"
textline "                 "
bitfld.long 0x1c 7. " GADDR248 ,Group hash table entry 248 enable" "-,Enabled"
bitfld.long 0x1c 6. "  GADDR249 ,Group hash table entry 249 enable" "-,Enabled"
bitfld.long 0x1c 5. "  GADDR250 ,Group hash table entry 250 enable" "-,Enabled"
textline "                 "
bitfld.long 0x1c 4. " GADDR251 ,Group hash table entry 251 enable" "-,Enabled"
bitfld.long 0x1c 3. "  GADDR252 ,Group hash table entry 252 enable" "-,Enabled"
bitfld.long 0x1c 2. "  GADDR253 ,Group hash table entry 253 enable" "-,Enabled"
textline "                 "
bitfld.long 0x1c 1. " GADDR254 ,Group hash table entry 254 enable" "-,Enabled"
bitfld.long 0x1c 0. "  GADDR255 ,Group hash table entry 255 enable" "-,Enabled"
width 0xb
tree.end
tree "eTSEC1 Attribute Registers"
width 9.
group.long (0x24000+0xbf8)++0x7
line.long 0x00 "ATTR,Attribute Register"
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315")&&(CPU()!="MPC8308"))
bitfld.long 0x00 13.--14. " ELCWT ,Extracted L2 cache write type" "-,,Allocated,"
bitfld.long 0x00 10.--11. "  BDLWT  ,Buffer descriptor L2 cache write type" "-,,Allocated,"
textline "                  "
endif
bitfld.long 0x00 7. " RDSEN ,Rx data snoop enable" "-,Enabled"
bitfld.long 0x00 6. "    RBDSEN ,RxBD snoop enable" "-,Enabled"
line.long 0x04 "ATTRELI,Attribute Extract Length and Extract Index Register"
hexmask.long.word 0x04 19.--29. 1. " EL    ,Extracted length"
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315")&&(CPU()!="MPC8308"))
hexmask.long.word 0x04  3.--13. 1. "       EI     ,Extracted index"
else
hexmask.long.byte 0x04  6.--13. 1. "       EI     ,Extracted index"
endif
width 0xb
tree.end
;tree "eTSEC1 Future Expansion Space"
;    %include mpc831x/etsec_fes.ph (0x24000+0xe00)
;tree.end 
sif ((CPU()=="MPC8314")||(CPU()=="MPC8315")||(CPU()=="MPC8308"))
tree "eTSEC1 Lossless Flow Control Configuration Registers"
width 0x9
group.long (0x24000+0xc00)++0x1f
line.long 0x0 "RQPRM0,Receive Queue Parameters 0"
hexmask.long.byte 0x0 24.--31. 1. " FBTHR   ,Free BD threshold"
hexmask.long.tbyte 0x0 0.--23. 1. "        LEN ,Ring length"
line.long 0x4 "RQPRM1,Receive Queue Parameters 1"
hexmask.long.byte 0x4 24.--31. 1. " FBTHR   ,Free BD threshold"
hexmask.long.tbyte 0x4 0.--23. 1. "        LEN ,Ring length"
line.long 0x8 "RQPRM2,Receive Queue Parameters 2"
hexmask.long.byte 0x8 24.--31. 1. " FBTHR   ,Free BD threshold"
hexmask.long.tbyte 0x8 0.--23. 1. "        LEN ,Ring length"
line.long 0xC "RQPRM3,Receive Queue Parameters 3"
hexmask.long.byte 0xC 24.--31. 1. " FBTHR   ,Free BD threshold"
hexmask.long.tbyte 0xC 0.--23. 1. "        LEN ,Ring length"
line.long 0x10 "RQPRM4,Receive Queue Parameters 4"
hexmask.long.byte 0x10 24.--31. 1. " FBTHR   ,Free BD threshold"
hexmask.long.tbyte 0x10 0.--23. 1. "        LEN ,Ring length"
line.long 0x14 "RQPRM5,Receive Queue Parameters 5"
hexmask.long.byte 0x14 24.--31. 1. " FBTHR   ,Free BD threshold"
hexmask.long.tbyte 0x14 0.--23. 1. "        LEN ,Ring length"
line.long 0x18 "RQPRM6,Receive Queue Parameters 6"
hexmask.long.byte 0x18 24.--31. 1. " FBTHR   ,Free BD threshold"
hexmask.long.tbyte 0x18 0.--23. 1. "        LEN ,Ring length"
line.long 0x1C "RQPRM7,Receive Queue Parameters 7"
hexmask.long.byte 0x1C 24.--31. 1. " FBTHR   ,Free BD threshold"
hexmask.long.tbyte 0x1C 0.--23. 1. "        LEN ,Ring length"
group.long ((0x24000+0xc00)+0x44)++0x03
line.long 0x00 "RFBPTR0,Receive Free Buffer Descriptor Pointer Register 0"
hexmask.long 0x00 3.--31. 0x8 " RFBPTR0 ,Pointer to the last free BD in RxBD Ring 0"
group.long ((0x24000+0xc00)+0x4c)++0x03
line.long 0x00 "RFBPTR1,Receive Free Buffer Descriptor Pointer Register 1"
hexmask.long 0x00 3.--31. 0x8 " RFBPTR1 ,Pointer to the last free BD in RxBD Ring 1"
group.long ((0x24000+0xc00)+0x54)++0x03
line.long 0x00 "RFBPTR2,Receive Free Buffer Descriptor Pointer Register 2"
hexmask.long 0x00 3.--31. 0x8 " RFBPTR2 ,Pointer to the last free BD in RxBD Ring 2"
group.long ((0x24000+0xc00)+0x5c)++0x03
line.long 0x00 "RFBPTR3,Receive Free Buffer Descriptor Pointer Register 3"
hexmask.long 0x00 3.--31. 0x8 " RFBPTR3 ,Pointer to the last free BD in RxBD Ring 3"
group.long ((0x24000+0xc00)+0x64)++0x03
line.long 0x00 "RFBPTR4,Receive Free Buffer Descriptor Pointer Register 4"
hexmask.long 0x00 3.--31. 0x8 " RFBPTR4 ,Pointer to the last free BD in RxBD Ring 4"
group.long ((0x24000+0xc00)+0x6c)++0x03
line.long 0x00 "RFBPTR5,Receive Free Buffer Descriptor Pointer Register 5"
hexmask.long 0x00 3.--31. 0x8 " RFBPTR5 ,Pointer to the last free BD in RxBD Ring 5"
group.long ((0x24000+0xc00)+0x74)++0x03
line.long 0x00 "RFBPTR6,Receive Free Buffer Descriptor Pointer Register 6"
hexmask.long 0x00 3.--31. 0x8 " RFBPTR6 ,Pointer to the last free BD in RxBD Ring 6"
group.long ((0x24000+0xc00)+0x7c)++0x03
line.long 0x00 "RFBPTR7,Receive Free Buffer Descriptor Pointer Register 7"
hexmask.long 0x00 3.--31. 0x8 " RFBPTR7 ,Pointer to the last free BD in RxBD Ring 7"
tree.end 
sif (CPU()!="MPC8308")
tree "Data Buffer Desriptors"
tree "Data Buffer Descriptor 0"
width 0xa
base ANC:(((d.l.be(anc:iobase()+0x24000+0x204+0x0))&0xfffffff8))
group.word 0x00++0x03 "Transmit Data Buffer Descriptor"   
line.word 0x00 "TxBDSCR,Transmit Data Buffer Descriptor Status/Control Register"
bitfld.word 0x00 15. " R       ,Ready" "-,Ready"
bitfld.word 0x00 14. "                     PAD/CRC ,Padding for frames" "-,Added"
textline "               "
bitfld.word 0x00 13. " W       ,Wrap location" "Consecutive,Defined in TBASE"
bitfld.word 0x00 12. "          I       ,Interrupt" "-,Generated"
textline "               "
bitfld.word 0x00 11. " L       ,Last in frame" "-,Last"
bitfld.word 0x00 10. "                      TC      ,Tx CRC" "-,Transmitted"
textline "               "
bitfld.word 0x00 9. " PRE/DEF ,Transmit user-defined Ethernet preamble/Defer indication" "No preamble/Not deferred,Preamble/Deferred"
bitfld.word 0x00 7. "  HFE/LC  ,Huge frame enable/Late collision" "Not truncated/No late collision,Truncated/Late collision"
textline "               "
bitfld.word 0x00 6. " CF/LR   ,Control Frame/Retransmission Limit" "Regular/Not failed,Control/Failed"
bitfld.word 0x00 2.--5. "        RC      ,Retry Count" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
textline "               "
bitfld.word 0x00 1. " UN/TOE  ,Underrun|TCP/IP off-load enable" "No underrun/No off-load,Underrun/Off-load"
bitfld.word 0x00 0. "   TR      ,Truncation" "-,Truncated"
line.word 0x02 "TxBDDLR,Transmit Data Buffer Descriptor Data Length Register"
group.word 0x04++0x03
line.word 0x00 "TxBDPRH,Transmit Data Buffer Descriptor Pointer High"
line.word 0x02 "TxBDPRL,Transmit Data Buffer Descriptor Pointer Low"
base ANC:(((d.l.be(anc:iobase()+0x24000+0x404+0x0))&0xfffffff8))
group.word 0x00++0x03 "Receive Data Buffer Descriptor"
line.word 0x00 "RxBDSCR,Receive Data Buffer Descriptor Status/Control Register"
bitfld.word 0x00 15. " E       ,Empty" "-,Empty"
bitfld.word 0x00 14. "                     RO1     ,Receive software ownership bit" "Low,High"
textline "               "        
bitfld.word 0x00 13. " W       ,Wrap location" "Consecutive,Defined in RBASE"
bitfld.word 0x00 12. "          I       ,Interrupt" "-,Generated"
textline "               "        
bitfld.word 0x00 11. " L       ,Last in frame" "-,Last"        
bitfld.word 0x00 10. "                      F       ,First in frame" "-,First"        
textline "               "        
bitfld.word 0x00 8. " M       ,Miss" "Address recognition,Promiscuous mode"
bitfld.word 0x00 7. "       BC      ,Broadcast" "-,Broadcast"
textline "               "        
bitfld.word 0x00 6. " MAC     ,Multicast" "-,Multicast"
bitfld.word 0x00 5. "                 LG      ,Rx frame length violation" "-,Occurred"
textline "               "        
bitfld.word 0x00 4. " NO      ,Rx non-octet aligned frame" "-,Occurred"
bitfld.word 0x00 3. "                  SH      ,Short frame" "-,Occurred"
textline "               "        
bitfld.word 0x00 2. " CR      ,Rx CRC error" "-,Error"
bitfld.word 0x00 1. "                     OV      , Overrun" "-,Occurred"
textline "               "        
bitfld.word 0x00 0. " TR      ,Truncation" "-,Truncated"        
line.word 0x02 "RxBDDLR,Receive Data Buffer Descriptor Data Length Register"
group.word 0x04++0x03
line.word 0x00 "RxBDPRH,Receive Data Buffer Descriptor Pointer High"
line.word 0x02 "RxBDPRL,Receive Data Buffer Descriptor Pointer Low"
tree.end
tree "Data Buffer Descriptor 1"
width 0xa
base ANC:(((d.l.be(anc:iobase()+0x24000+0x204+0x8))&0xfffffff8))
group.word 0x00++0x03 "Transmit Data Buffer Descriptor"   
line.word 0x00 "TxBDSCR,Transmit Data Buffer Descriptor Status/Control Register"
bitfld.word 0x00 15. " R       ,Ready" "-,Ready"
bitfld.word 0x00 14. "                     PAD/CRC ,Padding for frames" "-,Added"
textline "               "
bitfld.word 0x00 13. " W       ,Wrap location" "Consecutive,Defined in TBASE"
bitfld.word 0x00 12. "          I       ,Interrupt" "-,Generated"
textline "               "
bitfld.word 0x00 11. " L       ,Last in frame" "-,Last"
bitfld.word 0x00 10. "                      TC      ,Tx CRC" "-,Transmitted"
textline "               "
bitfld.word 0x00 9. " PRE/DEF ,Transmit user-defined Ethernet preamble/Defer indication" "No preamble/Not deferred,Preamble/Deferred"
bitfld.word 0x00 7. "  HFE/LC  ,Huge frame enable/Late collision" "Not truncated/No late collision,Truncated/Late collision"
textline "               "
bitfld.word 0x00 6. " CF/LR   ,Control Frame/Retransmission Limit" "Regular/Not failed,Control/Failed"
bitfld.word 0x00 2.--5. "        RC      ,Retry Count" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
textline "               "
bitfld.word 0x00 1. " UN/TOE  ,Underrun|TCP/IP off-load enable" "No underrun/No off-load,Underrun/Off-load"
bitfld.word 0x00 0. "   TR      ,Truncation" "-,Truncated"
line.word 0x02 "TxBDDLR,Transmit Data Buffer Descriptor Data Length Register"
group.word 0x04++0x03
line.word 0x00 "TxBDPRH,Transmit Data Buffer Descriptor Pointer High"
line.word 0x02 "TxBDPRL,Transmit Data Buffer Descriptor Pointer Low"
base ANC:(((d.l.be(anc:iobase()+0x24000+0x404+0x8))&0xfffffff8))
group.word 0x00++0x03 "Receive Data Buffer Descriptor"
line.word 0x00 "RxBDSCR,Receive Data Buffer Descriptor Status/Control Register"
bitfld.word 0x00 15. " E       ,Empty" "-,Empty"
bitfld.word 0x00 14. "                     RO1     ,Receive software ownership bit" "Low,High"
textline "               "        
bitfld.word 0x00 13. " W       ,Wrap location" "Consecutive,Defined in RBASE"
bitfld.word 0x00 12. "          I       ,Interrupt" "-,Generated"
textline "               "        
bitfld.word 0x00 11. " L       ,Last in frame" "-,Last"        
bitfld.word 0x00 10. "                      F       ,First in frame" "-,First"        
textline "               "        
bitfld.word 0x00 8. " M       ,Miss" "Address recognition,Promiscuous mode"
bitfld.word 0x00 7. "       BC      ,Broadcast" "-,Broadcast"
textline "               "        
bitfld.word 0x00 6. " MAC     ,Multicast" "-,Multicast"
bitfld.word 0x00 5. "                 LG      ,Rx frame length violation" "-,Occurred"
textline "               "        
bitfld.word 0x00 4. " NO      ,Rx non-octet aligned frame" "-,Occurred"
bitfld.word 0x00 3. "                  SH      ,Short frame" "-,Occurred"
textline "               "        
bitfld.word 0x00 2. " CR      ,Rx CRC error" "-,Error"
bitfld.word 0x00 1. "                     OV      , Overrun" "-,Occurred"
textline "               "        
bitfld.word 0x00 0. " TR      ,Truncation" "-,Truncated"        
line.word 0x02 "RxBDDLR,Receive Data Buffer Descriptor Data Length Register"
group.word 0x04++0x03
line.word 0x00 "RxBDPRH,Receive Data Buffer Descriptor Pointer High"
line.word 0x02 "RxBDPRL,Receive Data Buffer Descriptor Pointer Low"
tree.end
tree "Data Buffer Descriptor 2"
width 0xa
base ANC:(((d.l.be(anc:iobase()+0x24000+0x204+0x10))&0xfffffff8))
group.word 0x00++0x03 "Transmit Data Buffer Descriptor"   
line.word 0x00 "TxBDSCR,Transmit Data Buffer Descriptor Status/Control Register"
bitfld.word 0x00 15. " R       ,Ready" "-,Ready"
bitfld.word 0x00 14. "                     PAD/CRC ,Padding for frames" "-,Added"
textline "               "
bitfld.word 0x00 13. " W       ,Wrap location" "Consecutive,Defined in TBASE"
bitfld.word 0x00 12. "          I       ,Interrupt" "-,Generated"
textline "               "
bitfld.word 0x00 11. " L       ,Last in frame" "-,Last"
bitfld.word 0x00 10. "                      TC      ,Tx CRC" "-,Transmitted"
textline "               "
bitfld.word 0x00 9. " PRE/DEF ,Transmit user-defined Ethernet preamble/Defer indication" "No preamble/Not deferred,Preamble/Deferred"
bitfld.word 0x00 7. "  HFE/LC  ,Huge frame enable/Late collision" "Not truncated/No late collision,Truncated/Late collision"
textline "               "
bitfld.word 0x00 6. " CF/LR   ,Control Frame/Retransmission Limit" "Regular/Not failed,Control/Failed"
bitfld.word 0x00 2.--5. "        RC      ,Retry Count" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
textline "               "
bitfld.word 0x00 1. " UN/TOE  ,Underrun|TCP/IP off-load enable" "No underrun/No off-load,Underrun/Off-load"
bitfld.word 0x00 0. "   TR      ,Truncation" "-,Truncated"
line.word 0x02 "TxBDDLR,Transmit Data Buffer Descriptor Data Length Register"
group.word 0x04++0x03
line.word 0x00 "TxBDPRH,Transmit Data Buffer Descriptor Pointer High"
line.word 0x02 "TxBDPRL,Transmit Data Buffer Descriptor Pointer Low"
base ANC:(((d.l.be(anc:iobase()+0x24000+0x404+0x10))&0xfffffff8))
group.word 0x00++0x03 "Receive Data Buffer Descriptor"
line.word 0x00 "RxBDSCR,Receive Data Buffer Descriptor Status/Control Register"
bitfld.word 0x00 15. " E       ,Empty" "-,Empty"
bitfld.word 0x00 14. "                     RO1     ,Receive software ownership bit" "Low,High"
textline "               "        
bitfld.word 0x00 13. " W       ,Wrap location" "Consecutive,Defined in RBASE"
bitfld.word 0x00 12. "          I       ,Interrupt" "-,Generated"
textline "               "        
bitfld.word 0x00 11. " L       ,Last in frame" "-,Last"        
bitfld.word 0x00 10. "                      F       ,First in frame" "-,First"        
textline "               "        
bitfld.word 0x00 8. " M       ,Miss" "Address recognition,Promiscuous mode"
bitfld.word 0x00 7. "       BC      ,Broadcast" "-,Broadcast"
textline "               "        
bitfld.word 0x00 6. " MAC     ,Multicast" "-,Multicast"
bitfld.word 0x00 5. "                 LG      ,Rx frame length violation" "-,Occurred"
textline "               "        
bitfld.word 0x00 4. " NO      ,Rx non-octet aligned frame" "-,Occurred"
bitfld.word 0x00 3. "                  SH      ,Short frame" "-,Occurred"
textline "               "        
bitfld.word 0x00 2. " CR      ,Rx CRC error" "-,Error"
bitfld.word 0x00 1. "                     OV      , Overrun" "-,Occurred"
textline "               "        
bitfld.word 0x00 0. " TR      ,Truncation" "-,Truncated"        
line.word 0x02 "RxBDDLR,Receive Data Buffer Descriptor Data Length Register"
group.word 0x04++0x03
line.word 0x00 "RxBDPRH,Receive Data Buffer Descriptor Pointer High"
line.word 0x02 "RxBDPRL,Receive Data Buffer Descriptor Pointer Low"
tree.end
tree "Data Buffer Descriptor 3"
width 0xa
base ANC:(((d.l.be(anc:iobase()+0x24000+0x204+0x18))&0xfffffff8))
group.word 0x00++0x03 "Transmit Data Buffer Descriptor"   
line.word 0x00 "TxBDSCR,Transmit Data Buffer Descriptor Status/Control Register"
bitfld.word 0x00 15. " R       ,Ready" "-,Ready"
bitfld.word 0x00 14. "                     PAD/CRC ,Padding for frames" "-,Added"
textline "               "
bitfld.word 0x00 13. " W       ,Wrap location" "Consecutive,Defined in TBASE"
bitfld.word 0x00 12. "          I       ,Interrupt" "-,Generated"
textline "               "
bitfld.word 0x00 11. " L       ,Last in frame" "-,Last"
bitfld.word 0x00 10. "                      TC      ,Tx CRC" "-,Transmitted"
textline "               "
bitfld.word 0x00 9. " PRE/DEF ,Transmit user-defined Ethernet preamble/Defer indication" "No preamble/Not deferred,Preamble/Deferred"
bitfld.word 0x00 7. "  HFE/LC  ,Huge frame enable/Late collision" "Not truncated/No late collision,Truncated/Late collision"
textline "               "
bitfld.word 0x00 6. " CF/LR   ,Control Frame/Retransmission Limit" "Regular/Not failed,Control/Failed"
bitfld.word 0x00 2.--5. "        RC      ,Retry Count" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
textline "               "
bitfld.word 0x00 1. " UN/TOE  ,Underrun|TCP/IP off-load enable" "No underrun/No off-load,Underrun/Off-load"
bitfld.word 0x00 0. "   TR      ,Truncation" "-,Truncated"
line.word 0x02 "TxBDDLR,Transmit Data Buffer Descriptor Data Length Register"
group.word 0x04++0x03
line.word 0x00 "TxBDPRH,Transmit Data Buffer Descriptor Pointer High"
line.word 0x02 "TxBDPRL,Transmit Data Buffer Descriptor Pointer Low"
base ANC:(((d.l.be(anc:iobase()+0x24000+0x404+0x18))&0xfffffff8))
group.word 0x00++0x03 "Receive Data Buffer Descriptor"
line.word 0x00 "RxBDSCR,Receive Data Buffer Descriptor Status/Control Register"
bitfld.word 0x00 15. " E       ,Empty" "-,Empty"
bitfld.word 0x00 14. "                     RO1     ,Receive software ownership bit" "Low,High"
textline "               "        
bitfld.word 0x00 13. " W       ,Wrap location" "Consecutive,Defined in RBASE"
bitfld.word 0x00 12. "          I       ,Interrupt" "-,Generated"
textline "               "        
bitfld.word 0x00 11. " L       ,Last in frame" "-,Last"        
bitfld.word 0x00 10. "                      F       ,First in frame" "-,First"        
textline "               "        
bitfld.word 0x00 8. " M       ,Miss" "Address recognition,Promiscuous mode"
bitfld.word 0x00 7. "       BC      ,Broadcast" "-,Broadcast"
textline "               "        
bitfld.word 0x00 6. " MAC     ,Multicast" "-,Multicast"
bitfld.word 0x00 5. "                 LG      ,Rx frame length violation" "-,Occurred"
textline "               "        
bitfld.word 0x00 4. " NO      ,Rx non-octet aligned frame" "-,Occurred"
bitfld.word 0x00 3. "                  SH      ,Short frame" "-,Occurred"
textline "               "        
bitfld.word 0x00 2. " CR      ,Rx CRC error" "-,Error"
bitfld.word 0x00 1. "                     OV      , Overrun" "-,Occurred"
textline "               "        
bitfld.word 0x00 0. " TR      ,Truncation" "-,Truncated"        
line.word 0x02 "RxBDDLR,Receive Data Buffer Descriptor Data Length Register"
group.word 0x04++0x03
line.word 0x00 "RxBDPRH,Receive Data Buffer Descriptor Pointer High"
line.word 0x02 "RxBDPRL,Receive Data Buffer Descriptor Pointer Low"
tree.end
tree "Data Buffer Descriptor 4"
width 0xa
base ANC:(((d.l.be(anc:iobase()+0x24000+0x204+0x20))&0xfffffff8))
group.word 0x00++0x03 "Transmit Data Buffer Descriptor"   
line.word 0x00 "TxBDSCR,Transmit Data Buffer Descriptor Status/Control Register"
bitfld.word 0x00 15. " R       ,Ready" "-,Ready"
bitfld.word 0x00 14. "                     PAD/CRC ,Padding for frames" "-,Added"
textline "               "
bitfld.word 0x00 13. " W       ,Wrap location" "Consecutive,Defined in TBASE"
bitfld.word 0x00 12. "          I       ,Interrupt" "-,Generated"
textline "               "
bitfld.word 0x00 11. " L       ,Last in frame" "-,Last"
bitfld.word 0x00 10. "                      TC      ,Tx CRC" "-,Transmitted"
textline "               "
bitfld.word 0x00 9. " PRE/DEF ,Transmit user-defined Ethernet preamble/Defer indication" "No preamble/Not deferred,Preamble/Deferred"
bitfld.word 0x00 7. "  HFE/LC  ,Huge frame enable/Late collision" "Not truncated/No late collision,Truncated/Late collision"
textline "               "
bitfld.word 0x00 6. " CF/LR   ,Control Frame/Retransmission Limit" "Regular/Not failed,Control/Failed"
bitfld.word 0x00 2.--5. "        RC      ,Retry Count" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
textline "               "
bitfld.word 0x00 1. " UN/TOE  ,Underrun|TCP/IP off-load enable" "No underrun/No off-load,Underrun/Off-load"
bitfld.word 0x00 0. "   TR      ,Truncation" "-,Truncated"
line.word 0x02 "TxBDDLR,Transmit Data Buffer Descriptor Data Length Register"
group.word 0x04++0x03
line.word 0x00 "TxBDPRH,Transmit Data Buffer Descriptor Pointer High"
line.word 0x02 "TxBDPRL,Transmit Data Buffer Descriptor Pointer Low"
base ANC:(((d.l.be(anc:iobase()+0x24000+0x404+0x20))&0xfffffff8))
group.word 0x00++0x03 "Receive Data Buffer Descriptor"
line.word 0x00 "RxBDSCR,Receive Data Buffer Descriptor Status/Control Register"
bitfld.word 0x00 15. " E       ,Empty" "-,Empty"
bitfld.word 0x00 14. "                     RO1     ,Receive software ownership bit" "Low,High"
textline "               "        
bitfld.word 0x00 13. " W       ,Wrap location" "Consecutive,Defined in RBASE"
bitfld.word 0x00 12. "          I       ,Interrupt" "-,Generated"
textline "               "        
bitfld.word 0x00 11. " L       ,Last in frame" "-,Last"        
bitfld.word 0x00 10. "                      F       ,First in frame" "-,First"        
textline "               "        
bitfld.word 0x00 8. " M       ,Miss" "Address recognition,Promiscuous mode"
bitfld.word 0x00 7. "       BC      ,Broadcast" "-,Broadcast"
textline "               "        
bitfld.word 0x00 6. " MAC     ,Multicast" "-,Multicast"
bitfld.word 0x00 5. "                 LG      ,Rx frame length violation" "-,Occurred"
textline "               "        
bitfld.word 0x00 4. " NO      ,Rx non-octet aligned frame" "-,Occurred"
bitfld.word 0x00 3. "                  SH      ,Short frame" "-,Occurred"
textline "               "        
bitfld.word 0x00 2. " CR      ,Rx CRC error" "-,Error"
bitfld.word 0x00 1. "                     OV      , Overrun" "-,Occurred"
textline "               "        
bitfld.word 0x00 0. " TR      ,Truncation" "-,Truncated"        
line.word 0x02 "RxBDDLR,Receive Data Buffer Descriptor Data Length Register"
group.word 0x04++0x03
line.word 0x00 "RxBDPRH,Receive Data Buffer Descriptor Pointer High"
line.word 0x02 "RxBDPRL,Receive Data Buffer Descriptor Pointer Low"
tree.end
tree "Data Buffer Descriptor 5"
width 0xa
base ANC:(((d.l.be(anc:iobase()+0x24000+0x204+0x28))&0xfffffff8))
group.word 0x00++0x03 "Transmit Data Buffer Descriptor"   
line.word 0x00 "TxBDSCR,Transmit Data Buffer Descriptor Status/Control Register"
bitfld.word 0x00 15. " R       ,Ready" "-,Ready"
bitfld.word 0x00 14. "                     PAD/CRC ,Padding for frames" "-,Added"
textline "               "
bitfld.word 0x00 13. " W       ,Wrap location" "Consecutive,Defined in TBASE"
bitfld.word 0x00 12. "          I       ,Interrupt" "-,Generated"
textline "               "
bitfld.word 0x00 11. " L       ,Last in frame" "-,Last"
bitfld.word 0x00 10. "                      TC      ,Tx CRC" "-,Transmitted"
textline "               "
bitfld.word 0x00 9. " PRE/DEF ,Transmit user-defined Ethernet preamble/Defer indication" "No preamble/Not deferred,Preamble/Deferred"
bitfld.word 0x00 7. "  HFE/LC  ,Huge frame enable/Late collision" "Not truncated/No late collision,Truncated/Late collision"
textline "               "
bitfld.word 0x00 6. " CF/LR   ,Control Frame/Retransmission Limit" "Regular/Not failed,Control/Failed"
bitfld.word 0x00 2.--5. "        RC      ,Retry Count" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
textline "               "
bitfld.word 0x00 1. " UN/TOE  ,Underrun|TCP/IP off-load enable" "No underrun/No off-load,Underrun/Off-load"
bitfld.word 0x00 0. "   TR      ,Truncation" "-,Truncated"
line.word 0x02 "TxBDDLR,Transmit Data Buffer Descriptor Data Length Register"
group.word 0x04++0x03
line.word 0x00 "TxBDPRH,Transmit Data Buffer Descriptor Pointer High"
line.word 0x02 "TxBDPRL,Transmit Data Buffer Descriptor Pointer Low"
base ANC:(((d.l.be(anc:iobase()+0x24000+0x404+0x28))&0xfffffff8))
group.word 0x00++0x03 "Receive Data Buffer Descriptor"
line.word 0x00 "RxBDSCR,Receive Data Buffer Descriptor Status/Control Register"
bitfld.word 0x00 15. " E       ,Empty" "-,Empty"
bitfld.word 0x00 14. "                     RO1     ,Receive software ownership bit" "Low,High"
textline "               "        
bitfld.word 0x00 13. " W       ,Wrap location" "Consecutive,Defined in RBASE"
bitfld.word 0x00 12. "          I       ,Interrupt" "-,Generated"
textline "               "        
bitfld.word 0x00 11. " L       ,Last in frame" "-,Last"        
bitfld.word 0x00 10. "                      F       ,First in frame" "-,First"        
textline "               "        
bitfld.word 0x00 8. " M       ,Miss" "Address recognition,Promiscuous mode"
bitfld.word 0x00 7. "       BC      ,Broadcast" "-,Broadcast"
textline "               "        
bitfld.word 0x00 6. " MAC     ,Multicast" "-,Multicast"
bitfld.word 0x00 5. "                 LG      ,Rx frame length violation" "-,Occurred"
textline "               "        
bitfld.word 0x00 4. " NO      ,Rx non-octet aligned frame" "-,Occurred"
bitfld.word 0x00 3. "                  SH      ,Short frame" "-,Occurred"
textline "               "        
bitfld.word 0x00 2. " CR      ,Rx CRC error" "-,Error"
bitfld.word 0x00 1. "                     OV      , Overrun" "-,Occurred"
textline "               "        
bitfld.word 0x00 0. " TR      ,Truncation" "-,Truncated"        
line.word 0x02 "RxBDDLR,Receive Data Buffer Descriptor Data Length Register"
group.word 0x04++0x03
line.word 0x00 "RxBDPRH,Receive Data Buffer Descriptor Pointer High"
line.word 0x02 "RxBDPRL,Receive Data Buffer Descriptor Pointer Low"
tree.end
tree "Data Buffer Descriptor 6"
width 0xa
base ANC:(((d.l.be(anc:iobase()+0x24000+0x204+0x30))&0xfffffff8))
group.word 0x00++0x03 "Transmit Data Buffer Descriptor"   
line.word 0x00 "TxBDSCR,Transmit Data Buffer Descriptor Status/Control Register"
bitfld.word 0x00 15. " R       ,Ready" "-,Ready"
bitfld.word 0x00 14. "                     PAD/CRC ,Padding for frames" "-,Added"
textline "               "
bitfld.word 0x00 13. " W       ,Wrap location" "Consecutive,Defined in TBASE"
bitfld.word 0x00 12. "          I       ,Interrupt" "-,Generated"
textline "               "
bitfld.word 0x00 11. " L       ,Last in frame" "-,Last"
bitfld.word 0x00 10. "                      TC      ,Tx CRC" "-,Transmitted"
textline "               "
bitfld.word 0x00 9. " PRE/DEF ,Transmit user-defined Ethernet preamble/Defer indication" "No preamble/Not deferred,Preamble/Deferred"
bitfld.word 0x00 7. "  HFE/LC  ,Huge frame enable/Late collision" "Not truncated/No late collision,Truncated/Late collision"
textline "               "
bitfld.word 0x00 6. " CF/LR   ,Control Frame/Retransmission Limit" "Regular/Not failed,Control/Failed"
bitfld.word 0x00 2.--5. "        RC      ,Retry Count" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
textline "               "
bitfld.word 0x00 1. " UN/TOE  ,Underrun|TCP/IP off-load enable" "No underrun/No off-load,Underrun/Off-load"
bitfld.word 0x00 0. "   TR      ,Truncation" "-,Truncated"
line.word 0x02 "TxBDDLR,Transmit Data Buffer Descriptor Data Length Register"
group.word 0x04++0x03
line.word 0x00 "TxBDPRH,Transmit Data Buffer Descriptor Pointer High"
line.word 0x02 "TxBDPRL,Transmit Data Buffer Descriptor Pointer Low"
base ANC:(((d.l.be(anc:iobase()+0x24000+0x404+0x30))&0xfffffff8))
group.word 0x00++0x03 "Receive Data Buffer Descriptor"
line.word 0x00 "RxBDSCR,Receive Data Buffer Descriptor Status/Control Register"
bitfld.word 0x00 15. " E       ,Empty" "-,Empty"
bitfld.word 0x00 14. "                     RO1     ,Receive software ownership bit" "Low,High"
textline "               "        
bitfld.word 0x00 13. " W       ,Wrap location" "Consecutive,Defined in RBASE"
bitfld.word 0x00 12. "          I       ,Interrupt" "-,Generated"
textline "               "        
bitfld.word 0x00 11. " L       ,Last in frame" "-,Last"        
bitfld.word 0x00 10. "                      F       ,First in frame" "-,First"        
textline "               "        
bitfld.word 0x00 8. " M       ,Miss" "Address recognition,Promiscuous mode"
bitfld.word 0x00 7. "       BC      ,Broadcast" "-,Broadcast"
textline "               "        
bitfld.word 0x00 6. " MAC     ,Multicast" "-,Multicast"
bitfld.word 0x00 5. "                 LG      ,Rx frame length violation" "-,Occurred"
textline "               "        
bitfld.word 0x00 4. " NO      ,Rx non-octet aligned frame" "-,Occurred"
bitfld.word 0x00 3. "                  SH      ,Short frame" "-,Occurred"
textline "               "        
bitfld.word 0x00 2. " CR      ,Rx CRC error" "-,Error"
bitfld.word 0x00 1. "                     OV      , Overrun" "-,Occurred"
textline "               "        
bitfld.word 0x00 0. " TR      ,Truncation" "-,Truncated"        
line.word 0x02 "RxBDDLR,Receive Data Buffer Descriptor Data Length Register"
group.word 0x04++0x03
line.word 0x00 "RxBDPRH,Receive Data Buffer Descriptor Pointer High"
line.word 0x02 "RxBDPRL,Receive Data Buffer Descriptor Pointer Low"
tree.end
tree "Data Buffer Descriptor 7"
width 0xa
base ANC:(((d.l.be(anc:iobase()+0x24000+0x204+0x38))&0xfffffff8))
group.word 0x00++0x03 "Transmit Data Buffer Descriptor"   
line.word 0x00 "TxBDSCR,Transmit Data Buffer Descriptor Status/Control Register"
bitfld.word 0x00 15. " R       ,Ready" "-,Ready"
bitfld.word 0x00 14. "                     PAD/CRC ,Padding for frames" "-,Added"
textline "               "
bitfld.word 0x00 13. " W       ,Wrap location" "Consecutive,Defined in TBASE"
bitfld.word 0x00 12. "          I       ,Interrupt" "-,Generated"
textline "               "
bitfld.word 0x00 11. " L       ,Last in frame" "-,Last"
bitfld.word 0x00 10. "                      TC      ,Tx CRC" "-,Transmitted"
textline "               "
bitfld.word 0x00 9. " PRE/DEF ,Transmit user-defined Ethernet preamble/Defer indication" "No preamble/Not deferred,Preamble/Deferred"
bitfld.word 0x00 7. "  HFE/LC  ,Huge frame enable/Late collision" "Not truncated/No late collision,Truncated/Late collision"
textline "               "
bitfld.word 0x00 6. " CF/LR   ,Control Frame/Retransmission Limit" "Regular/Not failed,Control/Failed"
bitfld.word 0x00 2.--5. "        RC      ,Retry Count" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
textline "               "
bitfld.word 0x00 1. " UN/TOE  ,Underrun|TCP/IP off-load enable" "No underrun/No off-load,Underrun/Off-load"
bitfld.word 0x00 0. "   TR      ,Truncation" "-,Truncated"
line.word 0x02 "TxBDDLR,Transmit Data Buffer Descriptor Data Length Register"
group.word 0x04++0x03
line.word 0x00 "TxBDPRH,Transmit Data Buffer Descriptor Pointer High"
line.word 0x02 "TxBDPRL,Transmit Data Buffer Descriptor Pointer Low"
base ANC:(((d.l.be(anc:iobase()+0x24000+0x404+0x38))&0xfffffff8))
group.word 0x00++0x03 "Receive Data Buffer Descriptor"
line.word 0x00 "RxBDSCR,Receive Data Buffer Descriptor Status/Control Register"
bitfld.word 0x00 15. " E       ,Empty" "-,Empty"
bitfld.word 0x00 14. "                     RO1     ,Receive software ownership bit" "Low,High"
textline "               "        
bitfld.word 0x00 13. " W       ,Wrap location" "Consecutive,Defined in RBASE"
bitfld.word 0x00 12. "          I       ,Interrupt" "-,Generated"
textline "               "        
bitfld.word 0x00 11. " L       ,Last in frame" "-,Last"        
bitfld.word 0x00 10. "                      F       ,First in frame" "-,First"        
textline "               "        
bitfld.word 0x00 8. " M       ,Miss" "Address recognition,Promiscuous mode"
bitfld.word 0x00 7. "       BC      ,Broadcast" "-,Broadcast"
textline "               "        
bitfld.word 0x00 6. " MAC     ,Multicast" "-,Multicast"
bitfld.word 0x00 5. "                 LG      ,Rx frame length violation" "-,Occurred"
textline "               "        
bitfld.word 0x00 4. " NO      ,Rx non-octet aligned frame" "-,Occurred"
bitfld.word 0x00 3. "                  SH      ,Short frame" "-,Occurred"
textline "               "        
bitfld.word 0x00 2. " CR      ,Rx CRC error" "-,Error"
bitfld.word 0x00 1. "                     OV      , Overrun" "-,Occurred"
textline "               "        
bitfld.word 0x00 0. " TR      ,Truncation" "-,Truncated"        
line.word 0x02 "RxBDDLR,Receive Data Buffer Descriptor Data Length Register"
group.word 0x04++0x03
line.word 0x00 "RxBDPRH,Receive Data Buffer Descriptor Pointer High"
line.word 0x02 "RxBDPRL,Receive Data Buffer Descriptor Pointer Low"
tree.end
tree.end
endif
endif
sif (CPU()=="MPC8308")
tree "IEEE 1588-Compatible Timestamping Registers"
width 14.
if (((d.l(anc:(iobase()+(0x24000+0xe00)+0x00)))&0x03)==0x01)
group.long ((0x24000+0xe00)+0x00)++0x03
line.long 0x00 "TMR_CTRL,Timer Control Register"
bitfld.long 0x00 31. " ALM1P    ,Alarm1 output polarity" "Active high,Active low"
bitfld.long 0x00 30. "      ALM2P       ,Alarm2 output polarity" "Active high,Active low"
textline "                       "
bitfld.long 0x00 28. " FS       ,FIPER start indication" "Timer,Timer and alarm"
bitfld.long 0x00 27. "  PP1L        ,Fiper1 pulse loopback mode enabled" "Normal,Loopback"
textline "                       "
bitfld.long 0x00 26. " PP2L     ,Fiper2 pulse loopback mode enabled" "Normal,Loopback"
hexmask.long.word 0x00 16.--25. 1. "         TCLK_PERIOD ,1588 timer reference clock period"
textline "                       "
bitfld.long 0x00 15. " RTPE     ,Record Tx Time-Stamp to PAL Enable" "Disabled,Enabled"
bitfld.long 0x00 14. "         FRD         ,FIPER Realignment Disable" "No,Yes"
textline "                       "
bitfld.long 0x00 11. " ESFDP    ,External Tx/Rx SFD Polarity" "Rising edge,Falling edge"
bitfld.long 0x00 10. "     ESFDE       ,External Tx/Rx SFD Enable" "Disabled,Enabled"
textline "                       "
bitfld.long 0x00 9. " ETEP2    ,External trigger 2 edge polarity" "Rising edge,Falling edge"
bitfld.long 0x00 8. "     ETEP1       ,External trigger 1 edge polarity" "Rising edge,Falling edge"
textline "                       "
bitfld.long 0x00 7. " COPH     ,Generated clock output phase" "Not inverted,Inverted"
bitfld.long 0x00 6. "     CIPH        ,Oscillator input clock phase" "Not inverted,"
textline "                       "
bitfld.long 0x00 5. " TMSR     ,Timer soft reset" "Not reset,Reset"
bitfld.long 0x00 3. "        BYP         ,Bypass drift compensated clock" "Incremented,Ignored"
textline "                       "
bitfld.long 0x00 2. " TE       ,1588 timer enable" "Disabled,Enabled"
bitfld.long 0x00 0.--1. "         CKSEL       ,1588 Timer reference clock source select" "TSEC_TMR_CLK,eTSEC,,RTC"
else
group.long ((0x24000+0xe00)+0x00)++0x03
line.long 0x00 "TMR_CTRL,Timer Control Register"
bitfld.long 0x00 31. " ALM1P    ,Alarm1 output polarity" "Active high,Active low"
bitfld.long 0x00 30. "      ALM2P       ,Alarm2 output polarity" "Active high,Active low"
textline "                       "
bitfld.long 0x00 28. " FS       ,FIPER start indication" "Timer,Timer and alarm"
bitfld.long 0x00 27. "  PP1L        ,Fiper1 pulse loopback mode enabled" "Normal,Loopback"
textline "                       "
bitfld.long 0x00 26. " PP2L     ,Fiper2 pulse loopback mode enabled" "Normal,Loopback"
hexmask.long.word 0x00 16.--25. 1. "         TCLK_PERIOD ,1588 timer reference clock period"
textline "                       "
bitfld.long 0x00 15. " RTPE     ,Record Tx Time-Stamp to PAL Enable" "Disabled,Enabled"
bitfld.long 0x00 14. "         FRD         ,FIPER Realignment Disable" "No,Yes"
textline "                       "
bitfld.long 0x00 11. " ESFDP    ,External Tx/Rx SFD Polarity" "Rising edge,Falling edge"
bitfld.long 0x00 10. "     ESFDE       ,External Tx/Rx SFD Enable" "Disabled,Enabled"
textline "                       "
bitfld.long 0x00 9. " ETEP2    ,External trigger 2 edge polarity" "Rising edge,Falling edge"
bitfld.long 0x00 8. "     ETEP1       ,External trigger 1 edge polarity" "Rising edge,Falling edge"
textline "                       "
bitfld.long 0x00 7. " COPH     ,Generated clock output phase" "Not inverted,Inverted"
bitfld.long 0x00 6. "     CIPH        ,Oscillator input clock phase" "Not inverted,Inverted"
textline "                       "
bitfld.long 0x00 5. " TMSR     ,Timer soft reset" "Not reset,Reset"
bitfld.long 0x00 3. "        BYP         ,Bypass drift compensated clock" "Incremented,Ignored"
textline "                       "
bitfld.long 0x00 2. " TE       ,1588 timer enable" "Disabled,Enabled"
bitfld.long 0x00 0.--1. "         CKSEL       ,1588 Timer reference clock source select" "TSEC_TMR_CLK,eTSEC,,RTC"
endif
group.long ((0x24000+0xe00)+0x04)++0x27
line.long 0x00 "TMR_TEVENT,Timer Event Register"
eventfld.long 0x00 25. " ETS2     ,External trigger 2 timestamp sampled" "Not sampled,Sampled"
eventfld.long 0x00 24. "      ETS1        ,External trigger 1 timestamp sampled" "Not sampled,Sampled"
textline "                       "
eventfld.long 0x00 17. " ALM2     ,Current time equaled alarm time register 2" "Not reached,Reached"
eventfld.long 0x00 16. "      ALM1        ,Current time equaled alarm time register 1" "Not reached,Reached"
textline "                       "
eventfld.long 0x00 7. " PP1      ,Indicates that a periodic pulse has been generated based on FIPER1 register" "Not generated,Generated"
eventfld.long 0x00 6. "    PP2         ,Indicates that a periodic pulse has been generated based on FIPER2 register" "Not generated,Generated"
textline "                       "
eventfld.long 0x00 5. " PP3      ,Indicates that a periodic pulse has been generated based on FIPER3 register" "Not generated,Generated"
line.long 0x04 "TMR_TEMASK,Timer Event Mask Register"
bitfld.long 0x04 25. " ETS2EN   ,External trigger 2 timestamp sample event enable" "Disabled,Enabled"
bitfld.long 0x04 24. "         ETS1EN      ,External trigger 1 timestamp sample event enable" "Disabled,Enabled"
textline "                       "
bitfld.long 0x04 17. " ALM2EN   ,Timer ALM2 event enable" "Disabled,Enabled"
bitfld.long 0x04 16. "         ALM1EN      ,Timer ALM1 event enable" "Disabled,Enabled"
textline "                       "
bitfld.long 0x04 7. " PP1EN    ,Periodic pulse event 1 enable" "Disabled,Enabled"
bitfld.long 0x04 6. "         PP2EN       ,Periodic pulse event 2 enable" "Disabled,Enabled"
textline "                       "
bitfld.long 0x04 5. " PP3EN    ,Periodic pulse event 3 enable" "Disabled,Enabled"
line.long 0x08 "TMR_PEVENT,Timer PTP Packet Event Register"
bitfld.long 0x08 9. " TXP2     ,Indicates that a PTP frame has been transmitted" "Not transmitted,Transmitted"
bitfld.long 0x08 8. "  TXP1        ,Indicates that a PTP frame has been transmitted" "Not transmitted,Transmitted"
textline "                       "
bitfld.long 0x08 0. " RXP      ,Indicates that a PTP frame has been received" "Not received,Received"
line.long 0x0C "TMR_PEMASK,Timer Event Mask Register"
bitfld.long 0x0C 9. " TXP2EN   ,Transmit PTP packet event 2 enable" "Disabled,Enabled"
bitfld.long 0x0C 8. "         TXP1EN      ,Transmit PTP packet event 1 enable" "Disabled,Enabled"
textline "                       "
bitfld.long 0x0C 0. " RXPEN    ,Receive PTP packet event enable" "Disabled,Enabled"
line.long 0x10 "TMR_STAT,Timer Status Register"
hexmask.long.byte 0x10 0.--5. 1. " STAT_VEC ,Timer general purpose status vector"
line.long 0x14 "TMR_CNT_H,Timer Counter Register High"
line.long 0x18 "TMR_CNT_L,Timer Counter Register Low"
line.long 0x1C "TMR_ADD,Timer Drift Compensation Addend Register"
line.long 0x20 "TMR_ACC,Timer Accumulator Register"
line.long 0x24 "TMR_PRSC,Timer Prescale Register"
hexmask.long.word 0x24 0.--15. 1. " PRSC_OCK ,Output clock division/prescale factor"
group.long ((0x24000+0xe00)+0x30)++0x07
line.long 0x00 "TMROFF_H,Timer Offset Register High"
line.long 0x04 "TMROFF_L,Timer Offset Register Low"
group.long ((0x24000+0xe00)+0x40)++0x0f
line.long 0x00 "TMR_ALARM1_H,Alarm 1 Time Comparator Register High"
line.long 0x04 "TMR_ALARM1_L,Alarm 1 Time Comparator Register Low"
line.long 0x08 "TMR_ALARM2_H,Alarm 2 Time Comparator Register High"
line.long 0x0c "TMR_ALARM2_L,Alarm 2 Time Comparator Register Low"
group.long ((0x24000+0xe00)+0x80)++0x0b
line.long 0x00 "TMR_FIPER1,Timer Fixed Interval Period Register 1"
line.long 0x04 "TMR_FIPER2,Timer Fixed Interval Period Register 2"
line.long 0x08 "TMR_FIPER3,Timer Fixed Interval Period Register 3"
group.long ((0x24000+0xe00)+0xa0)++0x0f
line.long 0x00 "TMR_ETTS1_H,External Trigger Stamp Register 1 High"
line.long 0x04 "TMR_ETTS1_L,External Trigger Stamp Register 1 Low"
line.long 0x08 "TMR_ETTS2_H,External Trigger Stamp Register 2 High"
line.long 0x0c "TMR_ETTS2_L,External Trigger Stamp Register 2 Low"

tree.end
endif

tree.end
tree "eTSEC2"
tree "eTSEC2 General Control and Status Registers"
width 10.
rgroup.long 0x25000++0x7
line.long 0x00 "TSEC_ID1,Controller ID Register"
hexmask.long.word 0x00 16.--31. 1. " TSEC_ID     ,eTSEC ID"
hexmask.long.byte 0x00  8.--15. 1. "                TSEC_REV_MJ ,Major revision of the eTSEC"
textline "                   "
hexmask.long.byte 0x00  0.--7.  1. " TSEC_REV_MN ,Minor revision of the eTSEC"
line.long 0x04 "TSEC_ID2,Controller ID Register"
bitfld.long 0x04 21. " TSEC_INT5   ,Ethernet mode supported" "-,Supported"
sif (CPU()!="MPC8308")
bitfld.long 0x04 20. " TSEC_INT4   ,FIFO mode support" "-,Supported"
endif
textline "                   "
bitfld.long 0x04 17. " TSEC_INT1   ,Ethernet normal/full mode off" "-,Off"
textline "                   "
bitfld.long 0x04 16. " TSEC_INT0   ,Ethernet reduced mode off" "-,Off"
hexmask.long.byte 0x04  0.--7.  1. "                 TSEC_CFG    ,Configuration options of the eTSEC"
group.long (0x25000+0x10)++0x0b
line.long 0x00 "IEVENT,Interrupt Event Register"
eventfld.long 0x00 31. " BABR        ,Babbling receive error" "-,Received"
eventfld.long 0x00 30. "            RXC         ,Receive control interrupt" "-,Received"
textline "                   "
eventfld.long 0x00 29. " BSY         ,Busy condition interrupt" "-,Received"
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315")&&(CPU()!="MPC8308"))
textline "                   "
eventfld.long 0x00 28. " EBERR       ,Ethernet bus error" "-,Error"
textline "                   "
eventfld.long 0x00 26. " MSRO        ,MSTAT Register Overflow" "-,Overflow"
else
eventfld.long 0x00 28. " EBERR       ,Internal bus error" "-,Error"
textline "                   "
eventfld.long 0x00 26. " MSRO        ,MIB Counter Overflow" "-,Overflow"
endif
eventfld.long 0x00 25. " GTSC        ,Graceful transmit stop complete" "-,Completed"
textline "                   "
eventfld.long 0x00 24. " BABT        ,Babbling transmit error" "-,Error"
eventfld.long 0x00 23. "               TXC         ,Transmit control interrupt" "-,Interrupt"
textline "                   "
eventfld.long 0x00 22. " TXE         ,Transmit error" "-,Error"
eventfld.long 0x00 21. "               TXB         ,Transmit buffer" "-,Updated"
textline "                   "
eventfld.long 0x00 20. " TXF         ,Transmit frame interrupt" "-,Interrupt"
eventfld.long 0x00 18. "           LC          ,Late collision" "-,Occurred"
textline "                   "
eventfld.long 0x00 17. " CRL         ,Collision retry limit" "-,Occurred"
eventfld.long 0x00 16. "            XFUN        ,Transmit FIFO underrun" "-,Underrun"
textline "                   "
eventfld.long 0x00 15. " RXB         ,Receive buffer" "-,Updated"
sif (CPU()!="MPC8308")
eventfld.long 0x00 11. " MAG         ,Magic Packet detected" "-,Detected"
endif
textline "                   "
eventfld.long 0x00 10. " MMRD        ,MII management read completion" "-,Completed"
eventfld.long 0x00 9. "           MMWR        ,MII management write completion" "-,Completed"
textline "                   "
eventfld.long 0x00 8. " GRSC        ,Graceful receive stop complete" "-,Completed"
eventfld.long 0x00 7. "           RXF         ,Receive frame interrupt" "-,Received"
textline "                   "
sif (CPU()=="MPC8308")
eventfld.long 0x00 4. " FGPI        ,Filer generated general purpose interrupt on a set of filer rule match"  "-,Occurred"
textline "                   "
endif
eventfld.long 0x00 3. " FIR         ,Receive queue filer result is invalid"  "-,Error"
eventfld.long 0x00 2. "               FIQ         ,Filed frame to invalid receive queue" "-,Error"
textline "                   "
eventfld.long 0x00 1. " DPE         ,Internal data parity error" "-,Error"
eventfld.long 0x00 0. "               PERR        ,Receive frame parse error for TCP/IP off-load" "-,Error"
line.long 0x04 "IMASK,Interrupt Mask Register"
bitfld.long 0x04 31. " BREN        ,Babbling receiver interrupt enable" "-,Enabled"
bitfld.long 0x04 30. "             RXCEN       ,Receive control interrupt enable" "-,Enabled"
textline "                   "
bitfld.long 0x04 29. " BSYEN       ,Busy interrupt enable" "-,Enabled"
bitfld.long 0x04 28. "             EBERREN     ,Ethernet controller bus error enable" "-,Enabled"
textline "                   "
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315")&&(CPU()!="MPC8308"))
bitfld.long 0x04 26. " MSROEN      ,MSTAT register overflow interrupt enable" "-,Enabled"
else
bitfld.long 0x04 26. " MSROEN      ,MIB counter overflow interrupt enable" "-,Enabled"
endif
bitfld.long 0x04 25. " GTSCEN      ,Graceful transmit stop complete interrupt enable" "-,Enabled"
textline "                   "
bitfld.long 0x04 24. " BTEN        ,Babbling transmitter interrupt enable" "-,Enabled"
bitfld.long 0x04 23. "             TXCEN       ,Transmit control interrupt enable" "-,Enabled"
textline "                   "
bitfld.long 0x04 22. " TXEEN       ,Transmit error interrupt enable" "-,Enabled"
bitfld.long 0x04 21. "             TXBEN       ,Transmit buffer interrupt enable" "-,Enabled"
textline "                   "
bitfld.long 0x04 20. " TXFEN       ,Transmit frame interrupt enable" "-,Enabled"
bitfld.long 0x04 18. "             LCEN        ,Late collision enable" "-,Enabled"
textline "                   "
bitfld.long 0x04 17. " CRLEN       ,Collision retry limit enable" "-,Enabled"
bitfld.long 0x04 16. "             XFUNEN      ,Transmit FIFO underrun enable" "-,Enabled"
textline "                   "
bitfld.long 0x04 15. " RXBEN       ,Receive buffer interrupt enable" "-,Enabled"
sif (CPU()!="MPC8308")
bitfld.long 0x04 11. " MAGEN       ,Magic Packet detected enable" "-,Enabled"
endif
textline "                   "
bitfld.long 0x04 10. " MMRDEN      ,MII management read completion enable" "-,Enabled"
bitfld.long 0x04 9. "             MMWREN      ,MII management write completion enable" "-,Enabled"
textline "                   "
bitfld.long 0x04 8. " GRSCEN      ,Graceful receive stop complete interrupt enable" "-,Enabled"
bitfld.long 0x04 7. "             RXFEN       ,Receive frame interrupt enable" "-,Enabled"
textline "                   "
sif (CPU()=="MPC8308")
bitfld.long 0x04 4. " FGPIEN      ,Filer general purpose interrupt enable" "-,Enabled"
textline "                   "
endif
bitfld.long 0x04 3. " FIREN       ,Filer invalid result interrupt enable" "-,Enabled"
bitfld.long 0x04 2. "             FIQEN       ,Filed frame to invalid queue interrupt enable" "-,Enabled"
textline "                   "
bitfld.long 0x04 1. " DPEEN       ,Data parity error interrupt enable" "-,Enabled"
bitfld.long 0x04 0. "             PERREN      ,Receive frame parse error enable" "-,Enabled"
line.long 0x08 "EDIS,Error Disabled Register"
bitfld.long 0x08 29. " BSYDIS      ,Busy disable" "-,Disabled"
bitfld.long 0x08 28. "            EBERRDIS    ,Ethernet controller bus error disable" "-,Disabled"
textline "                   "
bitfld.long 0x08 24. " BARTDIS     ,Babbling transmit error disable" "-,Disabled"
bitfld.long 0x08 22. "            TXEDIS      ,Transmit error disable" "-,Disabled"
textline "                   "
bitfld.long 0x08 18. " LCDIS       ,Late collision disable" "-,Disabled"
bitfld.long 0x08 17. "            CRLDIS      ,Collision retry limit excessive defer abort disable" "-,Disabled"
textline "                   "
bitfld.long 0x08 16. " XFUNDIS     ,Transmit FIFO underrun disable" "-,Disabled"
bitfld.long 0x08  3. "            FIRDIS      ,Filer invalid result error disable" "-,Disabled"
textline "                   "
bitfld.long 0x08  2. " FIQDIS      ,Filed frame to invalid queue error disable" "-,Disabled"
bitfld.long 0x08  1. "            DPEDIS      ,Data parity error disable" "-,Disabled"
textline "                   "
bitfld.long 0x08  0. " PERRDIS     ,Receive frame parse error disable" "-,Disabled"
group.long (0x25000+0x20)++0x3
line.long 0x00 "ECNTRL,Ethernet Control Register"
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315")&&(CPU()!="MPC8308"))
bitfld.long 0x00 14. " CLRCNT      ,Clear all statistics counters" "-,Cleared"
bitfld.long 0x00 13. "             AUTOZ       ,Automatically zero addressed statistical counter values input to MSTAT module" "Cleared by user,Cleared by host read"
textline "                   "
bitfld.long 0x00 12. " STEN        ,Statistics enabled input to MSTAT module" "-,Enabled"
bitfld.long 0x00 6. "             GMII        ,GMII interface mode" "-,Enabled"
textline "                   "
bitfld.long 0x00 5. " TBIM        ,Ten-bit interface mode" "GMII or MII,TBI"
bitfld.long 0x00 4. "         RPM         ,Reduced signal mode" "GMII or TBI,RGMII or RTBI"
textline "                   "
bitfld.long 0x00 3. " R100M       ,RGMII 100 mode" "10 Mbps,100 Mbps"
bitfld.long 0x00 2. "            RMM         ,Reduced-pin mode for 10/100 interfaces" "-,Enabled"
textline "                   "
bitfld.long 0x00 1. " SGMIIM      ,Serial GMII mode" "-,Enabled"
elif ((CPU()!="MPC8314")&&(CPU()!="MPC8315"))
bitfld.long 0x00 14. " CLRCNT      ,Clear all statistics counters" "-,Cleared"
bitfld.long 0x00 13. "             AUTOZ       ,Automatically zero MIB counter values" "Cleared by user,Cleared by host read"
textline "                   "
bitfld.long 0x00 12. " STEN        ,MIB counter statistics enabled" "-,Enabled"
rbitfld.long 0x00 6. "             GMII        ,GMII interface mode" "MII/RMII,RGMII"
textline "                   "
rbitfld.long 0x00 4. " RPM         ,Reduced-pin mode for Gigabit interfaces" "MII,RGMII/RTBI"
bitfld.long 0x00 3. "          R100M       ,RGMII/RMII 100 mode" "10 Mbps,100 Mbps"
elif (CPU()!="MPC8308")
bitfld.long 0x00 14. " CLRCNT      ,Clear all statistics counters" "-,Cleared"
bitfld.long 0x00 13. "             AUTOZ       ,Automatically zero MIB counter values" "Cleared by user,Cleared by host read"
textline "                   "
bitfld.long 0x00 12. " STEN        ,MIB counter statistics enabled" "-,Enabled"
bitfld.long 0x00 6. "             GMII        ,GMII interface mode" "MII/RMII,RGMII"
textline "                   "
bitfld.long 0x00 4. " RPM         ,Reduced-pin mode for Gigabit interfaces" "MII,RGMII/RTBI"
bitfld.long 0x00 3. "          R100M       ,RGMII/RMII 100 mode" "10 Mbps,100 Mbps"
textline "                   "
bitfld.long 0x00 2. " RMM         ,Reduced-pin mode for 10/100 interfaces" "MII/RGMII/RTBI,RMII"
bitfld.long 0x00 1. "      SGMIIM      ,Serial GMII mode" "-,Enabled"
else
bitfld.long 0x00 14. " CLRCNT      ,Clear all statistics counters" "-,Cleared"
bitfld.long 0x00 13. "             AUTOZ       ,Automatically zero MIB counter values" "Cleared by user,Cleared by host read"
textline "                   "
bitfld.long 0x00 12. " STEN        ,MIB counter statistics enabled" "-,Enabled"
rbitfld.long 0x00 6. "             GMII        ,GMII interface mode" "MII/RMII,RGMII"
textline "                   "
rbitfld.long 0x00 4. " RPM         ,Reduced-pin mode for Gigabit interfaces" "MII,RGMII/RTBI"
bitfld.long 0x00 3. "          R100M       ,RGMII/RMII 100 mode" "10 Mbps,100 Mbps"
endif
group.long (0x25000+0x28)++0x7
line.long 0x00 "PTV,Pause Time Value Register"
hexmask.long.word 0x00 16.--31. 1. " PTE         ,Extended pause control"
hexmask.long.word 0x00 0.--15. 1. "                PT          ,Pause time value"
line.long 0x04 "DMACTRL,DMA Control Register"
bitfld.long 0x04 15. " LE          ,Little-endian descriptor mode enable" "Big,Little"
bitfld.long 0x04 7. "              TDSEN       ,Tx Data snoop enable" "-,Enabled"
textline "                   "
bitfld.long 0x04 6. " TBDSEN      ,TxBD snoop enable" "-,Enabled"
bitfld.long 0x04 4. "             GRS         ,Graceful receive stop" "Scan,Stop"
textline "                   "
bitfld.long 0x04 3. " GTS         ,Graceful transmit stop" "Transmition,Stop"
bitfld.long 0x04 2. "         TOD         ,Transmit on demand for TxBD ring 0" "-,Enabled"
textline "                   "
bitfld.long 0x04 1. " WWR         ,Write with response" "No acknowledgement,Acknowledgement"
bitfld.long 0x04 0. "  WOP         ,Wait or poll" "Poll,Wait"        
sif ((CPU()=="MPC8313")||(CPU()=="MPC8308"))
group.long (0x25000+0x30)++0x3       
line.long 0x00 "TBIPA,TBI Physical Address Register"
hexmask.long.byte 0x00 0.--4. 1. " TBIPA       ,This field is used to program the PHY address of the ten-bit interface's MII management bus"
endif
width 0xb
tree.end
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315")&&(CPU()!="MPC8308"))
tree "eTSEC2 FIFO Control and Status Registers"
width 24.
group.long (0x25000+0x58)++0x7
line.long 0x00 "FIFO_RX_ALARM,FIFO Receive Alarm Start Threshold Register"
hexmask.long.byte 0x00 0.--7. 1. " ALARM_START            ,FIFO receive alarm threshold"
line.long 0x04 "FIFO_RX_ALARM_SHUTOFF,FIFO Receive Alarm Shut-off Threshold Register"
hexmask.long.byte 0x04 0.--7. 1. " ALARM_SHUTOFF          ,FIFO receive alarm shutoff"
group.long (0x25000+0x8c)++0x3
line.long 0x00 "FIFO_TX_THR,FIFO Transmit Threshold Register"
hexmask.long.word 0x00 0.--8. 1. " FIFO_TX_THR            ,FIFO transmit threshold"
group.long (0x25000+0x98)++0x7
line.long 0x00 "FIFO_TX_STARVE,FIFO Transmit Starve Register"
hexmask.long.word 0x00 0.--8. 1. " FIFO_TX_STARVE         ,FIFO transmit starve"
line.long 0x04 "FIFO_TX_STARVE_SHUTOFF,FIFO Transmit Starve Shutoff Register"
hexmask.long.word 0x04 0.--8. 1. " FIFO_TX_STARVE_SHUTOFF ,FIFO transmit starve shutoff"
width 0xb
tree.end
endif
tree "eTSEC2 Transmit Control and Status Registers"
width 14.
group.long (0x25000+0x100)++0x0b
line.long 0x00 "TCTRL,Transmit Control Register"
bitfld.long 0x00 14. " IPCSEN    ,IP header checksum generation enable" "-,Enabled"
bitfld.long 0x00 13. "                        TUCSEN    ,TCP/UDP header checksum generation enable" "-,Enabled"
textline "                       "
bitfld.long 0x00 12. " VLINS     ,VLAN tag insertion enable" "-,Enabled"
bitfld.long 0x00 11. "                        THDF      ,Transmit half-duplex flow control" "Disabled,Back pressure"
textline "                       "
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315")&&(CPU()!="MPC8308"))
bitfld.long 0x00 4. " RFC_PAUSE ,Receive flow control pause frame" "Complete,In progress"
bitfld.long 0x00 3. "                    TFC_PAUSE ,Transmit flow control pause frame" "-,Requested"
else
rbitfld.long 0x00 4. " RFC_PAUSE ,Receive flow control pause frame" "Complete,Received"
bitfld.long 0x00 3. "                       TFC_PAUSE ,Transmit flow control pause frame" "-,Transmitted"
endif        
textline "                       "
bitfld.long 0x00 1.--2. " TXSCHED   ,Transmit ring scheduling algorithm" "Single polled ring,Priority schedulling,Modified weighted round-robin,"
line.long 0x04 "TSTAT,Transmit Status Register"
eventfld.long 0x04 31. " THLT0     ,Transmit halt of ring 0" "-,Halted"
eventfld.long 0x04 30. "                         THLT1     ,Transmit halt of ring 1" "-,Halted"
textline "                       "
eventfld.long 0x04 29. " THLT2     ,Transmit halt of ring 2" "-,Halted"
eventfld.long 0x04 28. "                         THLT3     ,Transmit halt of ring 3" "-,Halted"
textline "                       "
eventfld.long 0x04 27. " THLT4     ,Transmit halt of ring 4" "-,Halted"
eventfld.long 0x04 26. "                         THLT5     ,Transmit halt of ring 5" "-,Halted"
textline "                       "
eventfld.long 0x04 25. " THLT6     ,Transmit halt of ring 6" "-,Halted"
eventfld.long 0x04 24. "                         THLT7     ,Transmit halt of ring 7" "-,Halted"
textline "                       "
eventfld.long 0x04 15. " TXF0      ,Transmit frame event occurred on ring 0" "-,Occurred"
eventfld.long 0x04 14. "                       TXF1      ,Transmit frame event occurred on ring 1" "-,Occurred"
textline "                       "
eventfld.long 0x04 13. " TXF2      ,Transmit frame event occurred on ring 2" "-,Occurred"
eventfld.long 0x04 12. "                       TXF3      ,Transmit frame event occurred on ring 3" "-,Occurred"
textline "                       "
eventfld.long 0x04 11. " TXF4      ,Transmit frame event occurred on ring 4" "-,Occurred"
eventfld.long 0x04 10. "                       TXF5      ,Transmit frame event occurred on ring 5" "-,Occurred"
textline "                       "
eventfld.long 0x04  9. " TXF6      ,Transmit frame event occurred on ring 6" "-,Occurred"
eventfld.long 0x04  8. "                       TXF7      ,Transmit frame event occurred on ring 7" "-,Occurred"
line.long 0x08 "DFVLAN,Default VLAN Control Word Register"
hexmask.long.word 0x08 16.--31. 1. " TAG       ,Default Ethertype used to tag VLAN frames"
bitfld.long 0x08 13.--15. "                           PRI       ,Default value used for the IEEE Std. 802.1p frame priority" "0,1,2,3,4,5,6,7"
textline "                       "
bitfld.long 0x08 12. " CFI       ,Default value used for the IEEE Std. 802.1Q canonical format indicator" "0,1"
hexmask.long.word 0x08 0.--11. 1. "                              VID       ,Default value used for the virtual-LAN identifier in VLAN-tagged frames"
group.long ((0x25000+0x100)+0x10)++0x07
line.long 0x00 "TXIC,Transmit Interrupt Coalescing Configuration Register"
bitfld.long 0x00 31. " ICEN      ,Interrupt coalescing enable" "-,Enabled"
bitfld.long 0x00 30. "                        ICCS      ,Interrupt coalescing timer clock source" "Interface,System"
textline "                       "
hexmask.long.byte 0x00 21.--28. 1. " ICFT      ,Interrupt coalescing frame count threshold"
hexmask.long.word 0x00 0.--15. 1. "                             ICTT      ,Interrupt coalescing timer threshold"
line.long 0x04 "TQUEUE,Transmit Queue Control Register"
bitfld.long 0x04 15. " EN0       ,Transmit queue 0 enable" "-,Enabled"
bitfld.long 0x04 14. "                        EN1       ,Transmit queue 1 enable" "-,Enabled"
textline "                       "
bitfld.long 0x04 13. " EN2       ,Transmit queue 2 enable" "-,Enabled"
bitfld.long 0x04 12. "                        EN3       ,Transmit queue 3 enable" "-,Enabled"
textline "                       "
bitfld.long 0x04 11. " EN4       ,Transmit queue 4 enable" "-,Enabled"
bitfld.long 0x04 10. "                        EN5       ,Transmit queue 5 enable" "-,Enabled"
textline "                       "
bitfld.long 0x04  9. " EN6       ,Transmit queue 6 enable" "-,Enabled"
bitfld.long 0x04  8. "                        EN7       ,Transmit queue 7 enable" "-,Enabled"
group.long ((0x25000+0x100)+0x40)++0x7
line.long 0x00 "TR03WT,TxBD Ring 0-3 Weighting Register"
hexmask.long.byte 0x00 24.--31. 1. " WT0       ,Weighting value for TxBD ring 0"
hexmask.long.byte 0x00 16.--23. 1. "                             WT1       ,Weighting value for TxBD ring 1"
textline "                       "
hexmask.long.byte 0x00  8.--15. 1. " WT2       ,Weighting value for TxBD ring 2"
hexmask.long.byte 0x00  0.--7.  1. "                             WT3       ,Weighting value for TxBD ring 3"
line.long 0x04 "TR47WT,TxBD Ring 4-7 Weighting Register"
hexmask.long.byte 0x04 24.--31. 1. " WT4       ,Weighting value for TxBD ring 4"
hexmask.long.byte 0x04 16.--23. 1. "                             WT5       ,Weighting value for TxBD ring 5"
textline "                       "
hexmask.long.byte 0x04  8.--15. 1. " WT6       ,Weighting value for TxBD ring 6"
hexmask.long.byte 0x04  0.--7.  1. "                             WT7       ,Weighting value for TxBD ring 7"
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315")&&(CPU()!="MPC8308"))
group.long ((0x25000+0x100)+0x80)++0x3
line.long 0x00 "TBDBPH,Transmit Data Buffer Pointer High Register"
bitfld.long 0x00 0.--3. " TBDBPH    ,Transmit data buffer pointer high" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
endif
group.long ((0x25000+0x100)+0x84)++0x03
line.long 0x00 "TBPTR0,Transmit Buffer Descriptor Pointer 0"
hexmask.long 0x00 3.--31. 0x8 " TBPTR0    ,Current TxBD pointer for TxBD ring 0"
group.long ((0x25000+0x100)+0x8c)++0x3
line.long 0x00 "TBPTR1,Transmit Buffer Descriptor Pointer 1"
hexmask.long 0x00 3.--31. 0x8 " TBPTR1    ,Current TxBD pointer for TxBD ring 1"
group.long ((0x25000+0x100)+0x94)++0x3
line.long 0x00 "TBPTR2,Transmit Buffer Descriptor Pointer 2"
hexmask.long 0x00 3.--31. 0x8 " TBPTR2    ,Current TxBD pointer for TxBD ring 2"
group.long ((0x25000+0x100)+0x9c)++0x3
line.long 0x00 "TBPTR3,Transmit Buffer Descriptor Pointer 3"
hexmask.long 0x00 3.--31. 0x8 " TBPTR3    ,Current TxBD pointer for TxBD ring 3"
group.long ((0x25000+0x100)+0xa4)++0x3
line.long 0x00 "TBPTR4,Transmit Buffer Descriptor Pointer 4"
hexmask.long 0x00 3.--31. 0x8 " TBPTR4    ,Current TxBD pointer for TxBD ring 4"
group.long ((0x25000+0x100)+0xac)++0x3
line.long 0x00 "TBPTR5,Transmit Buffer Descriptor Pointer 5"
hexmask.long 0x00 3.--31. 0x8 " TBPTR5    ,Current TxBD pointer for TxBD ring 5"
group.long ((0x25000+0x100)+0xb4)++0x3
line.long 0x00 "TBPTR6,Transmit Buffer Descriptor Pointer 6"
hexmask.long 0x00 3.--31. 0x8 " TBPTR6    ,Current TxBD pointer for TxBD ring 6"
group.long ((0x25000+0x100)+0xbc)++0x3
line.long 0x00 "TBPTR7,Transmit Buffer Descriptor Pointer 7"
hexmask.long 0x00 3.--31. 0x8 " TBPTR7    ,Current TxBD pointer for TxBD ring 7"
sif (CPU()!="MPC8308")
group.long ((0x25000+0x100)+0x100)++0x03
line.long 0x00 "TBASE,Transmit Descriptor Base Address Register"
hexmask.long.byte 0x00 0.--3. 1. " TBASEH    ,Most significant bits common to all TxBD addresses"
endif
group.long ((0x25000+0x100)+0x104)++0x3
line.long 0x00 "TBASE0,Transmit Descriptor Base Address Register 0"
hexmask.long 0x00 3.--31. 0x8 " TBASE0    ,Transmit base address for ring 0"
group.long ((0x25000+0x100)+0x10c)++0x3
line.long 0x00 "TBASE1,Transmit Descriptor Base Address Register 1"
hexmask.long 0x00 3.--31. 0x8 " TBASE1    ,Transmit base address for ring 1"
group.long ((0x25000+0x100)+0x114)++0x3
line.long 0x00 "TBASE2,Transmit Descriptor Base Address Register 2"
hexmask.long 0x00 3.--31. 0x8 " TBASE2    ,Transmit base address for ring 2"
group.long ((0x25000+0x100)+0x11c)++0x3
line.long 0x00 "TBASE3,Transmit Descriptor Base Address Register 3"
hexmask.long 0x00 3.--31. 0x8 " TBASE3    ,Transmit base address for ring 3"
group.long ((0x25000+0x100)+0x124)++0x3
line.long 0x00 "TBASE4,Transmit Descriptor Base Address Register 4"
hexmask.long 0x00 3.--31. 0x8 " TBASE4    ,Transmit base address for ring 4"
group.long ((0x25000+0x100)+0x12c)++0x3
line.long 0x00 "TBASE5,Transmit Descriptor Base Address Register 5"
hexmask.long 0x00 3.--31. 0x8 " TBASE5    ,Transmit base address for ring 5"
group.long ((0x25000+0x100)+0x134)++0x3
line.long 0x00 "TBASE6,Transmit Descriptor Base Address Register 6"
hexmask.long 0x00 3.--31. 0x8 " TBASE6    ,Transmit base address for ring 6"
group.long ((0x25000+0x100)+0x13c)++0x3
line.long 0x00 "TBASE7,Transmit Descriptor Base Address Register 7"
hexmask.long 0x00 3.--31. 0x8 " TBASE7    ,Transmit base address for ring 7"
rgroup.long ((0x25000+0x100)+0x180)++0x7
line.long 0x00 "TMR_TXTS1_ID,Transmit Time Stamp Identification Register"
hexmask.long.word 0x00 0.--15. 1. " TXTS_ID   ,Tx time stamp identification field"
line.long 0x04 "TMR_TXTS2_ID,Transmit Time Stamp Identification Register"
hexmask.long.word 0x04 0.--15. 1. " TXTS_ID   ,Tx time stamp identification field"
sif (CPU()=="MPC8308")
rgroup.long ((0x25000+0x100)+0x1c0)++0xf
line.long 0x00 "TMR_TXTS1_H,Transmit Time Stamp Register 1 High"
line.long 0x04 "TMR_TXTS1_L,Transmit Time Stamp Register 1 Low"
line.long 0x08 "TMR_TXTS2_H,Transmit Time Stamp Register 2 High"
line.long 0x0c "TMR_TXTS2_L,Transmit Time Stamp Register 2 Low"
else
group.long ((0x25000+0x100)+0x1c0)++0xf
line.long 0x00 "TMR_TXTS1_H,Transmit Time Stamp Register 1 High"
line.long 0x04 "TMR_TXTS1_L,Transmit Time Stamp Register 1 Low"
line.long 0x08 "TMR_TXTS2_H,Transmit Time Stamp Register 2 High"
line.long 0x0c "TMR_TXTS2_L,Transmit Time Stamp Register 2 Low"
endif
width 0xb
tree.end
tree "eTSEC2 Receive Control and Status Registers"
width 12.
group.long (0x25000+0x300)++0x07
line.long 0x00 "RCTRL,Receive Control Register"
bitfld.long 0x00 24. " TS     ,Time stamp incoming packets as padding bytes" "-,Occurred"
bitfld.long 0x00 16.--20. "     PAL      ,Packet alignment padding length" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
textline "                     "
bitfld.long 0x00 14. " LFC    ,Lossless flow control" "-,Enabled"
textline "                     "
bitfld.long 0x00 13. " VLEX   ,Automatic VLAN tag extraction and deletion from Ethernet frames enable" "-,Enabled"
bitfld.long 0x00 12. "      FILREN   ,Filter enable" "-,Enabled"
textline "                     "
bitfld.long 0x00 11. " FSQEN  ,Single-queue mode for the receive frame filer enable" "-,Enabled"
bitfld.long 0x00 10. "      GHTX     ,Group address hash table extend" "-,Extended"
textline "                     "
bitfld.long 0x00 9. " IPCSEN ,IP Checksum verification enable" "-,Enabled"
bitfld.long 0x00 8. "      TUCSEN   ,TCP or UDP Checksum verification enable" "-,Enabled"
textline "                     "
bitfld.long 0x00 6.--7. " PRSDEP ,Parser Control" "-,Ethernet,IP,TCP/UDP"
bitfld.long 0x00 4. "     BC_REJ   ,Broadcast frame reject" "-,Rejected"
textline "                     "
bitfld.long 0x00 3. " PROM   ,Promiscuous mode" "-,Enabled"
bitfld.long 0x00 2. "      RSF      ,Receive short frame mode" "-,Enabled"
textline "                     "
bitfld.long 0x00 1. " EMEN   ,Exact match MAC address enable" "-,Enabled"
line.long 0x04 "RSTAT,Receive Status Register"
eventfld.long 0x04 23. " QHLT0  ,RxBD queue 0 is halted" "-,Halted"
eventfld.long 0x04 22. "       QHLT1    ,RxBD queue 1 is halted" "-,Halted"
textline "                     "
eventfld.long 0x04 21. " QHLT2  ,RxBD queue 2 is halted" "-,Halted"
eventfld.long 0x04 20. "       QHLT3    ,RxBD queue 3 is halted" "-,Halted"
textline "                     "
eventfld.long 0x04 19. " QHLT4  ,RxBD queue 4 is halted" "-,Halted"
eventfld.long 0x04 18. "       QHLT5    ,RxBD queue 5 is halted" "-,Halted"
textline "                     "
eventfld.long 0x04 17. " QHLT6  ,RxBD queue 6 is halted" "-,Halted"
eventfld.long 0x04 16. "       QHLT7    ,RxBD queue 7 is halted" "-,Halted"
textline "                     "
eventfld.long 0x04  7. " RXF0   ,Receive frame event occurred on ring 0" "-,Occurred"
eventfld.long 0x04  6. "     RXF1     ,Receive frame event occurred on ring 1" "-,Occurred"
textline "                     "
eventfld.long 0x04  5. " RXF2   ,Receive frame event occurred on ring 2" "-,Occurred"
eventfld.long 0x04  4. "     RXF3     ,Receive frame event occurred on ring 3" "-,Occurred"
textline "                     "
eventfld.long 0x04  3. " RXF4   ,Receive frame event occurred on ring 4" "-,Occurred"
eventfld.long 0x04  2. "     RXF5     ,Receive frame event occurred on ring 5" "-,Occurred"
textline "                     "
eventfld.long 0x04  1. " RXF6   ,Receive frame event occurred on ring 6" "-,Occurred"
eventfld.long 0x04  0. "     RXF7     ,Receive frame event occurred on ring 7" "-,Occurred"
group.long ((0x25000+0x300)+0x10)++0x7
line.long 0x00 "RXIC,Receive Interrupt Coalescing Configuration Register"
bitfld.long 0x00 31. " ICEN   ,Interrupt coalescing enable" "-,Enabled"
bitfld.long 0x00 30. "      ICCS     ,Interrupt coalescing timer clock source" "Interface,System"
textline "                     "
hexmask.long.byte 0x00 21.--28. 1. " ICFCT  ,Interrupt coalescing frame count threshold"
hexmask.long.word 0x00 0.--15. 1. "           ICTT     ,Interrupt coalescing timer threshold"
line.long 0x04 "RQUEUE,Receive Queue Control Register"
bitfld.long 0x04 23. " EX0    ,Receive queue 0 extract enable" "-,Enabled"
bitfld.long 0x04 22. "      EX1      ,Receive queue 1 extract enable" "-,Enabled"
textline "                     "
bitfld.long 0x04 21. " EX2    ,Receive queue 2 extract enable" "-,Enabled"
bitfld.long 0x04 20. "      EX3      ,Receive queue 3 extract enable" "-,Enabled"
textline "                     "
bitfld.long 0x04 19. " EX4    ,Receive queue 4 extract enable" "-,Enabled"
bitfld.long 0x04 18. "      EX5      ,Receive queue 5 extract enable" "-,Enabled"
textline "                     "
bitfld.long 0x04 17. " EX6    ,Receive queue 6 extract enable" "-,Enabled"
bitfld.long 0x04 16. "      EX7      ,Receive queue 7 extract enable" "-,Enabled"
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315"))
textline "                     "
bitfld.long 0x04  7. " EN0    ,Receive queue 0 enable" "-,Enabled"
bitfld.long 0x04  6. "      EN1      ,Receive queue 1 enable" "-,Enabled"
textline "                     "
bitfld.long 0x04  5. " EN2    ,Receive queue 2 enable" "-,Enabled"
bitfld.long 0x04  4. "      EN3      ,Receive queue 3 enable" "-,Enabled"
textline "                     "
bitfld.long 0x04  3. " EN4    ,Receive queue 4 enable" "-,Enabled"
bitfld.long 0x04  2. "      EN5      ,Receive queue 5 enable" "-,Enabled"
textline "                     "
bitfld.long 0x04  1. " EN6    ,Receive queue 6 enable" "-,Enabled"
bitfld.long 0x04  0. "      EN7      ,Receive queue 7 enable" "-,Enabled"
endif
sif (CPU()=="MPC8308")
group.long ((0x25000+0x300)+0x30)++0x7
line.long 0x00 "RBIFX,Receive Bit Field Extract Control Register"
bitfld.long 0x00 30.--31. " B0CTL  ,Location of byte 0 of property ARB" "-,Ethernet DA,L2 header,L3 header"
hexmask.long.byte 0x00 24.--29. 1. "  B0OFFSET ,Offset relative to the header defined by B0CTL"
textline "                     "
bitfld.long 0x00 22.--23. " B1CTL  ,Location of byte 1 of property ARB" "-,Ethernet DA,L2 header,L3 header"
hexmask.long.byte 0x00 16.--21. 1. "  B1OFFSET ,Offset relative to the header defined by B1CTL"
textline "                     "
bitfld.long 0x00 14.--15. " B2CTL  ,Location of byte 2 of property ARB" "-,Ethernet DA,L2 header,L3 header"
hexmask.long.byte 0x00 8.--13. 1. "  B2OFFSET ,Offset relative to the header defined by B2CTL"
textline "                     "
bitfld.long 0x00 6.--7. " B3CTL  ,Location of byte 3 of property ARB" "-,Ethernet DA,L2 header,L3 header"
hexmask.long.byte 0x00 0.--5. 1. "  B3OFFSET ,Offset relative to the header defined by B3CTL"
line.long 0x04 "RQFAR,Receive Queue Filer Table Address Register"
hexmask.long.byte 0x04 0.--7. 1. " RQFAR  ,Current index of receive queue filer table"
else
group.long ((0x25000+0x300)+0x30)++0x7
line.long 0x00 "RBIFX,Receive Bit Field Extract Control Register"
bitfld.long 0x00 30.--31. " B0CTL  ,Location of byte 0 of property ARB" "-,Ethernet DA,L3 header,L4 header"
hexmask.long.byte 0x00 24.--29. 1. "  B0OFFSET ,Offset relative to the header defined by B0CTL"
textline "                     "
bitfld.long 0x00 22.--23. " B1CTL  ,Location of byte 1 of property ARB" "-,Ethernet DA,L3 header,L4 header"
hexmask.long.byte 0x00 16.--21. 1. "  B1OFFSET ,Offset relative to the header defined by B1CTL"
textline "                     "
bitfld.long 0x00 14.--15. " B2CTL  ,Location of byte 2 of property ARB" "-,Ethernet DA,L3 header,L4 header"
hexmask.long.byte 0x00 8.--13. 1. "  B2OFFSET ,Offset relative to the header defined by B2CTL"
textline "                     "
bitfld.long 0x00 6.--7. " B3CTL  ,Location of byte 3 of property ARB" "-,Ethernet DA,L3 header,L4 header"
hexmask.long.byte 0x00 0.--5. 1. "  B3OFFSET ,Offset relative to the header defined by B3CTL"
line.long 0x04 "RQFAR,Receive Queue Filer Table Address Register"
hexmask.long.byte 0x04 0.--7. 1. " RQFAR  ,Current index of receive queue filer table"
endif
if (((d.l.be(anc:(iobase()+(0x25000+0x300)+0x38)))&0xf)==0x0)
group.long ((0x25000+0x300)+0x38)++0x3
line.long 0x00 "RQFCR,Receive Queue Filer Table Control Register"
sif (CPU()=="MPC8308")
bitfld.long 0x00 31. " GPI    ,General purpose interrupt" "Disabled,Enabled"
textline "                     "
endif 
hexmask.long.byte 0x00 10.--15. 0x400 " Q      ,Receive queue index"
bitfld.long 0x00 9. "           CLE      ,Cluster entry/exit" "Regular,Cluster"
textline "                     "
bitfld.long 0x00 8. " REJ    ,Reject frame" "Accept,Reject"
bitfld.long 0x00 7. "       AND      ,Current and next entry matched as a pair" "Independent,Pair"
textline "                     "
bitfld.long 0x00 5.--6. " CMP    ,Comparison operation" "Matched,Matched,Failed,Failed"
bitfld.long 0x00 0.--3. "      PID      ,Property identifier" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
else
group.long ((0x25000+0x300)+0x38)++0x3
line.long 0x00 "RQFCR,Receive Queue Filer Table Control Register"
sif (CPU()=="MPC8308")
bitfld.long 0x00 31. " GPI    ,General purpose interrupt" "Disabled,Enabled"
textline "                     "
endif
hexmask.long.byte 0x00 10.--15. 0x400 " Q      ,Receive queue index"
bitfld.long 0x00 9. "           CLE      ,Cluster entry/exit" "Regular,Cluster"
textline "                     "
bitfld.long 0x00 8. " REJ    ,Reject frame" "Accept,Reject"
bitfld.long 0x00 7. "       AND      ,Current and next entry matched as a pair" "Independent,Pair"
textline "                     "
bitfld.long 0x00 5.--6. " CMP    ,Comparison operation" "=  RQPROP,>= RQPROP,!= RQPROP,<  RQPROP"
bitfld.long 0x00 0.--3. "    PID      ,Property identifier" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
endif
if (((d.l.be(anc:(iobase()+(0x25000+0x300)+0x38)))&0xf)==0x0)
group.long ((0x25000+0x300)+0x3c)++0x3
line.long 0x00 "RQFPR,Receive Queue Filer Table Property Register"
bitfld.long 0x00 31. " MASK   ,Mask bit 31" "0,1"
bitfld.long 0x00 30. ",Mask bit 30"  "0,1"
bitfld.long 0x00 29. ",Mask bit 29"  "0,1"
bitfld.long 0x00 28. ",Mask bit 28"  "0,1"
bitfld.long 0x00 27. ",Mask bit 27"  "0,1"
bitfld.long 0x00 26. ",Mask bit 26"  "0,1"
bitfld.long 0x00 25. ",Mask bit 25"  "0,1"
bitfld.long 0x00 24. ",Mask bit 24"  "0,1"
bitfld.long 0x00 23. ",Mask bit 23"  "0,1"
bitfld.long 0x00 22. ",Mask bit 22"  "0,1"
bitfld.long 0x00 21. ",Mask bit 21"  "0,1"
bitfld.long 0x00 20. ",Mask bit 20"  "0,1"
bitfld.long 0x00 19. ",Mask bit 19"  "0,1"
bitfld.long 0x00 18. ",Mask bit 18"  "0,1"
bitfld.long 0x00 17. ",Mask bit 17"  "0,1"
bitfld.long 0x00 16. ",Mask bit 16"  "0,1"
bitfld.long 0x00 15. ",Mask bit 15"  "0,1"
bitfld.long 0x00 14. ",Mask bit 14"  "0,1"
bitfld.long 0x00 13. ",Mask bit 13"  "0,1"
bitfld.long 0x00 12. ",Mask bit 12"  "0,1"
bitfld.long 0x00 11. ",Mask bit 11"  "0,1"
bitfld.long 0x00 10. ",Mask bit 10"  "0,1"
bitfld.long 0x00 9. ",Mask bit 9"  "0,1"
bitfld.long 0x00 8. ",Mask bit 8"  "0,1"
bitfld.long 0x00 7. ",Mask bit 7"  "0,1"
bitfld.long 0x00 6. ",Mask bit 6"  "0,1"
bitfld.long 0x00 5. ",Mask bit 5"  "0,1"
bitfld.long 0x00 4. ",Mask bit 4"  "0,1"
bitfld.long 0x00 3. ",Mask bit 3"  "0,1"
bitfld.long 0x00 2. ",Mask bit 2"  "0,1"
bitfld.long 0x00 1. ",Mask bit 1"  "0,1"
bitfld.long 0x00 0. ",Mask bit 0"  "0,1"
elif (((d.l.be(anc:(iobase()+(0x25000+0x300)+0x38)))&0xf)==0x1)
group.long ((0x25000+0x300)+0x3c)++0x3
line.long 0x00 "RQFPR,Receive Queue Filer Table Property Register"
bitfld.long 0x00 15. " EBC    ,Ethernet destination address is broadast" "-,Broadcast"
bitfld.long 0x00 14. "    VLN      ,VLAN tag seen in the frame" "-,Seen"
textline "                     "
bitfld.long 0x00 13. " CFI    ,Canonical format indicator" "0,1"
bitfld.long 0x00 12. "            JUM      ,Jumbo ethernet parsed" "-,Parsed"
textline "                     "
bitfld.long 0x00 11. " IPF    ,Fragmented IPv4/IPv6 encountered" "-,Encountered"
bitfld.long 0x00 9. "  IP4      ,IPv4 header parsed" "-,Parsed"
textline "                     "
bitfld.long 0x00 8. " IP6    ,IPv6 header parsed" "-,Parsed"
bitfld.long 0x00 7. "       ICC      ,IPv4 header checksum checked" "-,Checked"
textline "                     "
bitfld.long 0x00 6. " ICV    ,IPv4 header checksum verifiied correct" "-,Correct"
bitfld.long 0x00 5. "      TCP      ,TCP header parsed" "-,Parsed"
textline "                     "
bitfld.long 0x00 4. " UDP    ,UDP header parsed" "-,Parsed"
bitfld.long 0x00 1. "       PER      ,Parse error" "-,Error"
textline "                     "
bitfld.long 0x00 0. " EER    ,Ethernet framing error" "-,Error"
elif (((d.l.be(anc:(iobase()+(0x25000+0x300)+0x38)))&0xf)==0x2)
group.long ((0x25000+0x300)+0x3c)++0x3
line.long 0x00 "RQFPR,Receive Queue Filer Table Property Register"
hexmask.long.byte 0x00 24.--31. 1. " ARB0   ,Arbitrary bit field property: byte 0 extracted"
hexmask.long.byte 0x00 16.--23. 1. "           ARB1     ,Arbitrary bit field property: byte 1 extracted"
textline "                     "
hexmask.long.byte 0x00  8.--15. 1. " ARB2   ,Arbitrary bit field property: byte 2 extracted"
hexmask.long.byte 0x00  0.--7.  1. "           ARB3     ,Arbitrary bit field property: byte 3 extracted"
elif (((d.l.be(anc:(iobase()+(0x25000+0x300)+0x38)))&0xf)==0x3)
group.long ((0x25000+0x300)+0x3c)++0x3
line.long 0x00 "RQFPR,Receive Queue Filer Table Property Register"
hexmask.long.tbyte 0x00 0.--23. 1. " DAH    ,Destination MAC address high"
elif (((d.l.be(anc:(iobase()+(0x25000+0x300)+0x38)))&0xf)==0x4)
group.long ((0x25000+0x300)+0x3c)++0x3
line.long 0x00 "RQFPR,Receive Queue Filer Table Property Register"
hexmask.long.tbyte 0x00 0.--23. 1. " DAL    ,Destination MAC address low"
elif (((d.l.be(anc:(iobase()+(0x25000+0x300)+0x38)))&0xf)==0x5)
group.long ((0x25000+0x300)+0x34)++0x3
line.long 0x00 "RQFPR,Receive Queue Filer Table Property Register"
hexmask.long.tbyte 0x00 0.--23. 1. " SAH    ,Source MAC address high"
elif (((d.l.be(anc:(iobase()+(0x25000+0x300)+0x38)))&0xf)==0x6)
group.long ((0x25000+0x300)+0x3c)++0x3
line.long 0x00 "RQFPR,Receive Queue Filer Table Property Register"
hexmask.long.tbyte 0x00 0.--23. 1. " SAL    ,Source MAC address low"
elif (((d.l.be(anc:(iobase()+(0x25000+0x300)+0x38)))&0xf)==0x7)
group.long ((0x25000+0x300)+0x3c)++0x3
line.long 0x00 "RQFPR,Receive Queue Filer Table Property Register"
hexmask.long.word 0x00 0.--15. 1. " ETY    ,Ethertype for next protocol"
elif (((d.l.be(anc:(iobase()+(0x25000+0x300)+0x38)))&0xf)==0x8)
group.long ((0x25000+0x300)+0x3c)++0x3
line.long 0x00 "RQFPR,Receive Queue Filer Table Property Register"
hexmask.long.word 0x00 0.--11. 1. " VID    ,VLAN network identifier"
elif (((d.l.be(anc:(iobase()+(0x25000+0x300)+0x38)))&0xf)==0x9)
group.long ((0x25000+0x300)+0x3c)++0x3
line.long 0x00 "RQFPR,Receive Queue Filer Table Property Register"
bitfld.long 0x00 0.--2. " PRI    ,VLAN user priority" "0,1,2,3,4,5,6,7"
elif (((d.l.be(anc:(iobase()+(0x25000+0x300)+0x38)))&0xf)==0xa)
group.long ((0x25000+0x300)+0x3c)++0x3
line.long 0x00 "RQFPR,Receive Queue Filer Table Property Register"
hexmask.long.byte 0x00 0.--7. 1. " TOS    ,IPv4 header Type Of Service field or IPv6 Traffic Class field"
elif (((d.l.be(anc:(iobase()+(0x25000+0x300)+0x38)))&0xf)==0xb)
group.long ((0x25000+0x300)+0x3c)++0x3
line.long 0x00 "RQFPR,Receive Queue Filer Table Property Register"
hexmask.long.byte 0x00 0.--7. 1. " L4P    ,Layer 4 protocol identifier as per published IANA specification"
elif (((d.l.be(anc:(iobase()+(0x25000+0x300)+0x38)))&0xf)==0xc)
group.long ((0x25000+0x300)+0x3c)++0x3
line.long 0x00 "RQFPR,Receive Queue Filer Table Property Register"
hexmask.long 0x00 0.--31. 1. " DIA    ,Destination IP address"
elif (((d.l.be(anc:(iobase()+(0x25000+0x300)+0x38)))&0xf)==0xd)
group.long ((0x25000+0x300)+0x3c)++0x3
line.long 0x00 "RQFPR,Receive Queue Filer Table Property Register"
hexmask.long 0x00 0.--31. 1. " SIA    ,Source IP address"
elif (((d.l.be(anc:(iobase()+(0x25000+0x300)+0x38)))&0xf)==0xe)
group.long ((0x25000+0x300)+0x3c)++0x3
line.long 0x00 "RQFPR,Receive Queue Filer Table Property Register"
hexmask.long.word 0x00 0.--15. 1. " DPT    ,Destination port number for TCP or UDP headers"
else
group.long ((0x25000+0x300)+0x3c)++0x3
line.long 0x00 "RQFPR,Receive Queue Filer Table Property Register"
hexmask.long.word 0x00 0.--15. 1. " SPT    ,Source port number for TCP or UDP headers"
endif
group.long ((0x25000+0x300)+0x40)++0x03
line.long 0x00 "MRBLR,Maximum Receive Buffer Length Register"
hexmask.long.word 0x00 6.--15. 0x40 " MRBL   ,Maximum receive buffer length"
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315")&&(CPU()!="MPC8308"))
group.long ((0x25000+0x300)+0x80)++0x3
line.long 0x00 "RBDBPH,Receive Data Buffer Pointer High Register"
hexmask.long.byte 0x00 0.--3. 1. " RBDBPH ,Most significant bits common to all data buffer addresses contained in RxBDs"
endif
group.long ((0x25000+0x300)+0x84)++0x03
line.long 0x00 "RBPTR0,Receive Buffer Descriptor Pointer Register 0"
hexmask.long 0x00 3.--31. 0x8 " RBPTR0 ,Current RxBD pointer for RxBD ring 0"
group.long ((0x25000+0x300)+0x8c)++0x03
line.long 0x00 "RBPTR1,Receive Buffer Descriptor Pointer Register 1"
hexmask.long 0x00 3.--31. 0x8 " RBPTR1 ,Current RxBD pointer for RxBD ring 1"
group.long ((0x25000+0x300)+0x94)++0x03
line.long 0x00 "RBPTR2,Receive Buffer Descriptor Pointer Register 2"
hexmask.long 0x00 3.--31. 0x8 " RBPTR2 ,Current RxBD pointer for RxBD ring 2"
group.long ((0x25000+0x300)+0x9c)++0x03
line.long 0x00 "RBPTR3,Receive Buffer Descriptor Pointer Register 3"
hexmask.long 0x00 3.--31. 0x8 " RBPTR3 ,Current RxBD pointer for RxBD ring 3"
group.long ((0x25000+0x300)+0xa4)++0x03
line.long 0x00 "RBPTR4,Receive Buffer Descriptor Pointer Register 4"
hexmask.long 0x00 3.--31. 0x8 " RBPTR4 ,Current RxBD pointer for RxBD ring 4"
group.long ((0x25000+0x300)+0xac)++0x03
line.long 0x00 "RBPTR5,Receive Buffer Descriptor Pointer Register 5"
hexmask.long 0x00 3.--31. 0x8 " RBPTR5 ,Current RxBD pointer for RxBD ring 5"
group.long ((0x25000+0x300)+0xb4)++0x03
line.long 0x00 "RBPTR6,Receive Buffer Descriptor Pointer Register 6"
hexmask.long 0x00 3.--31. 0x8 " RBPTR6 ,Current RxBD pointer for RxBD ring 6"
group.long ((0x25000+0x300)+0xbc)++0x03
line.long 0x00 "RBPTR7,Receive Buffer Descriptor Pointer Register 7"
hexmask.long 0x00 3.--31. 0x8 " RBPTR7 ,Current RxBD pointer for RxBD ring 7"
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315")&&(CPU()!="MPC8308"))
group.long ((0x25000+0x300)+0x100)++0x3
line.long 0x00 "RBASEH,Receive Descriptor Base Address High Register"
hexmask.long.byte 0x00 0.--3. 1. " RBASEH ,Most significant bits common to all RxBD addresses-except data buffer pointers"
endif
group.long ((0x25000+0x300)+0x104)++0x03
line.long 0x00 "RBASE0,Receive Descriptor Base Address Register 0"
hexmask.long 0x00 3.--31. 0x8 " RBASE0 ,Receive base for ring 0"
group.long ((0x25000+0x300)+0x10c)++0x03
line.long 0x00 "RBASE1,Receive Descriptor Base Address Register 1"
hexmask.long 0x00 3.--31. 0x8 " RBASE1 ,Receive base for ring 1"
group.long ((0x25000+0x300)+0x114)++0x03
line.long 0x00 "RBASE2,Receive Descriptor Base Address Register 2"
hexmask.long 0x00 3.--31. 0x8 " RBASE2 ,Receive base for ring 2"
group.long ((0x25000+0x300)+0x11c)++0x03
line.long 0x00 "RBASE3,Receive Descriptor Base Address Register 3"
hexmask.long 0x00 3.--31. 0x8 " RBASE3 ,Receive base for ring 3"
group.long ((0x25000+0x300)+0x124)++0x03
line.long 0x00 "RBASE4,Receive Descriptor Base Address Register 4"
hexmask.long 0x00 3.--31. 0x8 " RBASE4 ,Receive base for ring 4"
group.long ((0x25000+0x300)+0x12c)++0x03
line.long 0x00 "RBASE5,Receive Descriptor Base Address Register 5"
hexmask.long 0x00 3.--31. 0x8 " RBASE5 ,Receive base for ring 5"
group.long ((0x25000+0x300)+0x134)++0x03
line.long 0x00 "RBASE6,Receive Descriptor Base Address Register 6"
hexmask.long 0x00 3.--31. 0x8 " RBASE6 ,Receive base for ring 6"
group.long ((0x25000+0x300)+0x13c)++0x03
line.long 0x00 "RBASE7,Receive Descriptor Base Address Register 7"
hexmask.long 0x00 3.--31. 0x8 " RBASE7 ,Receive base for ring 7"
group.long ((0x25000+0x300)+0x1c0)++0x7
line.long 0x00 "TMR_RXTS_H,Receive Stamp Register High"
line.long 0x04 "TMR_RXTS_L,Receive Stamp Register Low"
width 0xb
tree.end
tree "eTSEC2 MAC Registers"
width 13.
group.long (0x25000+0x500)++0x13
line.long 0x00 "MACCFG1,MAC Configuration Register 1"
bitfld.long 0x00 31. " SOFT_RESET                ,Soft reset" "-,Reset"
textline "                      "
bitfld.long 0x00 19. " RESET_RX_MC               ,Reset receive MAC control block" "-,Reset"
textline "                      "
bitfld.long 0x00 18. " RESET_TX_MC               ,Reset transmit MAC control block" "-,Reset"
textline "                      "
bitfld.long 0x00 17. " RESET_RX_FUN              ,Reset receive function block" "-,Reset"
textline "                      "
bitfld.long 0x00 16. " RESET_TX_FUN              ,Reset transmit function block" "-,Reset"
textline "                      "
bitfld.long 0x00 8. " LOOP_BACK                 ,Loop back" "-,Enabled"
textline "                      "
bitfld.long 0x00 5. " RX_FLOW                   ,Receive flow" "Ignore,Detect"
textline "                      "
bitfld.long 0x00 4. " TX_FLOW                   ,Transmit flow" "-,Send"
textline "                      "
sif (CPU()=="MPC8308")
rbitfld.long 0x00 3. " SYNCD_RX_EN               ,Receive enable synchronized to the receive stream" "-,Enabled"
else
bitfld.long 0x00 3. " SYNCD_RX_EN               ,Receive enable synchronized to the receive stream" "-,Enabled"
endif
textline "                      "
bitfld.long 0x00 2. " RX_EN                     ,Receive enable" "-,Enabled"
textline "                      "
sif (CPU()=="MPC8308")
rbitfld.long 0x00 1. " SYNCD_TX_EN               ,Transmit enable synchronized to the transmit stream" "-,Enabled"
else
bitfld.long 0x00 1. " SYNCD_TX_EN               ,Transmit enable synchronized to the transmit stream" "-,Enabled"
endif
textline "                      "
bitfld.long 0x00 0. " TX_EN                     ,Transmit enable" "-,Enabled"
line.long 0x04 "MACCFG2,MAC Configuration Register 2"
bitfld.long 0x04 12.--15. " PREAMBLE_LENGTH           ,Determines the length in bytes of the preamble field of the packet" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
textline "                      "
sif (CPU()=="MPC8308")
bitfld.long 0x04 8.--9. " I/F_Mode                  ,Determines the type of interface to which the MAC is connected" ",Nibble,1000 Mbps,"
else
bitfld.long 0x04 8.--9. " I/F_Mode                  ,Determines the type of interface to which the MAC is connected" ",Nibble,Byte,"
endif
textline "                      "
bitfld.long 0x04 7. " PREAMRXEN                 ,User defined preamble enable for received frames" "-,Enabled"
textline "                      "
bitfld.long 0x04 6. " PREAMTXEN                 ,User defined preamble enable for transmitted frames" "-,Enabled"
textline "                      "
bitfld.long 0x04 5. " HUGE_FRAME                ,Huge frame enable" "-,Enabled"
textline "                      "
bitfld.long 0x04 4. " LENGTH_CHECK              ,Length check" "-,Checked"
textline "                      "
sif ((CPU()=="MPC8314")||(CPU()=="MPC8315"))
bitfld.long 0x04 3. " MPEN                      ,Magic packet enable for Ethernet modes" "-,Enabled"
textline "                      "
endif
bitfld.long 0x04 2. " PAD/CRC                   ,Pad and append CRC" "Valid length,Short frames"
textline "                      "
bitfld.long 0x04 1. " CRC_EN                    ,CRC enable" "-,Enabled"
textline "                      "
bitfld.long 0x04 0. " FULL_DUPLEX               ,Full duplex configure" "Half,Full"
line.long 0x08 "IPGIFG,Inter-Packet Gap/Inter-Frame Gap Register"
hexmask.long.byte 0x08 24.--30. 1. " NBB_IPG_1                 ,Non Back to Back Inter Packet Gap Part 1"
textline "                      "
hexmask.long.byte 0x08 16.--22. 1. " NBB_IPG_2                 ,Non Back to Back Inter Packet Gap Part 2"
textline "                      "
hexmask.long.byte 0x08 8.--15. 1. " MIFG_E                    ,Minimum IFG Enforcement"
textline "                      "
hexmask.long.byte 0x08 0.--6. 1. " BB_IPG                    ,Back to Back Inter Packet Gap"
line.long 0x0c "HAFDUP,Half-Duplex Register"
bitfld.long 0x0C 20.--23. " ALTERNATE_BEB_TRUNCATION  ,Alternate BEB truncation" "0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F"
textline "                      "
bitfld.long 0x0C 19. " ALT_BEB                   ,Alternate binary exponential back-off" "Standard,Alternate"
textline "                      "
bitfld.long 0x0C 18. " BP_NO_BACKOFF             ,Back pressure no back-off" "Back-off,No back-off"
textline "                      "
bitfld.long 0x0C 17. " NO_BACKOFF                ,No back-off" "Back-off,No back-off"
textline "                      "
bitfld.long 0x0C 16. " EXCESS_DEFER              ,Excessively deferred" "Aborted,Allowed"
textline "                      "
bitfld.long 0x0C 12.--15. " RETRANSMISSION_MAXIMUM    ,Maximum retransmission number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
textline "                      "
hexmask.long.word 0x0C 0.--9. 1. " COLLISION_WINDOW          ,Collision window"
line.long 0x10 "MAXFRM,Maximum Frame Length Register"
hexmask.long.word 0x10 0.--15. 1. " Maximum_Frame             ,Maximum frame size"
sif (CPU()=="MPC8308")
group.long ((0x25000+0x500)+0x20)++0x0B
line.long 0x00 "MIIMCFG,MII Management Configuration Register"
bitfld.long 0x00 31. " RESET_MGMT                ,Reset management" "-,Reset"
textline "                      "
bitfld.long 0x00 4. " NO_PRE                    ,Preamble suppress" "Preamble,No preamble"
textline "                      "
bitfld.long 0x00 0.--2. " MGMT_CLOCK_SELECT         ,Mgmt Clock (EC_MDC) Clock frequency" "Divided by 4,Divided by 4,Divided by 6,Divided by 8,Divided by 10,Divided by 14,Divided by 20,Divided by 28"
line.long 0x04 "MIIMCOM,MII Management Command Register"
bitfld.long 0x04 1. " SCAN_CYCLE                ,Scan cycle" "Normal,Scan cycle"
textline "                      "
bitfld.long 0x04 0. " READ_CYCLE                ,Read cycle" "Normal,Read cycle"
line.long 0x08 "MIIMADD,MII Management Address Register"
bitfld.long 0x08 8.--12. " PHY_ADDRESS               ,PHY address field of management cycles" ",1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
textline "                      "
bitfld.long 0x08 0.--4. " REGISTER_ADDRESS          ,Register address field of management cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
wgroup.long ((0x25000+0x500)+0x2C)++0x0f
line.long 0x00 "MIIMCON,MII Management Control Register"
hexmask.long.word 0x00 0.--15. 1. " PHY_Control               ,PHY Control"
else
group.long ((0x25000+0x500)+0x20)++0x0f
line.long 0x00 "MIIMCFG,MII Management Configuration Register"
bitfld.long 0x00 31. " RESET_MGMT                ,Reset management" "-,Reset"
textline "                      "
bitfld.long 0x00 4. " NO_PRE                    ,Preamble suppress" "Preamble,No preamble"
textline "                      "
bitfld.long 0x00 0.--2. " MGMT_CLOCK_SELECT         ,Mgmt Clock (EC_MDC) Clock frequency" "Divided by 4,Divided by 4,Divided by 6,Divided by 8,Divided by 10,Divided by 14,Divided by 20,Divided by 28"
line.long 0x04 "MIIMCOM,MII Management Command Register"
bitfld.long 0x04 1. " SCAN_CYCLE                ,Scan cycle" "Normal,Scan cycle"
textline "                      "
bitfld.long 0x04 0. " READ_CYCLE                ,Read cycle" "Normal,Read cycle"
line.long 0x08 "MIIMADD,MII Management Address Register"
bitfld.long 0x08 8.--12. " PHY_ADDRESS               ,PHY address field of management cycles" ",1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
textline "                      "
bitfld.long 0x08 0.--4. " REGISTER_ADDRESS          ,Register address field of management cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
line.long 0x0c "MIIMCON,MII Management Control Register"
hexmask.long.word 0x0c 0.--15. 1. " PHY_Control               ,PHY Control"
endif
rgroup.long ((0x25000+0x500)+0x30)++0x07
line.long 0x00 "MIIMSTAT,MII Management Status Register"
hexmask.long.word 0x00 0.--15. 1. " PHY_Status                ,Following an MII Mgmt read cycle, the 16-bit data can be read from this location"
line.long 0x04 "MIIMIND,MII Management Indicator Register"
bitfld.long 0x04 2. " NOT_VALID                 ,Not valid" "-,Not valid"
textline "                      "
bitfld.long 0x04 1. " SCAN                      ,Scan in progress" "-,In progress"
textline "                      "
bitfld.long 0x04 0. " BUSY                      ,Busy" "-,Busy"
rgroup.long ((0x25000+0x500)+0x3c)++0x03
line.long 0x00 "IFSTAT,Interface Status Register"
bitfld.long 0x00 9. " Excess_Defer              ,Excessive transmission defer" "Normal,Defered"
group.long ((0x25000+0x500)+0x40)++0x07
line.long 0x00 "MACSTNADDR1,Station Address Register Part 1"
hexmask.long.byte 0x00 24.--31. 1. " STATION_ADDRESS_6TH_OCTET ,Sixth octet of the station address"
textline "                      "
hexmask.long.byte 0x00 16.--23. 1. " STATION_ADDRESS_5TH_OCTET ,Fifth octet of the station address"
textline "                      "
hexmask.long.byte 0x00 8.--15. 1. " STATION_ADDRESS_4TH_OCTET ,Fourth octet of the station address"
textline "                      "
hexmask.long.byte 0x00 0.--7. 1. " STATION_ADDRESS_3TH_OCTET ,Third octet of the station address"
line.long 0x04 "MACSTNADDR2,Station Address Register Part 2"
hexmask.long.byte 0x04 24.--31. 1. " STATION_ADDRESS_2ND_OCTET ,Second octet of the station address"
textline "                      "
hexmask.long.byte 0x04 16.--23. 1. " STATION_ADDRESS_1ST_OCTET ,First octet of the station address"
group.long ((0x25000+0x500)+0x48)++0x7f
line.long 0x0 "MAC01ADDR1,MAC Exact Match Address 01 Part 1 Register"
hexmask.long.byte 0x0 24.--31. 1. " EXACT_MATCH_ADDRESS_6TH_OCTET ,Sixth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x0 16.--23. 1. " EXACT_MATCH_ADDRESS_5TH_OCTET ,Fifth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x0 8.--15. 1. " EXACT_MATCH_ADDRESS_4TH_OCTET ,Fourth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x0 0.--7. 1. " EXACT_MATCH_ADDRESS_3TH_OCTET ,Third octet of the exact match address"
line.long (0x0+0x04) "MAC01ADDR2,Station Address 01 Part 2 Register"
hexmask.long.byte (0x0+0x04) 24.--31. 1. " EXACT_MATCH_ADDRESS_2ND_OCTET ,Second octet of the exact match address"
textline "                      "
hexmask.long.byte (0x0+0x04) 16.--23. 1. " EXACT_MATCH_ADDRESS_1ST_OCTET ,First octet of the exact match address"
line.long 0x8 "MAC02ADDR1,MAC Exact Match Address 02 Part 1 Register"
hexmask.long.byte 0x8 24.--31. 1. " EXACT_MATCH_ADDRESS_6TH_OCTET ,Sixth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x8 16.--23. 1. " EXACT_MATCH_ADDRESS_5TH_OCTET ,Fifth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x8 8.--15. 1. " EXACT_MATCH_ADDRESS_4TH_OCTET ,Fourth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x8 0.--7. 1. " EXACT_MATCH_ADDRESS_3TH_OCTET ,Third octet of the exact match address"
line.long (0x8+0x04) "MAC02ADDR2,Station Address 02 Part 2 Register"
hexmask.long.byte (0x8+0x04) 24.--31. 1. " EXACT_MATCH_ADDRESS_2ND_OCTET ,Second octet of the exact match address"
textline "                      "
hexmask.long.byte (0x8+0x04) 16.--23. 1. " EXACT_MATCH_ADDRESS_1ST_OCTET ,First octet of the exact match address"
line.long 0x10 "MAC03ADDR1,MAC Exact Match Address 03 Part 1 Register"
hexmask.long.byte 0x10 24.--31. 1. " EXACT_MATCH_ADDRESS_6TH_OCTET ,Sixth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x10 16.--23. 1. " EXACT_MATCH_ADDRESS_5TH_OCTET ,Fifth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x10 8.--15. 1. " EXACT_MATCH_ADDRESS_4TH_OCTET ,Fourth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x10 0.--7. 1. " EXACT_MATCH_ADDRESS_3TH_OCTET ,Third octet of the exact match address"
line.long (0x10+0x04) "MAC03ADDR2,Station Address 03 Part 2 Register"
hexmask.long.byte (0x10+0x04) 24.--31. 1. " EXACT_MATCH_ADDRESS_2ND_OCTET ,Second octet of the exact match address"
textline "                      "
hexmask.long.byte (0x10+0x04) 16.--23. 1. " EXACT_MATCH_ADDRESS_1ST_OCTET ,First octet of the exact match address"
line.long 0x18 "MAC04ADDR1,MAC Exact Match Address 04 Part 1 Register"
hexmask.long.byte 0x18 24.--31. 1. " EXACT_MATCH_ADDRESS_6TH_OCTET ,Sixth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x18 16.--23. 1. " EXACT_MATCH_ADDRESS_5TH_OCTET ,Fifth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x18 8.--15. 1. " EXACT_MATCH_ADDRESS_4TH_OCTET ,Fourth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x18 0.--7. 1. " EXACT_MATCH_ADDRESS_3TH_OCTET ,Third octet of the exact match address"
line.long (0x18+0x04) "MAC04ADDR2,Station Address 04 Part 2 Register"
hexmask.long.byte (0x18+0x04) 24.--31. 1. " EXACT_MATCH_ADDRESS_2ND_OCTET ,Second octet of the exact match address"
textline "                      "
hexmask.long.byte (0x18+0x04) 16.--23. 1. " EXACT_MATCH_ADDRESS_1ST_OCTET ,First octet of the exact match address"
line.long 0x20 "MAC05ADDR1,MAC Exact Match Address 05 Part 1 Register"
hexmask.long.byte 0x20 24.--31. 1. " EXACT_MATCH_ADDRESS_6TH_OCTET ,Sixth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x20 16.--23. 1. " EXACT_MATCH_ADDRESS_5TH_OCTET ,Fifth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x20 8.--15. 1. " EXACT_MATCH_ADDRESS_4TH_OCTET ,Fourth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x20 0.--7. 1. " EXACT_MATCH_ADDRESS_3TH_OCTET ,Third octet of the exact match address"
line.long (0x20+0x04) "MAC05ADDR2,Station Address 05 Part 2 Register"
hexmask.long.byte (0x20+0x04) 24.--31. 1. " EXACT_MATCH_ADDRESS_2ND_OCTET ,Second octet of the exact match address"
textline "                      "
hexmask.long.byte (0x20+0x04) 16.--23. 1. " EXACT_MATCH_ADDRESS_1ST_OCTET ,First octet of the exact match address"
line.long 0x28 "MAC06ADDR1,MAC Exact Match Address 06 Part 1 Register"
hexmask.long.byte 0x28 24.--31. 1. " EXACT_MATCH_ADDRESS_6TH_OCTET ,Sixth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x28 16.--23. 1. " EXACT_MATCH_ADDRESS_5TH_OCTET ,Fifth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x28 8.--15. 1. " EXACT_MATCH_ADDRESS_4TH_OCTET ,Fourth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x28 0.--7. 1. " EXACT_MATCH_ADDRESS_3TH_OCTET ,Third octet of the exact match address"
line.long (0x28+0x04) "MAC06ADDR2,Station Address 06 Part 2 Register"
hexmask.long.byte (0x28+0x04) 24.--31. 1. " EXACT_MATCH_ADDRESS_2ND_OCTET ,Second octet of the exact match address"
textline "                      "
hexmask.long.byte (0x28+0x04) 16.--23. 1. " EXACT_MATCH_ADDRESS_1ST_OCTET ,First octet of the exact match address"
line.long 0x30 "MAC07ADDR1,MAC Exact Match Address 07 Part 1 Register"
hexmask.long.byte 0x30 24.--31. 1. " EXACT_MATCH_ADDRESS_6TH_OCTET ,Sixth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x30 16.--23. 1. " EXACT_MATCH_ADDRESS_5TH_OCTET ,Fifth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x30 8.--15. 1. " EXACT_MATCH_ADDRESS_4TH_OCTET ,Fourth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x30 0.--7. 1. " EXACT_MATCH_ADDRESS_3TH_OCTET ,Third octet of the exact match address"
line.long (0x30+0x04) "MAC07ADDR2,Station Address 07 Part 2 Register"
hexmask.long.byte (0x30+0x04) 24.--31. 1. " EXACT_MATCH_ADDRESS_2ND_OCTET ,Second octet of the exact match address"
textline "                      "
hexmask.long.byte (0x30+0x04) 16.--23. 1. " EXACT_MATCH_ADDRESS_1ST_OCTET ,First octet of the exact match address"
line.long 0x38 "MAC08ADDR1,MAC Exact Match Address 08 Part 1 Register"
hexmask.long.byte 0x38 24.--31. 1. " EXACT_MATCH_ADDRESS_6TH_OCTET ,Sixth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x38 16.--23. 1. " EXACT_MATCH_ADDRESS_5TH_OCTET ,Fifth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x38 8.--15. 1. " EXACT_MATCH_ADDRESS_4TH_OCTET ,Fourth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x38 0.--7. 1. " EXACT_MATCH_ADDRESS_3TH_OCTET ,Third octet of the exact match address"
line.long (0x38+0x04) "MAC08ADDR2,Station Address 08 Part 2 Register"
hexmask.long.byte (0x38+0x04) 24.--31. 1. " EXACT_MATCH_ADDRESS_2ND_OCTET ,Second octet of the exact match address"
textline "                      "
hexmask.long.byte (0x38+0x04) 16.--23. 1. " EXACT_MATCH_ADDRESS_1ST_OCTET ,First octet of the exact match address"
line.long 0x40 "MAC09ADDR1,MAC Exact Match Address 09 Part 1 Register"
hexmask.long.byte 0x40 24.--31. 1. " EXACT_MATCH_ADDRESS_6TH_OCTET ,Sixth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x40 16.--23. 1. " EXACT_MATCH_ADDRESS_5TH_OCTET ,Fifth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x40 8.--15. 1. " EXACT_MATCH_ADDRESS_4TH_OCTET ,Fourth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x40 0.--7. 1. " EXACT_MATCH_ADDRESS_3TH_OCTET ,Third octet of the exact match address"
line.long (0x40+0x04) "MAC09ADDR2,Station Address 09 Part 2 Register"
hexmask.long.byte (0x40+0x04) 24.--31. 1. " EXACT_MATCH_ADDRESS_2ND_OCTET ,Second octet of the exact match address"
textline "                      "
hexmask.long.byte (0x40+0x04) 16.--23. 1. " EXACT_MATCH_ADDRESS_1ST_OCTET ,First octet of the exact match address"
line.long 0x48 "MAC10ADDR1,MAC Exact Match Address 10 Part 1 Register"
hexmask.long.byte 0x48 24.--31. 1. " EXACT_MATCH_ADDRESS_6TH_OCTET ,Sixth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x48 16.--23. 1. " EXACT_MATCH_ADDRESS_5TH_OCTET ,Fifth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x48 8.--15. 1. " EXACT_MATCH_ADDRESS_4TH_OCTET ,Fourth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x48 0.--7. 1. " EXACT_MATCH_ADDRESS_3TH_OCTET ,Third octet of the exact match address"
line.long (0x48+0x04) "MAC10ADDR2,Station Address 10 Part 2 Register"
hexmask.long.byte (0x48+0x04) 24.--31. 1. " EXACT_MATCH_ADDRESS_2ND_OCTET ,Second octet of the exact match address"
textline "                      "
hexmask.long.byte (0x48+0x04) 16.--23. 1. " EXACT_MATCH_ADDRESS_1ST_OCTET ,First octet of the exact match address"
line.long 0x50 "MAC11ADDR1,MAC Exact Match Address 11 Part 1 Register"
hexmask.long.byte 0x50 24.--31. 1. " EXACT_MATCH_ADDRESS_6TH_OCTET ,Sixth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x50 16.--23. 1. " EXACT_MATCH_ADDRESS_5TH_OCTET ,Fifth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x50 8.--15. 1. " EXACT_MATCH_ADDRESS_4TH_OCTET ,Fourth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x50 0.--7. 1. " EXACT_MATCH_ADDRESS_3TH_OCTET ,Third octet of the exact match address"
line.long (0x50+0x04) "MAC11ADDR2,Station Address 11 Part 2 Register"
hexmask.long.byte (0x50+0x04) 24.--31. 1. " EXACT_MATCH_ADDRESS_2ND_OCTET ,Second octet of the exact match address"
textline "                      "
hexmask.long.byte (0x50+0x04) 16.--23. 1. " EXACT_MATCH_ADDRESS_1ST_OCTET ,First octet of the exact match address"
line.long 0x58 "MAC12ADDR1,MAC Exact Match Address 12 Part 1 Register"
hexmask.long.byte 0x58 24.--31. 1. " EXACT_MATCH_ADDRESS_6TH_OCTET ,Sixth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x58 16.--23. 1. " EXACT_MATCH_ADDRESS_5TH_OCTET ,Fifth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x58 8.--15. 1. " EXACT_MATCH_ADDRESS_4TH_OCTET ,Fourth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x58 0.--7. 1. " EXACT_MATCH_ADDRESS_3TH_OCTET ,Third octet of the exact match address"
line.long (0x58+0x04) "MAC12ADDR2,Station Address 12 Part 2 Register"
hexmask.long.byte (0x58+0x04) 24.--31. 1. " EXACT_MATCH_ADDRESS_2ND_OCTET ,Second octet of the exact match address"
textline "                      "
hexmask.long.byte (0x58+0x04) 16.--23. 1. " EXACT_MATCH_ADDRESS_1ST_OCTET ,First octet of the exact match address"
line.long 0x60 "MAC13ADDR1,MAC Exact Match Address 13 Part 1 Register"
hexmask.long.byte 0x60 24.--31. 1. " EXACT_MATCH_ADDRESS_6TH_OCTET ,Sixth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x60 16.--23. 1. " EXACT_MATCH_ADDRESS_5TH_OCTET ,Fifth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x60 8.--15. 1. " EXACT_MATCH_ADDRESS_4TH_OCTET ,Fourth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x60 0.--7. 1. " EXACT_MATCH_ADDRESS_3TH_OCTET ,Third octet of the exact match address"
line.long (0x60+0x04) "MAC13ADDR2,Station Address 13 Part 2 Register"
hexmask.long.byte (0x60+0x04) 24.--31. 1. " EXACT_MATCH_ADDRESS_2ND_OCTET ,Second octet of the exact match address"
textline "                      "
hexmask.long.byte (0x60+0x04) 16.--23. 1. " EXACT_MATCH_ADDRESS_1ST_OCTET ,First octet of the exact match address"
line.long 0x68 "MAC14ADDR1,MAC Exact Match Address 14 Part 1 Register"
hexmask.long.byte 0x68 24.--31. 1. " EXACT_MATCH_ADDRESS_6TH_OCTET ,Sixth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x68 16.--23. 1. " EXACT_MATCH_ADDRESS_5TH_OCTET ,Fifth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x68 8.--15. 1. " EXACT_MATCH_ADDRESS_4TH_OCTET ,Fourth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x68 0.--7. 1. " EXACT_MATCH_ADDRESS_3TH_OCTET ,Third octet of the exact match address"
line.long (0x68+0x04) "MAC14ADDR2,Station Address 14 Part 2 Register"
hexmask.long.byte (0x68+0x04) 24.--31. 1. " EXACT_MATCH_ADDRESS_2ND_OCTET ,Second octet of the exact match address"
textline "                      "
hexmask.long.byte (0x68+0x04) 16.--23. 1. " EXACT_MATCH_ADDRESS_1ST_OCTET ,First octet of the exact match address"
line.long 0x70 "MAC15ADDR1,MAC Exact Match Address 15 Part 1 Register"
hexmask.long.byte 0x70 24.--31. 1. " EXACT_MATCH_ADDRESS_6TH_OCTET ,Sixth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x70 16.--23. 1. " EXACT_MATCH_ADDRESS_5TH_OCTET ,Fifth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x70 8.--15. 1. " EXACT_MATCH_ADDRESS_4TH_OCTET ,Fourth octet of the exact match address"
textline "                      "
hexmask.long.byte 0x70 0.--7. 1. " EXACT_MATCH_ADDRESS_3TH_OCTET ,Third octet of the exact match address"
line.long (0x70+0x04) "MAC15ADDR2,Station Address 15 Part 2 Register"
hexmask.long.byte (0x70+0x04) 24.--31. 1. " EXACT_MATCH_ADDRESS_2ND_OCTET ,Second octet of the exact match address"
textline "                      "
hexmask.long.byte (0x70+0x04) 16.--23. 1. " EXACT_MATCH_ADDRESS_1ST_OCTET ,First octet of the exact match address"
width 0xb
tree.end
tree "eTSEC2 RMON MIB Registers"
tree "TSEC2 Transmit and Receive Counters"
width 7.
group.long (0x25000+0x0680)++0x1b
line.long 0x00 "TR64,Transmit and Receive 64-Byte Frame Counter Register"
hexmask.long.tbyte 0x00 0.--21. 1. " TR64  ,Transmit and receive 64-byte frame counter"
line.long 0x04 "TR127,Transmit and Receive 65- to 127-Byte Frame Counter Register"
hexmask.long.tbyte 0x04 0.--21. 1. " TR127 ,Transmit and receive 65- to 127-byte frame counter"
line.long 0x08 "TR255,Transmit and Receive 128- to 255-Byte Frame Counter Register"
hexmask.long.tbyte 0x08 0.--21. 1. " TR255 ,Transmit and receive 128- to 255-byte frame counter"
line.long 0x0c "TR511,Transmit and Receive 256- to 511-Byte Frame Counter Register"
hexmask.long.tbyte 0x0c 0.--21. 1. " TR511 ,Transmit and receive 256- to 511-byte frame counter"
line.long 0x10 "TR1K,Transmit and Receive 512- to 1023-Byte Frame Counter Register"
hexmask.long.tbyte 0x10 0.--21. 1. " TR1K  ,Transmit and Receive 512- to 1023-Byte Frame Counter"
line.long 0x14 "TRMAX,Transmit and Receive 1024- to 1518-Byte Frame Counter Register"
hexmask.long.tbyte 0x14 0.--21. 1. " TRMAX ,Transmit and Receive 1024- to 1518-Byte Frame Counter"
line.long 0x18 "TRMGV,Transmit and Receive 1519- to 1522-Byte VLAN Frame Counter Register"
hexmask.long.tbyte 0x18 0.--21. 1. " TRMGV ,Transmit and Receive 1519- to 1522-Byte VLAN Frame Counter"
tree.end
tree "TSEC2 Receive Counters"
width 6.
group.long (0x25000+0x069c)++0x43
line.long 0x00 "RBYT,Receive Byte Counter Register"
line.long 0x04 "RPKT,Receive Packet Counter Register"
hexmask.long.tbyte 0x04 0.--21. 1. " RPKT  ,Receive packet counter"
line.long 0x08 "RFCS,Receive FCS Error Counter Register"
hexmask.long.word 0x08 0.--15. 1. " RFCS  ,Receive FCS error counter"
line.long 0x0c "RMCA,Receive Multicast Packet Counter Register"
hexmask.long.tbyte 0x0c 0.--21. 1. " RMCA  ,Receive multicast packet counter"
line.long 0x10 "RBCA,Receive Broadcast Packet Counter Register"
hexmask.long.tbyte 0x10 0.--21. 1. " RBCA  ,Receive broadcast packet counter"
line.long 0x14 "RXCF,Receive Control Frame Packet Counter Register"
hexmask.long.word 0x14 0.--15. 1. " RXCF  ,Receive control frame packet counter"
line.long 0x18 "RXPF,Receive Pause Frame Packet Counter Register"
hexmask.long.word 0x18 0.--15. 1. " RXPF  ,Receive PAUSE frame packet counter"
line.long 0x1c "RXUO,Receive Unknown Opcode Packet Counter Register"
hexmask.long.word 0x1c 0.--15. 1. " RXUO  ,Receive unknown opcode counter"
line.long 0x20 "RALN,Receive Alignment Error Counter Register"
hexmask.long.word 0x20 0.--15. 1. " RALN  ,Receive alignment error counter"
line.long 0x24 "RFLR,Receive Frame Length Error Counter Register"
hexmask.long.word 0x24 0.--15. 1. " RFLR  ,Receive frame length error counter"
line.long 0x28 "RCDE,Receive Code Error Counter Register"
hexmask.long.word 0x28 0.--15. 1. " RCDE  ,Receive code error counter"
line.long 0x2c "RCSE,Receive Carrier Sense Error Counter Register"
hexmask.long.word 0x2c 0.--15. 1. " RCSE  ,Receive false carrier counter"
line.long 0x30 "RUND,Receive Undersize Packet Counter Register"
hexmask.long.word 0x30 0.--15. 1. " RUND  ,Receive undersize packet counter"
line.long 0x34 "ROVR,Receive Oversize Packet Counter Register"
hexmask.long.word 0x34 0.--15. 1. " ROVR  ,Receive oversize packet counter"
line.long 0x38 "RFRG,Receive Fragments Counter Register"
hexmask.long.word 0x38 0.--15. 1. " RFRG  ,Receive fragments counter"
line.long 0x3c "RJBR,Receive Jabber Counter Register"
hexmask.long.word 0x3c 0.--15. 1. " RJBR  ,Receive jabber counter"
line.long 0x40 "RDRP,Receive Dropped Packet Counter Register"
hexmask.long.word 0x40 0.--15. 1. " RDRP  ,Receive dropped packets counter"
tree.end
tree "TSEC2 Transmit Counters"
width 6.
group.long (0x25000+0x06e0)++0x2f
line.long 0x00 "TBYT,Transmit Byte Counter Register"
line.long 0x04 "TPKT,Transmit Packet Counter Register"
hexmask.long.tbyte 0x04 0.--21. 1. " TPKT  ,Transmit packet counter"
line.long 0x08 "TMCA,Transmit Multicast Packet Counter Register"
hexmask.long.tbyte 0x08 0.--21. 1. " TMCA  ,Transmit multicast packet counter"
line.long 0x0c "TBCA,Transmit Broadcast Packet Counter Register"
hexmask.long.tbyte 0x0c 0.--21. 1. " TBCA  ,Transmit broadcast packet counter"
line.long 0x10 "TXPF,Transmit Pause Control Frame Counter Register"
hexmask.long.word 0x10 0.--15. 1. " TXPF  ,Transmit PAUSE frame packet counter"
line.long 0x14 "TDFR,Transmit Deferral Packet Counter Register"
hexmask.long.word 0x14 0.--11. 1. " TDFR  ,Transmit deferral packet counter"
line.long 0x18 "TEDF,Transmit Excessive Deferral Packet Counter Register"
hexmask.long.word 0x18 0.--11. 1. " TEDF  ,Transmit excessive deferral packet counter"
line.long 0x1c "TSCL,Transmit Single Collision Packet Counter Register"
hexmask.long.word 0x1c 0.--11. 1. " TSCL  ,Transmit single collision packet counter"
line.long 0x20 "TMCL,Transmit Multiple Collision Packet Counter Register"
hexmask.long.word 0x20 0.--11. 1. " TMCL  ,Transmit multiple collision packet counter"
line.long 0x24 "TLCL,Transmit Late Collision Packet Counter Register"
hexmask.long.word 0x24 0.--11. 1. " TLCL  ,Transmit late collision packet counter"
line.long 0x28 "TXCL,Transmit Excessive Collision Packet Counter Register"
hexmask.long.word 0x28 0.--11. 1. " TXCL  ,Transmit excessive collision packet counter"
line.long 0x2c "TNCL,Transmit Total Collision Counter Register"
hexmask.long.word 0x2c 0.--11. 1. " TNCL  ,Transmit total collision counter"
group.long (0x25000+0x0714)++0x1b
line.long 0x00 "TDRP,Transmit Drop Frame Counter Register"
hexmask.long.word 0x00 0.--15. 1. " TDRP  ,Transmit drop frame counter"
line.long 0x04 "TJBR,Transmit Jabber Frame Counter Register"
hexmask.long.word 0x04 0.--11. 1. " TJBR  ,Transmit jabber frame counter"
line.long 0x08 "TFCS,Transmit FCS Error Counter Register"
hexmask.long.word 0x08 0.--11. 1. " TFCS  ,Transmit FCS error counter"
line.long 0x0c "TXCF,Transmit Control Frame Counter Register"
hexmask.long.word 0x0c 0.--11. 1. " TXCF  ,Transmit control frame counter"
line.long 0x10 "TOVR,Transmit Oversize Frame Counter Register"
hexmask.long.word 0x10 0.--11. 1. " TOVR  ,Transmit oversize frame counter"
line.long 0x14 "TUND,Transmit Undersize Frame Counter Register"
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315")&&(CPU()!="MPC8308"))
hexmask.long.word 0x14 0.--11. 1. " TDFR  ,Transmit undersize frame counter"
else
hexmask.long.word 0x14 0.--11. 1. " TUND  ,Transmit undersize frame counter"
endif
line.long 0x18 "TFRG,Transmit Fragment Counter Register"
hexmask.long.word 0x18 0.--11. 1. " TFRG  ,Transmit fragment counter"
tree.end
tree "TSEC2 General Registers"
width 7.
group.long (0x25000+0x0730)++0x13
sif (CPU()=="MPC8308")
line.long 0x00 "CAR1,Carry Register 1"
eventfld.long 0x00 31. " C164  ,Carry register 1 TR64 counter carry bit" "0,1"
eventfld.long 0x00 30. "       C1127 ,Carry register 1 TR127 counter carry bit" "0,1"
eventfld.long 0x00 29. "  C1255 ,Carry register 1 TR255 counter carry bit" "0,1"
eventfld.long 0x00 28. "  C1511 ,Carry register 1 TR511 counter carry bit" "0,1"
textline "                "
eventfld.long 0x00 27. " C11K  ,Carry register 1 TR1K counter carry bit" "0,1"
eventfld.long 0x00 26. "       C1MAX ,Carry register 1 TRMAX counter carry bit" "0,1"
eventfld.long 0x00 25. "  C1MGV ,Carry register 1 TRMGV counter carry bit" "0,1"
eventfld.long 0x00 17. "  C1REJ ,Carry register 1 RREJ counter carry" "0,1"
textline "                "
eventfld.long 0x00 16. " C1RBY ,Carry register 1 RBYT counter carry bit" "0,1"
eventfld.long 0x00 15. "       C1RPK ,Carry register 1 RPKT counter carry bit" "0,1"
eventfld.long 0x00 14. "  C1RFC ,Carry register 1 RFCS counter carry bit" "0,1"
eventfld.long 0x00 13. "  C1RMC ,Carry register 1 RMCA counter carry bit" "0,1"
textline "                "
eventfld.long 0x00 12. " C1RBC ,Carry register 1 RBCA counter carry bit" "0,1"
eventfld.long 0x00 11. "       C1RXC ,Carry register 1 RXCF counter carry bit" "0,1"
eventfld.long 0x00 10. "  C1RXP ,Carry register 1 RXPF counter carry bit" "0,1"
eventfld.long 0x00 9. "  C1RXU ,Carry register 1 RXUO counter carry bit" "0,1"
textline "                "
eventfld.long 0x00 8. " C1RAL ,Carry register 1 RALN counter carry bit" "0,1"
eventfld.long 0x00 7. "       C1RFL ,Carry register 1 RFLR counter carry bit" "0,1"
eventfld.long 0x00 6. "  C1RCD ,Carry register 1 RCDE counter carry bit" "0,1"
eventfld.long 0x00 5. "  C1RCS ,Carry register 1 RCSE counter carry bit" "0,1"
textline "                "
eventfld.long 0x00 4. " C1RUN ,Carry register 1 RUND counter carry bit" "0,1"
eventfld.long 0x00 3. "       C1ROV ,Carry register 1 ROVR counter carry bit" "0,1"
eventfld.long 0x00 2. "  C1RFR ,Carry register 1 RFRG counter carry bit" "0,1"
eventfld.long 0x00 1. "  C1RJB ,Carry register 1 RJBR counter carry bit" "0,1"
textline "                "
eventfld.long 0x00 0. " C1RDR ,Carry register 1 RDRP counter carry bit" "0,1"
line.long 0x04 "CAR2,Carry Register 2"
eventfld.long 0x04 19. " C2TJB ,Carry register 2 TJBR Counter Carry bit" "0,1"
eventfld.long 0x04 18. "       C2TFC ,Carry register 2 TFCS Counter Carry bit" "0,1"
eventfld.long 0x04 17. "  C2TCF ,Carry register 2 TXCF Counter Carry bit" "0,1"
eventfld.long 0x04 16. "  C2TOV ,Carry register 2 TOVR Counter Carry bit" "0,1"
textline "                "
eventfld.long 0x04 15. " C2TUN ,Carry register 2 TUND Counter Carry bit" "0,1"
eventfld.long 0x04 14. "       C2TFG ,Carry register 2 TFRG Counter Carry bit" "0,1"
eventfld.long 0x04 13. "  C2TBY ,Carry register 2 TBYT Counter Carry bit" "0,1"
eventfld.long 0x04 12. "  C2TPK ,Carry register 2 TPKT Counter Carry bit" "0,1"
textline "                "
eventfld.long 0x04 11. " C2TMC ,Carry register 2 TMCA Counter Carry bit" "0,1"
eventfld.long 0x04 10. "       C2TBC ,Carry register 2 TBCA Counter Carry bit" "0,1"
eventfld.long 0x04 9. "  C2TPF ,Carry register 2 TXPF Counter Carry bit" "0,1"
eventfld.long 0x04 8. "  C2TDF ,Carry register 2 TDFR Counter Carry bit" "0,1"
textline "                "
eventfld.long 0x04 7. " C2TED ,Carry register 2 TEDF Counter Carry bit" "0,1"
eventfld.long 0x04 6. "       C2TSC ,Carry register 2 TSCL Counter Carry bit" "0,1"
eventfld.long 0x04 5. "  C2TMA ,Carry register 2 TMCL Counter Carry bit" "0,1"
eventfld.long 0x04 4. "  C2TLC ,Carry register 2 TLCL Counter Carry bit" "0,1"
textline "                "
eventfld.long 0x04 3. " C2TXC ,Carry register 2 TXCL Counter Carry bit" "0,1"
eventfld.long 0x04 2. "       C2TNC ,Carry register 2 TNCL Counter Carry bit" "0,1"
eventfld.long 0x04 0. "  C2TDP ,Carry register 2 TDRP Counter Carry bit" "0,1"
else
line.long 0x00 "CAR1,Carry Register 1"
bitfld.long 0x00 31. " C164  ,Carry register 1 TR64 counter carry bit" "0,1"
bitfld.long 0x00 30. "       C1127 ,Carry register 1 TR127 counter carry bit" "0,1"
bitfld.long 0x00 29. "  C1255 ,Carry register 1 TR255 counter carry bit" "0,1"
bitfld.long 0x00 28. "  C1511 ,Carry register 1 TR511 counter carry bit" "0,1"
textline "                "
bitfld.long 0x00 27. " C11K  ,Carry register 1 TR1K counter carry bit" "0,1"
bitfld.long 0x00 26. "       C1MAX ,Carry register 1 TRMAX counter carry bit" "0,1"
bitfld.long 0x00 25. "  C1MGV ,Carry register 1 TRMGV counter carry bit" "0,1"
bitfld.long 0x00 17. "  C1REJ ,Carry register 1 RREJ counter carry" "0,1"
textline "                "
bitfld.long 0x00 16. " C1RBY ,Carry register 1 RBYT counter carry bit" "0,1"
bitfld.long 0x00 15. "       C1RPK ,Carry register 1 RPKT counter carry bit" "0,1"
bitfld.long 0x00 14. "  C1RFC ,Carry register 1 RFCS counter carry bit" "0,1"
bitfld.long 0x00 13. "  C1RMC ,Carry register 1 RMCA counter carry bit" "0,1"
textline "                "
bitfld.long 0x00 12. " C1RBC ,Carry register 1 RBCA counter carry bit" "0,1"
bitfld.long 0x00 11. "       C1RXC ,Carry register 1 RXCF counter carry bit" "0,1"
bitfld.long 0x00 10. "  C1RXP ,Carry register 1 RXPF counter carry bit" "0,1"
bitfld.long 0x00 9. "  C1RXU ,Carry register 1 RXUO counter carry bit" "0,1"
textline "                "
bitfld.long 0x00 8. " C1RAL ,Carry register 1 RALN counter carry bit" "0,1"
bitfld.long 0x00 7. "       C1RFL ,Carry register 1 RFLR counter carry bit" "0,1"
bitfld.long 0x00 6. "  C1RCD ,Carry register 1 RCDE counter carry bit" "0,1"
bitfld.long 0x00 5. "  C1RCS ,Carry register 1 RCSE counter carry bit" "0,1"
textline "                "
bitfld.long 0x00 4. " C1RUN ,Carry register 1 RUND counter carry bit" "0,1"
bitfld.long 0x00 3. "       C1ROV ,Carry register 1 ROVR counter carry bit" "0,1"
bitfld.long 0x00 2. "  C1RFR ,Carry register 1 RFRG counter carry bit" "0,1"
bitfld.long 0x00 1. "  C1RJB ,Carry register 1 RJBR counter carry bit" "0,1"
textline "                "
bitfld.long 0x00 0. " C1RDR ,Carry register 1 RDRP counter carry bit" "0,1"
line.long 0x04 "CAR2,Carry Register 2"
bitfld.long 0x04 19. " C2TJB ,Carry register 2 TJBR Counter Carry bit" "0,1"
bitfld.long 0x04 18. "       C2TFC ,Carry register 2 TFCS Counter Carry bit" "0,1"
bitfld.long 0x04 17. "  C2TCF ,Carry register 2 TXCF Counter Carry bit" "0,1"
bitfld.long 0x04 16. "  C2TOV ,Carry register 2 TOVR Counter Carry bit" "0,1"
textline "                "
bitfld.long 0x04 15. " C2TUN ,Carry register 2 TUND Counter Carry bit" "0,1"
bitfld.long 0x04 14. "       C2TFG ,Carry register 2 TFRG Counter Carry bit" "0,1"
bitfld.long 0x04 13. "  C2TBY ,Carry register 2 TBYT Counter Carry bit" "0,1"
bitfld.long 0x04 12. "  C2TPK ,Carry register 2 TPKT Counter Carry bit" "0,1"
textline "                "
bitfld.long 0x04 11. " C2TMC ,Carry register 2 TMCA Counter Carry bit" "0,1"
bitfld.long 0x04 10. "       C2TBC ,Carry register 2 TBCA Counter Carry bit" "0,1"
bitfld.long 0x04 9. "  C2TPF ,Carry register 2 TXPF Counter Carry bit" "0,1"
bitfld.long 0x04 8. "  C2TDF ,Carry register 2 TDFR Counter Carry bit" "0,1"
textline "                "
bitfld.long 0x04 7. " C2TED ,Carry register 2 TEDF Counter Carry bit" "0,1"
bitfld.long 0x04 6. "       C2TSC ,Carry register 2 TSCL Counter Carry bit" "0,1"
bitfld.long 0x04 5. "  C2TMA ,Carry register 2 TMCL Counter Carry bit" "0,1"
bitfld.long 0x04 4. "  C2TLC ,Carry register 2 TLCL Counter Carry bit" "0,1"
textline "                "
bitfld.long 0x04 3. " C2TXC ,Carry register 2 TXCL Counter Carry bit" "0,1"
bitfld.long 0x04 2. "       C2TNC ,Carry register 2 TNCL Counter Carry bit" "0,1"
bitfld.long 0x04 0. "  C2TDP ,Carry register 2 TDRP Counter Carry bit" "0,1"
endif
line.long 0x08 "CAM1,Carry Mask Register 1"
bitfld.long 0x08 31. " M164  ,Mask register 1 TR64 counter carry bit mask" "0,1"
bitfld.long 0x08 30. "       M1127 ,Mask register 1 TR127 counter carry bit mask" "0,1"
bitfld.long 0x08 29. "  M1255 ,Mask register 1 TR255 counter carry bit mask" "0,1"
bitfld.long 0x08 28. "  M1511 ,Mask register 1 TR511 counter carry bit mask" "0,1"
textline "                "
bitfld.long 0x08 27. " M11K  ,Mask register 1 TR1K counter carry bit mask" "0,1"
bitfld.long 0x08 26. "       M1MAX ,Mask register 1 TRMAX counter carry bit mask" "0,1"
bitfld.long 0x08 25. "  M1MGV ,Mask register 1 TRMGV counter carry bit mask" "0,1"
bitfld.long 0x08 17. "  M1REJ ,Mask register 1 RREJ counter carry bit mask" "0,1"
textline "                "
bitfld.long 0x08 16. " M1RBY ,Mask register 1 RBYT counter carry bit mask" "0,1"
bitfld.long 0x08 15. "       M1RPK ,Mask register 1 RPKT counter carry bit mask" "0,1"
bitfld.long 0x08 14. "  M1RFC ,Mask register 1 RFCS counter carry bit mask" "0,1"
bitfld.long 0x08 13. "  M1RMC ,Mask register 1 RMCA counter carry bit mask" "0,1"
textline "                "
bitfld.long 0x08 12. " M1RBC ,Mask register 1 RBCA counter carry bit mask" "0,1"
bitfld.long 0x08 11. "       M1RXC ,Mask register 1 RXCF counter carry bit mask" "0,1"
bitfld.long 0x08 10. "  M1RXP ,Mask register 1 RXPF counter carry bit mask" "0,1"
bitfld.long 0x08 9. "  M1RXU ,Mask register 1 RXUO counter carry bit mask" "0,1"
textline "                "
bitfld.long 0x08 8. " M1RAL ,Mask register 1 RALN counter carry bit mask" "0,1"
bitfld.long 0x08 7. "       M1RFL ,Mask register 1 RFLR counter carry bit mask" "0,1"
bitfld.long 0x08 6. "  M1RCD ,Mask register 1 RCDE counter carry bit mask" "0,1"
bitfld.long 0x08 5. "  M1RCS ,Mask register 1 RCSE counter carry bit mask" "0,1"
textline "                "
bitfld.long 0x08 4. " M1RUN ,Mask register 1 RUND counter carry bit mask" "0,1"
bitfld.long 0x08 3. "       M1ROV ,Mask register 1 ROVR counter carry bit mask" "0,1"
bitfld.long 0x08 2. "  M1RFR ,Mask register 1 RFRG counter carry bit mask" "0,1"
bitfld.long 0x08 1. "  M1RJB ,Mask register 1 RJBR counter carry bit mask" "0,1"
textline "                "
bitfld.long 0x08 0. " M1RDR ,Mask register 1 RDRP counter carry bit mask" "0,1"
line.long 0x0c "CAM2,Carry Mask Register 2"
bitfld.long 0x0C 19. " M2TJB ,Mask register 2 TJBR counter carry bit mask" "0,1"
bitfld.long 0x0C 18. "       M2TFC ,Mask register 2 TFCS counter carry bit mask" "0,1"
bitfld.long 0x0C 17. "  M2TCF ,Mask register 2 TXCF counter carry bit mask" "0,1"
bitfld.long 0x0C 16. "  M2TOV ,Mask register 2 TOVR counter carry bit mask" "0,1"
textline "                "
bitfld.long 0x0C 15. " M2TUN ,Mask register 2 TUND counter carry bit mask" "0,1"
bitfld.long 0x0C 14. "       M2TFG ,Mask register 2 TFRG counter carry bit mask" "0,1"
bitfld.long 0x0C 13. "  M2TBY ,Mask register 2 TBYT counter carry bit mask" "0,1"
bitfld.long 0x0C 12. "  M2TPK ,Mask register 2 TPKT counter carry bit mask" "0,1"
textline "                "
bitfld.long 0x0C 11. " M2TMC ,Mask register 2 TMCA counter carry bit mask" "0,1"
bitfld.long 0x0C 10. "       M2TBC ,Mask register 2 TBCA counter carry bit mask" "0,1"
bitfld.long 0x0C 9. "  M2TPF ,Mask register 2 TXPF counter carry bit mask" "0,1"
bitfld.long 0x0C 8. "  M2TDF ,Mask register 2 TDFR counter carry bit mask" "0,1"
textline "                "
bitfld.long 0x0C 7. " M2TED ,Mask register 2 TEDF counter carry bit mask" "0,1"
bitfld.long 0x0C 6. "       M2TSC ,Mask register 2 TSCL counter carry bit mask" "0,1"
bitfld.long 0x0C 5. "  M2TMA ,Mask register 2 TMCL counter carry bit mask" "0,1"
bitfld.long 0x0C 4. "  M2TLC ,Mask register 2 TLCL counter carry bit mask" "0,1"
textline "                "
bitfld.long 0x0C 3. " M2TXC ,Mask register 2 TXCL counter carry bit mask" "0,1"
bitfld.long 0x0C 2. "       M2TNC ,Mask register 2 TNCL counter carry bit mask" "0,1"
bitfld.long 0x0C 0. "  M2TDP ,Mask register 2 TDRP counter carry bit mask" "0,1"
line.long 0x10 "RREJ,Receive Filer Rejected Packet Counter"
hexmask.long.tbyte 0x10 0.--21. 1. " RREJ  ,Receive filer rejected packet counter"
tree.end
width 0xb
tree.end
tree "eTSEC2 Hash Function Registers"
width 8. 
group.long (0x25000+0x800)++0x1f
line.long 0x00 "IGADDR0,Individual/Group Address Register 0"
bitfld.long 0x00 31. " IADDR0   ,Hash table entry 0 enable" "-,Enabled"
bitfld.long 0x00 30. "  IADDR1   ,Hash table entry 1 enable" "-,Enabled"
bitfld.long 0x00 29. "  IADDR2   ,Hash table entry 2 enable" "-,Enabled"
textline "                 "
bitfld.long 0x00 28. " IADDR3   ,Hash table entry 3 enable" "-,Enabled"
bitfld.long 0x00 27. "  IADDR4   ,Hash table entry 4 enable" "-,Enabled"
bitfld.long 0x00 26. "  IADDR5   ,Hash table entry 5 enable" "-,Enabled"
textline "                 "
bitfld.long 0x00 25. " IADDR6   ,Hash table entry 6 enable" "-,Enabled"
bitfld.long 0x00 24. "  IADDR7   ,Hash table entry 7 enable" "-,Enabled"
bitfld.long 0x00 23. "  IADDR8   ,Hash table entry 8 enable" "-,Enabled"
textline "                 "
bitfld.long 0x00 22. " IADDR9   ,Hash table entry 9 enable" "-,Enabled"
bitfld.long 0x00 21. "  IADDR10  ,Hash table entry 10 enable" "-,Enabled"
bitfld.long 0x00 20. "  IADDR11  ,Hash table entry 11 enable" "-,Enabled"
textline "                 "    
bitfld.long 0x00 19. " IADDR12  ,Hash table entry 12 enable" "-,Enabled"
bitfld.long 0x00 18. "  IADDR13  ,Hash table entry 13 enable" "-,Enabled"
bitfld.long 0x00 17. "  IADDR14  ,Hash table entry 14 enable" "-,Enabled"
textline "                 "
bitfld.long 0x00 16. " IADDR15  ,Hash table entry 15 enable" "-,Enabled"
bitfld.long 0x00 15. "  IADDR16  ,Hash table entry 16 enable" "-,Enabled"
bitfld.long 0x00 14. "  IADDR17  ,Hash table entry 17 enable" "-,Enabled"
textline "                 "
bitfld.long 0x00 13. " IADDR18  ,Hash table entry 18 enable" "-,Enabled"
bitfld.long 0x00 12. "  IADDR19  ,Hash table entry 19 enable" "-,Enabled"
bitfld.long 0x00 11. "  IADDR20  ,Hash table entry 20 enable" "-,Enabled"
textline "                 "
bitfld.long 0x00 10. " IADDR21  ,Hash table entry 21 enable" "-,Enabled"
bitfld.long 0x00 9. "  IADDR22  ,Hash table entry 22 enable" "-,Enabled"
bitfld.long 0x00 8. "  IADDR23  ,Hash table entry 23 enable" "-,Enabled"
textline "                 "    
bitfld.long 0x00 7. " IADDR24  ,Hash table entry 24 enable" "-,Enabled"
bitfld.long 0x00 6. "  IADDR25  ,Hash table entry 25 enable" "-,Enabled"
bitfld.long 0x00 5. "  IADDR26  ,Hash table entry 26 enable" "-,Enabled"
textline "                 "
bitfld.long 0x00 4. " IADDR27  ,Hash table entry 27 enable" "-,Enabled"
bitfld.long 0x00 3. "  IADDR28  ,Hash table entry 28 enable" "-,Enabled"
bitfld.long 0x00 2. "  IADDR29  ,Hash table entry 29 enable" "-,Enabled"
textline "                 "
bitfld.long 0x00 1. " IADDR30  ,Hash table entry 30 enable" "-,Enabled"
bitfld.long 0x00 0. "  IADDR31  ,Hash table entry 31 enable" "-,Enabled"
line.long 0x04 "IGADDR1,Individual/Group Address Register 1"
bitfld.long 0x04 31. " IADDR32  ,Hash table entry 32 enable" "-,Enabled"
bitfld.long 0x04 30. "  IADDR33  ,Hash table entry 33 enable" "-,Enabled"
bitfld.long 0x04 29. "  IADDR34  ,Hash table entry 34 enable" "-,Enabled"
textline "                 "
bitfld.long 0x04 28. " IADDR35  ,Hash table entry 35 enable" "-,Enabled"
bitfld.long 0x04 27. "  IADDR36  ,Hash table entry 36 enable" "-,Enabled"
bitfld.long 0x04 26. "  IADDR37  ,Hash table entry 37 enable" "-,Enabled"
textline "                 "
bitfld.long 0x04 25. " IADDR38  ,Hash table entry 38 enable" "-,Enabled"
bitfld.long 0x04 24. "  IADDR39  ,Hash table entry 39 enable" "-,Enabled"
bitfld.long 0x04 23. "  IADDR40  ,Hash table entry 40 enable" "-,Enabled"
textline "                 "
bitfld.long 0x04 22. " IADDR41  ,Hash table entry 41 enable" "-,Enabled"
bitfld.long 0x04 21. "  IADDR42  ,Hash table entry 42 enable" "-,Enabled"
bitfld.long 0x04 20. "  IADDR43  ,Hash table entry 43 enable" "-,Enabled"
textline "                 "
bitfld.long 0x04 19. " IADDR44  ,Hash table entry 44 enable" "-,Enabled"
bitfld.long 0x04 18. "  IADDR45  ,Hash table entry 45 enable" "-,Enabled"
bitfld.long 0x04 17. "  IADDR46  ,Hash table entry 46 enable" "-,Enabled"
textline "                 "
bitfld.long 0x04 16. " IADDR47  ,Hash table entry 47 enable" "-,Enabled"
bitfld.long 0x04 15. "  IADDR48  ,Hash table entry 48 enable" "-,Enabled"
bitfld.long 0x04 14. "  IADDR49  ,Hash table entry 49 enable" "-,Enabled"
textline "                 "
bitfld.long 0x04 13. " IADDR50  ,Hash table entry 50 enable" "-,Enabled"
bitfld.long 0x04 12. "  IADDR51  ,Hash table entry 51 enable" "-,Enabled"
bitfld.long 0x04 11. "  IADDR52  ,Hash table entry 52 enable" "-,Enabled"
textline "                 "
bitfld.long 0x04 10. " IADDR53  ,Hash table entry 53 enable" "-,Enabled"
bitfld.long 0x04 9. "  IADDR54  ,Hash table entry 54 enable" "-,Enabled"
bitfld.long 0x04 8. "  IADDR55  ,Hash table entry 55 enable" "-,Enabled"
textline "                 "
bitfld.long 0x04 7. " IADDR56  ,Hash table entry 56 enable" "-,Enabled"
bitfld.long 0x04 6. "  IADDR57  ,Hash table entry 57 enable" "-,Enabled"
bitfld.long 0x04 5. "  IADDR58  ,Hash table entry 58 enable" "-,Enabled"
textline "                 "
bitfld.long 0x04 4. " IADDR59  ,Hash table entry 59 enable" "-,Enabled"
bitfld.long 0x04 3. "  IADDR60  ,Hash table entry 60 enable" "-,Enabled"
bitfld.long 0x04 2. "  IADDR61  ,Hash table entry 61 enable" "-,Enabled"
textline "                 "
bitfld.long 0x04 1. " IADDR62  ,Hash table entry 62 enable" "-,Enabled"
bitfld.long 0x04 0. "  IADDR63  ,Hash table entry 63 enable" "-,Enabled"
line.long 0x08 "IGADDR2,Individual/Group Address Register 2"
bitfld.long 0x08 31. " IADDR64  ,Hash table entry 64 enable" "-,Enabled"
bitfld.long 0x08 30. "  IADDR65  ,Hash table entry 65 enable" "-,Enabled"
bitfld.long 0x08 29. "  IADDR66  ,Hash table entry 66 enable" "-,Enabled"
textline "                 "
bitfld.long 0x08 28. " IADDR67  ,Hash table entry 67 enable" "-,Enabled"
bitfld.long 0x08 27. "  IADDR68  ,Hash table entry 68 enable" "-,Enabled"
bitfld.long 0x08 26. "  IADDR69  ,Hash table entry 69 enable" "-,Enabled"
textline "                 "
bitfld.long 0x08 25. " IADDR70  ,Hash table entry 70 enable" "-,Enabled"
bitfld.long 0x08 24. "  IADDR71  ,Hash table entry 71 enable" "-,Enabled"
bitfld.long 0x08 23. "  IADDR72  ,Hash table entry 72 enable" "-,Enabled"
textline "                 "
bitfld.long 0x08 22. " IADDR73  ,Hash table entry 73 enable" "-,Enabled"
bitfld.long 0x08 21. "  IADDR74  ,Hash table entry 74 enable" "-,Enabled"
bitfld.long 0x08 20. "  IADDR75  ,Hash table entry 75 enable" "-,Enabled"
textline "                 "
bitfld.long 0x08 19. " IADDR76  ,Hash table entry 76 enable" "-,Enabled"
bitfld.long 0x08 18. "  IADDR77  ,Hash table entry 77 enable" "-,Enabled"
bitfld.long 0x08 17. "  IADDR78  ,Hash table entry 78 enable" "-,Enabled"
textline "                 "
bitfld.long 0x08 16. " IADDR79  ,Hash table entry 79 enable" "-,Enabled"
bitfld.long 0x08 15. "  IADDR80  ,Hash table entry 80 enable" "-,Enabled"
bitfld.long 0x08 14. "  IADDR81  ,Hash table entry 81 enable" "-,Enabled"
textline "                 "
bitfld.long 0x08 13. " IADDR82  ,Hash table entry 82 enable" "-,Enabled"
bitfld.long 0x08 12. "  IADDR83  ,Hash table entry 83 enable" "-,Enabled"
bitfld.long 0x08 11. "  IADDR84  ,Hash table entry 84 enable" "-,Enabled"
textline "                 "
bitfld.long 0x08 10. " IADDR85  ,Hash table entry 85 enable" "-,Enabled"
bitfld.long 0x08 9. "  IADDR86  ,Hash table entry 86 enable" "-,Enabled"
bitfld.long 0x08 8. "  IADDR87  ,Hash table entry 87 enable" "-,Enabled"
textline "                 "
bitfld.long 0x08 7. " IADDR88  ,Hash table entry 88 enable" "-,Enabled"
bitfld.long 0x08 6. "  IADDR89  ,Hash table entry 89 enable" "-,Enabled"
bitfld.long 0x08 5. "  IADDR90  ,Hash table entry 90 enable" "-,Enabled"
textline "                 "
bitfld.long 0x08 4. " IADDR91  ,Hash table entry 91 enable" "-,Enabled"
bitfld.long 0x08 3. "  IADDR92  ,Hash table entry 92 enable" "-,Enabled"
bitfld.long 0x08 2. "  IADDR93  ,Hash table entry 93 enable" "-,Enabled"
textline "                 "
bitfld.long 0x08 1. " IADDR94  ,Hash table entry 94 enable" "-,Enabled"
bitfld.long 0x08 0. "  IADDR95  ,Hash table entry 95 enable" "-,Enabled"
line.long 0x0c "IGADDR3,Individual/Group Address Register 3"
bitfld.long 0x0c 31. " IADDR96  ,Hash table entry 96 enable" "-,Enabled"
bitfld.long 0x0c 30. "  IADDR97  ,Hash table entry 97 enable" "-,Enabled"
bitfld.long 0x0c 29. "  IADDR98  ,Hash table entry 98 enable" "-,Enabled"
textline "                 "
bitfld.long 0x0c 28. " IADDR99  ,Hash table entry 99 enable" "-,Enabled"
bitfld.long 0x0c 27. "  IADDR100 ,Hash table entry 100 enable" "-,Enabled"
bitfld.long 0x0c 26. "  IADDR101 ,Hash table entry 101 enable" "-,Enabled"
textline "                 "
bitfld.long 0x0c 25. " IADDR102 ,Hash table entry 102 enable" "-,Enabled"
bitfld.long 0x0c 24. "  IADDR103 ,Hash table entry 103 enable" "-,Enabled"
bitfld.long 0x0c 23. "  IADDR104 ,Hash table entry 104 enable" "-,Enabled"
textline "                 "
bitfld.long 0x0c 22. " IADDR105 ,Hash table entry 105 enable" "-,Enabled"
bitfld.long 0x0c 21. "  IADDR106 ,Hash table entry 106 enable" "-,Enabled"
bitfld.long 0x0c 20. "  IADDR107 ,Hash table entry 107 enable" "-,Enabled"
textline "                 "
bitfld.long 0x0c 19. " IADDR108 ,Hash table entry 108 enable" "-,Enabled"
bitfld.long 0x0c 18. "  IADDR109 ,Hash table entry 109 enable" "-,Enabled"
bitfld.long 0x0c 17. "  IADDR110 ,Hash table entry 110 enable" "-,Enabled"
textline "                 "
bitfld.long 0x0c 16. " IADDR111 ,Hash table entry 111 enable" "-,Enabled"
bitfld.long 0x0c 15. "  IADDR112 ,Hash table entry 112 enable" "-,Enabled"
bitfld.long 0x0c 14. "  IADDR113 ,Hash table entry 113 enable" "-,Enabled"
textline "                 "
bitfld.long 0x0c 13. " IADDR114 ,Hash table entry 114 enable" "-,Enabled"
bitfld.long 0x0c 12. "  IADDR115 ,Hash table entry 115 enable" "-,Enabled"
bitfld.long 0x0c 11. "  IADDR116 ,Hash table entry 116 enable" "-,Enabled"
textline "                 "
bitfld.long 0x0c 10. " IADDR117 ,Hash table entry 117 enable" "-,Enabled"
bitfld.long 0x0c 9. "  IADDR118 ,Hash table entry 118 enable" "-,Enabled"
bitfld.long 0x0c 8. "  IADDR119 ,Hash table entry 119 enable" "-,Enabled"
textline "                 "
bitfld.long 0x0c 7. " IADDR120 ,Hash table entry 120 enable" "-,Enabled"
bitfld.long 0x0c 6. "  IADDR121 ,Hash table entry 121 enable" "-,Enabled"
bitfld.long 0x0c 5. "  IADDR122 ,Hash table entry 122 enable" "-,Enabled"
textline "                 "
bitfld.long 0x0c 4. " IADDR123 ,Hash table entry 123 enable" "-,Enabled"
bitfld.long 0x0c 3. "  IADDR124 ,Hash table entry 124 enable" "-,Enabled"
bitfld.long 0x0c 2. "  IADDR125 ,Hash table entry 125 enable" "-,Enabled"
textline "                 "
bitfld.long 0x0c 1. " IADDR126 ,Hash table entry 126 enable" "-,Enabled"
bitfld.long 0x0c 0. "  IADDR127 ,Hash table entry 127 enable" "-,Enabled"
line.long 0x10 "IGADDR4,Individual/Group Address Register 4"
bitfld.long 0x10 31. " IADDR128 ,Hash table entry 128 enable" "-,Enabled"
bitfld.long 0x10 30. "  IADDR129 ,Hash table entry 129 enable" "-,Enabled"
bitfld.long 0x10 29. "  IADDR130 ,Hash table entry 130 enable" "-,Enabled"
textline "                 "
bitfld.long 0x10 28. " IADDR131 ,Hash table entry 131 enable" "-,Enabled"
bitfld.long 0x10 27. "  IADDR132 ,Hash table entry 132 enable" "-,Enabled"
bitfld.long 0x10 26. "  IADDR133 ,Hash table entry 133 enable" "-,Enabled"
textline "                 "
bitfld.long 0x10 25. " IADDR134 ,Hash table entry 134 enable" "-,Enabled"
bitfld.long 0x10 24. "  IADDR135 ,Hash table entry 135 enable" "-,Enabled"
bitfld.long 0x10 23. "  IADDR136 ,Hash table entry 136 enable" "-,Enabled"
textline "                 "
bitfld.long 0x10 22. " IADDR137 ,Hash table entry 137 enable" "-,Enabled"
bitfld.long 0x10 21. "  IADDR138 ,Hash table entry 138 enable" "-,Enabled"
bitfld.long 0x10 20. "  IADDR139 ,Hash table entry 139 enable" "-,Enabled"
textline "                 "
bitfld.long 0x10 19. " IADDR140 ,Hash table entry 140 enable" "-,Enabled"
bitfld.long 0x10 18. "  IADDR141 ,Hash table entry 141 enable" "-,Enabled"
bitfld.long 0x10 17. "  IADDR142 ,Hash table entry 142 enable" "-,Enabled"
textline "                 "
bitfld.long 0x10 16. " IADDR143 ,Hash table entry 143 enable" "-,Enabled"
bitfld.long 0x10 15. "  IADDR144 ,Hash table entry 144 enable" "-,Enabled"
bitfld.long 0x10 14. "  IADDR145 ,Hash table entry 145 enable" "-,Enabled"
textline "                 "
bitfld.long 0x10 13. " IADDR146 ,Hash table entry 146 enable" "-,Enabled"
bitfld.long 0x10 12. "  IADDR147 ,Hash table entry 147 enable" "-,Enabled"
bitfld.long 0x10 11. "  IADDR148 ,Hash table entry 148 enable" "-,Enabled"
textline "                 "
bitfld.long 0x10 10. " IADDR149 ,Hash table entry 149 enable" "-,Enabled"
bitfld.long 0x10 9. "  IADDR150 ,Hash table entry 150 enable" "-,Enabled"
bitfld.long 0x10 8. "  IADDR151 ,Hash table entry 151 enable" "-,Enabled"
textline "                 "
bitfld.long 0x10 7. " IADDR152 ,Hash table entry 152 enable" "-,Enabled"
bitfld.long 0x10 6. "  IADDR153 ,Hash table entry 153 enable" "-,Enabled"
bitfld.long 0x10 5. "  IADDR154 ,Hash table entry 154 enable" "-,Enabled"
textline "                 "
bitfld.long 0x10 4. " IADDR155 ,Hash table entry 155 enable" "-,Enabled"
bitfld.long 0x10 3. "  IADDR156 ,Hash table entry 156 enable" "-,Enabled"
bitfld.long 0x10 2. "  IADDR157 ,Hash table entry 157 enable" "-,Enabled"
textline "                 "
bitfld.long 0x10 1. " IADDR158 ,Hash table entry 158 enable" "-,Enabled"
bitfld.long 0x10 0. "  IADDR159 ,Hash table entry 159 enable" "-,Enabled"
line.long 0x14 "IGADDR5,Individual/Group Address Register 5"
bitfld.long 0x14 31. " IADDR160 ,Hash table entry 160 enable" "-,Enabled"
bitfld.long 0x14 30. "  IADDR161 ,Hash table entry 161 enable" "-,Enabled"
bitfld.long 0x14 29. "  IADDR162 ,Hash table entry 162 enable" "-,Enabled"
textline "                 "
bitfld.long 0x14 28. " IADDR163 ,Hash table entry 163 enable" "-,Enabled"
bitfld.long 0x14 27. "  IADDR164 ,Hash table entry 164 enable" "-,Enabled"
bitfld.long 0x14 26. "  IADDR165 ,Hash table entry 165 enable" "-,Enabled"
textline "                 "
bitfld.long 0x14 25. " IADDR166 ,Hash table entry 166 enable" "-,Enabled"
bitfld.long 0x14 24. "  IADDR167 ,Hash table entry 167 enable" "-,Enabled"
bitfld.long 0x14 23. "  IADDR168 ,Hash table entry 168 enable" "-,Enabled"
textline "                 "
bitfld.long 0x14 22. " IADDR169 ,Hash table entry 169 enable" "-,Enabled"
bitfld.long 0x14 21. "  IADDR170 ,Hash table entry 170 enable" "-,Enabled"
bitfld.long 0x14 20. "  IADDR171 ,Hash table entry 171 enable" "-,Enabled"
textline "                 "
bitfld.long 0x14 19. " IADDR172 ,Hash table entry 172 enable" "-,Enabled"
bitfld.long 0x14 18. "  IADDR173 ,Hash table entry 173 enable" "-,Enabled"
bitfld.long 0x14 17. "  IADDR174 ,Hash table entry 174 enable" "-,Enabled"
textline "                 "
bitfld.long 0x14 16. " IADDR175 ,Hash table entry 175 enable" "-,Enabled"
bitfld.long 0x14 15. "  IADDR176 ,Hash table entry 176 enable" "-,Enabled"
bitfld.long 0x14 14. "  IADDR177 ,Hash table entry 177 enable" "-,Enabled"
textline "                 "
bitfld.long 0x14 13. " IADDR178 ,Hash table entry 178 enable" "-,Enabled"
bitfld.long 0x14 12. "  IADDR179 ,Hash table entry 179 enable" "-,Enabled"
bitfld.long 0x14 11. "  IADDR180 ,Hash table entry 180 enable" "-,Enabled"
textline "                 "
bitfld.long 0x14 10. " IADDR181 ,Hash table entry 181 enable" "-,Enabled"
bitfld.long 0x14 9. "  IADDR182 ,Hash table entry 182 enable" "-,Enabled"
bitfld.long 0x14 8. "  IADDR183 ,Hash table entry 183 enable" "-,Enabled"
textline "                 "
bitfld.long 0x14 7. " IADDR184 ,Hash table entry 184 enable" "-,Enabled"
bitfld.long 0x14 6. "  IADDR185 ,Hash table entry 185 enable" "-,Enabled"
bitfld.long 0x14 5. "  IADDR186 ,Hash table entry 186 enable" "-,Enabled"
textline "                 "
bitfld.long 0x14 4. " IADDR187 ,Hash table entry 187 enable" "-,Enabled"
bitfld.long 0x14 3. "  IADDR188 ,Hash table entry 188 enable" "-,Enabled"
bitfld.long 0x14 2. "  IADDR189 ,Hash table entry 189 enable" "-,Enabled"
textline "                 "
bitfld.long 0x14 1. " IADDR190 ,Hash table entry 190 enable" "-,Enabled"
bitfld.long 0x14 0. "  IADDR191 ,Hash table entry 191 enable" "-,Enabled"
line.long 0x18 "IGADDR6,Individual/Group Address Register 6"
bitfld.long 0x18 31. " IADDR192 ,Hash table entry 192 enable" "-,Enabled"
bitfld.long 0x18 30. "  IADDR193 ,Hash table entry 193 enable" "-,Enabled"
bitfld.long 0x18 29. "  IADDR194 ,Hash table entry 194 enable" "-,Enabled"
textline "                 "
bitfld.long 0x18 28. " IADDR195 ,Hash table entry 195 enable" "-,Enabled"
bitfld.long 0x18 27. "  IADDR196 ,Hash table entry 196 enable" "-,Enabled"
bitfld.long 0x18 26. "  IADDR197 ,Hash table entry 197 enable" "-,Enabled"
textline "                 "
bitfld.long 0x18 25. " IADDR198 ,Hash table entry 198 enable" "-,Enabled"
bitfld.long 0x18 24. "  IADDR199 ,Hash table entry 199 enable" "-,Enabled"
bitfld.long 0x18 23. "  IADDR200 ,Hash table entry 200 enable" "-,Enabled"
textline "                 "
bitfld.long 0x18 22. " IADDR201 ,Hash table entry 201 enable" "-,Enabled"
bitfld.long 0x18 21. "  IADDR202 ,Hash table entry 202 enable" "-,Enabled"
bitfld.long 0x18 20. "  IADDR203 ,Hash table entry 203 enable" "-,Enabled"
textline "                 "
bitfld.long 0x18 19. " IADDR204 ,Hash table entry 204 enable" "-,Enabled"
bitfld.long 0x18 18. "  IADDR205 ,Hash table entry 205 enable" "-,Enabled"
bitfld.long 0x18 17. "  IADDR206 ,Hash table entry 206 enable" "-,Enabled"
textline "                 "
bitfld.long 0x18 16. " IADDR207 ,Hash table entry 207 enable" "-,Enabled"
bitfld.long 0x18 15. "  IADDR208 ,Hash table entry 208 enable" "-,Enabled"
bitfld.long 0x18 14. "  IADDR209 ,Hash table entry 209 enable" "-,Enabled"
textline "                 "
bitfld.long 0x18 13. " IADDR210 ,Hash table entry 210 enable" "-,Enabled"
bitfld.long 0x18 12. "  IADDR211 ,Hash table entry 211 enable" "-,Enabled"
bitfld.long 0x18 11. "  IADDR212 ,Hash table entry 212 enable" "-,Enabled"
textline "                 "
bitfld.long 0x18 10. " IADDR213 ,Hash table entry 213 enable" "-,Enabled"
bitfld.long 0x18 9. "  IADDR214 ,Hash table entry 214 enable" "-,Enabled"
bitfld.long 0x18 8. "  IADDR215 ,Hash table entry 215 enable" "-,Enabled"
textline "                 "
bitfld.long 0x18 7. " IADDR216 ,Hash table entry 216 enable" "-,Enabled"
bitfld.long 0x18 6. "  IADDR217 ,Hash table entry 217 enable" "-,Enabled"
bitfld.long 0x18 5. "  IADDR218 ,Hash table entry 218 enable" "-,Enabled"
textline "                 "
bitfld.long 0x18 4. " IADDR219 ,Hash table entry 219 enable" "-,Enabled"
bitfld.long 0x18 3. "  IADDR220 ,Hash table entry 220 enable" "-,Enabled"
bitfld.long 0x18 2. "  IADDR221 ,Hash table entry 221 enable" "-,Enabled"
textline "                 "
bitfld.long 0x18 1. " IADDR222 ,Hash table entry 222 enable" "-,Enabled"
bitfld.long 0x18 0. "  IADDR223 ,Hash table entry 223 enable" "-,Enabled"
line.long 0x1c "IGADDR7,Individual/Group Address Register 7"
bitfld.long 0x1c 31. " IADDR224 ,Hash table entry 224 enable" "-,Enabled"
bitfld.long 0x1c 30. "  IADDR225 ,Hash table entry 225 enable" "-,Enabled"
bitfld.long 0x1c 29. "  IADDR226 ,Hash table entry 226 enable" "-,Enabled"
textline "                 "
bitfld.long 0x1c 28. " IADDR227 ,Hash table entry 227 enable" "-,Enabled"
bitfld.long 0x1c 27. "  IADDR228 ,Hash table entry 228 enable" "-,Enabled"
bitfld.long 0x1c 26. "  IADDR229 ,Hash table entry 229 enable" "-,Enabled"
textline "                 "
bitfld.long 0x1c 25. " IADDR230 ,Hash table entry 230 enable" "-,Enabled"
bitfld.long 0x1c 24. "  IADDR231 ,Hash table entry 231 enable" "-,Enabled"
bitfld.long 0x1c 23. "  IADDR232 ,Hash table entry 232 enable" "-,Enabled"
textline "                 "
bitfld.long 0x1c 22. " IADDR233 ,Hash table entry 233 enable" "-,Enabled"
bitfld.long 0x1c 21. "  IADDR234 ,Hash table entry 234 enable" "-,Enabled"
bitfld.long 0x1c 20. "  IADDR235 ,Hash table entry 235 enable" "-,Enabled"
textline "                 "
bitfld.long 0x1c 19. " IADDR236 ,Hash table entry 236 enable" "-,Enabled"
bitfld.long 0x1c 18. "  IADDR237 ,Hash table entry 237 enable" "-,Enabled"
bitfld.long 0x1c 17. "  IADDR238 ,Hash table entry 238 enable" "-,Enabled"
textline "                 "
bitfld.long 0x1c 16. " IADDR239 ,Hash table entry 239 enable" "-,Enabled"
bitfld.long 0x1c 15. "  IADDR240 ,Hash table entry 240 enable" "-,Enabled"
bitfld.long 0x1c 14. "  IADDR241 ,Hash table entry 241 enable" "-,Enabled"
textline "                 "
bitfld.long 0x1c 13. " IADDR242 ,Hash table entry 242 enable" "-,Enabled"
bitfld.long 0x1c 12. "  IADDR243 ,Hash table entry 243 enable" "-,Enabled"
bitfld.long 0x1c 11. "  IADDR244 ,Hash table entry 244 enable" "-,Enabled"
textline "                 "
bitfld.long 0x1c 10. " IADDR245 ,Hash table entry 245 enable" "-,Enabled"
bitfld.long 0x1c 9. "  IADDR246 ,Hash table entry 246 enable" "-,Enabled"
bitfld.long 0x1c 8. "  IADDR247 ,Hash table entry 247 enable" "-,Enabled"
textline "                 "
bitfld.long 0x1c 7. " IADDR248 ,Hash table entry 248 enable" "-,Enabled"
bitfld.long 0x1c 6. "  IADDR249 ,Hash table entry 249 enable" "-,Enabled"
bitfld.long 0x1c 5. "  IADDR250 ,Hash table entry 250 enable" "-,Enabled"
textline "                 "
bitfld.long 0x1c 4. " IADDR251 ,Hash table entry 251 enable" "-,Enabled"
bitfld.long 0x1c 3. "  IADDR252 ,Hash table entry 252 enable" "-,Enabled"
bitfld.long 0x1c 2. "  IADDR253 ,Hash table entry 253 enable" "-,Enabled"
textline "                 "
bitfld.long 0x1c 1. " IADDR254 ,Hash table entry 254 enable" "-,Enabled"
bitfld.long 0x1c 0. "  IADDR255 ,Hash table entry 255 enable" "-,Enabled"
group.long ((0x25000+0x800)+0x80)++0x1f
line.long 0x00 "GADDR0,Group Address Register 0"
bitfld.long 0x00 31. " GADDR0   ,Group hash table entry 0 enable" "-,Enabled"
bitfld.long 0x00 30. "  GADDR1   ,Group hash table entry 1 enable" "-,Enabled"
bitfld.long 0x00 29. "  GADDR2   ,Group hash table entry 2 enable" "-,Enabled"
textline "                 "
bitfld.long 0x00 28. " GADDR3   ,Group hash table entry 3 enable" "-,Enabled"
bitfld.long 0x00 27. "  GADDR4   ,Group hash table entry 4 enable" "-,Enabled"
bitfld.long 0x00 26. "  GADDR5   ,Group hash table entry 5 enable" "-,Enabled"
textline "                 "
bitfld.long 0x00 25. " GADDR6   ,Group hash table entry 6 enable" "-,Enabled"
bitfld.long 0x00 24. "  GADDR7   ,Group hash table entry 7 enable" "-,Enabled"
bitfld.long 0x00 23. "  GADDR8   ,Group hash table entry 8 enable" "-,Enabled"
textline "                 "
bitfld.long 0x00 22. " GADDR9   ,Group hash table entry 9 enable" "-,Enabled"
bitfld.long 0x00 21. "  GADDR10  ,Group hash table entry 10 enable" "-,Enabled"
bitfld.long 0x00 20. "  GADDR11  ,Group hash table entry 11 enable" "-,Enabled"
textline "                 "    
bitfld.long 0x00 19. " GADDR12  ,Group hash table entry 12 enable" "-,Enabled"
bitfld.long 0x00 18. "  GADDR13  ,Group hash table entry 13 enable" "-,Enabled"
bitfld.long 0x00 17. "  GADDR14  ,Group hash table entry 14 enable" "-,Enabled"
textline "                 "
bitfld.long 0x00 16. " GADDR15  ,Group hash table entry 15 enable" "-,Enabled"
bitfld.long 0x00 15. "  GADDR16  ,Group hash table entry 16 enable" "-,Enabled"
bitfld.long 0x00 14. "  GADDR17  ,Group hash table entry 17 enable" "-,Enabled"
textline "                 "
bitfld.long 0x00 13. " GADDR18  ,Group hash table entry 18 enable" "-,Enabled"
bitfld.long 0x00 12. "  GADDR19  ,Group hash table entry 19 enable" "-,Enabled"
bitfld.long 0x00 11. "  GADDR20  ,Group hash table entry 20 enable" "-,Enabled"
textline "                 "
bitfld.long 0x00 10. " GADDR21  ,Group hash table entry 21 enable" "-,Enabled"
bitfld.long 0x00 9. "  GADDR22  ,Group hash table entry 22 enable" "-,Enabled"
bitfld.long 0x00 8. "  GADDR23  ,Group hash table entry 23 enable" "-,Enabled"
textline "                 "    
bitfld.long 0x00 7. " GADDR24  ,Group hash table entry 24 enable" "-,Enabled"
bitfld.long 0x00 6. "  GADDR25  ,Group hash table entry 25 enable" "-,Enabled"
bitfld.long 0x00 5. "  GADDR26  ,Group hash table entry 26 enable" "-,Enabled"
textline "                 "
bitfld.long 0x00 4. " GADDR27  ,Group hash table entry 27 enable" "-,Enabled"
bitfld.long 0x00 3. "  GADDR28  ,Group hash table entry 28 enable" "-,Enabled"
bitfld.long 0x00 2. "  GADDR29  ,Group hash table entry 29 enable" "-,Enabled"
textline "                 "
bitfld.long 0x00 1. " GADDR30  ,Group hash table entry 30 enable" "-,Enabled"
bitfld.long 0x00 0. "  GADDR31  ,Group hash table entry 31 enable" "-,Enabled"
line.long 0x04 "GADDR1,Group Address Register 1"
bitfld.long 0x04 31. " GADDR32  ,Group hash table entry 32 enable" "-,Enabled"
bitfld.long 0x04 30. "  GADDR33  ,Group hash table entry 33 enable" "-,Enabled"
bitfld.long 0x04 29. "  GADDR34  ,Group hash table entry 34 enable" "-,Enabled"
textline "                 "
bitfld.long 0x04 28. " GADDR35  ,Group hash table entry 35 enable" "-,Enabled"
bitfld.long 0x04 27. "  GADDR36  ,Group hash table entry 36 enable" "-,Enabled"
bitfld.long 0x04 26. "  GADDR37  ,Group hash table entry 37 enable" "-,Enabled"
textline "                 "
bitfld.long 0x04 25. " GADDR38  ,Group hash table entry 38 enable" "-,Enabled"
bitfld.long 0x04 24. "  GADDR39  ,Group hash table entry 39 enable" "-,Enabled"
bitfld.long 0x04 23. "  GADDR40  ,Group hash table entry 40 enable" "-,Enabled"
textline "                 "
bitfld.long 0x04 22. " GADDR41  ,Group hash table entry 41 enable" "-,Enabled"
bitfld.long 0x04 21. "  GADDR42  ,Group hash table entry 42 enable" "-,Enabled"
bitfld.long 0x04 20. "  GADDR43  ,Group hash table entry 43 enable" "-,Enabled"
textline "                 "
bitfld.long 0x04 19. " GADDR44  ,Group hash table entry 44 enable" "-,Enabled"
bitfld.long 0x04 18. "  GADDR45  ,Group hash table entry 45 enable" "-,Enabled"
bitfld.long 0x04 17. "  GADDR46  ,Group hash table entry 46 enable" "-,Enabled"
textline "                 "
bitfld.long 0x04 16. " GADDR47  ,Group hash table entry 47 enable" "-,Enabled"
bitfld.long 0x04 15. "  GADDR48  ,Group hash table entry 48 enable" "-,Enabled"
bitfld.long 0x04 14. "  GADDR49  ,Group hash table entry 49 enable" "-,Enabled"
textline "                 "
bitfld.long 0x04 13. " GADDR50  ,Group hash table entry 50 enable" "-,Enabled"
bitfld.long 0x04 12. "  GADDR51  ,Group hash table entry 51 enable" "-,Enabled"
bitfld.long 0x04 11. "  GADDR52  ,Group hash table entry 52 enable" "-,Enabled"
textline "                 "
bitfld.long 0x04 10. " GADDR53  ,Group hash table entry 53 enable" "-,Enabled"
bitfld.long 0x04 9. "  GADDR54  ,Group hash table entry 54 enable" "-,Enabled"
bitfld.long 0x04 8. "  GADDR55  ,Group hash table entry 55 enable" "-,Enabled"
textline "                 "
bitfld.long 0x04 7. " GADDR56  ,Group hash table entry 56 enable" "-,Enabled"
bitfld.long 0x04 6. "  GADDR57  ,Group hash table entry 57 enable" "-,Enabled"
bitfld.long 0x04 5. "  GADDR58  ,Group hash table entry 58 enable" "-,Enabled"
textline "                 "
bitfld.long 0x04 4. " GADDR59  ,Group hash table entry 59 enable" "-,Enabled"
bitfld.long 0x04 3. "  GADDR60  ,Group hash table entry 60 enable" "-,Enabled"
bitfld.long 0x04 2. "  GADDR61  ,Group hash table entry 61 enable" "-,Enabled"
textline "                 "
bitfld.long 0x04 1. " GADDR62  ,Group hash table entry 62 enable" "-,Enabled"
bitfld.long 0x04 0. "  GADDR63  ,Group hash table entry 63 enable" "-,Enabled"
line.long 0x08 "GADDR2,Group Address Register 2"
bitfld.long 0x08 31. " GADDR64  ,Group hash table entry 64 enable" "-,Enabled"
bitfld.long 0x08 30. "  GADDR65  ,Group hash table entry 65 enable" "-,Enabled"
bitfld.long 0x08 29. "  GADDR66  ,Group hash table entry 66 enable" "-,Enabled"
textline "                 "
bitfld.long 0x08 28. " GADDR67  ,Group hash table entry 67 enable" "-,Enabled"
bitfld.long 0x08 27. "  GADDR68  ,Group hash table entry 68 enable" "-,Enabled"
bitfld.long 0x08 26. "  GADDR69  ,Group hash table entry 69 enable" "-,Enabled"
textline "                 "
bitfld.long 0x08 25. " GADDR70  ,Group hash table entry 70 enable" "-,Enabled"
bitfld.long 0x08 24. "  GADDR71  ,Group hash table entry 71 enable" "-,Enabled"
bitfld.long 0x08 23. "  GADDR72  ,Group hash table entry 72 enable" "-,Enabled"
textline "                 "
bitfld.long 0x08 22. " GADDR73  ,Group hash table entry 73 enable" "-,Enabled"
bitfld.long 0x08 21. "  GADDR74  ,Group hash table entry 74 enable" "-,Enabled"
bitfld.long 0x08 20. "  GADDR75  ,Group hash table entry 75 enable" "-,Enabled"
textline "                 "
bitfld.long 0x08 19. " GADDR76  ,Group hash table entry 76 enable" "-,Enabled"
bitfld.long 0x08 18. "  GADDR77  ,Group hash table entry 77 enable" "-,Enabled"
bitfld.long 0x08 17. "  GADDR78  ,Group hash table entry 78 enable" "-,Enabled"
textline "                 "
bitfld.long 0x08 16. " GADDR79  ,Group hash table entry 79 enable" "-,Enabled"
bitfld.long 0x08 15. "  GADDR80  ,Group hash table entry 80 enable" "-,Enabled"
bitfld.long 0x08 14. "  GADDR81  ,Group hash table entry 81 enable" "-,Enabled"
textline "                 "
bitfld.long 0x08 13. " GADDR82  ,Group hash table entry 82 enable" "-,Enabled"
bitfld.long 0x08 12. "  GADDR83  ,Group hash table entry 83 enable" "-,Enabled"
bitfld.long 0x08 11. "  GADDR84  ,Group hash table entry 84 enable" "-,Enabled"
textline "                 "
bitfld.long 0x08 10. " GADDR85  ,Group hash table entry 85 enable" "-,Enabled"
bitfld.long 0x08 9. "  GADDR86  ,Group hash table entry 86 enable" "-,Enabled"
bitfld.long 0x08 8. "  GADDR87  ,Group hash table entry 87 enable" "-,Enabled"
textline "                 "
bitfld.long 0x08 7. " GADDR88  ,Group hash table entry 88 enable" "-,Enabled"
bitfld.long 0x08 6. "  GADDR89  ,Group hash table entry 89 enable" "-,Enabled"
bitfld.long 0x08 5. "  GADDR90  ,Group hash table entry 90 enable" "-,Enabled"
textline "                 "
bitfld.long 0x08 4. " GADDR91  ,Group hash table entry 91 enable" "-,Enabled"
bitfld.long 0x08 3. "  GADDR92  ,Group hash table entry 92 enable" "-,Enabled"
bitfld.long 0x08 2. "  GADDR93  ,Group hash table entry 93 enable" "-,Enabled"
textline "                 "
bitfld.long 0x08 1. " GADDR94  ,Group hash table entry 94 enable" "-,Enabled"
bitfld.long 0x08 0. "  GADDR95  ,Group hash table entry 95 enable" "-,Enabled"
line.long 0x0c "GADDR3,Group Address Register 3"
bitfld.long 0x0c 31. " GADDR96  ,Group hash table entry 96 enable" "-,Enabled"
bitfld.long 0x0c 30. "  GADDR97  ,Group hash table entry 97 enable" "-,Enabled"
bitfld.long 0x0c 29. "  GADDR98  ,Group hash table entry 98 enable" "-,Enabled"
textline "                 "
bitfld.long 0x0c 28. " GADDR99  ,Group hash table entry 99 enable" "-,Enabled"
bitfld.long 0x0c 27. "  GADDR100 ,Group hash table entry 100 enable" "-,Enabled"
bitfld.long 0x0c 26. "  GADDR101 ,Group hash table entry 101 enable" "-,Enabled"
textline "                 "
bitfld.long 0x0c 25. " GADDR102 ,Group hash table entry 102 enable" "-,Enabled"
bitfld.long 0x0c 24. "  GADDR103 ,Group hash table entry 103 enable" "-,Enabled"
bitfld.long 0x0c 23. "  GADDR104 ,Group hash table entry 104 enable" "-,Enabled"
textline "                 "
bitfld.long 0x0c 22. " GADDR105 ,Group hash table entry 105 enable" "-,Enabled"
bitfld.long 0x0c 21. "  GADDR106 ,Group hash table entry 106 enable" "-,Enabled"
bitfld.long 0x0c 20. "  GADDR107 ,Group hash table entry 107 enable" "-,Enabled"
textline "                 "
bitfld.long 0x0c 19. " GADDR108 ,Group hash table entry 108 enable" "-,Enabled"
bitfld.long 0x0c 18. "  GADDR109 ,Group hash table entry 109 enable" "-,Enabled"
bitfld.long 0x0c 17. "  GADDR110 ,Group hash table entry 110 enable" "-,Enabled"
textline "                 "
bitfld.long 0x0c 16. " GADDR111 ,Group hash table entry 111 enable" "-,Enabled"
bitfld.long 0x0c 15. "  GADDR112 ,Group hash table entry 112 enable" "-,Enabled"
bitfld.long 0x0c 14. "  GADDR113 ,Group hash table entry 113 enable" "-,Enabled"
textline "                 "
bitfld.long 0x0c 13. " GADDR114 ,Group hash table entry 114 enable" "-,Enabled"
bitfld.long 0x0c 12. "  GADDR115 ,Group hash table entry 115 enable" "-,Enabled"
bitfld.long 0x0c 11. "  GADDR116 ,Group hash table entry 116 enable" "-,Enabled"
textline "                 "
bitfld.long 0x0c 10. " GADDR117 ,Group hash table entry 117 enable" "-,Enabled"
bitfld.long 0x0c 9. "  GADDR118 ,Group hash table entry 118 enable" "-,Enabled"
bitfld.long 0x0c 8. "  GADDR119 ,Group hash table entry 119 enable" "-,Enabled"
textline "                 "
bitfld.long 0x0c 7. " GADDR120 ,Group hash table entry 120 enable" "-,Enabled"
bitfld.long 0x0c 6. "  GADDR121 ,Group hash table entry 121 enable" "-,Enabled"
bitfld.long 0x0c 5. "  GADDR122 ,Group hash table entry 122 enable" "-,Enabled"
textline "                 "
bitfld.long 0x0c 4. " GADDR123 ,Group hash table entry 123 enable" "-,Enabled"
bitfld.long 0x0c 3. "  GADDR124 ,Group hash table entry 124 enable" "-,Enabled"
bitfld.long 0x0c 2. "  GADDR125 ,Group hash table entry 125 enable" "-,Enabled"
textline "                 "
bitfld.long 0x0c 1. " GADDR126 ,Group hash table entry 126 enable" "-,Enabled"
bitfld.long 0x0c 0. "  GADDR127 ,Group hash table entry 127 enable" "-,Enabled"
line.long 0x10 "GADDR4,Group Address Register 4"
bitfld.long 0x10 31. " GADDR128 ,Group hash table entry 128 enable" "-,Enabled"
bitfld.long 0x10 30. "  GADDR129 ,Group hash table entry 129 enable" "-,Enabled"
bitfld.long 0x10 29. "  GADDR130 ,Group hash table entry 130 enable" "-,Enabled"
textline "                 "
bitfld.long 0x10 28. " GADDR131 ,Group hash table entry 131 enable" "-,Enabled"
bitfld.long 0x10 27. "  GADDR132 ,Group hash table entry 132 enable" "-,Enabled"
bitfld.long 0x10 26. "  GADDR133 ,Group hash table entry 133 enable" "-,Enabled"
textline "                 "
bitfld.long 0x10 25. " GADDR134 ,Group hash table entry 134 enable" "-,Enabled"
bitfld.long 0x10 24. "  GADDR135 ,Group hash table entry 135 enable" "-,Enabled"
bitfld.long 0x10 23. "  GADDR136 ,Group hash table entry 136 enable" "-,Enabled"
textline "                 "
bitfld.long 0x10 22. " GADDR137 ,Group hash table entry 137 enable" "-,Enabled"
bitfld.long 0x10 21. "  GADDR138 ,Group hash table entry 138 enable" "-,Enabled"
bitfld.long 0x10 20. "  GADDR139 ,Group hash table entry 139 enable" "-,Enabled"
textline "                 "
bitfld.long 0x10 19. " GADDR140 ,Group hash table entry 140 enable" "-,Enabled"
bitfld.long 0x10 18. "  GADDR141 ,Group hash table entry 141 enable" "-,Enabled"
bitfld.long 0x10 17. "  GADDR142 ,Group hash table entry 142 enable" "-,Enabled"
textline "                 "
bitfld.long 0x10 16. " GADDR143 ,Group hash table entry 143 enable" "-,Enabled"
bitfld.long 0x10 15. "  GADDR144 ,Group hash table entry 144 enable" "-,Enabled"
bitfld.long 0x10 14. "  GADDR145 ,Group hash table entry 145 enable" "-,Enabled"
textline "                 "
bitfld.long 0x10 13. " GADDR146 ,Group hash table entry 146 enable" "-,Enabled"
bitfld.long 0x10 12. "  GADDR147 ,Group hash table entry 147 enable" "-,Enabled"
bitfld.long 0x10 11. "  GADDR148 ,Group hash table entry 148 enable" "-,Enabled"
textline "                 "
bitfld.long 0x10 10. " GADDR149 ,Group hash table entry 149 enable" "-,Enabled"
bitfld.long 0x10 9. "  GADDR150 ,Group hash table entry 150 enable" "-,Enabled"
bitfld.long 0x10 8. "  GADDR151 ,Group hash table entry 151 enable" "-,Enabled"
textline "                 "
bitfld.long 0x10 7. " GADDR152 ,Group hash table entry 152 enable" "-,Enabled"
bitfld.long 0x10 6. "  GADDR153 ,Group hash table entry 153 enable" "-,Enabled"
bitfld.long 0x10 5. "  GADDR154 ,Group hash table entry 154 enable" "-,Enabled"
textline "                 "
bitfld.long 0x10 4. " GADDR155 ,Group hash table entry 155 enable" "-,Enabled"
bitfld.long 0x10 3. "  GADDR156 ,Group hash table entry 156 enable" "-,Enabled"
bitfld.long 0x10 2. "  GADDR157 ,Group hash table entry 157 enable" "-,Enabled"
textline "                 "
bitfld.long 0x10 1. " GADDR158 ,Group hash table entry 158 enable" "-,Enabled"
bitfld.long 0x10 0. "  GADDR159 ,Group hash table entry 159 enable" "-,Enabled"
line.long 0x14 "GADDR5,Group Address Register 5"
bitfld.long 0x14 31. " GADDR160 ,Group hash table entry 160 enable" "-,Enabled"
bitfld.long 0x14 30. "  GADDR161 ,Group hash table entry 161 enable" "-,Enabled"
bitfld.long 0x14 29. "  GADDR162 ,Group hash table entry 162 enable" "-,Enabled"
textline "                 "
bitfld.long 0x14 28. " GADDR163 ,Group hash table entry 163 enable" "-,Enabled"
bitfld.long 0x14 27. "  GADDR164 ,Group hash table entry 164 enable" "-,Enabled"
bitfld.long 0x14 26. "  GADDR165 ,Group hash table entry 165 enable" "-,Enabled"
textline "                 "
bitfld.long 0x14 25. " GADDR166 ,Group hash table entry 166 enable" "-,Enabled"
bitfld.long 0x14 24. "  GADDR167 ,Group hash table entry 167 enable" "-,Enabled"
bitfld.long 0x14 23. "  GADDR168 ,Group hash table entry 168 enable" "-,Enabled"
textline "                 "
bitfld.long 0x14 22. " GADDR169 ,Group hash table entry 169 enable" "-,Enabled"
bitfld.long 0x14 21. "  GADDR170 ,Group hash table entry 170 enable" "-,Enabled"
bitfld.long 0x14 20. "  GADDR171 ,Group hash table entry 171 enable" "-,Enabled"
textline "                 "
bitfld.long 0x14 19. " GADDR172 ,Group hash table entry 172 enable" "-,Enabled"
bitfld.long 0x14 18. "  GADDR173 ,Group hash table entry 173 enable" "-,Enabled"
bitfld.long 0x14 17. "  GADDR174 ,Group hash table entry 174 enable" "-,Enabled"
textline "                 "
bitfld.long 0x14 16. " GADDR175 ,Group hash table entry 175 enable" "-,Enabled"
bitfld.long 0x14 15. "  GADDR176 ,Group hash table entry 176 enable" "-,Enabled"
bitfld.long 0x14 14. "  GADDR177 ,Group hash table entry 177 enable" "-,Enabled"
textline "                 "
bitfld.long 0x14 13. " GADDR178 ,Group hash table entry 178 enable" "-,Enabled"
bitfld.long 0x14 12. "  GADDR179 ,Group hash table entry 179 enable" "-,Enabled"
bitfld.long 0x14 11. "  GADDR180 ,Group hash table entry 180 enable" "-,Enabled"
textline "                 "
bitfld.long 0x14 10. " GADDR181 ,Group hash table entry 181 enable" "-,Enabled"
bitfld.long 0x14 9. "  GADDR182 ,Group hash table entry 182 enable" "-,Enabled"
bitfld.long 0x14 8. "  GADDR183 ,Group hash table entry 183 enable" "-,Enabled"
textline "                 "
bitfld.long 0x14 7. " GADDR184 ,Group hash table entry 184 enable" "-,Enabled"
bitfld.long 0x14 6. "  GADDR185 ,Group hash table entry 185 enable" "-,Enabled"
bitfld.long 0x14 5. "  GADDR186 ,Group hash table entry 186 enable" "-,Enabled"
textline "                 "
bitfld.long 0x14 4. " GADDR187 ,Group hash table entry 187 enable" "-,Enabled"
bitfld.long 0x14 3. "  GADDR188 ,Group hash table entry 188 enable" "-,Enabled"
bitfld.long 0x14 2. "  GADDR189 ,Group hash table entry 189 enable" "-,Enabled"
textline "                 "
bitfld.long 0x14 1. " GADDR190 ,Group hash table entry 190 enable" "-,Enabled"
bitfld.long 0x14 0. "  GADDR191 ,Group hash table entry 191 enable" "-,Enabled"
line.long 0x18 "GADDR6,Group Address Register 6"
bitfld.long 0x18 31. " GADDR192 ,Group hash table entry 192 enable" "-,Enabled"
bitfld.long 0x18 30. "  GADDR193 ,Group hash table entry 193 enable" "-,Enabled"
bitfld.long 0x18 29. "  GADDR194 ,Group hash table entry 194 enable" "-,Enabled"
textline "                 "
bitfld.long 0x18 28. " GADDR195 ,Group hash table entry 195 enable" "-,Enabled"
bitfld.long 0x18 27. "  GADDR196 ,Group hash table entry 196 enable" "-,Enabled"
bitfld.long 0x18 26. "  GADDR197 ,Group hash table entry 197 enable" "-,Enabled"
textline "                 "
bitfld.long 0x18 25. " GADDR198 ,Group hash table entry 198 enable" "-,Enabled"
bitfld.long 0x18 24. "  GADDR199 ,Group hash table entry 199 enable" "-,Enabled"
bitfld.long 0x18 23. "  GADDR200 ,Group hash table entry 200 enable" "-,Enabled"
textline "                 "
bitfld.long 0x18 22. " GADDR201 ,Group hash table entry 201 enable" "-,Enabled"
bitfld.long 0x18 21. "  GADDR202 ,Group hash table entry 202 enable" "-,Enabled"
bitfld.long 0x18 20. "  GADDR203 ,Group hash table entry 203 enable" "-,Enabled"
textline "                 "
bitfld.long 0x18 19. " GADDR204 ,Group hash table entry 204 enable" "-,Enabled"
bitfld.long 0x18 18. "  GADDR205 ,Group hash table entry 205 enable" "-,Enabled"
bitfld.long 0x18 17. "  GADDR206 ,Group hash table entry 206 enable" "-,Enabled"
textline "                 "
bitfld.long 0x18 16. " GADDR207 ,Group hash table entry 207 enable" "-,Enabled"
bitfld.long 0x18 15. "  GADDR208 ,Group hash table entry 208 enable" "-,Enabled"
bitfld.long 0x18 14. "  GADDR209 ,Group hash table entry 209 enable" "-,Enabled"
textline "                 "
bitfld.long 0x18 13. " GADDR210 ,Group hash table entry 210 enable" "-,Enabled"
bitfld.long 0x18 12. "  GADDR211 ,Group hash table entry 211 enable" "-,Enabled"
bitfld.long 0x18 11. "  GADDR212 ,Group hash table entry 212 enable" "-,Enabled"
textline "                 "
bitfld.long 0x18 10. " GADDR213 ,Group hash table entry 213 enable" "-,Enabled"
bitfld.long 0x18 9. "  GADDR214 ,Group hash table entry 214 enable" "-,Enabled"
bitfld.long 0x18 8. "  GADDR215 ,Group hash table entry 215 enable" "-,Enabled"
textline "                 "
bitfld.long 0x18 7. " GADDR216 ,Group hash table entry 216 enable" "-,Enabled"
bitfld.long 0x18 6. "  GADDR217 ,Group hash table entry 217 enable" "-,Enabled"
bitfld.long 0x18 5. "  GADDR218 ,Group hash table entry 218 enable" "-,Enabled"
textline "                 "
bitfld.long 0x18 4. " GADDR219 ,Group hash table entry 219 enable" "-,Enabled"
bitfld.long 0x18 3. "  GADDR220 ,Group hash table entry 220 enable" "-,Enabled"
bitfld.long 0x18 2. "  GADDR221 ,Group hash table entry 221 enable" "-,Enabled"
textline "                 "
bitfld.long 0x18 1. " GADDR222 ,Group hash table entry 222 enable" "-,Enabled"
bitfld.long 0x18 0. "  GADDR223 ,Group hash table entry 223 enable" "-,Enabled"
line.long 0x1c "GADDR7,Group Address Register 7"
bitfld.long 0x1c 31. " GADDR224 ,Group hash table entry 224 enable" "-,Enabled"
bitfld.long 0x1c 30. "  GADDR225 ,Group hash table entry 225 enable" "-,Enabled"
bitfld.long 0x1c 29. "  GADDR226 ,Group hash table entry 226 enable" "-,Enabled"
textline "                 "
bitfld.long 0x1c 28. " GADDR227 ,Group hash table entry 227 enable" "-,Enabled"
bitfld.long 0x1c 27. "  GADDR228 ,Group hash table entry 228 enable" "-,Enabled"
bitfld.long 0x1c 26. "  GADDR229 ,Group hash table entry 229 enable" "-,Enabled"
textline "                 "
bitfld.long 0x1c 25. " GADDR230 ,Group hash table entry 230 enable" "-,Enabled"
bitfld.long 0x1c 24. "  GADDR231 ,Group hash table entry 231 enable" "-,Enabled"
bitfld.long 0x1c 23. "  GADDR232 ,Group hash table entry 232 enable" "-,Enabled"
textline "                 "
bitfld.long 0x1c 22. " GADDR233 ,Group hash table entry 233 enable" "-,Enabled"
bitfld.long 0x1c 21. "  GADDR234 ,Group hash table entry 234 enable" "-,Enabled"
bitfld.long 0x1c 20. "  GADDR235 ,Group hash table entry 235 enable" "-,Enabled"
textline "                 "
bitfld.long 0x1c 19. " GADDR236 ,Group hash table entry 236 enable" "-,Enabled"
bitfld.long 0x1c 18. "  GADDR237 ,Group hash table entry 237 enable" "-,Enabled"
bitfld.long 0x1c 17. "  GADDR238 ,Group hash table entry 238 enable" "-,Enabled"
textline "                 "
bitfld.long 0x1c 16. " GADDR239 ,Group hash table entry 239 enable" "-,Enabled"
bitfld.long 0x1c 15. "  GADDR240 ,Group hash table entry 240 enable" "-,Enabled"
bitfld.long 0x1c 14. "  GADDR241 ,Group hash table entry 241 enable" "-,Enabled"
textline "                 "
bitfld.long 0x1c 13. " GADDR242 ,Group hash table entry 242 enable" "-,Enabled"
bitfld.long 0x1c 12. "  GADDR243 ,Group hash table entry 243 enable" "-,Enabled"
bitfld.long 0x1c 11. "  GADDR244 ,Group hash table entry 244 enable" "-,Enabled"
textline "                 "
bitfld.long 0x1c 10. " GADDR245 ,Group hash table entry 245 enable" "-,Enabled"
bitfld.long 0x1c 9. "  GADDR246 ,Group hash table entry 246 enable" "-,Enabled"
bitfld.long 0x1c 8. "  GADDR247 ,Group hash table entry 247 enable" "-,Enabled"
textline "                 "
bitfld.long 0x1c 7. " GADDR248 ,Group hash table entry 248 enable" "-,Enabled"
bitfld.long 0x1c 6. "  GADDR249 ,Group hash table entry 249 enable" "-,Enabled"
bitfld.long 0x1c 5. "  GADDR250 ,Group hash table entry 250 enable" "-,Enabled"
textline "                 "
bitfld.long 0x1c 4. " GADDR251 ,Group hash table entry 251 enable" "-,Enabled"
bitfld.long 0x1c 3. "  GADDR252 ,Group hash table entry 252 enable" "-,Enabled"
bitfld.long 0x1c 2. "  GADDR253 ,Group hash table entry 253 enable" "-,Enabled"
textline "                 "
bitfld.long 0x1c 1. " GADDR254 ,Group hash table entry 254 enable" "-,Enabled"
bitfld.long 0x1c 0. "  GADDR255 ,Group hash table entry 255 enable" "-,Enabled"
width 0xb
tree.end
tree "eTSEC2 Attribute Registers"
width 9.
group.long (0x25000+0xbf8)++0x7
line.long 0x00 "ATTR,Attribute Register"
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315")&&(CPU()!="MPC8308"))
bitfld.long 0x00 13.--14. " ELCWT ,Extracted L2 cache write type" "-,,Allocated,"
bitfld.long 0x00 10.--11. "  BDLWT  ,Buffer descriptor L2 cache write type" "-,,Allocated,"
textline "                  "
endif
bitfld.long 0x00 7. " RDSEN ,Rx data snoop enable" "-,Enabled"
bitfld.long 0x00 6. "    RBDSEN ,RxBD snoop enable" "-,Enabled"
line.long 0x04 "ATTRELI,Attribute Extract Length and Extract Index Register"
hexmask.long.word 0x04 19.--29. 1. " EL    ,Extracted length"
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315")&&(CPU()!="MPC8308"))
hexmask.long.word 0x04  3.--13. 1. "       EI     ,Extracted index"
else
hexmask.long.byte 0x04  6.--13. 1. "       EI     ,Extracted index"
endif
width 0xb
tree.end
;tree "eTSEC2 Future Expansion Space"
;    %include mpc831x/etsec_fes.ph (0x25000+0xe00)
;tree.end 
sif ((CPU()=="MPC8314")||(CPU()=="MPC8315")||(CPU()=="MPC8308"))
tree "eTSEC2 Lossless Flow Control Configuration Registers"
width 0x9
group.long (0x25000+0xc00)++0x1f
line.long 0x0 "RQPRM0,Receive Queue Parameters 0"
hexmask.long.byte 0x0 24.--31. 1. " FBTHR   ,Free BD threshold"
hexmask.long.tbyte 0x0 0.--23. 1. "        LEN ,Ring length"
line.long 0x4 "RQPRM1,Receive Queue Parameters 1"
hexmask.long.byte 0x4 24.--31. 1. " FBTHR   ,Free BD threshold"
hexmask.long.tbyte 0x4 0.--23. 1. "        LEN ,Ring length"
line.long 0x8 "RQPRM2,Receive Queue Parameters 2"
hexmask.long.byte 0x8 24.--31. 1. " FBTHR   ,Free BD threshold"
hexmask.long.tbyte 0x8 0.--23. 1. "        LEN ,Ring length"
line.long 0xC "RQPRM3,Receive Queue Parameters 3"
hexmask.long.byte 0xC 24.--31. 1. " FBTHR   ,Free BD threshold"
hexmask.long.tbyte 0xC 0.--23. 1. "        LEN ,Ring length"
line.long 0x10 "RQPRM4,Receive Queue Parameters 4"
hexmask.long.byte 0x10 24.--31. 1. " FBTHR   ,Free BD threshold"
hexmask.long.tbyte 0x10 0.--23. 1. "        LEN ,Ring length"
line.long 0x14 "RQPRM5,Receive Queue Parameters 5"
hexmask.long.byte 0x14 24.--31. 1. " FBTHR   ,Free BD threshold"
hexmask.long.tbyte 0x14 0.--23. 1. "        LEN ,Ring length"
line.long 0x18 "RQPRM6,Receive Queue Parameters 6"
hexmask.long.byte 0x18 24.--31. 1. " FBTHR   ,Free BD threshold"
hexmask.long.tbyte 0x18 0.--23. 1. "        LEN ,Ring length"
line.long 0x1C "RQPRM7,Receive Queue Parameters 7"
hexmask.long.byte 0x1C 24.--31. 1. " FBTHR   ,Free BD threshold"
hexmask.long.tbyte 0x1C 0.--23. 1. "        LEN ,Ring length"
group.long ((0x25000+0xc00)+0x44)++0x03
line.long 0x00 "RFBPTR0,Receive Free Buffer Descriptor Pointer Register 0"
hexmask.long 0x00 3.--31. 0x8 " RFBPTR0 ,Pointer to the last free BD in RxBD Ring 0"
group.long ((0x25000+0xc00)+0x4c)++0x03
line.long 0x00 "RFBPTR1,Receive Free Buffer Descriptor Pointer Register 1"
hexmask.long 0x00 3.--31. 0x8 " RFBPTR1 ,Pointer to the last free BD in RxBD Ring 1"
group.long ((0x25000+0xc00)+0x54)++0x03
line.long 0x00 "RFBPTR2,Receive Free Buffer Descriptor Pointer Register 2"
hexmask.long 0x00 3.--31. 0x8 " RFBPTR2 ,Pointer to the last free BD in RxBD Ring 2"
group.long ((0x25000+0xc00)+0x5c)++0x03
line.long 0x00 "RFBPTR3,Receive Free Buffer Descriptor Pointer Register 3"
hexmask.long 0x00 3.--31. 0x8 " RFBPTR3 ,Pointer to the last free BD in RxBD Ring 3"
group.long ((0x25000+0xc00)+0x64)++0x03
line.long 0x00 "RFBPTR4,Receive Free Buffer Descriptor Pointer Register 4"
hexmask.long 0x00 3.--31. 0x8 " RFBPTR4 ,Pointer to the last free BD in RxBD Ring 4"
group.long ((0x25000+0xc00)+0x6c)++0x03
line.long 0x00 "RFBPTR5,Receive Free Buffer Descriptor Pointer Register 5"
hexmask.long 0x00 3.--31. 0x8 " RFBPTR5 ,Pointer to the last free BD in RxBD Ring 5"
group.long ((0x25000+0xc00)+0x74)++0x03
line.long 0x00 "RFBPTR6,Receive Free Buffer Descriptor Pointer Register 6"
hexmask.long 0x00 3.--31. 0x8 " RFBPTR6 ,Pointer to the last free BD in RxBD Ring 6"
group.long ((0x25000+0xc00)+0x7c)++0x03
line.long 0x00 "RFBPTR7,Receive Free Buffer Descriptor Pointer Register 7"
hexmask.long 0x00 3.--31. 0x8 " RFBPTR7 ,Pointer to the last free BD in RxBD Ring 7"
tree.end 
sif (CPU()!="MPC8308")
tree "Data Buffer Desriptors"
tree "Data Buffer Descriptor 0"
width 0xa
base ANC:(((d.l.be(anc:iobase()+0x25000+0x204+0x0))&0xfffffff8))
group.word 0x00++0x03 "Transmit Data Buffer Descriptor"   
line.word 0x00 "TxBDSCR,Transmit Data Buffer Descriptor Status/Control Register"
bitfld.word 0x00 15. " R       ,Ready" "-,Ready"
bitfld.word 0x00 14. "                     PAD/CRC ,Padding for frames" "-,Added"
textline "               "
bitfld.word 0x00 13. " W       ,Wrap location" "Consecutive,Defined in TBASE"
bitfld.word 0x00 12. "          I       ,Interrupt" "-,Generated"
textline "               "
bitfld.word 0x00 11. " L       ,Last in frame" "-,Last"
bitfld.word 0x00 10. "                      TC      ,Tx CRC" "-,Transmitted"
textline "               "
bitfld.word 0x00 9. " PRE/DEF ,Transmit user-defined Ethernet preamble/Defer indication" "No preamble/Not deferred,Preamble/Deferred"
bitfld.word 0x00 7. "  HFE/LC  ,Huge frame enable/Late collision" "Not truncated/No late collision,Truncated/Late collision"
textline "               "
bitfld.word 0x00 6. " CF/LR   ,Control Frame/Retransmission Limit" "Regular/Not failed,Control/Failed"
bitfld.word 0x00 2.--5. "        RC      ,Retry Count" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
textline "               "
bitfld.word 0x00 1. " UN/TOE  ,Underrun|TCP/IP off-load enable" "No underrun/No off-load,Underrun/Off-load"
bitfld.word 0x00 0. "   TR      ,Truncation" "-,Truncated"
line.word 0x02 "TxBDDLR,Transmit Data Buffer Descriptor Data Length Register"
group.word 0x04++0x03
line.word 0x00 "TxBDPRH,Transmit Data Buffer Descriptor Pointer High"
line.word 0x02 "TxBDPRL,Transmit Data Buffer Descriptor Pointer Low"
base ANC:(((d.l.be(anc:iobase()+0x25000+0x404+0x0))&0xfffffff8))
group.word 0x00++0x03 "Receive Data Buffer Descriptor"
line.word 0x00 "RxBDSCR,Receive Data Buffer Descriptor Status/Control Register"
bitfld.word 0x00 15. " E       ,Empty" "-,Empty"
bitfld.word 0x00 14. "                     RO1     ,Receive software ownership bit" "Low,High"
textline "               "        
bitfld.word 0x00 13. " W       ,Wrap location" "Consecutive,Defined in RBASE"
bitfld.word 0x00 12. "          I       ,Interrupt" "-,Generated"
textline "               "        
bitfld.word 0x00 11. " L       ,Last in frame" "-,Last"        
bitfld.word 0x00 10. "                      F       ,First in frame" "-,First"        
textline "               "        
bitfld.word 0x00 8. " M       ,Miss" "Address recognition,Promiscuous mode"
bitfld.word 0x00 7. "       BC      ,Broadcast" "-,Broadcast"
textline "               "        
bitfld.word 0x00 6. " MAC     ,Multicast" "-,Multicast"
bitfld.word 0x00 5. "                 LG      ,Rx frame length violation" "-,Occurred"
textline "               "        
bitfld.word 0x00 4. " NO      ,Rx non-octet aligned frame" "-,Occurred"
bitfld.word 0x00 3. "                  SH      ,Short frame" "-,Occurred"
textline "               "        
bitfld.word 0x00 2. " CR      ,Rx CRC error" "-,Error"
bitfld.word 0x00 1. "                     OV      , Overrun" "-,Occurred"
textline "               "        
bitfld.word 0x00 0. " TR      ,Truncation" "-,Truncated"        
line.word 0x02 "RxBDDLR,Receive Data Buffer Descriptor Data Length Register"
group.word 0x04++0x03
line.word 0x00 "RxBDPRH,Receive Data Buffer Descriptor Pointer High"
line.word 0x02 "RxBDPRL,Receive Data Buffer Descriptor Pointer Low"
tree.end
tree "Data Buffer Descriptor 1"
width 0xa
base ANC:(((d.l.be(anc:iobase()+0x25000+0x204+0x8))&0xfffffff8))
group.word 0x00++0x03 "Transmit Data Buffer Descriptor"   
line.word 0x00 "TxBDSCR,Transmit Data Buffer Descriptor Status/Control Register"
bitfld.word 0x00 15. " R       ,Ready" "-,Ready"
bitfld.word 0x00 14. "                     PAD/CRC ,Padding for frames" "-,Added"
textline "               "
bitfld.word 0x00 13. " W       ,Wrap location" "Consecutive,Defined in TBASE"
bitfld.word 0x00 12. "          I       ,Interrupt" "-,Generated"
textline "               "
bitfld.word 0x00 11. " L       ,Last in frame" "-,Last"
bitfld.word 0x00 10. "                      TC      ,Tx CRC" "-,Transmitted"
textline "               "
bitfld.word 0x00 9. " PRE/DEF ,Transmit user-defined Ethernet preamble/Defer indication" "No preamble/Not deferred,Preamble/Deferred"
bitfld.word 0x00 7. "  HFE/LC  ,Huge frame enable/Late collision" "Not truncated/No late collision,Truncated/Late collision"
textline "               "
bitfld.word 0x00 6. " CF/LR   ,Control Frame/Retransmission Limit" "Regular/Not failed,Control/Failed"
bitfld.word 0x00 2.--5. "        RC      ,Retry Count" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
textline "               "
bitfld.word 0x00 1. " UN/TOE  ,Underrun|TCP/IP off-load enable" "No underrun/No off-load,Underrun/Off-load"
bitfld.word 0x00 0. "   TR      ,Truncation" "-,Truncated"
line.word 0x02 "TxBDDLR,Transmit Data Buffer Descriptor Data Length Register"
group.word 0x04++0x03
line.word 0x00 "TxBDPRH,Transmit Data Buffer Descriptor Pointer High"
line.word 0x02 "TxBDPRL,Transmit Data Buffer Descriptor Pointer Low"
base ANC:(((d.l.be(anc:iobase()+0x25000+0x404+0x8))&0xfffffff8))
group.word 0x00++0x03 "Receive Data Buffer Descriptor"
line.word 0x00 "RxBDSCR,Receive Data Buffer Descriptor Status/Control Register"
bitfld.word 0x00 15. " E       ,Empty" "-,Empty"
bitfld.word 0x00 14. "                     RO1     ,Receive software ownership bit" "Low,High"
textline "               "        
bitfld.word 0x00 13. " W       ,Wrap location" "Consecutive,Defined in RBASE"
bitfld.word 0x00 12. "          I       ,Interrupt" "-,Generated"
textline "               "        
bitfld.word 0x00 11. " L       ,Last in frame" "-,Last"        
bitfld.word 0x00 10. "                      F       ,First in frame" "-,First"        
textline "               "        
bitfld.word 0x00 8. " M       ,Miss" "Address recognition,Promiscuous mode"
bitfld.word 0x00 7. "       BC      ,Broadcast" "-,Broadcast"
textline "               "        
bitfld.word 0x00 6. " MAC     ,Multicast" "-,Multicast"
bitfld.word 0x00 5. "                 LG      ,Rx frame length violation" "-,Occurred"
textline "               "        
bitfld.word 0x00 4. " NO      ,Rx non-octet aligned frame" "-,Occurred"
bitfld.word 0x00 3. "                  SH      ,Short frame" "-,Occurred"
textline "               "        
bitfld.word 0x00 2. " CR      ,Rx CRC error" "-,Error"
bitfld.word 0x00 1. "                     OV      , Overrun" "-,Occurred"
textline "               "        
bitfld.word 0x00 0. " TR      ,Truncation" "-,Truncated"        
line.word 0x02 "RxBDDLR,Receive Data Buffer Descriptor Data Length Register"
group.word 0x04++0x03
line.word 0x00 "RxBDPRH,Receive Data Buffer Descriptor Pointer High"
line.word 0x02 "RxBDPRL,Receive Data Buffer Descriptor Pointer Low"
tree.end
tree "Data Buffer Descriptor 2"
width 0xa
base ANC:(((d.l.be(anc:iobase()+0x25000+0x204+0x10))&0xfffffff8))
group.word 0x00++0x03 "Transmit Data Buffer Descriptor"   
line.word 0x00 "TxBDSCR,Transmit Data Buffer Descriptor Status/Control Register"
bitfld.word 0x00 15. " R       ,Ready" "-,Ready"
bitfld.word 0x00 14. "                     PAD/CRC ,Padding for frames" "-,Added"
textline "               "
bitfld.word 0x00 13. " W       ,Wrap location" "Consecutive,Defined in TBASE"
bitfld.word 0x00 12. "          I       ,Interrupt" "-,Generated"
textline "               "
bitfld.word 0x00 11. " L       ,Last in frame" "-,Last"
bitfld.word 0x00 10. "                      TC      ,Tx CRC" "-,Transmitted"
textline "               "
bitfld.word 0x00 9. " PRE/DEF ,Transmit user-defined Ethernet preamble/Defer indication" "No preamble/Not deferred,Preamble/Deferred"
bitfld.word 0x00 7. "  HFE/LC  ,Huge frame enable/Late collision" "Not truncated/No late collision,Truncated/Late collision"
textline "               "
bitfld.word 0x00 6. " CF/LR   ,Control Frame/Retransmission Limit" "Regular/Not failed,Control/Failed"
bitfld.word 0x00 2.--5. "        RC      ,Retry Count" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
textline "               "
bitfld.word 0x00 1. " UN/TOE  ,Underrun|TCP/IP off-load enable" "No underrun/No off-load,Underrun/Off-load"
bitfld.word 0x00 0. "   TR      ,Truncation" "-,Truncated"
line.word 0x02 "TxBDDLR,Transmit Data Buffer Descriptor Data Length Register"
group.word 0x04++0x03
line.word 0x00 "TxBDPRH,Transmit Data Buffer Descriptor Pointer High"
line.word 0x02 "TxBDPRL,Transmit Data Buffer Descriptor Pointer Low"
base ANC:(((d.l.be(anc:iobase()+0x25000+0x404+0x10))&0xfffffff8))
group.word 0x00++0x03 "Receive Data Buffer Descriptor"
line.word 0x00 "RxBDSCR,Receive Data Buffer Descriptor Status/Control Register"
bitfld.word 0x00 15. " E       ,Empty" "-,Empty"
bitfld.word 0x00 14. "                     RO1     ,Receive software ownership bit" "Low,High"
textline "               "        
bitfld.word 0x00 13. " W       ,Wrap location" "Consecutive,Defined in RBASE"
bitfld.word 0x00 12. "          I       ,Interrupt" "-,Generated"
textline "               "        
bitfld.word 0x00 11. " L       ,Last in frame" "-,Last"        
bitfld.word 0x00 10. "                      F       ,First in frame" "-,First"        
textline "               "        
bitfld.word 0x00 8. " M       ,Miss" "Address recognition,Promiscuous mode"
bitfld.word 0x00 7. "       BC      ,Broadcast" "-,Broadcast"
textline "               "        
bitfld.word 0x00 6. " MAC     ,Multicast" "-,Multicast"
bitfld.word 0x00 5. "                 LG      ,Rx frame length violation" "-,Occurred"
textline "               "        
bitfld.word 0x00 4. " NO      ,Rx non-octet aligned frame" "-,Occurred"
bitfld.word 0x00 3. "                  SH      ,Short frame" "-,Occurred"
textline "               "        
bitfld.word 0x00 2. " CR      ,Rx CRC error" "-,Error"
bitfld.word 0x00 1. "                     OV      , Overrun" "-,Occurred"
textline "               "        
bitfld.word 0x00 0. " TR      ,Truncation" "-,Truncated"        
line.word 0x02 "RxBDDLR,Receive Data Buffer Descriptor Data Length Register"
group.word 0x04++0x03
line.word 0x00 "RxBDPRH,Receive Data Buffer Descriptor Pointer High"
line.word 0x02 "RxBDPRL,Receive Data Buffer Descriptor Pointer Low"
tree.end
tree "Data Buffer Descriptor 3"
width 0xa
base ANC:(((d.l.be(anc:iobase()+0x25000+0x204+0x18))&0xfffffff8))
group.word 0x00++0x03 "Transmit Data Buffer Descriptor"   
line.word 0x00 "TxBDSCR,Transmit Data Buffer Descriptor Status/Control Register"
bitfld.word 0x00 15. " R       ,Ready" "-,Ready"
bitfld.word 0x00 14. "                     PAD/CRC ,Padding for frames" "-,Added"
textline "               "
bitfld.word 0x00 13. " W       ,Wrap location" "Consecutive,Defined in TBASE"
bitfld.word 0x00 12. "          I       ,Interrupt" "-,Generated"
textline "               "
bitfld.word 0x00 11. " L       ,Last in frame" "-,Last"
bitfld.word 0x00 10. "                      TC      ,Tx CRC" "-,Transmitted"
textline "               "
bitfld.word 0x00 9. " PRE/DEF ,Transmit user-defined Ethernet preamble/Defer indication" "No preamble/Not deferred,Preamble/Deferred"
bitfld.word 0x00 7. "  HFE/LC  ,Huge frame enable/Late collision" "Not truncated/No late collision,Truncated/Late collision"
textline "               "
bitfld.word 0x00 6. " CF/LR   ,Control Frame/Retransmission Limit" "Regular/Not failed,Control/Failed"
bitfld.word 0x00 2.--5. "        RC      ,Retry Count" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
textline "               "
bitfld.word 0x00 1. " UN/TOE  ,Underrun|TCP/IP off-load enable" "No underrun/No off-load,Underrun/Off-load"
bitfld.word 0x00 0. "   TR      ,Truncation" "-,Truncated"
line.word 0x02 "TxBDDLR,Transmit Data Buffer Descriptor Data Length Register"
group.word 0x04++0x03
line.word 0x00 "TxBDPRH,Transmit Data Buffer Descriptor Pointer High"
line.word 0x02 "TxBDPRL,Transmit Data Buffer Descriptor Pointer Low"
base ANC:(((d.l.be(anc:iobase()+0x25000+0x404+0x18))&0xfffffff8))
group.word 0x00++0x03 "Receive Data Buffer Descriptor"
line.word 0x00 "RxBDSCR,Receive Data Buffer Descriptor Status/Control Register"
bitfld.word 0x00 15. " E       ,Empty" "-,Empty"
bitfld.word 0x00 14. "                     RO1     ,Receive software ownership bit" "Low,High"
textline "               "        
bitfld.word 0x00 13. " W       ,Wrap location" "Consecutive,Defined in RBASE"
bitfld.word 0x00 12. "          I       ,Interrupt" "-,Generated"
textline "               "        
bitfld.word 0x00 11. " L       ,Last in frame" "-,Last"        
bitfld.word 0x00 10. "                      F       ,First in frame" "-,First"        
textline "               "        
bitfld.word 0x00 8. " M       ,Miss" "Address recognition,Promiscuous mode"
bitfld.word 0x00 7. "       BC      ,Broadcast" "-,Broadcast"
textline "               "        
bitfld.word 0x00 6. " MAC     ,Multicast" "-,Multicast"
bitfld.word 0x00 5. "                 LG      ,Rx frame length violation" "-,Occurred"
textline "               "        
bitfld.word 0x00 4. " NO      ,Rx non-octet aligned frame" "-,Occurred"
bitfld.word 0x00 3. "                  SH      ,Short frame" "-,Occurred"
textline "               "        
bitfld.word 0x00 2. " CR      ,Rx CRC error" "-,Error"
bitfld.word 0x00 1. "                     OV      , Overrun" "-,Occurred"
textline "               "        
bitfld.word 0x00 0. " TR      ,Truncation" "-,Truncated"        
line.word 0x02 "RxBDDLR,Receive Data Buffer Descriptor Data Length Register"
group.word 0x04++0x03
line.word 0x00 "RxBDPRH,Receive Data Buffer Descriptor Pointer High"
line.word 0x02 "RxBDPRL,Receive Data Buffer Descriptor Pointer Low"
tree.end
tree "Data Buffer Descriptor 4"
width 0xa
base ANC:(((d.l.be(anc:iobase()+0x25000+0x204+0x20))&0xfffffff8))
group.word 0x00++0x03 "Transmit Data Buffer Descriptor"   
line.word 0x00 "TxBDSCR,Transmit Data Buffer Descriptor Status/Control Register"
bitfld.word 0x00 15. " R       ,Ready" "-,Ready"
bitfld.word 0x00 14. "                     PAD/CRC ,Padding for frames" "-,Added"
textline "               "
bitfld.word 0x00 13. " W       ,Wrap location" "Consecutive,Defined in TBASE"
bitfld.word 0x00 12. "          I       ,Interrupt" "-,Generated"
textline "               "
bitfld.word 0x00 11. " L       ,Last in frame" "-,Last"
bitfld.word 0x00 10. "                      TC      ,Tx CRC" "-,Transmitted"
textline "               "
bitfld.word 0x00 9. " PRE/DEF ,Transmit user-defined Ethernet preamble/Defer indication" "No preamble/Not deferred,Preamble/Deferred"
bitfld.word 0x00 7. "  HFE/LC  ,Huge frame enable/Late collision" "Not truncated/No late collision,Truncated/Late collision"
textline "               "
bitfld.word 0x00 6. " CF/LR   ,Control Frame/Retransmission Limit" "Regular/Not failed,Control/Failed"
bitfld.word 0x00 2.--5. "        RC      ,Retry Count" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
textline "               "
bitfld.word 0x00 1. " UN/TOE  ,Underrun|TCP/IP off-load enable" "No underrun/No off-load,Underrun/Off-load"
bitfld.word 0x00 0. "   TR      ,Truncation" "-,Truncated"
line.word 0x02 "TxBDDLR,Transmit Data Buffer Descriptor Data Length Register"
group.word 0x04++0x03
line.word 0x00 "TxBDPRH,Transmit Data Buffer Descriptor Pointer High"
line.word 0x02 "TxBDPRL,Transmit Data Buffer Descriptor Pointer Low"
base ANC:(((d.l.be(anc:iobase()+0x25000+0x404+0x20))&0xfffffff8))
group.word 0x00++0x03 "Receive Data Buffer Descriptor"
line.word 0x00 "RxBDSCR,Receive Data Buffer Descriptor Status/Control Register"
bitfld.word 0x00 15. " E       ,Empty" "-,Empty"
bitfld.word 0x00 14. "                     RO1     ,Receive software ownership bit" "Low,High"
textline "               "        
bitfld.word 0x00 13. " W       ,Wrap location" "Consecutive,Defined in RBASE"
bitfld.word 0x00 12. "          I       ,Interrupt" "-,Generated"
textline "               "        
bitfld.word 0x00 11. " L       ,Last in frame" "-,Last"        
bitfld.word 0x00 10. "                      F       ,First in frame" "-,First"        
textline "               "        
bitfld.word 0x00 8. " M       ,Miss" "Address recognition,Promiscuous mode"
bitfld.word 0x00 7. "       BC      ,Broadcast" "-,Broadcast"
textline "               "        
bitfld.word 0x00 6. " MAC     ,Multicast" "-,Multicast"
bitfld.word 0x00 5. "                 LG      ,Rx frame length violation" "-,Occurred"
textline "               "        
bitfld.word 0x00 4. " NO      ,Rx non-octet aligned frame" "-,Occurred"
bitfld.word 0x00 3. "                  SH      ,Short frame" "-,Occurred"
textline "               "        
bitfld.word 0x00 2. " CR      ,Rx CRC error" "-,Error"
bitfld.word 0x00 1. "                     OV      , Overrun" "-,Occurred"
textline "               "        
bitfld.word 0x00 0. " TR      ,Truncation" "-,Truncated"        
line.word 0x02 "RxBDDLR,Receive Data Buffer Descriptor Data Length Register"
group.word 0x04++0x03
line.word 0x00 "RxBDPRH,Receive Data Buffer Descriptor Pointer High"
line.word 0x02 "RxBDPRL,Receive Data Buffer Descriptor Pointer Low"
tree.end
tree "Data Buffer Descriptor 5"
width 0xa
base ANC:(((d.l.be(anc:iobase()+0x25000+0x204+0x28))&0xfffffff8))
group.word 0x00++0x03 "Transmit Data Buffer Descriptor"   
line.word 0x00 "TxBDSCR,Transmit Data Buffer Descriptor Status/Control Register"
bitfld.word 0x00 15. " R       ,Ready" "-,Ready"
bitfld.word 0x00 14. "                     PAD/CRC ,Padding for frames" "-,Added"
textline "               "
bitfld.word 0x00 13. " W       ,Wrap location" "Consecutive,Defined in TBASE"
bitfld.word 0x00 12. "          I       ,Interrupt" "-,Generated"
textline "               "
bitfld.word 0x00 11. " L       ,Last in frame" "-,Last"
bitfld.word 0x00 10. "                      TC      ,Tx CRC" "-,Transmitted"
textline "               "
bitfld.word 0x00 9. " PRE/DEF ,Transmit user-defined Ethernet preamble/Defer indication" "No preamble/Not deferred,Preamble/Deferred"
bitfld.word 0x00 7. "  HFE/LC  ,Huge frame enable/Late collision" "Not truncated/No late collision,Truncated/Late collision"
textline "               "
bitfld.word 0x00 6. " CF/LR   ,Control Frame/Retransmission Limit" "Regular/Not failed,Control/Failed"
bitfld.word 0x00 2.--5. "        RC      ,Retry Count" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
textline "               "
bitfld.word 0x00 1. " UN/TOE  ,Underrun|TCP/IP off-load enable" "No underrun/No off-load,Underrun/Off-load"
bitfld.word 0x00 0. "   TR      ,Truncation" "-,Truncated"
line.word 0x02 "TxBDDLR,Transmit Data Buffer Descriptor Data Length Register"
group.word 0x04++0x03
line.word 0x00 "TxBDPRH,Transmit Data Buffer Descriptor Pointer High"
line.word 0x02 "TxBDPRL,Transmit Data Buffer Descriptor Pointer Low"
base ANC:(((d.l.be(anc:iobase()+0x25000+0x404+0x28))&0xfffffff8))
group.word 0x00++0x03 "Receive Data Buffer Descriptor"
line.word 0x00 "RxBDSCR,Receive Data Buffer Descriptor Status/Control Register"
bitfld.word 0x00 15. " E       ,Empty" "-,Empty"
bitfld.word 0x00 14. "                     RO1     ,Receive software ownership bit" "Low,High"
textline "               "        
bitfld.word 0x00 13. " W       ,Wrap location" "Consecutive,Defined in RBASE"
bitfld.word 0x00 12. "          I       ,Interrupt" "-,Generated"
textline "               "        
bitfld.word 0x00 11. " L       ,Last in frame" "-,Last"        
bitfld.word 0x00 10. "                      F       ,First in frame" "-,First"        
textline "               "        
bitfld.word 0x00 8. " M       ,Miss" "Address recognition,Promiscuous mode"
bitfld.word 0x00 7. "       BC      ,Broadcast" "-,Broadcast"
textline "               "        
bitfld.word 0x00 6. " MAC     ,Multicast" "-,Multicast"
bitfld.word 0x00 5. "                 LG      ,Rx frame length violation" "-,Occurred"
textline "               "        
bitfld.word 0x00 4. " NO      ,Rx non-octet aligned frame" "-,Occurred"
bitfld.word 0x00 3. "                  SH      ,Short frame" "-,Occurred"
textline "               "        
bitfld.word 0x00 2. " CR      ,Rx CRC error" "-,Error"
bitfld.word 0x00 1. "                     OV      , Overrun" "-,Occurred"
textline "               "        
bitfld.word 0x00 0. " TR      ,Truncation" "-,Truncated"        
line.word 0x02 "RxBDDLR,Receive Data Buffer Descriptor Data Length Register"
group.word 0x04++0x03
line.word 0x00 "RxBDPRH,Receive Data Buffer Descriptor Pointer High"
line.word 0x02 "RxBDPRL,Receive Data Buffer Descriptor Pointer Low"
tree.end
tree "Data Buffer Descriptor 6"
width 0xa
base ANC:(((d.l.be(anc:iobase()+0x25000+0x204+0x30))&0xfffffff8))
group.word 0x00++0x03 "Transmit Data Buffer Descriptor"   
line.word 0x00 "TxBDSCR,Transmit Data Buffer Descriptor Status/Control Register"
bitfld.word 0x00 15. " R       ,Ready" "-,Ready"
bitfld.word 0x00 14. "                     PAD/CRC ,Padding for frames" "-,Added"
textline "               "
bitfld.word 0x00 13. " W       ,Wrap location" "Consecutive,Defined in TBASE"
bitfld.word 0x00 12. "          I       ,Interrupt" "-,Generated"
textline "               "
bitfld.word 0x00 11. " L       ,Last in frame" "-,Last"
bitfld.word 0x00 10. "                      TC      ,Tx CRC" "-,Transmitted"
textline "               "
bitfld.word 0x00 9. " PRE/DEF ,Transmit user-defined Ethernet preamble/Defer indication" "No preamble/Not deferred,Preamble/Deferred"
bitfld.word 0x00 7. "  HFE/LC  ,Huge frame enable/Late collision" "Not truncated/No late collision,Truncated/Late collision"
textline "               "
bitfld.word 0x00 6. " CF/LR   ,Control Frame/Retransmission Limit" "Regular/Not failed,Control/Failed"
bitfld.word 0x00 2.--5. "        RC      ,Retry Count" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
textline "               "
bitfld.word 0x00 1. " UN/TOE  ,Underrun|TCP/IP off-load enable" "No underrun/No off-load,Underrun/Off-load"
bitfld.word 0x00 0. "   TR      ,Truncation" "-,Truncated"
line.word 0x02 "TxBDDLR,Transmit Data Buffer Descriptor Data Length Register"
group.word 0x04++0x03
line.word 0x00 "TxBDPRH,Transmit Data Buffer Descriptor Pointer High"
line.word 0x02 "TxBDPRL,Transmit Data Buffer Descriptor Pointer Low"
base ANC:(((d.l.be(anc:iobase()+0x25000+0x404+0x30))&0xfffffff8))
group.word 0x00++0x03 "Receive Data Buffer Descriptor"
line.word 0x00 "RxBDSCR,Receive Data Buffer Descriptor Status/Control Register"
bitfld.word 0x00 15. " E       ,Empty" "-,Empty"
bitfld.word 0x00 14. "                     RO1     ,Receive software ownership bit" "Low,High"
textline "               "        
bitfld.word 0x00 13. " W       ,Wrap location" "Consecutive,Defined in RBASE"
bitfld.word 0x00 12. "          I       ,Interrupt" "-,Generated"
textline "               "        
bitfld.word 0x00 11. " L       ,Last in frame" "-,Last"        
bitfld.word 0x00 10. "                      F       ,First in frame" "-,First"        
textline "               "        
bitfld.word 0x00 8. " M       ,Miss" "Address recognition,Promiscuous mode"
bitfld.word 0x00 7. "       BC      ,Broadcast" "-,Broadcast"
textline "               "        
bitfld.word 0x00 6. " MAC     ,Multicast" "-,Multicast"
bitfld.word 0x00 5. "                 LG      ,Rx frame length violation" "-,Occurred"
textline "               "        
bitfld.word 0x00 4. " NO      ,Rx non-octet aligned frame" "-,Occurred"
bitfld.word 0x00 3. "                  SH      ,Short frame" "-,Occurred"
textline "               "        
bitfld.word 0x00 2. " CR      ,Rx CRC error" "-,Error"
bitfld.word 0x00 1. "                     OV      , Overrun" "-,Occurred"
textline "               "        
bitfld.word 0x00 0. " TR      ,Truncation" "-,Truncated"        
line.word 0x02 "RxBDDLR,Receive Data Buffer Descriptor Data Length Register"
group.word 0x04++0x03
line.word 0x00 "RxBDPRH,Receive Data Buffer Descriptor Pointer High"
line.word 0x02 "RxBDPRL,Receive Data Buffer Descriptor Pointer Low"
tree.end
tree "Data Buffer Descriptor 7"
width 0xa
base ANC:(((d.l.be(anc:iobase()+0x25000+0x204+0x38))&0xfffffff8))
group.word 0x00++0x03 "Transmit Data Buffer Descriptor"   
line.word 0x00 "TxBDSCR,Transmit Data Buffer Descriptor Status/Control Register"
bitfld.word 0x00 15. " R       ,Ready" "-,Ready"
bitfld.word 0x00 14. "                     PAD/CRC ,Padding for frames" "-,Added"
textline "               "
bitfld.word 0x00 13. " W       ,Wrap location" "Consecutive,Defined in TBASE"
bitfld.word 0x00 12. "          I       ,Interrupt" "-,Generated"
textline "               "
bitfld.word 0x00 11. " L       ,Last in frame" "-,Last"
bitfld.word 0x00 10. "                      TC      ,Tx CRC" "-,Transmitted"
textline "               "
bitfld.word 0x00 9. " PRE/DEF ,Transmit user-defined Ethernet preamble/Defer indication" "No preamble/Not deferred,Preamble/Deferred"
bitfld.word 0x00 7. "  HFE/LC  ,Huge frame enable/Late collision" "Not truncated/No late collision,Truncated/Late collision"
textline "               "
bitfld.word 0x00 6. " CF/LR   ,Control Frame/Retransmission Limit" "Regular/Not failed,Control/Failed"
bitfld.word 0x00 2.--5. "        RC      ,Retry Count" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
textline "               "
bitfld.word 0x00 1. " UN/TOE  ,Underrun|TCP/IP off-load enable" "No underrun/No off-load,Underrun/Off-load"
bitfld.word 0x00 0. "   TR      ,Truncation" "-,Truncated"
line.word 0x02 "TxBDDLR,Transmit Data Buffer Descriptor Data Length Register"
group.word 0x04++0x03
line.word 0x00 "TxBDPRH,Transmit Data Buffer Descriptor Pointer High"
line.word 0x02 "TxBDPRL,Transmit Data Buffer Descriptor Pointer Low"
base ANC:(((d.l.be(anc:iobase()+0x25000+0x404+0x38))&0xfffffff8))
group.word 0x00++0x03 "Receive Data Buffer Descriptor"
line.word 0x00 "RxBDSCR,Receive Data Buffer Descriptor Status/Control Register"
bitfld.word 0x00 15. " E       ,Empty" "-,Empty"
bitfld.word 0x00 14. "                     RO1     ,Receive software ownership bit" "Low,High"
textline "               "        
bitfld.word 0x00 13. " W       ,Wrap location" "Consecutive,Defined in RBASE"
bitfld.word 0x00 12. "          I       ,Interrupt" "-,Generated"
textline "               "        
bitfld.word 0x00 11. " L       ,Last in frame" "-,Last"        
bitfld.word 0x00 10. "                      F       ,First in frame" "-,First"        
textline "               "        
bitfld.word 0x00 8. " M       ,Miss" "Address recognition,Promiscuous mode"
bitfld.word 0x00 7. "       BC      ,Broadcast" "-,Broadcast"
textline "               "        
bitfld.word 0x00 6. " MAC     ,Multicast" "-,Multicast"
bitfld.word 0x00 5. "                 LG      ,Rx frame length violation" "-,Occurred"
textline "               "        
bitfld.word 0x00 4. " NO      ,Rx non-octet aligned frame" "-,Occurred"
bitfld.word 0x00 3. "                  SH      ,Short frame" "-,Occurred"
textline "               "        
bitfld.word 0x00 2. " CR      ,Rx CRC error" "-,Error"
bitfld.word 0x00 1. "                     OV      , Overrun" "-,Occurred"
textline "               "        
bitfld.word 0x00 0. " TR      ,Truncation" "-,Truncated"        
line.word 0x02 "RxBDDLR,Receive Data Buffer Descriptor Data Length Register"
group.word 0x04++0x03
line.word 0x00 "RxBDPRH,Receive Data Buffer Descriptor Pointer High"
line.word 0x02 "RxBDPRL,Receive Data Buffer Descriptor Pointer Low"
tree.end
tree.end
endif
endif

tree.end
tree.end
base anc:iobase()
sif ((CPU()=="MPC8314")||(CPU()=="MPC8315"))
tree "PCI Express Interface Controller"
tree "Channel 1"
width 0xa
endian.le
tree "PCI Express1 Core Configuration Header Registers"
rgroup.word 0x9000++0x3
line.word 0x00 "VENDOR,PCI Express Vendor ID Register"
line.word 0x02 "DEVICE,PCI Express Device ID Register"
group.word (0x9000+0x4)++0x1
line.word 0x0 "COMMAND,PCI Express Command Register"
bitfld.word 0x00 10. "     INDIS         ,Interrupt Disable" "Enabled,Disabled"
bitfld.word 0x00 8. "            SERR     ,Reporting of fatal and non-fatal errors detected by the device to the root complex" "Disabled,Enabled"
bitfld.word 0x00 6. "          PARERRE ,Parity error response" "Ignored,Not ignored"
textline "                   "
bitfld.word 0x00 2. " MASTER        ,Bus master" "Disabled,Enabled"
bitfld.word 0x00 1. "            MEMSPACE ,Memory space" "Not responded,Responded"        
bitfld.word 0x00 0. "     IOSPACE ,I/O space" "0,1"
group.word (0x9000+0x06)++0x1
line.word 0x0 "STATUS,PCI Express Status Register"
eventfld.word 0x00 15. "     DPE           ,Detected parity error" "No error,Error"
eventfld.word 0x00 14. "            SSE      ,Signaled system error" "No error,Error"
eventfld.word 0x00 13. "          RMA     ,Received master-abort" "Not received,Received"
textline "                   "
eventfld.word 0x00 12. " RTA           ,Received target-abort" "Not received,Received"
eventfld.word 0x00 11. "        STA      ,Signaled target-abort" "Not signaled,Signaled"
eventfld.word 0x00 8. "      MDPE    ,Master data parity error" "No error,Error"
textline "                   "
bitfld.word 0x00 4. " CL            ,Capabilities list" "PCI E not required,PCI E required"
bitfld.word 0x00 3. "  IS       ,Interrupt status" "Not pending,Pending"
rgroup.byte (0x9000+0x08)++0x0
line.byte 0x0 "REV_ID,PCI Express Revision ID Register"
rgroup.byte (0x9000+0x09)++0x2
line.byte 0x0 "CL_PRGIN,PCI Express Class Code Register/Programming Interface"
hexmask.byte 0x0 0.--7. 1. "     PRGIN         ,Programming Interface"
line.byte 0x1 "CL_SUB,PCI Express Class Code Register/Sub-class"
hexmask.byte 0x01 0.--7. 1. "     SUB           ,Sub-class"
line.byte 0x02 "CL_BASE,PCI Express Class Code Register/Base class"
hexmask.byte 0x02 0.--7. 1. "     BASE          ,Base class"
group.byte (0x9000+0xc)++0x0
line.byte 0x0 "CACHE,PCI Express Cache Line Size Register"
rgroup.byte (0x9000+0xd)++0x1
line.byte 0x00 "LATTMR,PCI Express Latency Timer Register"
line.byte 0x01 "HEADTP,PCI Express Header Type Register"
bitfld.byte 0x01 7. "     Multifunction ,Multiple functions support" "Single,Multiple"
hexmask.byte 0x01 0.--6. 1. "            HEADLAY  ,Header Layout"
if (((d.b(anc:((iobase()+0x9000)+0x09)))&0xff)==0x00)
; RC
group.byte (0x9000+0x18)++0x2    
line.byte 0x00 "PRBUSN,PCI Express Primary Bus Number Register"
line.byte 0x01 "SEBUSN,PCI Express Secondary Bus Number Register"
line.byte 0x02 "SUBUSN,PCI Express Subordinate Bus Number Register"
group.byte (0x9000+0x1b)++0x0
line.byte 0x00 "LATTMR2,PCI Express Secondary Latency Timer Register 2"
rgroup.byte (0x9000+0x1c)++0x1
line.byte 0x0 "IOBASE,PCI Express I/O Base Register"
bitfld.byte 0x0 4.--7. "     IOADDR        ,I/O start address" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.byte 0x0 0.--3. "                  ADRDEC   ,Address decode type" "16-bit,32-bit,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
line.byte 0x1 "IOLIMIT,PCI Express I/O Limit Register"
bitfld.byte 0x01 4.--7. "     IOADDR        ,I/O limit address" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.byte 0x01 0.--3. "                  ADRDEC   ,Address decode type" "16-bit,32-bit,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
group.word (0x9000+0x1e)++0x9    
line.word 0x0 "SECSTAT,PCI Express Secondary Status Register"
eventfld.word 0x00 15. "     DPE           ,Detected parity error" "No error,Error"
eventfld.word 0x00 14. "            SSE      ,Signaled system error" "No error,Error"
eventfld.word 0x00 13. "          RMA     ,Received master-abort" "Not received,Received"
textline "                   "
eventfld.word 0x00 12. " RTA           ,Received target-abort" "Not received,Received"
eventfld.word 0x00 11. "        STA      ,Signaled target-abort" "Not signaled,Signaled"
eventfld.word 0x00 8. "      MDPE    ,Master data parity error" "No error,Error"        
line.word 0x2 "MEMBASE,PCI Express Memory Base Register"
hexmask.word 0x02 4.--15. 0x10 "     MEMBASE       ,Memory base bits [31:20]"
line.word 0x4 "MEMLIM,PCI Express Memory Limit Register"
hexmask.word 0x04 4.--15. 0x10 "     MEMLIM        ,Memory limit bits [31:20]"
line.word 0x6 "PFMEMBASE,PCI Express Prefetchable Memory Base Register"
hexmask.word 0x06 4.--15. 0x10 "     PFMEMBASE     ,PF memory base [31:20]"
bitfld.word 0x06 0.--3. "                ADRDEC   ,Address decode type" "32-bit,64-bit,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
line.word 0x8 "PFMEMLIM,PCI Express Prefetchable Memory Limit Register"
hexmask.word 0x08 4.--15. 0x10 "     PFMEMLIM      ,PF memory limit [31:20]"
bitfld.word 0x08 0.--3. "                ADRDEC   ,Address decode type" "32-bit,64-bit,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
group.long (0x9000+0x28)++0x7
line.long 0x00 "PFBASEU,PCI Express Prefetchable Base Upper 32 Bits Register"
line.long 0x04 "PFLIMU,PCI Express Prefetchable Limit Upper 32 Bits Register"
rgroup.word (0x9000+0x30)++0x3    
line.word 0x00 "IOBASEU,PCI Express I/O Base Upper 16 Bits Register"
line.word 0x02 "IOLIMU,PCI Express I/O Limit Upper 16 Bits Register"
elif (((d.b(anc:((iobase()+0x9000)+0x09)))&0xff)==0x01)
;EP        
group.long (0x9000+0x10)++0x17
line.long 0x0 "BAR0,PCI Express Base Address Register 0"
hexmask.long 0x0 12.--31. 0x1000 " ADDRESS       ,Inbound memory window base address"
bitfld.long 0x0 3. "            PREF     ,Prefetchable" "Not prefetchable,Prefetchable"
bitfld.long 0x0 1.--2. "  TYPE    ,Type" "Reserved,Reserved,Anywhere,Reserved"
textline "                   "
bitfld.long 0x0 0. " MemSp         ,Memory space indicator" "0,1"    
line.long 0x04 "BAR1,PCI Express Base Address Register 1"
hexmask.long 0x04 12.--31. 0x1000 " ADDRESS       ,Inbound memory window base address"
bitfld.long 0x04 3. "            PREF     ,Prefetchable" "Not prefetchable,Prefetchable"
bitfld.long 0x04 1.--2. "  TYPE    ,Type" "Reserved,Reserved,Anywhere,Reserved"
textline "                   "
bitfld.long 0x04 0. " MemSp         ,Memory space indicator" "0,1"    
line.long 0x08 "BAR2,PCI Express Base Address Register 2"
hexmask.long 0x08 12.--31. 0x1000 " ADDRESS       ,Inbound memory window base address"
bitfld.long 0x08 3. "            PREF     ,Prefetchable" "Not prefetchable,Prefetchable"
bitfld.long 0x08 1.--2. "  TYPE    ,Type" "Reserved,Reserved,Anywhere,Reserved"
textline "                   "
bitfld.long 0x08 0. " MemSp         ,Memory space indicator" "0,1"    
line.long 0x0c "BAR3,PCI Express Base Address Register 3"
line.long 0x10 "BAR4,PCI Express Base Address Register 4"
hexmask.long 0x10 12.--31. 0x1000 " ADDRESS       ,Inbound memory window base address"
bitfld.long 0x10 3. "            PREF     ,Prefetchable" "Not prefetchable,Prefetchable"
bitfld.long 0x10 1.--2. "  TYPE    ,Type" "Reserved,Reserved,Anywhere,Reserved"
textline "                   "
bitfld.long 0x10 0. " MemSp         ,Memory space indicator" "0,1"    
line.long 0x14 "BAR5,PCI Express Base Address Register 5"
rgroup.word (0x9000+0x2c)++0x3
line.word 0x00 "SUBVEN,PCI Express Subsystem Vendor ID Register"
line.word 0x02 "SUBID,PCI Express Subsystem ID Register"
endif
rgroup.byte (0x9000+0x34)++0x00
line.byte 0x00 "CPOINT,PCI Express Capabilities Pointer Register"
group.byte (0x9000+0x3c)++0x00
line.byte 0x00 "INTLINE,PCI Express Interrupt Line Register"
rgroup.byte (0x9000+0x3d)++0x00
line.byte 0x00 "INTPIN,PCI Express Interrupt Pin Register"
if (((d.b(anc:((iobase()+0x9000)+0x09)))&0xff)==0x01)
;EP    
rgroup.byte (0x9000+0x3e)++0x0
line.byte 0x0 "MIN_GNT,PCI Express Minimum Grant Register"
rgroup.byte (0x9000+0x3f)++0x0
line.byte 0x0 "MAX_LAT,PCI Express Maximum Latency Register"
elif (((d.b(anc:((iobase()+0x9000)+0x09)))&0xff)==0x00)    
;RC    
group.word (0x9000+0x3e)++0x01
line.word 0x00 "BRGCTRL,PCI Express Bridge Control Register"
bitfld.word 0x00 6. "     Scnd_RST      ,Secondary bus reset" "No reset,Reset"
bitfld.word 0x00 3. "            VGA_EN   ,VGA enable" "Disabled,Enabled"
bitfld.word 0x00 2. "          ISA_EN  ,ISA enable" "Disabled,Enabled"
textline "                   "
bitfld.word 0x00 1. " SERR_EN       ,SERR enable" "Disabled,Enabled"
bitfld.word 0x00 0. "            PER      ,Parity error response" "Not responded,Responded"    
endif    
tree.end
width 0xb
tree "PCI Compatible Device-Specific Configuration Space Registers"    
rgroup.byte (0x9000+0x44)++0x1
line.byte 0x00 "PWRCAPID,PCI Express Power Management Capability ID Register"
line.byte 0x01 "PWRNCAPID,PCI Express Power Management Next Capabilities Pointer Register"
rgroup.word (0x9000+0x46)++0x1
line.word 0x0 "PWRCAP,PCI Express Power Management Capabilities Register"
bitfld.word 0x00 11.--15. "     PMES            ,Supported power states" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.word 0x00 10. "            D2         ,D2 Support" "Not supported,Supported"
bitfld.word 0x00 9. "  D1               ,D1 Support" "Not supported,Supported"
textline "                    "
bitfld.word 0x00 6.--8. " AUX_Curr        ,AUX Current" "0,1,2,3,4,5,6,7"
bitfld.word 0x00 5. "             DSI        ,DSI" "0,1"
bitfld.word 0x00 0.--2. "              Version          ,Version" "0,1,2,3,4,5,6,7"
group.word (0x9000+0x48)++0x1
line.word 0x0 "PWRSTCTL,PCI Express Power Management Status and Control Register"
eventfld.word 0x00 15. "     PME_STAT        ,PME Status" "0,1"
bitfld.word 0x00 13.--14. "             DATA_SC    ,Data Scale" "0,1,2,3"
bitfld.word 0x00 9.--12. "              DATA_SEL         ,Data Select" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
textline "                    "
bitfld.word 0x00 8. " PME_EN          ,PME Enable" "Disabled,Enabled"
bitfld.word 0x00 0.--1. "      POWER_ST   ,Power state" "D0,D1,D2,D3"
rgroup.byte (0x9000+0x4b)++0x2
line.byte 0x00 "PWRDATA,PCI Express Power Management Data Register"
line.byte 0x01 "CAPID,PCI Express Capability ID Register"
line.byte 0x02 "NCAPPTR, PCI Express Next Capabilities Pointer Register"
if (((d.b(anc:((iobase()+0x9000)+0x09)))&0xff)==0x00)    
;RC        
rgroup.word (0x9000+0x4e)++0x1    
line.word 0x00 "CAPAB,PCI Express Capabilities Register"
bitfld.word 0x00 9.--13. "     INTMES          ,Interrupt Message Number " "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.word 0x00 8. "            SLOT       ,Slot" "0,1"
textline "                    "
bitfld.word 0x00 4.--7. " DEV_PORT        ,Device/Port Type" "EP,Reserved,Reserved,Reserved,RC,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.word 0x00 0.--3. "      Version    ,Version" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"    
else
rgroup.word (0x9000+0x4e)++0x1    
line.word 0x00 "CAPAB,PCI Express Capabilities Register"
bitfld.word 0x00 9.--13. "     INTMES          ,Interrupt Message Number " "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
textline "                    "
bitfld.word 0x00 4.--7. " DEV_PORT        ,Device/Port Type" "EP,Reserved,Reserved,Reserved,RC,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.word 0x00 0.--3. "      Version    ,Version" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
endif
rgroup.long (0x9000+0x50)++0x3
line.long 0x0 "DEVCAP,PCI Express Device Capabilities Register"
bitfld.long 0x00 26.--27. " CSPLS           ,Captured Slot Power Limit Scale" "0,1,2,3"
hexmask.long.byte 0x00 18.--25. 1. "             CSPLV      ,Captured Slot Power Limit Value"
bitfld.long 0x00 14. "             PIP              ,Power Indicator Present" "Not present,Present"
textline "                    "
bitfld.long 0x00 13. " AIP             ,Attention Indicator Present" "Not present,Present"
bitfld.long 0x00 12. "   ABP        ,Attention Button Present" "Not present,Present"
bitfld.long 0x00 9.--11. "    EP_L1_LAT        ,Endpoint L1 Acceptable Latency" "0,1,2,3,4,5,6,7"
textline "                    "
bitfld.long 0x00 6.--8. " EP_L0s_LAT      ,Endpoint L0s Acceptable Latency" "0,1,2,3,4,5,6,7"
bitfld.long 0x00 5. "             ET         ,Extended Tag Field Supported" "Not supported,Supported"
bitfld.long 0x00 3.--4. "  PHAN_FCT         ,Phantom Functions Supported" "0,1,2,3"
textline "                    "
bitfld.long 0x00 0.--2. " MAX_PL_SIZE_SUP ,Maximum payload size supported" "Reserved,256 bytes,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
group.word (0x9000+0x54)++0x3
line.word 0x0 "DEVCTRL,PCI Express Device Control Register"
bitfld.word 0x00 12.--14. "     MAX_READ_SIZE   ,Maximum read request size" "0,1,2,3,4,5,6,7"
bitfld.word 0x00 11. "             NSE        ,No snoop enable" "Disabled,Enabled"
bitfld.word 0x00 10. "       APE              ,AUX power PM enable" "Disabled,Enabled"
textline "                    "
bitfld.word 0x00 9. " PFE             ,Phantom functions enable" "Disabled,Enabled"
bitfld.word 0x00 8. "      ETE        ,Extended tag field enable" "Disabled,Enabled"
bitfld.word 0x00 5.--7. "       MAX_PAYLOAD_SIZE ,Maximum payload size" "0,1,2,3,4,5,6,7"
textline "                    "
bitfld.word 0x00 4. " RO              ,Relaxed ordering" "Disabled,Enabled"
bitfld.word 0x00 3. "      URR        ,Unsupported request reporting" "Disabled,Enabled"
bitfld.word 0x00 2. "       FER              ,Fatal error reporting" "Disabled,Enabled"
textline "                    "
bitfld.word 0x00 1. " NFER            ,Non-fatal error reporting" "Disabled,Enabled"
bitfld.word 0x00 0. "      CER        ,Correctable error reporting" "Disabled,Enabled"    
line.word 0x2 "DEVSTAT,PCI Express Device Status Register"
bitfld.word 0x02 5. "     TP              ,Transactions pending" "Not pending,Pending"
bitfld.word 0x02 4. "   APD        ,AUX power detected" "Not detected,Detected"
eventfld.word 0x02 3. "   URD              ,Unsupported request detected" "Not detected,Detected"
textline "                    "
eventfld.word 0x02 2. " FED             ,Fatal error detected" "Not detected,Detected"
eventfld.word 0x02 1. "  NFED       ,Non-fatal error detected" "Not detected,Detected"
eventfld.word 0x02 0. "   CED              ,Correctable error detected" "Not detected,Detected"
rgroup.long (0x9000+0x58)++0x3
line.long 0x0 "LNKCAP,PCI Express Link Capabilities Register"
hexmask.long.byte 0x00 24.--31. 1. " PORT_NO         ,Port Number"
bitfld.long 0x00 15.--17. "            L1_EX_LAT  ,L1 exit latency" "0,1,2,3,4,5,6,7"
bitfld.long 0x00 12.--14. "              L0s_EX_LAT       ,L0s exit latency" "0,1,2,3,4,5,6,7"
textline "                    "
bitfld.long 0x00 10.--11. " ASPM            ,Active state power management (ASPM) Support" "0,1,2,3"
hexmask.long.byte 0x00 4.--9. 1. "             MAX_LINK_W ,Maximum link width" 
bitfld.long 0x00 0.--3. "             MAX_LINK_SP      ,Maximum link speed" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
group.word (0x9000+0x5c)++0x1
line.word 0x0 "LNKCTRL,PCI Express Link Control Register"
bitfld.word 0x00 7. "     EXT_SYNC        ,Extended synch" "Disabled,Enabled"
bitfld.word 0x00 6. "      CCC        ,Common clock configuration" "0,1"
bitfld.word 0x00 5. "              RL               ,Retrain link" "Not retained,Retained"
textline "                    "
bitfld.word 0x00 4. " LD              ,Link disable" "Enabled,Disabled"
bitfld.word 0x00 3. "      RCB        ,Read completion boundary" "0,1"
bitfld.word 0x00 0.--1. "              ASPM_CTL         ,Active state power management (ASPM) control" "0,1,2,3"        
rgroup.word (0x9000+0x5e)++0x1
line.word 0x0 "LNKSTAT,PCI Express Link Status Register"
bitfld.word 0x00 12. "     SCC             ,Slot clock configuration" "0,1"
bitfld.word 0x00 11. "             LT         ,Link training" "Disabled,Enabled"
textline "                    "
hexmask.word.byte 0x00 4.--9. 1. " NEG_LINK_W      ,Negotiated link width" 
bitfld.word 0x00 0.--3. "            LINK_SP    ,Link speed" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
rgroup.long (0x9000+0x60)++0x3
line.long 0x0 "SLOTCAP,PCI Express Slot Capabilities Register"
hexmask.long.word 0x00 19.--31. 1. " SLOT_NO         ,Physical Slot Number"
bitfld.long 0x00 15.--16. "          SPLS       ,Slot power limit scale" "0,1,2,3"
hexmask.long.byte 0x00 7.--14. 1. "              SPLV             ,Slot power limit value"
textline "                    "
bitfld.long 0x00 6. " HPD             ,Hot plug capable" "Not capable,Capable"
bitfld.long 0x00 5. "   HPS        ,Hot plug surprise" "Disabled,Enabled"
bitfld.long 0x00 4. "       PIP              ,Power indicator present" "Not present,Present"
textline "                    "
bitfld.long 0x00 3. " AIP             ,Attention indicator present" "Not present,Present"
bitfld.long 0x00 2. "   MRLSP      ,MRL sensor present" "Not present,Present"
bitfld.long 0x00 1. "    PCP              ,Power controller present" "Not present,Present"
textline "                    "
bitfld.long 0x00 0. " ABP             ,Attention button present" "Not present,Present"
group.word (0x9000+0x64)++0x3
line.word 0x0 "SLOTCTRL,PCI Express Slot Control Register"
bitfld.word 0x00 10. "     PCC             ,Power controller control" "0,1"
bitfld.word 0x00 8.--9. "             PIC        ,Power indicator control" "0,1,2,3"
bitfld.word 0x00 6.--7. "              AIC              ,Attention indicator control" "0,1,2,3"
textline "                    "
bitfld.word 0x00 5. " HPIE            ,Hot plug interrupt enable" "Disabled,Enabled"
bitfld.word 0x00 4. "      CCIE       ,Command completed interrupt enable" "Disabled,Enabled"
bitfld.word 0x00 3. "       PDCE             ,Presence detect changed enable" "Disabled,Enabled"
textline "                    "
bitfld.word 0x00 2. " MRLSCE          ,MRL sensor changed enable" "Disabled,Enabled"
bitfld.word 0x00 1. "      PFDE       ,Power fault detected enable" "Disabled,Enabled"
bitfld.word 0x00 0. "       ABPE             ,Attention button pressed enable" "Disabled,Enabled"        
line.word 0x2 "SLOTSTAT,PCI Express Slot Status Register"
bitfld.word 0x02 6. "     PDS             ,Presence detect state" "Slot empty,Card present"
bitfld.word 0x02 5. "  MRLSS      ,MRL sensor state" "Closed,Open"
eventfld.word 0x02 4. "         CC               ,Command completed" "Not completed,Completed"
textline "                    "
eventfld.word 0x02 3. " PDC             ,Presence detect changed" "Not changed,Changed"
eventfld.word 0x02 2. "   MRLSC      ,MRL sensor changed" "Not changed,Changed"
eventfld.word 0x02 1. "    PFD              ,Power fault detected" "Not detected,Detected"
textline "                    "
eventfld.word 0x02 0. " ABP             ,Attention button pressed" "Not pressed,Pressed"        
if (((d.b(anc:((iobase()+0x9000)+0x09)))&0xff)==0x00)
;RC
group.word (0x9000+0x68)++0x1
line.word 0x0 "ROOTCTRL,PCI Express Root Control Register"
bitfld.word 0x00 3. "     PMEIE           ,PME interrupt enable" "Disabled,Enabled"
bitfld.word 0x00 2. "      SEFEE      ,System error on fatal error enable" "Disabled,Enabled"
textline "                    "
bitfld.word 0x00 1. " SENFEE          ,System error on non-fatal error enable" "Disabled,Enabled"
bitfld.word 0x00 0. "      SECEE      ,System error on correctable error enable" "Disabled,Enabled"        
group.long (0x9000+0x6c)++0x3
line.long 0x0 "ROOTSTAT,PCI Express Root Status Register"
bitfld.long 0x0 17. " PMEP            ,PME pending" "Not pending,Pending"
eventfld.long 0x0 16. "   PMES       ,PME status" "Low,High"
hexmask.long.word 0x0 0.--15. 1. "           PMERID           ,PME requestor ID"
elif (((d.b(anc:((iobase()+0x9000)+0x09)))&0xff)==0x01)        
;EP
rgroup.byte (0x9000+0x70)++0x0
line.byte 0x0 "MSIMCID,PCI Express MSI Message Capability ID Register"
group.word (0x9000+0x72)++0x1
line.word 0x0 "MSIMCTL,PCI Express MSI Message Control Register"
bitfld.word 0x0 7. "     64AC            ,64-bit address capable" "Not capable,Capable"
bitfld.word 0x0 4.--6. "   MME        ,Multiple message enable" "0,1,2,3,4,5,6,7"
bitfld.word 0x0 1.--3. "              MMC              ,Multiple message capable" "0,1,2,3,4,5,6,7"
textline "                    "
bitfld.word 0x0 0. " MSIE            ,MSI enable" "Disabled,Enabled"
group.long (0x9000+0x74)++0x7        
line.long 0x0 "MSIMADR,PCI Express MSI Message Address Register"
hexmask.long 0x0 2.--31. 0x4 " MESSADR         ,System-specified message address"
line.long 0x04 "MSIMUADR,PCI Express MSI Message Upper Address Register"
group.word (0x9000+0x7c)++0x1
line.word 0x00 "MSIMDATA,PCI Express MSI Message Data Register"
endif    
tree.end
width 0xa
tree "PCI Express Extended Configuration Space"
rgroup.word (0x9000+0x100)++0x1
line.word 0x0 "AERCID,PCI Express Advanced Error Reporting Capability ID Register"
group.long (0x9000+0x104)++0x17
line.long 0x0 "UESTAT,PCI Express Uncorrectable Error Status Register"
eventfld.long 0x00 20. " URE    ,Unsupported request error status" "No error,Error"
eventfld.long 0x00 19. "      ECRCE  ,ECRC error status" "No error,Error"
eventfld.long 0x00 18. "      MTLP   ,Malformed TLP status" "No error,Error"
eventfld.long 0x00 17. "      RXO   ,Receiver overflow status" "No overflow,Overflow"
textline "                   "
eventfld.long 0x00 16. " UC     ,Unexpected completion status" "No error,Error"
eventfld.long 0x00 15. "      CA     ,Completer abort status" "No abort,Abort"
eventfld.long 0x00 14. "      CTO    ,Completion timeout status" "No timeout,Timeout"
eventfld.long 0x00 13. "    FCPE  ,Flow control protocol error status" "No error,Error"
textline "                   "
eventfld.long 0x00 12. " PTLP   ,Poisoned TLP status" "No error,Error"
eventfld.long 0x00 4. "      DLPE   ,Data link protocol error status" "No error,Error"
eventfld.long 0x00 0. "      TE     ,Training error status" "No error,Error"        
line.long 0x04 "UEMASK,PCI Express Uncorrectable Error Mask Register"
bitfld.long 0x04 20. " UREM   ,Unsupported request error mask" "Not masked,Masked"
bitfld.long 0x04 19. "    ECRCEM ,ECRC error mask" "Not masked,Masked"
bitfld.long 0x04 18. "    MTLPM  ,Malformed TLP mask" "Not masked,Masked"
bitfld.long 0x04 17. "    RXOM  ,Receiver overflow mask" "Not masked,Masked"
textline "                   "
bitfld.long 0x04 16. " UCM    ,Unexpected completion mask" "Not masked,Masked"
bitfld.long 0x04 15. "    CAM    ,Completer abort mask" "Not masked,Masked"
bitfld.long 0x04 14. "    CTOM   ,Completion timeout mask" "Not masked,Masked"
bitfld.long 0x04 13. "    FCPEM ,Flow control protocol error mask" "Not masked,Masked"
textline "                   "
bitfld.long 0x04 12. " PTLPM  ,Poisoned TLP mask" "Not masked,Masked"
bitfld.long 0x04 4. "    DLPEM  ,Data link protocol error mask" "Not masked,Masked"
bitfld.long 0x04 0. "    TEM    ,Training error mask" "Not masked,Masked"
line.long 0x08 "UESEV,PCI Express Uncorrectable Error Severity Register"
bitfld.long 0x08 20. " URES   ,Unsupported request error severity" "Not severe,Severe"
bitfld.long 0x08 19. "    ECRCES ,ECRC error severity" "Not severe,Severe"
bitfld.long 0x08 18. "    MTLPS  ,Malformed TLP severity" "Not severe,Severe"
bitfld.long 0x08 17. "    RXOS  ,Receiver overflow severity" "Not severe,Severe"
textline "                   "
bitfld.long 0x08 16. " UCS    ,Unexpected completion severity" "Not severe,Severe"
bitfld.long 0x08 15. "    CAS    ,Completer abort severity" "Not severe,Severe"
bitfld.long 0x08 14. "    CTOS   ,Completion timeout severity" "Not severe,Severe"
bitfld.long 0x08 13. "    FCPES ,Flow control protocol error severity" "Not severe,Severe"
textline "                   "
bitfld.long 0x08 12. " PTLPS  ,Poisoned TLP severity" "Not severe,Severe"
bitfld.long 0x08 4. "    DLPES  ,Data link protocol error severity" "Not severe,Severe"
bitfld.long 0x08 0. "    TES    ,Training error severity" "Not severe,Severe"    
line.long 0xc "CESTAT,PCI Express Correctable Error Status Register"
eventfld.long 0x0C 12. " RTTO   ,Replay timer timeout status" "No timeout,Timeout"
eventfld.long 0x0C 8. "    RNR    ,REPLAY_NUM rollover status" "No rollover,Rollover"
eventfld.long 0x0C 7. "   BDLLP  ,Bad DLLP status" "No error,Error"
textline "                   "
eventfld.long 0x0C 6. " BTLP   ,Bad TLP status" "No error,Error"
eventfld.long 0x0C 0. "      RXE    ,Receiver error status" "No error,Error"        
line.long 0x10 "CEMASK,PCI Express Correctable Error Mask Register"
bitfld.long 0x10 12. " RTTOM  ,Replay timer timeout mask" "Not masked,Masked"
bitfld.long 0x10 8. "    RNRM   ,REPLAY_NUM rollover mask" "Not masked,Masked"
bitfld.long 0x10 7. "    BDLLPM ,Bad DLLP mask" "Not masked,Masked"
textline "                   "
bitfld.long 0x10 6. " BTLPM  ,Bad TLP mask" "Not masked,Masked"
bitfld.long 0x10 0. "    RXEM   ,Receiver error mask" "Not masked,Masked"
line.long 0x14 "AERCACTL,PCI Express Advanced Error Capabilities and Control Register"
bitfld.long 0x14 8. " ECRCCE ,ECRC checking enable" "Disabled,Enabled"
bitfld.long 0x14 7. "      ECRCCC ,ECRC checking capable" "Not capable,Capable"
bitfld.long 0x14 6. "   ECRCGE ,ECRC generation enable" "Disabled,Enabled"
textline "                   "
bitfld.long 0x14 5. " ECRCGC ,ECRC generation capable" "Not capable,Capable"
bitfld.long 0x14 0.--4. "   FSTERR ,First Error Pointer" "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xA,0xB,0xC,0xD,0xE,0xF,0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F"
rgroup.long (0x9000+11c)++0xf    
line.long 0x0 "HEADER0,PCI Express Header Log Register 0"
hexmask.long.byte 0x0 24.--31. 0x1 " Byte0  ,Header log byte 0"
hexmask.long.byte 0x0 16.--23. 0x1 "            Byte1  ,Header log byte 1"
hexmask.long.byte 0x0 8.--15. 0x1 "            Byte2  ,Header log byte 2"
hexmask.long.byte 0x0 0.--7. 0x1 "            Byte3 ,Header log byte 3"
line.long 0x04 "HEADER1,PCI Express Header Log Register 1"
hexmask.long.byte 0x04 24.--31. 0x1 " Byte4  ,Header log byte 4"
hexmask.long.byte 0x04 16.--23. 0x1 "            Byte5  ,Header log byte 5"
hexmask.long.byte 0x04 8.--15. 0x1 "            Byte6  ,Header log byte 6"
hexmask.long.byte 0x04 0.--7. 0x1 "            Byte7 ,Header log byte 7"
line.long 0x08 "HEADER2,PCI Express Header Log Register 2"
hexmask.long.byte 0x08 24.--31. 0x1 " Byte8  ,Header log byte 8"
hexmask.long.byte 0x08 16.--23. 0x1 "            Byte9  ,Header log byte 9"
hexmask.long.byte 0x08 8.--15. 0x1 "            ByteA  ,Header log byte A"
hexmask.long.byte 0x08 0.--7. 0x1 "            ByteB ,Header log byte B"
line.long 0x0c "HEADER3,PCI Express Header Log Register 3"
hexmask.long.byte 0x0c 24.--31. 0x1 " ByteC  ,Header log byte C"
hexmask.long.byte 0x0c 16.--23. 0x1 "            ByteD  ,Header log byte D"
hexmask.long.byte 0x0c 8.--15. 0x1 "            ByteE  ,Header log byte E"
hexmask.long.byte 0x0c 0.--7. 0x1 "            ByteF ,Header log byte F"
group.long (0x9000+0x12c)++0x3
line.long 0x0 "RERCMD,PCI Express Root Error Command Register"
bitfld.long 0x0 2. " FERE   ,Fatal error reporting enable" "Disabled,Enabled"
bitfld.long 0x0 1. "      NFERE  ,Non-fatal error reporting enable" "Disabled,Enabled"
bitfld.long 0x0 0. "      CERE   ,Correctable error reporting enable" "Disabled,Enabled"
group.long (0x9000+0x130)++0x3
line.long 0x0 "RERSTAT,PCI Express Root Error Status Register"    
bitfld.long 0x00 27.--31. " AEIMN  ,Advanced error interrupt message number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
eventfld.long 0x00 6. "            FEMR   ,Fatal error messages received" "Not received,Received"
eventfld.long 0x00 5. "  NFEMR  ,Non-fatal error messages received" "Not received,Received"
textline "                   "
eventfld.long 0x00 4. " FUF    ,First uncorrectable fatal" "No error,Error"
eventfld.long 0x00 3. "      MEFNFR ,Multiple ERR_FATAL/NONFATAL received" "Not received,Received"
eventfld.long 0x00 2. "  EFNFR  ,ERR_FATAL/NONFATAL received" "Not received,Received"
textline "                   "
eventfld.long 0x00 1. " MECR   ,Multiple ERR_COR received" "Not received,Received"
eventfld.long 0x00 0. "  ECR    ,ERR_COR received" "Not received,Received"        
rgroup.word (0x9000+0x134)++0x1
line.word 0x00 "CESRCID,PCI Express Correctable Error Source ID Register"
rgroup.word (0x9000+0x138)++0x1
line.word 0x00 "ERRSRCID,PCI Express Fatal/Non-Fatal Error Source ID Register"
tree.end
width 0x14
tree "PCI Express Controller Internal Control and Status Registers"
rgroup.long (0x9000+0x404)++0x3
line.long 0x0 "PEX_LTSSM_STAT,LTSSM State Status Register"
hexmask.long.byte 0x0 0.--6. 1. " STATUS             ,Status code"
group.long (0x9000+0x440)++0x03
line.long 0x0 "PEX_GCLK_RATIO,PCI Express IP Block Core Clock Ratio Register"
group.long (0x9000+0x450)++0x3
line.long 0x00 "PEX_PM_TIMER,PCI Express Power Management Timer Register"
hexmask.long.word 0x0 12.--23. 0x1 " L1_WAIT_PERIOD     ,Wait period before entering L1 power state"
hexmask.long.word 0x0 0.--11. 0x1 "              L0s_TIME_IN ,Time in value for entering L0s power state"
if (((d.b(anc:((iobase()+0x9000)+0x09)))&0xff)==0x01)        
;EP
group.long (0x9000+0x454)++0x3
line.long 0x00 "PEX_PME_TIMEOUT,PCI Express PME Time-Out Register"
hexmask.long 0x0 0.--25. 1. " PME_TIMEOUT        ,Interval before PME messages resending"
endif
group.long (0x9000+0x478)++0x03
line.long 0x00 "PEX_SSVID_UPDATE,PCI Express Subsystem Vendor ID Update Register"
group.long (0x9000+0x4b0)++0x3
line.long 0x0 "PEX_CFG_READY,PCI Express Configuration Ready Register"
bitfld.long 0x0 0. " CFG_READY          ,Configuration ready" "Not ready,Ready"
if (((d.b(anc:((iobase()+0x9000)+0x09)))&0xff)==0x01)
;EP
group.long (0x9000+0x4d8)++0x3 "PCI Express BAR Configuration Registers"
line.long 0x0 "PEX_BAR_SIZEL,PCI Express BAR Size Low Configuration Register"
bitfld.long 0x0 31. " MASK               ,Mask for the BAR bit 31" "0,1"
bitfld.long 0x0 31. ",Mask for the BAR bit 31"  "0,1"
bitfld.long 0x0 30. ",Mask for the BAR bit 30"  "0,1"
bitfld.long 0x0 29. ",Mask for the BAR bit 29"  "0,1"
bitfld.long 0x0 28. ",Mask for the BAR bit 28"  "0,1"
bitfld.long 0x0 27. ",Mask for the BAR bit 27"  "0,1"
bitfld.long 0x0 26. ",Mask for the BAR bit 26"  "0,1"
bitfld.long 0x0 25. ",Mask for the BAR bit 25"  "0,1"
bitfld.long 0x0 24. ",Mask for the BAR bit 24"  "0,1"
bitfld.long 0x0 23. ",Mask for the BAR bit 23"  "0,1"
bitfld.long 0x0 22. ",Mask for the BAR bit 22"  "0,1"
bitfld.long 0x0 21. ",Mask for the BAR bit 21"  "0,1"
bitfld.long 0x0 20. ",Mask for the BAR bit 20"  "0,1"
bitfld.long 0x0 19. ",Mask for the BAR bit 19"  "0,1"
bitfld.long 0x0 18. ",Mask for the BAR bit 18"  "0,1"
bitfld.long 0x0 17. ",Mask for the BAR bit 17"  "0,1"
bitfld.long 0x0 16. ",Mask for the BAR bit 16"  "0,1"
bitfld.long 0x0 15. ",Mask for the BAR bit 15"  "0,1"
bitfld.long 0x0 14. ",Mask for the BAR bit 14"  "0,1"
bitfld.long 0x0 13. ",Mask for the BAR bit 13"  "0,1"
bitfld.long 0x0 12. ",Mask for the BAR bit 12"  "0,1"
group.long (0x9000+0x4e0)++0x3
line.long 0x0 "PEX_BAR_SEL,PCI Express BAR Select Configuration Register"
bitfld.long 0x00 0.--1. " SEL                ,Select" "BAR0,BAR1,BAR2,BAR4"
group.long (0x9000+0x504)++0x3
line.long 0x0 "PEX_BAR_PF,PCI Express BAR Prefetch Configuration Register"
bitfld.long 0x0 3. " PF3                ,Prefetchable attribute of the BAR 4" "Not prefetchable,Prefetchable"
bitfld.long 0x0 2. "  PF2         ,Prefetchable attribute of the BAR 2" "Not prefetchable,Prefetchable"
textline "                             "
bitfld.long 0x0 1. " PF1                ,Prefetchable attribute of the BAR 1" "Not prefetchable,Prefetchable"
bitfld.long 0x0 0. "  PF0         ,Prefetchable attribute of the BAR 0" "Not prefetchable,Prefetchable"
elif (((d.b(anc:((iobase()+0x9000)+0x09)))&0xff)==0x00)
;RC
group.long (0x9000+0x590)++0x3 "PCI Express Extended Status and Control Registers"
line.long 0x0 "PEX_PME_TO_ACK_TOR,PME_To_Ack Timeout Register"
hexmask.long 0x0 0.--21. 0x01 " PME_TO_ACK_TIMEOUT , PME_Turn_Off message to ACK timeout interval"
rgroup.long (0x9000+0x5A0)++0x3
line.long 0x0 "PEX_SS_INTR_MASK,Secondary Status Interrupt Mask Register"
bitfld.long 0x00 5. " M_DPE              ,Mask detected parity error" "Not masked,Masked"
bitfld.long 0x00 4. "        M_SSE       ,Mask signaled system error" "Not masked,Masked"
textline "                             "        
bitfld.long 0x00 3. " M_RMA              ,Mask received master abort" "Not masked,Masked"
bitfld.long 0x00 2. "        M_RTA       ,Mask received target abort" "Not masked,Masked"
textline "                             "        
bitfld.long 0x00 1. " M_STA              ,Mask signaled target abort" "Not masked,Masked"
bitfld.long 0x00 0. "        M_MDPE      ,Mask master data parity error" "Not masked,Masked"    
endif
tree.end
tree "PCI-Express CSB Bridge Configuration Space"
width 0x13
tree "Global Registers"
group.long (0x9000+0x808)++0x3
line.long 0x0 "PEX_CSB_CTRL,PCI Express CSB Bridge Control Register"
bitfld.long 0x00 8.--9. " DSAD    ,Depth of descriptors array" "1,2,4,8"
bitfld.long 0x00 3. "                 RDMAE   ,Read DMA enable" "Disabled,Enabled"
bitfld.long 0x00 2. "       WDMAE   ,Write DMA enable" "Disabled,Enabled"
textline "                            "
bitfld.long 0x00 1. " IBPIOE  ,Inbound PIO enable" "Disabled,Enabled"
bitfld.long 0x00 0. "          OBIPIOE ,Outbound PIO enable" "Disabled,Enabled"    
group.long (0x9000+0x814)++0x3
line.long 0x00 "PEX_DMA_DSTMR,PCI Express DMA Descriptor Timer Register"
rgroup.long (0x9000+0x81c)++0x3
line.long 0x0 "PEX_CSB_STAT,PCI Express CSB Bridge Status register"
bitfld.long 0x0 24. " RDMARP  ,Read DMA read transaction pending" "Not pending,Pending"
bitfld.long 0x0 16. "       WDMARP  ,Write DMA read transaction pending" "Not pending,Pending"
textline "                            "
bitfld.long 0x0 8. " IBPIORP ,PCI Express inbound PIO read transaction pending" "Not pending,Pending"
bitfld.long 0x0 0. "       OBPIORP ,PCI Express outbound PIO read transaction pending" "Not pending,Pending"
tree.end
width 0x11
tree "PCI Express Outbound PIO  Registers"
group.long (0x9000+0x840)++0x7
line.long 0x0 "PEX_CSB_OBCTRL,PCI Express Outbound PIO Control Register"
bitfld.long 0x00 3. " CFGWE   ,Configuration window enable" "Disabled,Enabled"
bitfld.long 0x00 2. "          IOWE    ,I/O window enable" "Disabled,Enabled"
textline "                          "
bitfld.long 0x00 1. " MEMWE   ,Memory window enable" "Disabled,Enabled"
bitfld.long 0x00 0. "          PIOE    ,PIO enable" "Disabled,Enabled"
line.long 0x04 "PEX_CSB_OBSTAT,PCI Express Outbound PIO Status Register"
eventfld.long 0x04 3. " PEXER   ,PCI Express error." "No error,Error"
eventfld.long 0x04 2. "          CSBER   ,CSB Bridge error" "No error,Error"
textline "                          "
eventfld.long 0x04 1. " BMPER   ,Bridge mapping error" "No error,Error"
eventfld.long 0x04 0. "          BENER   ,Bridge enable error" "No error,Error"
tree.end
width 0x11
tree "PCI Express Inbound PIO Registers"
group.long (0x9000+0x8e0)++0x7
line.long 0x0 "PEX_CSB_IBCTRL,PCI Express Inbound PIO Control Register"
bitfld.long 0x0 0. " PIOE    ,PIO enable" "Disabled,Enabled"
line.long 0x04 "PEX_CSB_IBSTAT,PCI Express Inbound PIO Status Register"
eventfld.long 0x04 2. " CSBER   ,CSB Bus error" "No error,Error"
eventfld.long 0x04 1. "          BRGER   ,CSB Bridge error" "No error,Error"
eventfld.long 0x04 0. "       BENER   ,Bridge enable error" "No error,Error"
tree.end
tree "DMA Registers"
group.long (0x9000+0x9a0)++0xb
line.long 0x0 "PAB_WDMA_CTRL,WDMA Control Register"
bitfld.long 0x00 10. " SNOOP   ,Snoop for write and read transactions to the descriptor" "Disabled,Enabled"
bitfld.long 0x00 9. "          RLXO    ,Relaxed ordering for PCI Express" "Not relaxed,Relaxed"
textline "                          "
bitfld.long 0x00 2.--4. " TC      ,Traffic class" "0,1,2,3,4,5,6,7"
bitfld.long 0x00 1. "                 SUS     ,DMA suspend" "Not suspended,Suspended"
textline "                          "
bitfld.long 0x00 0. " START   ,DMA start" "Not started,Started"
line.long 0x04 "PEX_WDMA_ADDR,PCI Express Write DMA first Address Register"
line.long 0x08 "PEX_WDMA_STAT,PCI Express Write DMA Status Register"
eventfld.long 0x08 6. " DAFER   ,DMA data fetch error" "No error,Error"
eventfld.long 0x08 5. "          BRER    ,Bridge error" "No error,Error"
eventfld.long 0x08 4. "       DSUER   ,Descriptor update error" "No error,Error"
textline "                          "
eventfld.long 0x08 2. " DSFER   ,Descriptor fetch error" "No error,Error"
eventfld.long 0x08 1. "          DSCPL   ,Descriptor DMA transfer completed" "Not completed,Completed"
eventfld.long 0x08 0. "  CHCPL   ,DMA chain transfer completed" "Not completed,Completed"
group.long (0x9000+0xa40)++0xb
line.long 0x0 "PEX_RDMA_CTRL,PCI Express Read DMA Control Register"
bitfld.long 0x00 10. " SNOOP   ,Snoop for write and read transactions to the descriptor" "Disabled,Enabled"
bitfld.long 0x00 9. "          RLXO    ,Relaxed ordering for PCI Express" "Not relaxed,Relaxed"
textline "                          "
bitfld.long 0x00 1. " SUS     ,DMA suspend" "Not suspended,Suspended"
bitfld.long 0x00 0. "     START   ,DMA start" "Not started,Started"
line.long 0x04 "PEX_RDMA_ADDR,PCI Express Read DMA First Address Register"
line.long 0x08 "PEX_RDMA_STAT,PCI Express Read DMA Status Register" 
eventfld.long 0x08 7. " CPLER   ,PCI Express completion error" "No error,Error"
eventfld.long 0x08 6. "          DAFER   ,DMA data write error" "No error,Error"
eventfld.long 0x08 5. "       BRER    ,Bridge error" "No error,Error"
textline "                          "
eventfld.long 0x08 4. " DSUER   ,Descriptor update error" "No error,Error"
eventfld.long 0x08 2. "          DSFER   ,Descriptor fetch error" "No error,Error"
eventfld.long 0x08 1. "       DSCPL   ,Descriptor DMA transfer completed" "Not completed,Completed"
textline "                          "
eventfld.long 0x08 0. " CHCPL   ,DMA chain transfer completed" "Not completed,Completed"            
tree.end 
width 17.
tree "Mailbox Registers"
group.long (0x9000+0xb20)++0x7
line.long 0x0 "PEX_OMBCR,PCI Express Outbound Mailbox Control Register"
bitfld.long 0x0 0. " READY   ,Outbound mailbox ready" "Not ready,Ready"
line.long 0x04 "PEX_OMBDR,PCI Express Outbound Mailbox Data Register"
group.long (0x9000+0xb60)++0x7
line.long 0x0 "PEX_IMBCR,PCI Express Inbound Mailbox Control Register"
bitfld.long 0x0 0. " READY   ,Inbound mailbox ready" "Not ready,Ready"
line.long 0x04 "PEX_IMBDR,PCI Express Inbound Mailbox Data Register"
tree.end
width 0xc
tree "PCI Express Host Interrupt Registers"
group.long (0x9000+0xba0)++0xb
line.long 0x0 "PEX_HIER,PCI Express Host Interrupt Enable Register"
bitfld.long 0x00 11. " CBRIE   ,CSB bridge reset interrupt enable" "Disabled,Enabled"
bitfld.long 0x00 10. "          OMBIE   ,Outbound Mailbox ready interrupt enable" "Disabled,Enabled"
bitfld.long 0x00 9. "       RDAIE   ,RDMA transfer aborted interrupt enable" "Disabled,Enabled"
textline "                     "
bitfld.long 0x00 8. " RDSIE   ,RDMA descriptor transfer completed interrupt enable" "Disabled,Enabled"
bitfld.long 0x00 7. "          RDCIE   ,RDMA chain descriptor transfer completed interrupt enable" "Disabled,Enabled"
bitfld.long 0x00 6. "       WDAIE   ,WDMA transfer aborted interrupt enable" "Disabled,Enabled"
textline "                     "
bitfld.long 0x00 5. " WDSIE   ,WDMA descriptor transfer completed interrupt enable" "Disabled,Enabled"
bitfld.long 0x00 4. "          WDCIE   ,WDMA chain descriptor transfer completed interrupt enable" "Disabled,Enabled"
bitfld.long 0x00 3. "       IPAIE   ,Inbound PIO transaction aborted interrupt enable" "Disabled,Enabled"
textline "                     "
bitfld.long 0x00 2. " IPCIE   ,Inbound PIO transaction completed interrupt enable" "Disabled,Enabled"
bitfld.long 0x00 1. "          OPAIE   ,Outbound PIO transaction abort interrupt enable" "Disabled,Enabled"
bitfld.long 0x00 0. "       OPCIE   ,Outbound PIO transaction completed interrupt enable" "Disabled,Enabled"
line.long 0x04 "PEX_HISR,PCI Express Host Interrupt Status Register"
eventfld.long 0x04 11. " CBR     ,CSB bridge reset" "No reset,Reset"
eventfld.long 0x04 10. "          OMB     ,Outbound Mailbox ready" "Not ready,Ready"
eventfld.long 0x04 9. "      RDA     ,RDMA transfer aborted" "Not aborted,Aborted"
textline "                     "
eventfld.long 0x04 8. " RDS     ,RDMA descriptor transfer completed" "Not completed,Completed"
eventfld.long 0x04 7. "     RDC     ,RDMA chain descriptor transfer completed" "Not completed,Completed"
eventfld.long 0x04 6. "  WDA     ,WDMA transfer aborted" "Not aborted,Aborted"
textline "                     "
eventfld.long 0x04 5. " WDS     ,WDMA descriptor transfer completed" "Not completed,Completed"
eventfld.long 0x04 4. "     WDC     ,WDMA chain descriptor transfer completed" "Not completed,Completed"
eventfld.long 0x04 3. "  IPA     ,Inbound PIO transaction aborted" "Not aborted,Aborted"
textline "                     "
eventfld.long 0x04 2. " IPC     ,Inbound PIO transaction completed" "Not completed,Completed"
eventfld.long 0x04 1. "     OPA     ,Outbound PIO transaction abort" "Not aborted,Aborted"
eventfld.long 0x04 0. "    OPC     ,Outbound PIO transaction completed" "Not completed,Completed"
line.long 0x08 "PEX_HOPIVR,PCI Express Host Outbound PIO Interrupt Vector Register"
bitfld.long 0x08 0.--4. " IVEC    ,Interrupt vector for MSI" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
group.long (0x9000+0xbc0)++0x3
line.long 0x0 "PEX_HIPIVR,PCI Express Host Inbound PIO Interrupt Vector Register"
bitfld.long 0x0 0.--4. " IVEC    ,Interrupt vector for MSI" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
group.long (0x9000+0xbc8)++0x3        
line.long 0x00 "PEX_HWDIVR,PCI Express Host Write DMA Interrupt Vector Register"
bitfld.long 0x0 0.--4. " IVEC    ,Interrupt vector for MSI" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
group.long (0x9000+0xbd0)++0x3
line.long 0x0 "PEX_HRDIVR,PCI Express Host Read DMA Interrupt Vector Register"
bitfld.long 0x0 0.--4. " IVEC    ,Interrupt vector for MSI" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
group.long (0x9000+0xbd8)++0x3
line.long 0x0 "PEX_HMIVR,PCI Express Host Miscellaneous Interrupt Vector Register"
bitfld.long 0x0 0.--4. " IVEC    ,Interrupt vector for MSI upon miscellaneous events" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
tree.end
width 0xd
tree "CSB System Interrupt Registers"
group.long (0x9000+0xbe0)++0xb
line.long 0x0 "PEX_CSPIER,CSB System PIO Interrupt Enable Register"
bitfld.long 0x0 24. " IPAIE   ,Inbound PIO transaction aborted interrupt enable" "Disabled,Enabled"
bitfld.long 0x0 16. "          IPCIE   ,Inbound PIO transaction completed interrupt enable" "Disabled,Enabled"
textline "                      "
bitfld.long 0x0 8. " OPAIE   ,Outbound PIO transaction abort interrupt enable" "Disabled,Enabled"
bitfld.long 0x0 0. "          OPCIE   ,Outbound PIO transaction completed interrupt enable" "Disabled,Enabled"
line.long 0x04 "PEX_CSWDIER,CSB System Write DMA Interrupt Enable Register"
bitfld.long 0x04 16. " WDAIE   ,WDMA transfer aborted interrupt enable" "Disabled,Enabled"
bitfld.long 0x04 8. "          WDSIE   ,WDMA descriptor transfer completed interrupt enable" "Disabled,Enabled"
bitfld.long 0x04 0. "       WDCIE   ,WDMA chain descriptor transfer completed interrupt enable" "Disabled,Enabled"
line.long 0x08 "PEX_CSRDIER,CSB System Read DMA Interrupt Enable Register"
bitfld.long 0x08 16. " RDAIE   ,RDMA transfer aborted interrupt enable" "Disabled,Enabled"
bitfld.long 0x08 8. "          RDSIE   ,RDMA descriptor transfer completed interrupt enable" "Disabled,Enabled"
bitfld.long 0x08 0. "       RDCIE   ,RDMA chain descriptor transfer completed interrupt enable" "Disabled,Enabled"
if (((d.b(anc:((iobase()+0x9000)+0x09)))&0xff)==0x00)
;RC            
group.long (0x9000+0xbec)++0x3        
line.long 0x00 "PEX_CSMIER,CSB System Miscellaneous Interrupt Enable Register"
bitfld.long 0x00 29. " ERRDIE  ,Error detected interrupt enable" "Disabled,Enabled"
bitfld.long 0x00 20. "          PSCHIE  ,Power state change interrupt enable" "Disabled,Enabled"
bitfld.long 0x00 17. "       PMETOIE ,PME to ack timeout event interrupt enable" "Disabled,Enabled"
textline "                      "
bitfld.long 0x00 15. " ROFIE   ,Receive overflow error interrupt enable" "Disabled,Enabled"
bitfld.long 0x00 14. "          ECRCIE  ,ECRC error interrupt enable" "Disabled,Enabled"
bitfld.long 0x00 13. "       PTLPIE  ,Poisoned TLP interrupt enable" "Disabled,Enabled"
textline "                      "
bitfld.long 0x00 12. " MFTLPIE ,Malformed TLP interrupt enable" "Disabled,Enabled"
bitfld.long 0x00 11. "          CTOIE   ,Completion timeout interrupt enable" "Disabled,Enabled"
bitfld.long 0x00 10. "       CAIE    ,Completer abort interrupt enable" "Disabled,Enabled"
textline "                      "
bitfld.long 0x00 9. " URIE    ,Unsupported request interrupt enable" "Disabled,Enabled"
bitfld.long 0x00 8. "          INTDIE  ,PCI Express INTD interrupt enable" "Disabled,Enabled"
bitfld.long 0x00 7. "       INTCIE  ,PCI Express INTC interrupt enable" "Disabled,Enabled"
textline "                      "
bitfld.long 0x00 6. " INTBIE  ,PCI Express INTB interrupt enable" "Disabled,Enabled"
bitfld.long 0x00 5. "          INTAIE  ,PCI Express INTA interrupt enable" "Disabled,Enabled"
bitfld.long 0x00 3. "       MSIIE   ,PCI Express MSI message interrupt enable" "Disabled,Enabled"
textline "                      "
bitfld.long 0x00 1. " RSTIE   ,PCI Express reset interrupt enable" "Disabled,Enabled"
bitfld.long 0x00 0. "          IMBIE   ,Inbound Mailbox ready interrupt enable" "Disabled,Enabled"
else
group.long (0x9000+0xbec)++0x3        
line.long 0x00 "PEX_CSMIER,CSB System Miscellaneous Interrupt Enable Register"
bitfld.long 0x00 20. " PSCHIE  ,Power state change interrupt enable" "Disabled,Enabled"
textline "                      "
bitfld.long 0x00 15. " ROFIE   ,Receive overflow error interrupt enable" "Disabled,Enabled"
bitfld.long 0x00 14. "          ECRCIE  ,ECRC error interrupt enable" "Disabled,Enabled"
bitfld.long 0x00 13. "       PTLPIE  ,Poisoned TLP interrupt enable" "Disabled,Enabled"
textline "                      "
bitfld.long 0x00 12. " MFTLPIE ,Malformed TLP interrupt enable" "Disabled,Enabled"
bitfld.long 0x00 11. "          CTOIE   ,Completion timeout interrupt enable" "Disabled,Enabled"
bitfld.long 0x00 10. "       CAIE    ,Completer abort interrupt enable" "Disabled,Enabled"
textline "                      "
bitfld.long 0x00 9. " URIE    ,Unsupported request interrupt enable" "Disabled,Enabled"
bitfld.long 0x00 1. "          RSTIE   ,PCI Express reset interrupt enable" "Disabled,Enabled"
bitfld.long 0x00 0. "       IMBIE   ,Inbound Mailbox ready interrupt enable" "Disabled,Enabled"
endif
group.long (0x9000+0xbf0)++0xb
line.long 0x0 "PEX_CSPISR,CSB System PIO Interrupt Status Register"
eventfld.long 0x00 24. " IPA     ,Inbound PIO transaction aborted" "Not aborted,Aborted"
eventfld.long 0x00 16. "       IPC     ,Inbound PIO transaction completed"  "Not completed,Completed"
textline "                      "
eventfld.long 0x00 8. " OPA     ,Outbound PIO transaction aborted" "Not aborted,Aborted"
eventfld.long 0x00 0. "       OPC     ,Outbound PIO transaction completed"  "Not completed,Completed"        
line.long 0x04 "PEX_CSWDISR,CSB System Write DMA Interrupt Status Register"
eventfld.long 0x04 16. " WDA     ,WDMA transfer aborted" "Not aborted,Aborted"
eventfld.long 0x04 8. "       WDS     ,WDMA descriptor transfer completed" "Not completed,Completed"
eventfld.long 0x04 0. "  WDC     ,WDMA chain descriptor transfer completed" "Not completed,Completed"        
line.long 0x08 "PEX_CSRDISR,CSB System Read DMA Interrupt Status Register"
eventfld.long 0x08 16. " RDA     ,RDMA transfer aborted" "Not aborted,Aborted"
eventfld.long 0x08 8. "       RDS     ,RDMA descriptor transfer completed" "Not completed,Completed"
eventfld.long 0x08 0. "  RDC     ,RDMA chain descriptor transfer completed" "Not completed,Completed"    
if (((d.b(anc:((iobase()+0x9000)+0x09)))&0xff)==0x00)
;RC        
group.long (0x9000+0xbfc)++0x3
line.long 0x00 "PEX_CSMISR,CSB System Miscellaneous Interrupt Status Register"
eventfld.long 0x00 29. " ERRD    ,Error detected" "Not detected,Detected"
eventfld.long 0x00 20. "      PSCH    ,Power state change" "Not changed,Changed"
eventfld.long 0x00 17. "    PMETO   ,PME to ack timeout event" "Not occurred,Occurred"
textline "                      "
eventfld.long 0x00 15. " ROF     ,Receive overflow error" "No error,Error"
eventfld.long 0x00 14. "          ECRC    ,ECRC error" "No error,Error"
eventfld.long 0x00 13. "       PTLP    ,Poisoned TLP" "No error,Error"
textline "                      "
eventfld.long 0x00 12. " MFTLP   ,Malformed TLP" "No error,Error"
eventfld.long 0x00 11. "          CTO     ,Completion timeout" "Not occurred,Occurred"
eventfld.long 0x00 10. "   CA      ,Completer abort" "Not received,Received"
textline "                      "
eventfld.long 0x00 9. " UR      ,Unsupported request" "No error,Error"
eventfld.long 0x00 8. "          INTD    ,PCI Express INTD" "Not received,Received"
eventfld.long 0x00 7. "   INTC    ,PCI Express INTC" "Not received,Received"
textline "                      "
eventfld.long 0x00 6. " INTB    ,PCI Express INTB" "Not received,Received"
eventfld.long 0x00 5. "      INTA    ,PCI Express INTA" "Not received,Received"
eventfld.long 0x00 3. "   MSI     ,PCI Express MSI message" "Not received,Received"
textline "                      "
eventfld.long 0x00 1. " RST     ,PCI Express reset" "No reset,Reset"
eventfld.long 0x00 0. "          IMB     ,Inbound Mailbox ready" "Not ready,Ready"
else
group.long (0x9000+0xbfc)++0x3
line.long 0x00 "PEX_CSMISR,CSB System Miscellaneous Interrupt Status Register"
eventfld.long 0x00 29. " ERRD    ,Error detected" "Not detected,Detected"
eventfld.long 0x00 20. "      PSCH    ,Power state change" "Not changed,Changed"
textline "                      "
eventfld.long 0x00 15. " ROF     ,Receive overflow error" "No error,Error"
eventfld.long 0x00 14. "          ECRC    ,ECRC error" "No error,Error"
eventfld.long 0x00 13. "       PTLP    ,Poisoned TLP" "No error,Error"
textline "                      "
eventfld.long 0x00 12. " MFTLP   ,Malformed TLP" "No error,Error"
eventfld.long 0x00 11. "          CTO     ,Completion timeout" "Not occurred,Occurred"
eventfld.long 0x00 10. "   CA      ,Completer abort" "Not received,Received"
textline "                      "
eventfld.long 0x00 9. " UR      ,Unsupported request" "No error,Error"
eventfld.long 0x00 1. "          RST     ,PCI Express reset" "No reset,Reset"
eventfld.long 0x00 0. "       IMB     ,Inbound Mailbox ready" "Not ready,Ready"
endif
tree.end
width 0xf
tree "PCI Express Outbound Address Mapping Registers"
group.long (0x9000+0xca0)++0x3f
line.long 0x0 "PEX_OWAR0,PCI Express Outbound Window Attributes Register 0"
hexmask.long 0x0 12.--31. 1. " SIZE    ,CSB window size"
bitfld.long 0x0 5.--7. "          TC      ,Traffic class" "0,1,2,3,4,5,6,7"
bitfld.long 0x0 4. "              NSNP    ,No snoop enable" "Enabled,Disabled"
textline "                        "
bitfld.long 0x0 3. " RLXO    ,Relax ordering enable" "Disabled,Enabled"
bitfld.long 0x0 1.--2. "          TYPE    ,Window type" "CFG,I/O,Memory,Reserved"
bitfld.long 0x0 0. "       EN      ,Window enable" "Disabled,Enabled"
line.long 0x4 "PEX_OWBAR0,PCI Express Outbound Window Base Address Register 0"
hexmask.long 0x4 12.--31. 0x1000 " BA      ,Base address"
line.long 0x8 "PEX_OWTARL0,PCI Express Outbound Window Translation Address Register Low 0"
hexmask.long 0x8 12.--31. 0x1000 " TAL     ,Translation address low"
line.long 0xC "PEX_OWTARH0,PCI Express Outbound Window Translation Address Register High 0"
line.long 0x10 "PEX_OWAR1,PCI Express Outbound Window Attributes Register 1"
hexmask.long 0x10 12.--31. 1. " SIZE    ,CSB window size"
bitfld.long 0x10 5.--7. "          TC      ,Traffic class" "0,1,2,3,4,5,6,7"
bitfld.long 0x10 4. "              NSNP    ,No snoop enable" "Enabled,Disabled"
textline "                        "
bitfld.long 0x10 3. " RLXO    ,Relax ordering enable" "Disabled,Enabled"
bitfld.long 0x10 1.--2. "          TYPE    ,Window type" "CFG,I/O,Memory,Reserved"
bitfld.long 0x10 0. "       EN      ,Window enable" "Disabled,Enabled"
line.long 0x14 "PEX_OWBAR1,PCI Express Outbound Window Base Address Register 1"
hexmask.long 0x14 12.--31. 0x1000 " BA      ,Base address"
line.long 0x18 "PEX_OWTARL1,PCI Express Outbound Window Translation Address Register Low 1"
hexmask.long 0x18 12.--31. 0x1000 " TAL     ,Translation address low"
line.long 0x1C "PEX_OWTARH1,PCI Express Outbound Window Translation Address Register High 1"
line.long 0x20 "PEX_OWAR2,PCI Express Outbound Window Attributes Register 2"
hexmask.long 0x20 12.--31. 1. " SIZE    ,CSB window size"
bitfld.long 0x20 5.--7. "          TC      ,Traffic class" "0,1,2,3,4,5,6,7"
bitfld.long 0x20 4. "              NSNP    ,No snoop enable" "Enabled,Disabled"
textline "                        "
bitfld.long 0x20 3. " RLXO    ,Relax ordering enable" "Disabled,Enabled"
bitfld.long 0x20 1.--2. "          TYPE    ,Window type" "CFG,I/O,Memory,Reserved"
bitfld.long 0x20 0. "       EN      ,Window enable" "Disabled,Enabled"
line.long 0x24 "PEX_OWBAR2,PCI Express Outbound Window Base Address Register 2"
hexmask.long 0x24 12.--31. 0x1000 " BA      ,Base address"
line.long 0x28 "PEX_OWTARL2,PCI Express Outbound Window Translation Address Register Low 2"
hexmask.long 0x28 12.--31. 0x1000 " TAL     ,Translation address low"
line.long 0x2C "PEX_OWTARH2,PCI Express Outbound Window Translation Address Register High 2"
line.long 0x30 "PEX_OWAR3,PCI Express Outbound Window Attributes Register 3"
hexmask.long 0x30 12.--31. 1. " SIZE    ,CSB window size"
bitfld.long 0x30 5.--7. "          TC      ,Traffic class" "0,1,2,3,4,5,6,7"
bitfld.long 0x30 4. "              NSNP    ,No snoop enable" "Enabled,Disabled"
textline "                        "
bitfld.long 0x30 3. " RLXO    ,Relax ordering enable" "Disabled,Enabled"
bitfld.long 0x30 1.--2. "          TYPE    ,Window type" "CFG,I/O,Memory,Reserved"
bitfld.long 0x30 0. "       EN      ,Window enable" "Disabled,Enabled"
line.long 0x34 "PEX_OWBAR3,PCI Express Outbound Window Base Address Register 3"
hexmask.long 0x34 12.--31. 0x1000 " BA      ,Base address"
line.long 0x38 "PEX_OWTARL3,PCI Express Outbound Window Translation Address Register Low 3"
hexmask.long 0x38 12.--31. 0x1000 " TAL     ,Translation address low"
line.long 0x3C "PEX_OWTARH3,PCI Express Outbound Window Translation Address Register High 3"
tree.end
width 0xf
tree "PCI Express Inbound Address Translation Registers"
if (((d.b(anc:((iobase()+0x9000)+0x09)))&0xff)==0x01)
;EP
group.long (0x9000+0xde0)++0xf
line.long 0x0 "PEX_EPIWTAR0,PCI Express EP Inbound Window 0 Translation Address Register 0"
hexmask.long 0x0 12.--31. 0x1000 " TA      ,Translation address"
bitfld.long 0x0 0. "          EN      ,Address mapping window enable" "Disabled,Enabled"
line.long 0x04 "PEX_EPIWTAR1,PCI Express EP Inbound Window 1 Translation Address Register 1"
hexmask.long 0x04 12.--31. 0x1000 " TA      ,Translation address"
bitfld.long 0x04 0. "          EN      ,Address mapping window enable" "Disabled,Enabled"
line.long 0x08 "PEX_EPIWTAR2,PCI Express EP Inbound Window 2 Translation Address Register 2"
hexmask.long 0x08 12.--31. 0x1000 " TA      ,Translation address"
bitfld.long 0x08 0. "          EN      ,Address mapping window enable" "Disabled,Enabled"        
line.long 0x0c "PEX_EPIWTAR3,PCI Express EP Inbound Window 3 Translation Address Register 3"
hexmask.long 0x0c 12.--31. 0x1000 " TA      ,Translation address"
bitfld.long 0x0c 0. "          EN      ,Address mapping window enable" "Disabled,Enabled"    
elif (((d.b(anc:((iobase()+0x9000)+0x09)))&0xff)==0x00)
;RC
group.long (0x9000+0xe60)++0x3f
line.long 0x0 "PEX_RCIWAR0,PCI Express RC Inbound Window Attributes Register 0"
hexmask.long.word 0x0 12.--27. 1. " SIZE    ,PCI Express window size"
bitfld.long 0x0 4. "              NSNP    ,No snoop" "Snoop,No snoop"
bitfld.long 0x0 3. "       NSOV    ,No snoop override" "Inbound packet,NSNP"
textline "                        "
bitfld.long 0x0 1.--2. " TYPE    ,Type of the window" "Reserved,Reserved,Prefetchable,Non-prefetchable"
bitfld.long 0x0 0. "  EN      ,Window enable" "Disabled,Enabled"
line.long 0x4 "PEX_RCIWTAR0,PCI Express RC Inbound Window Translation Address Register 0"
hexmask.long 0x4 2.--31. 0x4 " TA      ,Translation address"
line.long 0x8 "PEX_RCIWBARL0,PCI Express RC Inbound Window Base Address Register Low 0"
hexmask.long 0x8 2.--31. 0x4 " BAL     ,Base address low"
line.long 0xC "PEX_RCIWBARH0,PCI Express RC Inbound Window Base Address Register High 0"
line.long 0x10 "PEX_RCIWAR1,PCI Express RC Inbound Window Attributes Register 1"
hexmask.long.word 0x10 12.--27. 1. " SIZE    ,PCI Express window size"
bitfld.long 0x10 4. "              NSNP    ,No snoop" "Snoop,No snoop"
bitfld.long 0x10 3. "       NSOV    ,No snoop override" "Inbound packet,NSNP"
textline "                        "
bitfld.long 0x10 1.--2. " TYPE    ,Type of the window" "Reserved,Reserved,Prefetchable,Non-prefetchable"
bitfld.long 0x10 0. "  EN      ,Window enable" "Disabled,Enabled"
line.long 0x14 "PEX_RCIWTAR1,PCI Express RC Inbound Window Translation Address Register 1"
hexmask.long 0x14 2.--31. 0x4 " TA      ,Translation address"
line.long 0x18 "PEX_RCIWBARL1,PCI Express RC Inbound Window Base Address Register Low 1"
hexmask.long 0x18 2.--31. 0x4 " BAL     ,Base address low"
line.long 0x1C "PEX_RCIWBARH1,PCI Express RC Inbound Window Base Address Register High 1"
line.long 0x20 "PEX_RCIWAR2,PCI Express RC Inbound Window Attributes Register 2"
hexmask.long.word 0x20 12.--27. 1. " SIZE    ,PCI Express window size"
bitfld.long 0x20 4. "              NSNP    ,No snoop" "Snoop,No snoop"
bitfld.long 0x20 3. "       NSOV    ,No snoop override" "Inbound packet,NSNP"
textline "                        "
bitfld.long 0x20 1.--2. " TYPE    ,Type of the window" "Reserved,Reserved,Prefetchable,Non-prefetchable"
bitfld.long 0x20 0. "  EN      ,Window enable" "Disabled,Enabled"
line.long 0x24 "PEX_RCIWTAR2,PCI Express RC Inbound Window Translation Address Register 2"
hexmask.long 0x24 2.--31. 0x4 " TA      ,Translation address"
line.long 0x28 "PEX_RCIWBARL2,PCI Express RC Inbound Window Base Address Register Low 2"
hexmask.long 0x28 2.--31. 0x4 " BAL     ,Base address low"
line.long 0x2C "PEX_RCIWBARH2,PCI Express RC Inbound Window Base Address Register High 2"
line.long 0x30 "PEX_RCIWAR3,PCI Express RC Inbound Window Attributes Register 3"
hexmask.long.word 0x30 12.--27. 1. " SIZE    ,PCI Express window size"
bitfld.long 0x30 4. "              NSNP    ,No snoop" "Snoop,No snoop"
bitfld.long 0x30 3. "       NSOV    ,No snoop override" "Inbound packet,NSNP"
textline "                        "
bitfld.long 0x30 1.--2. " TYPE    ,Type of the window" "Reserved,Reserved,Prefetchable,Non-prefetchable"
bitfld.long 0x30 0. "  EN      ,Window enable" "Disabled,Enabled"
line.long 0x34 "PEX_RCIWTAR3,PCI Express RC Inbound Window Translation Address Register 3"
hexmask.long 0x34 2.--31. 0x4 " TA      ,Translation address"
line.long 0x38 "PEX_RCIWBARL3,PCI Express RC Inbound Window Base Address Register Low 3"
hexmask.long 0x38 2.--31. 0x4 " BAL     ,Base address low"
line.long 0x3C "PEX_RCIWBARH3,PCI Express RC Inbound Window Base Address Register High 3"
endif
tree.end
tree.end
width 0xb
endian.be
tree.end
tree "Channel 2"
width 0xa
endian.le
tree "PCI Express2 Core Configuration Header Registers"
rgroup.word 0xa000++0x3
line.word 0x00 "VENDOR,PCI Express Vendor ID Register"
line.word 0x02 "DEVICE,PCI Express Device ID Register"
group.word (0xa000+0x4)++0x1
line.word 0x0 "COMMAND,PCI Express Command Register"
bitfld.word 0x00 10. "     INDIS         ,Interrupt Disable" "Enabled,Disabled"
bitfld.word 0x00 8. "            SERR     ,Reporting of fatal and non-fatal errors detected by the device to the root complex" "Disabled,Enabled"
bitfld.word 0x00 6. "          PARERRE ,Parity error response" "Ignored,Not ignored"
textline "                   "
bitfld.word 0x00 2. " MASTER        ,Bus master" "Disabled,Enabled"
bitfld.word 0x00 1. "            MEMSPACE ,Memory space" "Not responded,Responded"        
bitfld.word 0x00 0. "     IOSPACE ,I/O space" "0,1"
group.word (0xa000+0x06)++0x1
line.word 0x0 "STATUS,PCI Express Status Register"
eventfld.word 0x00 15. "     DPE           ,Detected parity error" "No error,Error"
eventfld.word 0x00 14. "            SSE      ,Signaled system error" "No error,Error"
eventfld.word 0x00 13. "          RMA     ,Received master-abort" "Not received,Received"
textline "                   "
eventfld.word 0x00 12. " RTA           ,Received target-abort" "Not received,Received"
eventfld.word 0x00 11. "        STA      ,Signaled target-abort" "Not signaled,Signaled"
eventfld.word 0x00 8. "      MDPE    ,Master data parity error" "No error,Error"
textline "                   "
bitfld.word 0x00 4. " CL            ,Capabilities list" "PCI E not required,PCI E required"
bitfld.word 0x00 3. "  IS       ,Interrupt status" "Not pending,Pending"
rgroup.byte (0xa000+0x08)++0x0
line.byte 0x0 "REV_ID,PCI Express Revision ID Register"
rgroup.byte (0xa000+0x09)++0x2
line.byte 0x0 "CL_PRGIN,PCI Express Class Code Register/Programming Interface"
hexmask.byte 0x0 0.--7. 1. "     PRGIN         ,Programming Interface"
line.byte 0x1 "CL_SUB,PCI Express Class Code Register/Sub-class"
hexmask.byte 0x01 0.--7. 1. "     SUB           ,Sub-class"
line.byte 0x02 "CL_BASE,PCI Express Class Code Register/Base class"
hexmask.byte 0x02 0.--7. 1. "     BASE          ,Base class"
group.byte (0xa000+0xc)++0x0
line.byte 0x0 "CACHE,PCI Express Cache Line Size Register"
rgroup.byte (0xa000+0xd)++0x1
line.byte 0x00 "LATTMR,PCI Express Latency Timer Register"
line.byte 0x01 "HEADTP,PCI Express Header Type Register"
bitfld.byte 0x01 7. "     Multifunction ,Multiple functions support" "Single,Multiple"
hexmask.byte 0x01 0.--6. 1. "            HEADLAY  ,Header Layout"
if (((d.b(anc:((iobase()+0xa000)+0x09)))&0xff)==0x00)
; RC
group.byte (0xa000+0x18)++0x2    
line.byte 0x00 "PRBUSN,PCI Express Primary Bus Number Register"
line.byte 0x01 "SEBUSN,PCI Express Secondary Bus Number Register"
line.byte 0x02 "SUBUSN,PCI Express Subordinate Bus Number Register"
group.byte (0xa000+0x1b)++0x0
line.byte 0x00 "LATTMR2,PCI Express Secondary Latency Timer Register 2"
rgroup.byte (0xa000+0x1c)++0x1
line.byte 0x0 "IOBASE,PCI Express I/O Base Register"
bitfld.byte 0x0 4.--7. "     IOADDR        ,I/O start address" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.byte 0x0 0.--3. "                  ADRDEC   ,Address decode type" "16-bit,32-bit,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
line.byte 0x1 "IOLIMIT,PCI Express I/O Limit Register"
bitfld.byte 0x01 4.--7. "     IOADDR        ,I/O limit address" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.byte 0x01 0.--3. "                  ADRDEC   ,Address decode type" "16-bit,32-bit,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
group.word (0xa000+0x1e)++0x9    
line.word 0x0 "SECSTAT,PCI Express Secondary Status Register"
eventfld.word 0x00 15. "     DPE           ,Detected parity error" "No error,Error"
eventfld.word 0x00 14. "            SSE      ,Signaled system error" "No error,Error"
eventfld.word 0x00 13. "          RMA     ,Received master-abort" "Not received,Received"
textline "                   "
eventfld.word 0x00 12. " RTA           ,Received target-abort" "Not received,Received"
eventfld.word 0x00 11. "        STA      ,Signaled target-abort" "Not signaled,Signaled"
eventfld.word 0x00 8. "      MDPE    ,Master data parity error" "No error,Error"        
line.word 0x2 "MEMBASE,PCI Express Memory Base Register"
hexmask.word 0x02 4.--15. 0x10 "     MEMBASE       ,Memory base bits [31:20]"
line.word 0x4 "MEMLIM,PCI Express Memory Limit Register"
hexmask.word 0x04 4.--15. 0x10 "     MEMLIM        ,Memory limit bits [31:20]"
line.word 0x6 "PFMEMBASE,PCI Express Prefetchable Memory Base Register"
hexmask.word 0x06 4.--15. 0x10 "     PFMEMBASE     ,PF memory base [31:20]"
bitfld.word 0x06 0.--3. "                ADRDEC   ,Address decode type" "32-bit,64-bit,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
line.word 0x8 "PFMEMLIM,PCI Express Prefetchable Memory Limit Register"
hexmask.word 0x08 4.--15. 0x10 "     PFMEMLIM      ,PF memory limit [31:20]"
bitfld.word 0x08 0.--3. "                ADRDEC   ,Address decode type" "32-bit,64-bit,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
group.long (0xa000+0x28)++0x7
line.long 0x00 "PFBASEU,PCI Express Prefetchable Base Upper 32 Bits Register"
line.long 0x04 "PFLIMU,PCI Express Prefetchable Limit Upper 32 Bits Register"
rgroup.word (0xa000+0x30)++0x3    
line.word 0x00 "IOBASEU,PCI Express I/O Base Upper 16 Bits Register"
line.word 0x02 "IOLIMU,PCI Express I/O Limit Upper 16 Bits Register"
elif (((d.b(anc:((iobase()+0xa000)+0x09)))&0xff)==0x01)
;EP        
group.long (0xa000+0x10)++0x17
line.long 0x0 "BAR0,PCI Express Base Address Register 0"
hexmask.long 0x0 12.--31. 0x1000 " ADDRESS       ,Inbound memory window base address"
bitfld.long 0x0 3. "            PREF     ,Prefetchable" "Not prefetchable,Prefetchable"
bitfld.long 0x0 1.--2. "  TYPE    ,Type" "Reserved,Reserved,Anywhere,Reserved"
textline "                   "
bitfld.long 0x0 0. " MemSp         ,Memory space indicator" "0,1"    
line.long 0x04 "BAR1,PCI Express Base Address Register 1"
hexmask.long 0x04 12.--31. 0x1000 " ADDRESS       ,Inbound memory window base address"
bitfld.long 0x04 3. "            PREF     ,Prefetchable" "Not prefetchable,Prefetchable"
bitfld.long 0x04 1.--2. "  TYPE    ,Type" "Reserved,Reserved,Anywhere,Reserved"
textline "                   "
bitfld.long 0x04 0. " MemSp         ,Memory space indicator" "0,1"    
line.long 0x08 "BAR2,PCI Express Base Address Register 2"
hexmask.long 0x08 12.--31. 0x1000 " ADDRESS       ,Inbound memory window base address"
bitfld.long 0x08 3. "            PREF     ,Prefetchable" "Not prefetchable,Prefetchable"
bitfld.long 0x08 1.--2. "  TYPE    ,Type" "Reserved,Reserved,Anywhere,Reserved"
textline "                   "
bitfld.long 0x08 0. " MemSp         ,Memory space indicator" "0,1"    
line.long 0x0c "BAR3,PCI Express Base Address Register 3"
line.long 0x10 "BAR4,PCI Express Base Address Register 4"
hexmask.long 0x10 12.--31. 0x1000 " ADDRESS       ,Inbound memory window base address"
bitfld.long 0x10 3. "            PREF     ,Prefetchable" "Not prefetchable,Prefetchable"
bitfld.long 0x10 1.--2. "  TYPE    ,Type" "Reserved,Reserved,Anywhere,Reserved"
textline "                   "
bitfld.long 0x10 0. " MemSp         ,Memory space indicator" "0,1"    
line.long 0x14 "BAR5,PCI Express Base Address Register 5"
rgroup.word (0xa000+0x2c)++0x3
line.word 0x00 "SUBVEN,PCI Express Subsystem Vendor ID Register"
line.word 0x02 "SUBID,PCI Express Subsystem ID Register"
endif
rgroup.byte (0xa000+0x34)++0x00
line.byte 0x00 "CPOINT,PCI Express Capabilities Pointer Register"
group.byte (0xa000+0x3c)++0x00
line.byte 0x00 "INTLINE,PCI Express Interrupt Line Register"
rgroup.byte (0xa000+0x3d)++0x00
line.byte 0x00 "INTPIN,PCI Express Interrupt Pin Register"
if (((d.b(anc:((iobase()+0xa000)+0x09)))&0xff)==0x01)
;EP    
rgroup.byte (0xa000+0x3e)++0x0
line.byte 0x0 "MIN_GNT,PCI Express Minimum Grant Register"
rgroup.byte (0xa000+0x3f)++0x0
line.byte 0x0 "MAX_LAT,PCI Express Maximum Latency Register"
elif (((d.b(anc:((iobase()+0xa000)+0x09)))&0xff)==0x00)    
;RC    
group.word (0xa000+0x3e)++0x01
line.word 0x00 "BRGCTRL,PCI Express Bridge Control Register"
bitfld.word 0x00 6. "     Scnd_RST      ,Secondary bus reset" "No reset,Reset"
bitfld.word 0x00 3. "            VGA_EN   ,VGA enable" "Disabled,Enabled"
bitfld.word 0x00 2. "          ISA_EN  ,ISA enable" "Disabled,Enabled"
textline "                   "
bitfld.word 0x00 1. " SERR_EN       ,SERR enable" "Disabled,Enabled"
bitfld.word 0x00 0. "            PER      ,Parity error response" "Not responded,Responded"    
endif    
tree.end
width 0xb
tree "PCI Compatible Device-Specific Configuration Space Registers"    
rgroup.byte (0xa000+0x44)++0x1
line.byte 0x00 "PWRCAPID,PCI Express Power Management Capability ID Register"
line.byte 0x01 "PWRNCAPID,PCI Express Power Management Next Capabilities Pointer Register"
rgroup.word (0xa000+0x46)++0x1
line.word 0x0 "PWRCAP,PCI Express Power Management Capabilities Register"
bitfld.word 0x00 11.--15. "     PMES            ,Supported power states" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.word 0x00 10. "            D2         ,D2 Support" "Not supported,Supported"
bitfld.word 0x00 9. "  D1               ,D1 Support" "Not supported,Supported"
textline "                    "
bitfld.word 0x00 6.--8. " AUX_Curr        ,AUX Current" "0,1,2,3,4,5,6,7"
bitfld.word 0x00 5. "             DSI        ,DSI" "0,1"
bitfld.word 0x00 0.--2. "              Version          ,Version" "0,1,2,3,4,5,6,7"
group.word (0xa000+0x48)++0x1
line.word 0x0 "PWRSTCTL,PCI Express Power Management Status and Control Register"
eventfld.word 0x00 15. "     PME_STAT        ,PME Status" "0,1"
bitfld.word 0x00 13.--14. "             DATA_SC    ,Data Scale" "0,1,2,3"
bitfld.word 0x00 9.--12. "              DATA_SEL         ,Data Select" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
textline "                    "
bitfld.word 0x00 8. " PME_EN          ,PME Enable" "Disabled,Enabled"
bitfld.word 0x00 0.--1. "      POWER_ST   ,Power state" "D0,D1,D2,D3"
rgroup.byte (0xa000+0x4b)++0x2
line.byte 0x00 "PWRDATA,PCI Express Power Management Data Register"
line.byte 0x01 "CAPID,PCI Express Capability ID Register"
line.byte 0x02 "NCAPPTR, PCI Express Next Capabilities Pointer Register"
if (((d.b(anc:((iobase()+0xa000)+0x09)))&0xff)==0x00)    
;RC        
rgroup.word (0xa000+0x4e)++0x1    
line.word 0x00 "CAPAB,PCI Express Capabilities Register"
bitfld.word 0x00 9.--13. "     INTMES          ,Interrupt Message Number " "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.word 0x00 8. "            SLOT       ,Slot" "0,1"
textline "                    "
bitfld.word 0x00 4.--7. " DEV_PORT        ,Device/Port Type" "EP,Reserved,Reserved,Reserved,RC,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.word 0x00 0.--3. "      Version    ,Version" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"    
else
rgroup.word (0xa000+0x4e)++0x1    
line.word 0x00 "CAPAB,PCI Express Capabilities Register"
bitfld.word 0x00 9.--13. "     INTMES          ,Interrupt Message Number " "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
textline "                    "
bitfld.word 0x00 4.--7. " DEV_PORT        ,Device/Port Type" "EP,Reserved,Reserved,Reserved,RC,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.word 0x00 0.--3. "      Version    ,Version" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
endif
rgroup.long (0xa000+0x50)++0x3
line.long 0x0 "DEVCAP,PCI Express Device Capabilities Register"
bitfld.long 0x00 26.--27. " CSPLS           ,Captured Slot Power Limit Scale" "0,1,2,3"
hexmask.long.byte 0x00 18.--25. 1. "             CSPLV      ,Captured Slot Power Limit Value"
bitfld.long 0x00 14. "             PIP              ,Power Indicator Present" "Not present,Present"
textline "                    "
bitfld.long 0x00 13. " AIP             ,Attention Indicator Present" "Not present,Present"
bitfld.long 0x00 12. "   ABP        ,Attention Button Present" "Not present,Present"
bitfld.long 0x00 9.--11. "    EP_L1_LAT        ,Endpoint L1 Acceptable Latency" "0,1,2,3,4,5,6,7"
textline "                    "
bitfld.long 0x00 6.--8. " EP_L0s_LAT      ,Endpoint L0s Acceptable Latency" "0,1,2,3,4,5,6,7"
bitfld.long 0x00 5. "             ET         ,Extended Tag Field Supported" "Not supported,Supported"
bitfld.long 0x00 3.--4. "  PHAN_FCT         ,Phantom Functions Supported" "0,1,2,3"
textline "                    "
bitfld.long 0x00 0.--2. " MAX_PL_SIZE_SUP ,Maximum payload size supported" "Reserved,256 bytes,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
group.word (0xa000+0x54)++0x3
line.word 0x0 "DEVCTRL,PCI Express Device Control Register"
bitfld.word 0x00 12.--14. "     MAX_READ_SIZE   ,Maximum read request size" "0,1,2,3,4,5,6,7"
bitfld.word 0x00 11. "             NSE        ,No snoop enable" "Disabled,Enabled"
bitfld.word 0x00 10. "       APE              ,AUX power PM enable" "Disabled,Enabled"
textline "                    "
bitfld.word 0x00 9. " PFE             ,Phantom functions enable" "Disabled,Enabled"
bitfld.word 0x00 8. "      ETE        ,Extended tag field enable" "Disabled,Enabled"
bitfld.word 0x00 5.--7. "       MAX_PAYLOAD_SIZE ,Maximum payload size" "0,1,2,3,4,5,6,7"
textline "                    "
bitfld.word 0x00 4. " RO              ,Relaxed ordering" "Disabled,Enabled"
bitfld.word 0x00 3. "      URR        ,Unsupported request reporting" "Disabled,Enabled"
bitfld.word 0x00 2. "       FER              ,Fatal error reporting" "Disabled,Enabled"
textline "                    "
bitfld.word 0x00 1. " NFER            ,Non-fatal error reporting" "Disabled,Enabled"
bitfld.word 0x00 0. "      CER        ,Correctable error reporting" "Disabled,Enabled"    
line.word 0x2 "DEVSTAT,PCI Express Device Status Register"
bitfld.word 0x02 5. "     TP              ,Transactions pending" "Not pending,Pending"
bitfld.word 0x02 4. "   APD        ,AUX power detected" "Not detected,Detected"
eventfld.word 0x02 3. "   URD              ,Unsupported request detected" "Not detected,Detected"
textline "                    "
eventfld.word 0x02 2. " FED             ,Fatal error detected" "Not detected,Detected"
eventfld.word 0x02 1. "  NFED       ,Non-fatal error detected" "Not detected,Detected"
eventfld.word 0x02 0. "   CED              ,Correctable error detected" "Not detected,Detected"
rgroup.long (0xa000+0x58)++0x3
line.long 0x0 "LNKCAP,PCI Express Link Capabilities Register"
hexmask.long.byte 0x00 24.--31. 1. " PORT_NO         ,Port Number"
bitfld.long 0x00 15.--17. "            L1_EX_LAT  ,L1 exit latency" "0,1,2,3,4,5,6,7"
bitfld.long 0x00 12.--14. "              L0s_EX_LAT       ,L0s exit latency" "0,1,2,3,4,5,6,7"
textline "                    "
bitfld.long 0x00 10.--11. " ASPM            ,Active state power management (ASPM) Support" "0,1,2,3"
hexmask.long.byte 0x00 4.--9. 1. "             MAX_LINK_W ,Maximum link width" 
bitfld.long 0x00 0.--3. "             MAX_LINK_SP      ,Maximum link speed" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
group.word (0xa000+0x5c)++0x1
line.word 0x0 "LNKCTRL,PCI Express Link Control Register"
bitfld.word 0x00 7. "     EXT_SYNC        ,Extended synch" "Disabled,Enabled"
bitfld.word 0x00 6. "      CCC        ,Common clock configuration" "0,1"
bitfld.word 0x00 5. "              RL               ,Retrain link" "Not retained,Retained"
textline "                    "
bitfld.word 0x00 4. " LD              ,Link disable" "Enabled,Disabled"
bitfld.word 0x00 3. "      RCB        ,Read completion boundary" "0,1"
bitfld.word 0x00 0.--1. "              ASPM_CTL         ,Active state power management (ASPM) control" "0,1,2,3"        
rgroup.word (0xa000+0x5e)++0x1
line.word 0x0 "LNKSTAT,PCI Express Link Status Register"
bitfld.word 0x00 12. "     SCC             ,Slot clock configuration" "0,1"
bitfld.word 0x00 11. "             LT         ,Link training" "Disabled,Enabled"
textline "                    "
hexmask.word.byte 0x00 4.--9. 1. " NEG_LINK_W      ,Negotiated link width" 
bitfld.word 0x00 0.--3. "            LINK_SP    ,Link speed" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
rgroup.long (0xa000+0x60)++0x3
line.long 0x0 "SLOTCAP,PCI Express Slot Capabilities Register"
hexmask.long.word 0x00 19.--31. 1. " SLOT_NO         ,Physical Slot Number"
bitfld.long 0x00 15.--16. "          SPLS       ,Slot power limit scale" "0,1,2,3"
hexmask.long.byte 0x00 7.--14. 1. "              SPLV             ,Slot power limit value"
textline "                    "
bitfld.long 0x00 6. " HPD             ,Hot plug capable" "Not capable,Capable"
bitfld.long 0x00 5. "   HPS        ,Hot plug surprise" "Disabled,Enabled"
bitfld.long 0x00 4. "       PIP              ,Power indicator present" "Not present,Present"
textline "                    "
bitfld.long 0x00 3. " AIP             ,Attention indicator present" "Not present,Present"
bitfld.long 0x00 2. "   MRLSP      ,MRL sensor present" "Not present,Present"
bitfld.long 0x00 1. "    PCP              ,Power controller present" "Not present,Present"
textline "                    "
bitfld.long 0x00 0. " ABP             ,Attention button present" "Not present,Present"
group.word (0xa000+0x64)++0x3
line.word 0x0 "SLOTCTRL,PCI Express Slot Control Register"
bitfld.word 0x00 10. "     PCC             ,Power controller control" "0,1"
bitfld.word 0x00 8.--9. "             PIC        ,Power indicator control" "0,1,2,3"
bitfld.word 0x00 6.--7. "              AIC              ,Attention indicator control" "0,1,2,3"
textline "                    "
bitfld.word 0x00 5. " HPIE            ,Hot plug interrupt enable" "Disabled,Enabled"
bitfld.word 0x00 4. "      CCIE       ,Command completed interrupt enable" "Disabled,Enabled"
bitfld.word 0x00 3. "       PDCE             ,Presence detect changed enable" "Disabled,Enabled"
textline "                    "
bitfld.word 0x00 2. " MRLSCE          ,MRL sensor changed enable" "Disabled,Enabled"
bitfld.word 0x00 1. "      PFDE       ,Power fault detected enable" "Disabled,Enabled"
bitfld.word 0x00 0. "       ABPE             ,Attention button pressed enable" "Disabled,Enabled"        
line.word 0x2 "SLOTSTAT,PCI Express Slot Status Register"
bitfld.word 0x02 6. "     PDS             ,Presence detect state" "Slot empty,Card present"
bitfld.word 0x02 5. "  MRLSS      ,MRL sensor state" "Closed,Open"
eventfld.word 0x02 4. "         CC               ,Command completed" "Not completed,Completed"
textline "                    "
eventfld.word 0x02 3. " PDC             ,Presence detect changed" "Not changed,Changed"
eventfld.word 0x02 2. "   MRLSC      ,MRL sensor changed" "Not changed,Changed"
eventfld.word 0x02 1. "    PFD              ,Power fault detected" "Not detected,Detected"
textline "                    "
eventfld.word 0x02 0. " ABP             ,Attention button pressed" "Not pressed,Pressed"        
if (((d.b(anc:((iobase()+0xa000)+0x09)))&0xff)==0x00)
;RC
group.word (0xa000+0x68)++0x1
line.word 0x0 "ROOTCTRL,PCI Express Root Control Register"
bitfld.word 0x00 3. "     PMEIE           ,PME interrupt enable" "Disabled,Enabled"
bitfld.word 0x00 2. "      SEFEE      ,System error on fatal error enable" "Disabled,Enabled"
textline "                    "
bitfld.word 0x00 1. " SENFEE          ,System error on non-fatal error enable" "Disabled,Enabled"
bitfld.word 0x00 0. "      SECEE      ,System error on correctable error enable" "Disabled,Enabled"        
group.long (0xa000+0x6c)++0x3
line.long 0x0 "ROOTSTAT,PCI Express Root Status Register"
bitfld.long 0x0 17. " PMEP            ,PME pending" "Not pending,Pending"
eventfld.long 0x0 16. "   PMES       ,PME status" "Low,High"
hexmask.long.word 0x0 0.--15. 1. "           PMERID           ,PME requestor ID"
elif (((d.b(anc:((iobase()+0xa000)+0x09)))&0xff)==0x01)        
;EP
rgroup.byte (0xa000+0x70)++0x0
line.byte 0x0 "MSIMCID,PCI Express MSI Message Capability ID Register"
group.word (0xa000+0x72)++0x1
line.word 0x0 "MSIMCTL,PCI Express MSI Message Control Register"
bitfld.word 0x0 7. "     64AC            ,64-bit address capable" "Not capable,Capable"
bitfld.word 0x0 4.--6. "   MME        ,Multiple message enable" "0,1,2,3,4,5,6,7"
bitfld.word 0x0 1.--3. "              MMC              ,Multiple message capable" "0,1,2,3,4,5,6,7"
textline "                    "
bitfld.word 0x0 0. " MSIE            ,MSI enable" "Disabled,Enabled"
group.long (0xa000+0x74)++0x7        
line.long 0x0 "MSIMADR,PCI Express MSI Message Address Register"
hexmask.long 0x0 2.--31. 0x4 " MESSADR         ,System-specified message address"
line.long 0x04 "MSIMUADR,PCI Express MSI Message Upper Address Register"
group.word (0xa000+0x7c)++0x1
line.word 0x00 "MSIMDATA,PCI Express MSI Message Data Register"
endif    
tree.end
width 0xa
tree "PCI Express Extended Configuration Space"
rgroup.word (0xa000+0x100)++0x1
line.word 0x0 "AERCID,PCI Express Advanced Error Reporting Capability ID Register"
group.long (0xa000+0x104)++0x17
line.long 0x0 "UESTAT,PCI Express Uncorrectable Error Status Register"
eventfld.long 0x00 20. " URE    ,Unsupported request error status" "No error,Error"
eventfld.long 0x00 19. "      ECRCE  ,ECRC error status" "No error,Error"
eventfld.long 0x00 18. "      MTLP   ,Malformed TLP status" "No error,Error"
eventfld.long 0x00 17. "      RXO   ,Receiver overflow status" "No overflow,Overflow"
textline "                   "
eventfld.long 0x00 16. " UC     ,Unexpected completion status" "No error,Error"
eventfld.long 0x00 15. "      CA     ,Completer abort status" "No abort,Abort"
eventfld.long 0x00 14. "      CTO    ,Completion timeout status" "No timeout,Timeout"
eventfld.long 0x00 13. "    FCPE  ,Flow control protocol error status" "No error,Error"
textline "                   "
eventfld.long 0x00 12. " PTLP   ,Poisoned TLP status" "No error,Error"
eventfld.long 0x00 4. "      DLPE   ,Data link protocol error status" "No error,Error"
eventfld.long 0x00 0. "      TE     ,Training error status" "No error,Error"        
line.long 0x04 "UEMASK,PCI Express Uncorrectable Error Mask Register"
bitfld.long 0x04 20. " UREM   ,Unsupported request error mask" "Not masked,Masked"
bitfld.long 0x04 19. "    ECRCEM ,ECRC error mask" "Not masked,Masked"
bitfld.long 0x04 18. "    MTLPM  ,Malformed TLP mask" "Not masked,Masked"
bitfld.long 0x04 17. "    RXOM  ,Receiver overflow mask" "Not masked,Masked"
textline "                   "
bitfld.long 0x04 16. " UCM    ,Unexpected completion mask" "Not masked,Masked"
bitfld.long 0x04 15. "    CAM    ,Completer abort mask" "Not masked,Masked"
bitfld.long 0x04 14. "    CTOM   ,Completion timeout mask" "Not masked,Masked"
bitfld.long 0x04 13. "    FCPEM ,Flow control protocol error mask" "Not masked,Masked"
textline "                   "
bitfld.long 0x04 12. " PTLPM  ,Poisoned TLP mask" "Not masked,Masked"
bitfld.long 0x04 4. "    DLPEM  ,Data link protocol error mask" "Not masked,Masked"
bitfld.long 0x04 0. "    TEM    ,Training error mask" "Not masked,Masked"
line.long 0x08 "UESEV,PCI Express Uncorrectable Error Severity Register"
bitfld.long 0x08 20. " URES   ,Unsupported request error severity" "Not severe,Severe"
bitfld.long 0x08 19. "    ECRCES ,ECRC error severity" "Not severe,Severe"
bitfld.long 0x08 18. "    MTLPS  ,Malformed TLP severity" "Not severe,Severe"
bitfld.long 0x08 17. "    RXOS  ,Receiver overflow severity" "Not severe,Severe"
textline "                   "
bitfld.long 0x08 16. " UCS    ,Unexpected completion severity" "Not severe,Severe"
bitfld.long 0x08 15. "    CAS    ,Completer abort severity" "Not severe,Severe"
bitfld.long 0x08 14. "    CTOS   ,Completion timeout severity" "Not severe,Severe"
bitfld.long 0x08 13. "    FCPES ,Flow control protocol error severity" "Not severe,Severe"
textline "                   "
bitfld.long 0x08 12. " PTLPS  ,Poisoned TLP severity" "Not severe,Severe"
bitfld.long 0x08 4. "    DLPES  ,Data link protocol error severity" "Not severe,Severe"
bitfld.long 0x08 0. "    TES    ,Training error severity" "Not severe,Severe"    
line.long 0xc "CESTAT,PCI Express Correctable Error Status Register"
eventfld.long 0x0C 12. " RTTO   ,Replay timer timeout status" "No timeout,Timeout"
eventfld.long 0x0C 8. "    RNR    ,REPLAY_NUM rollover status" "No rollover,Rollover"
eventfld.long 0x0C 7. "   BDLLP  ,Bad DLLP status" "No error,Error"
textline "                   "
eventfld.long 0x0C 6. " BTLP   ,Bad TLP status" "No error,Error"
eventfld.long 0x0C 0. "      RXE    ,Receiver error status" "No error,Error"        
line.long 0x10 "CEMASK,PCI Express Correctable Error Mask Register"
bitfld.long 0x10 12. " RTTOM  ,Replay timer timeout mask" "Not masked,Masked"
bitfld.long 0x10 8. "    RNRM   ,REPLAY_NUM rollover mask" "Not masked,Masked"
bitfld.long 0x10 7. "    BDLLPM ,Bad DLLP mask" "Not masked,Masked"
textline "                   "
bitfld.long 0x10 6. " BTLPM  ,Bad TLP mask" "Not masked,Masked"
bitfld.long 0x10 0. "    RXEM   ,Receiver error mask" "Not masked,Masked"
line.long 0x14 "AERCACTL,PCI Express Advanced Error Capabilities and Control Register"
bitfld.long 0x14 8. " ECRCCE ,ECRC checking enable" "Disabled,Enabled"
bitfld.long 0x14 7. "      ECRCCC ,ECRC checking capable" "Not capable,Capable"
bitfld.long 0x14 6. "   ECRCGE ,ECRC generation enable" "Disabled,Enabled"
textline "                   "
bitfld.long 0x14 5. " ECRCGC ,ECRC generation capable" "Not capable,Capable"
bitfld.long 0x14 0.--4. "   FSTERR ,First Error Pointer" "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xA,0xB,0xC,0xD,0xE,0xF,0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F"
rgroup.long (0xa000+11c)++0xf    
line.long 0x0 "HEADER0,PCI Express Header Log Register 0"
hexmask.long.byte 0x0 24.--31. 0x1 " Byte0  ,Header log byte 0"
hexmask.long.byte 0x0 16.--23. 0x1 "            Byte1  ,Header log byte 1"
hexmask.long.byte 0x0 8.--15. 0x1 "            Byte2  ,Header log byte 2"
hexmask.long.byte 0x0 0.--7. 0x1 "            Byte3 ,Header log byte 3"
line.long 0x04 "HEADER1,PCI Express Header Log Register 1"
hexmask.long.byte 0x04 24.--31. 0x1 " Byte4  ,Header log byte 4"
hexmask.long.byte 0x04 16.--23. 0x1 "            Byte5  ,Header log byte 5"
hexmask.long.byte 0x04 8.--15. 0x1 "            Byte6  ,Header log byte 6"
hexmask.long.byte 0x04 0.--7. 0x1 "            Byte7 ,Header log byte 7"
line.long 0x08 "HEADER2,PCI Express Header Log Register 2"
hexmask.long.byte 0x08 24.--31. 0x1 " Byte8  ,Header log byte 8"
hexmask.long.byte 0x08 16.--23. 0x1 "            Byte9  ,Header log byte 9"
hexmask.long.byte 0x08 8.--15. 0x1 "            ByteA  ,Header log byte A"
hexmask.long.byte 0x08 0.--7. 0x1 "            ByteB ,Header log byte B"
line.long 0x0c "HEADER3,PCI Express Header Log Register 3"
hexmask.long.byte 0x0c 24.--31. 0x1 " ByteC  ,Header log byte C"
hexmask.long.byte 0x0c 16.--23. 0x1 "            ByteD  ,Header log byte D"
hexmask.long.byte 0x0c 8.--15. 0x1 "            ByteE  ,Header log byte E"
hexmask.long.byte 0x0c 0.--7. 0x1 "            ByteF ,Header log byte F"
group.long (0xa000+0x12c)++0x3
line.long 0x0 "RERCMD,PCI Express Root Error Command Register"
bitfld.long 0x0 2. " FERE   ,Fatal error reporting enable" "Disabled,Enabled"
bitfld.long 0x0 1. "      NFERE  ,Non-fatal error reporting enable" "Disabled,Enabled"
bitfld.long 0x0 0. "      CERE   ,Correctable error reporting enable" "Disabled,Enabled"
group.long (0xa000+0x130)++0x3
line.long 0x0 "RERSTAT,PCI Express Root Error Status Register"    
bitfld.long 0x00 27.--31. " AEIMN  ,Advanced error interrupt message number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
eventfld.long 0x00 6. "            FEMR   ,Fatal error messages received" "Not received,Received"
eventfld.long 0x00 5. "  NFEMR  ,Non-fatal error messages received" "Not received,Received"
textline "                   "
eventfld.long 0x00 4. " FUF    ,First uncorrectable fatal" "No error,Error"
eventfld.long 0x00 3. "      MEFNFR ,Multiple ERR_FATAL/NONFATAL received" "Not received,Received"
eventfld.long 0x00 2. "  EFNFR  ,ERR_FATAL/NONFATAL received" "Not received,Received"
textline "                   "
eventfld.long 0x00 1. " MECR   ,Multiple ERR_COR received" "Not received,Received"
eventfld.long 0x00 0. "  ECR    ,ERR_COR received" "Not received,Received"        
rgroup.word (0xa000+0x134)++0x1
line.word 0x00 "CESRCID,PCI Express Correctable Error Source ID Register"
rgroup.word (0xa000+0x138)++0x1
line.word 0x00 "ERRSRCID,PCI Express Fatal/Non-Fatal Error Source ID Register"
tree.end
width 0x14
tree "PCI Express Controller Internal Control and Status Registers"
rgroup.long (0xa000+0x404)++0x3
line.long 0x0 "PEX_LTSSM_STAT,LTSSM State Status Register"
hexmask.long.byte 0x0 0.--6. 1. " STATUS             ,Status code"
group.long (0xa000+0x440)++0x03
line.long 0x0 "PEX_GCLK_RATIO,PCI Express IP Block Core Clock Ratio Register"
group.long (0xa000+0x450)++0x3
line.long 0x00 "PEX_PM_TIMER,PCI Express Power Management Timer Register"
hexmask.long.word 0x0 12.--23. 0x1 " L1_WAIT_PERIOD     ,Wait period before entering L1 power state"
hexmask.long.word 0x0 0.--11. 0x1 "              L0s_TIME_IN ,Time in value for entering L0s power state"
if (((d.b(anc:((iobase()+0xa000)+0x09)))&0xff)==0x01)        
;EP
group.long (0xa000+0x454)++0x3
line.long 0x00 "PEX_PME_TIMEOUT,PCI Express PME Time-Out Register"
hexmask.long 0x0 0.--25. 1. " PME_TIMEOUT        ,Interval before PME messages resending"
endif
group.long (0xa000+0x478)++0x03
line.long 0x00 "PEX_SSVID_UPDATE,PCI Express Subsystem Vendor ID Update Register"
group.long (0xa000+0x4b0)++0x3
line.long 0x0 "PEX_CFG_READY,PCI Express Configuration Ready Register"
bitfld.long 0x0 0. " CFG_READY          ,Configuration ready" "Not ready,Ready"
if (((d.b(anc:((iobase()+0xa000)+0x09)))&0xff)==0x01)
;EP
group.long (0xa000+0x4d8)++0x3 "PCI Express BAR Configuration Registers"
line.long 0x0 "PEX_BAR_SIZEL,PCI Express BAR Size Low Configuration Register"
bitfld.long 0x0 31. " MASK               ,Mask for the BAR bit 31" "0,1"
bitfld.long 0x0 31. ",Mask for the BAR bit 31"  "0,1"
bitfld.long 0x0 30. ",Mask for the BAR bit 30"  "0,1"
bitfld.long 0x0 29. ",Mask for the BAR bit 29"  "0,1"
bitfld.long 0x0 28. ",Mask for the BAR bit 28"  "0,1"
bitfld.long 0x0 27. ",Mask for the BAR bit 27"  "0,1"
bitfld.long 0x0 26. ",Mask for the BAR bit 26"  "0,1"
bitfld.long 0x0 25. ",Mask for the BAR bit 25"  "0,1"
bitfld.long 0x0 24. ",Mask for the BAR bit 24"  "0,1"
bitfld.long 0x0 23. ",Mask for the BAR bit 23"  "0,1"
bitfld.long 0x0 22. ",Mask for the BAR bit 22"  "0,1"
bitfld.long 0x0 21. ",Mask for the BAR bit 21"  "0,1"
bitfld.long 0x0 20. ",Mask for the BAR bit 20"  "0,1"
bitfld.long 0x0 19. ",Mask for the BAR bit 19"  "0,1"
bitfld.long 0x0 18. ",Mask for the BAR bit 18"  "0,1"
bitfld.long 0x0 17. ",Mask for the BAR bit 17"  "0,1"
bitfld.long 0x0 16. ",Mask for the BAR bit 16"  "0,1"
bitfld.long 0x0 15. ",Mask for the BAR bit 15"  "0,1"
bitfld.long 0x0 14. ",Mask for the BAR bit 14"  "0,1"
bitfld.long 0x0 13. ",Mask for the BAR bit 13"  "0,1"
bitfld.long 0x0 12. ",Mask for the BAR bit 12"  "0,1"
group.long (0xa000+0x4e0)++0x3
line.long 0x0 "PEX_BAR_SEL,PCI Express BAR Select Configuration Register"
bitfld.long 0x00 0.--1. " SEL                ,Select" "BAR0,BAR1,BAR2,BAR4"
group.long (0xa000+0x504)++0x3
line.long 0x0 "PEX_BAR_PF,PCI Express BAR Prefetch Configuration Register"
bitfld.long 0x0 3. " PF3                ,Prefetchable attribute of the BAR 4" "Not prefetchable,Prefetchable"
bitfld.long 0x0 2. "  PF2         ,Prefetchable attribute of the BAR 2" "Not prefetchable,Prefetchable"
textline "                             "
bitfld.long 0x0 1. " PF1                ,Prefetchable attribute of the BAR 1" "Not prefetchable,Prefetchable"
bitfld.long 0x0 0. "  PF0         ,Prefetchable attribute of the BAR 0" "Not prefetchable,Prefetchable"
elif (((d.b(anc:((iobase()+0xa000)+0x09)))&0xff)==0x00)
;RC
group.long (0xa000+0x590)++0x3 "PCI Express Extended Status and Control Registers"
line.long 0x0 "PEX_PME_TO_ACK_TOR,PME_To_Ack Timeout Register"
hexmask.long 0x0 0.--21. 0x01 " PME_TO_ACK_TIMEOUT , PME_Turn_Off message to ACK timeout interval"
rgroup.long (0xa000+0x5A0)++0x3
line.long 0x0 "PEX_SS_INTR_MASK,Secondary Status Interrupt Mask Register"
bitfld.long 0x00 5. " M_DPE              ,Mask detected parity error" "Not masked,Masked"
bitfld.long 0x00 4. "        M_SSE       ,Mask signaled system error" "Not masked,Masked"
textline "                             "        
bitfld.long 0x00 3. " M_RMA              ,Mask received master abort" "Not masked,Masked"
bitfld.long 0x00 2. "        M_RTA       ,Mask received target abort" "Not masked,Masked"
textline "                             "        
bitfld.long 0x00 1. " M_STA              ,Mask signaled target abort" "Not masked,Masked"
bitfld.long 0x00 0. "        M_MDPE      ,Mask master data parity error" "Not masked,Masked"    
endif
tree.end
tree "PCI-Express CSB Bridge Configuration Space"
width 0x13
tree "Global Registers"
group.long (0xa000+0x808)++0x3
line.long 0x0 "PEX_CSB_CTRL,PCI Express CSB Bridge Control Register"
bitfld.long 0x00 8.--9. " DSAD    ,Depth of descriptors array" "1,2,4,8"
bitfld.long 0x00 3. "                 RDMAE   ,Read DMA enable" "Disabled,Enabled"
bitfld.long 0x00 2. "       WDMAE   ,Write DMA enable" "Disabled,Enabled"
textline "                            "
bitfld.long 0x00 1. " IBPIOE  ,Inbound PIO enable" "Disabled,Enabled"
bitfld.long 0x00 0. "          OBIPIOE ,Outbound PIO enable" "Disabled,Enabled"    
group.long (0xa000+0x814)++0x3
line.long 0x00 "PEX_DMA_DSTMR,PCI Express DMA Descriptor Timer Register"
rgroup.long (0xa000+0x81c)++0x3
line.long 0x0 "PEX_CSB_STAT,PCI Express CSB Bridge Status register"
bitfld.long 0x0 24. " RDMARP  ,Read DMA read transaction pending" "Not pending,Pending"
bitfld.long 0x0 16. "       WDMARP  ,Write DMA read transaction pending" "Not pending,Pending"
textline "                            "
bitfld.long 0x0 8. " IBPIORP ,PCI Express inbound PIO read transaction pending" "Not pending,Pending"
bitfld.long 0x0 0. "       OBPIORP ,PCI Express outbound PIO read transaction pending" "Not pending,Pending"
tree.end
width 0x11
tree "PCI Express Outbound PIO  Registers"
group.long (0xa000+0x840)++0x7
line.long 0x0 "PEX_CSB_OBCTRL,PCI Express Outbound PIO Control Register"
bitfld.long 0x00 3. " CFGWE   ,Configuration window enable" "Disabled,Enabled"
bitfld.long 0x00 2. "          IOWE    ,I/O window enable" "Disabled,Enabled"
textline "                          "
bitfld.long 0x00 1. " MEMWE   ,Memory window enable" "Disabled,Enabled"
bitfld.long 0x00 0. "          PIOE    ,PIO enable" "Disabled,Enabled"
line.long 0x04 "PEX_CSB_OBSTAT,PCI Express Outbound PIO Status Register"
eventfld.long 0x04 3. " PEXER   ,PCI Express error." "No error,Error"
eventfld.long 0x04 2. "          CSBER   ,CSB Bridge error" "No error,Error"
textline "                          "
eventfld.long 0x04 1. " BMPER   ,Bridge mapping error" "No error,Error"
eventfld.long 0x04 0. "          BENER   ,Bridge enable error" "No error,Error"
tree.end
width 0x11
tree "PCI Express Inbound PIO Registers"
group.long (0xa000+0x8e0)++0x7
line.long 0x0 "PEX_CSB_IBCTRL,PCI Express Inbound PIO Control Register"
bitfld.long 0x0 0. " PIOE    ,PIO enable" "Disabled,Enabled"
line.long 0x04 "PEX_CSB_IBSTAT,PCI Express Inbound PIO Status Register"
eventfld.long 0x04 2. " CSBER   ,CSB Bus error" "No error,Error"
eventfld.long 0x04 1. "          BRGER   ,CSB Bridge error" "No error,Error"
eventfld.long 0x04 0. "       BENER   ,Bridge enable error" "No error,Error"
tree.end
tree "DMA Registers"
group.long (0xa000+0x9a0)++0xb
line.long 0x0 "PAB_WDMA_CTRL,WDMA Control Register"
bitfld.long 0x00 10. " SNOOP   ,Snoop for write and read transactions to the descriptor" "Disabled,Enabled"
bitfld.long 0x00 9. "          RLXO    ,Relaxed ordering for PCI Express" "Not relaxed,Relaxed"
textline "                          "
bitfld.long 0x00 2.--4. " TC      ,Traffic class" "0,1,2,3,4,5,6,7"
bitfld.long 0x00 1. "                 SUS     ,DMA suspend" "Not suspended,Suspended"
textline "                          "
bitfld.long 0x00 0. " START   ,DMA start" "Not started,Started"
line.long 0x04 "PEX_WDMA_ADDR,PCI Express Write DMA first Address Register"
line.long 0x08 "PEX_WDMA_STAT,PCI Express Write DMA Status Register"
eventfld.long 0x08 6. " DAFER   ,DMA data fetch error" "No error,Error"
eventfld.long 0x08 5. "          BRER    ,Bridge error" "No error,Error"
eventfld.long 0x08 4. "       DSUER   ,Descriptor update error" "No error,Error"
textline "                          "
eventfld.long 0x08 2. " DSFER   ,Descriptor fetch error" "No error,Error"
eventfld.long 0x08 1. "          DSCPL   ,Descriptor DMA transfer completed" "Not completed,Completed"
eventfld.long 0x08 0. "  CHCPL   ,DMA chain transfer completed" "Not completed,Completed"
group.long (0xa000+0xa40)++0xb
line.long 0x0 "PEX_RDMA_CTRL,PCI Express Read DMA Control Register"
bitfld.long 0x00 10. " SNOOP   ,Snoop for write and read transactions to the descriptor" "Disabled,Enabled"
bitfld.long 0x00 9. "          RLXO    ,Relaxed ordering for PCI Express" "Not relaxed,Relaxed"
textline "                          "
bitfld.long 0x00 1. " SUS     ,DMA suspend" "Not suspended,Suspended"
bitfld.long 0x00 0. "     START   ,DMA start" "Not started,Started"
line.long 0x04 "PEX_RDMA_ADDR,PCI Express Read DMA First Address Register"
line.long 0x08 "PEX_RDMA_STAT,PCI Express Read DMA Status Register" 
eventfld.long 0x08 7. " CPLER   ,PCI Express completion error" "No error,Error"
eventfld.long 0x08 6. "          DAFER   ,DMA data write error" "No error,Error"
eventfld.long 0x08 5. "       BRER    ,Bridge error" "No error,Error"
textline "                          "
eventfld.long 0x08 4. " DSUER   ,Descriptor update error" "No error,Error"
eventfld.long 0x08 2. "          DSFER   ,Descriptor fetch error" "No error,Error"
eventfld.long 0x08 1. "       DSCPL   ,Descriptor DMA transfer completed" "Not completed,Completed"
textline "                          "
eventfld.long 0x08 0. " CHCPL   ,DMA chain transfer completed" "Not completed,Completed"            
tree.end 
width 17.
tree "Mailbox Registers"
group.long (0xa000+0xb20)++0x7
line.long 0x0 "PEX_OMBCR,PCI Express Outbound Mailbox Control Register"
bitfld.long 0x0 0. " READY   ,Outbound mailbox ready" "Not ready,Ready"
line.long 0x04 "PEX_OMBDR,PCI Express Outbound Mailbox Data Register"
group.long (0xa000+0xb60)++0x7
line.long 0x0 "PEX_IMBCR,PCI Express Inbound Mailbox Control Register"
bitfld.long 0x0 0. " READY   ,Inbound mailbox ready" "Not ready,Ready"
line.long 0x04 "PEX_IMBDR,PCI Express Inbound Mailbox Data Register"
tree.end
width 0xc
tree "PCI Express Host Interrupt Registers"
group.long (0xa000+0xba0)++0xb
line.long 0x0 "PEX_HIER,PCI Express Host Interrupt Enable Register"
bitfld.long 0x00 11. " CBRIE   ,CSB bridge reset interrupt enable" "Disabled,Enabled"
bitfld.long 0x00 10. "          OMBIE   ,Outbound Mailbox ready interrupt enable" "Disabled,Enabled"
bitfld.long 0x00 9. "       RDAIE   ,RDMA transfer aborted interrupt enable" "Disabled,Enabled"
textline "                     "
bitfld.long 0x00 8. " RDSIE   ,RDMA descriptor transfer completed interrupt enable" "Disabled,Enabled"
bitfld.long 0x00 7. "          RDCIE   ,RDMA chain descriptor transfer completed interrupt enable" "Disabled,Enabled"
bitfld.long 0x00 6. "       WDAIE   ,WDMA transfer aborted interrupt enable" "Disabled,Enabled"
textline "                     "
bitfld.long 0x00 5. " WDSIE   ,WDMA descriptor transfer completed interrupt enable" "Disabled,Enabled"
bitfld.long 0x00 4. "          WDCIE   ,WDMA chain descriptor transfer completed interrupt enable" "Disabled,Enabled"
bitfld.long 0x00 3. "       IPAIE   ,Inbound PIO transaction aborted interrupt enable" "Disabled,Enabled"
textline "                     "
bitfld.long 0x00 2. " IPCIE   ,Inbound PIO transaction completed interrupt enable" "Disabled,Enabled"
bitfld.long 0x00 1. "          OPAIE   ,Outbound PIO transaction abort interrupt enable" "Disabled,Enabled"
bitfld.long 0x00 0. "       OPCIE   ,Outbound PIO transaction completed interrupt enable" "Disabled,Enabled"
line.long 0x04 "PEX_HISR,PCI Express Host Interrupt Status Register"
eventfld.long 0x04 11. " CBR     ,CSB bridge reset" "No reset,Reset"
eventfld.long 0x04 10. "          OMB     ,Outbound Mailbox ready" "Not ready,Ready"
eventfld.long 0x04 9. "      RDA     ,RDMA transfer aborted" "Not aborted,Aborted"
textline "                     "
eventfld.long 0x04 8. " RDS     ,RDMA descriptor transfer completed" "Not completed,Completed"
eventfld.long 0x04 7. "     RDC     ,RDMA chain descriptor transfer completed" "Not completed,Completed"
eventfld.long 0x04 6. "  WDA     ,WDMA transfer aborted" "Not aborted,Aborted"
textline "                     "
eventfld.long 0x04 5. " WDS     ,WDMA descriptor transfer completed" "Not completed,Completed"
eventfld.long 0x04 4. "     WDC     ,WDMA chain descriptor transfer completed" "Not completed,Completed"
eventfld.long 0x04 3. "  IPA     ,Inbound PIO transaction aborted" "Not aborted,Aborted"
textline "                     "
eventfld.long 0x04 2. " IPC     ,Inbound PIO transaction completed" "Not completed,Completed"
eventfld.long 0x04 1. "     OPA     ,Outbound PIO transaction abort" "Not aborted,Aborted"
eventfld.long 0x04 0. "    OPC     ,Outbound PIO transaction completed" "Not completed,Completed"
line.long 0x08 "PEX_HOPIVR,PCI Express Host Outbound PIO Interrupt Vector Register"
bitfld.long 0x08 0.--4. " IVEC    ,Interrupt vector for MSI" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
group.long (0xa000+0xbc0)++0x3
line.long 0x0 "PEX_HIPIVR,PCI Express Host Inbound PIO Interrupt Vector Register"
bitfld.long 0x0 0.--4. " IVEC    ,Interrupt vector for MSI" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
group.long (0xa000+0xbc8)++0x3        
line.long 0x00 "PEX_HWDIVR,PCI Express Host Write DMA Interrupt Vector Register"
bitfld.long 0x0 0.--4. " IVEC    ,Interrupt vector for MSI" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
group.long (0xa000+0xbd0)++0x3
line.long 0x0 "PEX_HRDIVR,PCI Express Host Read DMA Interrupt Vector Register"
bitfld.long 0x0 0.--4. " IVEC    ,Interrupt vector for MSI" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
group.long (0xa000+0xbd8)++0x3
line.long 0x0 "PEX_HMIVR,PCI Express Host Miscellaneous Interrupt Vector Register"
bitfld.long 0x0 0.--4. " IVEC    ,Interrupt vector for MSI upon miscellaneous events" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
tree.end
width 0xd
tree "CSB System Interrupt Registers"
group.long (0xa000+0xbe0)++0xb
line.long 0x0 "PEX_CSPIER,CSB System PIO Interrupt Enable Register"
bitfld.long 0x0 24. " IPAIE   ,Inbound PIO transaction aborted interrupt enable" "Disabled,Enabled"
bitfld.long 0x0 16. "          IPCIE   ,Inbound PIO transaction completed interrupt enable" "Disabled,Enabled"
textline "                      "
bitfld.long 0x0 8. " OPAIE   ,Outbound PIO transaction abort interrupt enable" "Disabled,Enabled"
bitfld.long 0x0 0. "          OPCIE   ,Outbound PIO transaction completed interrupt enable" "Disabled,Enabled"
line.long 0x04 "PEX_CSWDIER,CSB System Write DMA Interrupt Enable Register"
bitfld.long 0x04 16. " WDAIE   ,WDMA transfer aborted interrupt enable" "Disabled,Enabled"
bitfld.long 0x04 8. "          WDSIE   ,WDMA descriptor transfer completed interrupt enable" "Disabled,Enabled"
bitfld.long 0x04 0. "       WDCIE   ,WDMA chain descriptor transfer completed interrupt enable" "Disabled,Enabled"
line.long 0x08 "PEX_CSRDIER,CSB System Read DMA Interrupt Enable Register"
bitfld.long 0x08 16. " RDAIE   ,RDMA transfer aborted interrupt enable" "Disabled,Enabled"
bitfld.long 0x08 8. "          RDSIE   ,RDMA descriptor transfer completed interrupt enable" "Disabled,Enabled"
bitfld.long 0x08 0. "       RDCIE   ,RDMA chain descriptor transfer completed interrupt enable" "Disabled,Enabled"
if (((d.b(anc:((iobase()+0xa000)+0x09)))&0xff)==0x00)
;RC            
group.long (0xa000+0xbec)++0x3        
line.long 0x00 "PEX_CSMIER,CSB System Miscellaneous Interrupt Enable Register"
bitfld.long 0x00 29. " ERRDIE  ,Error detected interrupt enable" "Disabled,Enabled"
bitfld.long 0x00 20. "          PSCHIE  ,Power state change interrupt enable" "Disabled,Enabled"
bitfld.long 0x00 17. "       PMETOIE ,PME to ack timeout event interrupt enable" "Disabled,Enabled"
textline "                      "
bitfld.long 0x00 15. " ROFIE   ,Receive overflow error interrupt enable" "Disabled,Enabled"
bitfld.long 0x00 14. "          ECRCIE  ,ECRC error interrupt enable" "Disabled,Enabled"
bitfld.long 0x00 13. "       PTLPIE  ,Poisoned TLP interrupt enable" "Disabled,Enabled"
textline "                      "
bitfld.long 0x00 12. " MFTLPIE ,Malformed TLP interrupt enable" "Disabled,Enabled"
bitfld.long 0x00 11. "          CTOIE   ,Completion timeout interrupt enable" "Disabled,Enabled"
bitfld.long 0x00 10. "       CAIE    ,Completer abort interrupt enable" "Disabled,Enabled"
textline "                      "
bitfld.long 0x00 9. " URIE    ,Unsupported request interrupt enable" "Disabled,Enabled"
bitfld.long 0x00 8. "          INTDIE  ,PCI Express INTD interrupt enable" "Disabled,Enabled"
bitfld.long 0x00 7. "       INTCIE  ,PCI Express INTC interrupt enable" "Disabled,Enabled"
textline "                      "
bitfld.long 0x00 6. " INTBIE  ,PCI Express INTB interrupt enable" "Disabled,Enabled"
bitfld.long 0x00 5. "          INTAIE  ,PCI Express INTA interrupt enable" "Disabled,Enabled"
bitfld.long 0x00 3. "       MSIIE   ,PCI Express MSI message interrupt enable" "Disabled,Enabled"
textline "                      "
bitfld.long 0x00 1. " RSTIE   ,PCI Express reset interrupt enable" "Disabled,Enabled"
bitfld.long 0x00 0. "          IMBIE   ,Inbound Mailbox ready interrupt enable" "Disabled,Enabled"
else
group.long (0xa000+0xbec)++0x3        
line.long 0x00 "PEX_CSMIER,CSB System Miscellaneous Interrupt Enable Register"
bitfld.long 0x00 20. " PSCHIE  ,Power state change interrupt enable" "Disabled,Enabled"
textline "                      "
bitfld.long 0x00 15. " ROFIE   ,Receive overflow error interrupt enable" "Disabled,Enabled"
bitfld.long 0x00 14. "          ECRCIE  ,ECRC error interrupt enable" "Disabled,Enabled"
bitfld.long 0x00 13. "       PTLPIE  ,Poisoned TLP interrupt enable" "Disabled,Enabled"
textline "                      "
bitfld.long 0x00 12. " MFTLPIE ,Malformed TLP interrupt enable" "Disabled,Enabled"
bitfld.long 0x00 11. "          CTOIE   ,Completion timeout interrupt enable" "Disabled,Enabled"
bitfld.long 0x00 10. "       CAIE    ,Completer abort interrupt enable" "Disabled,Enabled"
textline "                      "
bitfld.long 0x00 9. " URIE    ,Unsupported request interrupt enable" "Disabled,Enabled"
bitfld.long 0x00 1. "          RSTIE   ,PCI Express reset interrupt enable" "Disabled,Enabled"
bitfld.long 0x00 0. "       IMBIE   ,Inbound Mailbox ready interrupt enable" "Disabled,Enabled"
endif
group.long (0xa000+0xbf0)++0xb
line.long 0x0 "PEX_CSPISR,CSB System PIO Interrupt Status Register"
eventfld.long 0x00 24. " IPA     ,Inbound PIO transaction aborted" "Not aborted,Aborted"
eventfld.long 0x00 16. "       IPC     ,Inbound PIO transaction completed"  "Not completed,Completed"
textline "                      "
eventfld.long 0x00 8. " OPA     ,Outbound PIO transaction aborted" "Not aborted,Aborted"
eventfld.long 0x00 0. "       OPC     ,Outbound PIO transaction completed"  "Not completed,Completed"        
line.long 0x04 "PEX_CSWDISR,CSB System Write DMA Interrupt Status Register"
eventfld.long 0x04 16. " WDA     ,WDMA transfer aborted" "Not aborted,Aborted"
eventfld.long 0x04 8. "       WDS     ,WDMA descriptor transfer completed" "Not completed,Completed"
eventfld.long 0x04 0. "  WDC     ,WDMA chain descriptor transfer completed" "Not completed,Completed"        
line.long 0x08 "PEX_CSRDISR,CSB System Read DMA Interrupt Status Register"
eventfld.long 0x08 16. " RDA     ,RDMA transfer aborted" "Not aborted,Aborted"
eventfld.long 0x08 8. "       RDS     ,RDMA descriptor transfer completed" "Not completed,Completed"
eventfld.long 0x08 0. "  RDC     ,RDMA chain descriptor transfer completed" "Not completed,Completed"    
if (((d.b(anc:((iobase()+0xa000)+0x09)))&0xff)==0x00)
;RC        
group.long (0xa000+0xbfc)++0x3
line.long 0x00 "PEX_CSMISR,CSB System Miscellaneous Interrupt Status Register"
eventfld.long 0x00 29. " ERRD    ,Error detected" "Not detected,Detected"
eventfld.long 0x00 20. "      PSCH    ,Power state change" "Not changed,Changed"
eventfld.long 0x00 17. "    PMETO   ,PME to ack timeout event" "Not occurred,Occurred"
textline "                      "
eventfld.long 0x00 15. " ROF     ,Receive overflow error" "No error,Error"
eventfld.long 0x00 14. "          ECRC    ,ECRC error" "No error,Error"
eventfld.long 0x00 13. "       PTLP    ,Poisoned TLP" "No error,Error"
textline "                      "
eventfld.long 0x00 12. " MFTLP   ,Malformed TLP" "No error,Error"
eventfld.long 0x00 11. "          CTO     ,Completion timeout" "Not occurred,Occurred"
eventfld.long 0x00 10. "   CA      ,Completer abort" "Not received,Received"
textline "                      "
eventfld.long 0x00 9. " UR      ,Unsupported request" "No error,Error"
eventfld.long 0x00 8. "          INTD    ,PCI Express INTD" "Not received,Received"
eventfld.long 0x00 7. "   INTC    ,PCI Express INTC" "Not received,Received"
textline "                      "
eventfld.long 0x00 6. " INTB    ,PCI Express INTB" "Not received,Received"
eventfld.long 0x00 5. "      INTA    ,PCI Express INTA" "Not received,Received"
eventfld.long 0x00 3. "   MSI     ,PCI Express MSI message" "Not received,Received"
textline "                      "
eventfld.long 0x00 1. " RST     ,PCI Express reset" "No reset,Reset"
eventfld.long 0x00 0. "          IMB     ,Inbound Mailbox ready" "Not ready,Ready"
else
group.long (0xa000+0xbfc)++0x3
line.long 0x00 "PEX_CSMISR,CSB System Miscellaneous Interrupt Status Register"
eventfld.long 0x00 29. " ERRD    ,Error detected" "Not detected,Detected"
eventfld.long 0x00 20. "      PSCH    ,Power state change" "Not changed,Changed"
textline "                      "
eventfld.long 0x00 15. " ROF     ,Receive overflow error" "No error,Error"
eventfld.long 0x00 14. "          ECRC    ,ECRC error" "No error,Error"
eventfld.long 0x00 13. "       PTLP    ,Poisoned TLP" "No error,Error"
textline "                      "
eventfld.long 0x00 12. " MFTLP   ,Malformed TLP" "No error,Error"
eventfld.long 0x00 11. "          CTO     ,Completion timeout" "Not occurred,Occurred"
eventfld.long 0x00 10. "   CA      ,Completer abort" "Not received,Received"
textline "                      "
eventfld.long 0x00 9. " UR      ,Unsupported request" "No error,Error"
eventfld.long 0x00 1. "          RST     ,PCI Express reset" "No reset,Reset"
eventfld.long 0x00 0. "       IMB     ,Inbound Mailbox ready" "Not ready,Ready"
endif
tree.end
width 0xf
tree "PCI Express Outbound Address Mapping Registers"
group.long (0xa000+0xca0)++0x3f
line.long 0x0 "PEX_OWAR0,PCI Express Outbound Window Attributes Register 0"
hexmask.long 0x0 12.--31. 1. " SIZE    ,CSB window size"
bitfld.long 0x0 5.--7. "          TC      ,Traffic class" "0,1,2,3,4,5,6,7"
bitfld.long 0x0 4. "              NSNP    ,No snoop enable" "Enabled,Disabled"
textline "                        "
bitfld.long 0x0 3. " RLXO    ,Relax ordering enable" "Disabled,Enabled"
bitfld.long 0x0 1.--2. "          TYPE    ,Window type" "CFG,I/O,Memory,Reserved"
bitfld.long 0x0 0. "       EN      ,Window enable" "Disabled,Enabled"
line.long 0x4 "PEX_OWBAR0,PCI Express Outbound Window Base Address Register 0"
hexmask.long 0x4 12.--31. 0x1000 " BA      ,Base address"
line.long 0x8 "PEX_OWTARL0,PCI Express Outbound Window Translation Address Register Low 0"
hexmask.long 0x8 12.--31. 0x1000 " TAL     ,Translation address low"
line.long 0xC "PEX_OWTARH0,PCI Express Outbound Window Translation Address Register High 0"
line.long 0x10 "PEX_OWAR1,PCI Express Outbound Window Attributes Register 1"
hexmask.long 0x10 12.--31. 1. " SIZE    ,CSB window size"
bitfld.long 0x10 5.--7. "          TC      ,Traffic class" "0,1,2,3,4,5,6,7"
bitfld.long 0x10 4. "              NSNP    ,No snoop enable" "Enabled,Disabled"
textline "                        "
bitfld.long 0x10 3. " RLXO    ,Relax ordering enable" "Disabled,Enabled"
bitfld.long 0x10 1.--2. "          TYPE    ,Window type" "CFG,I/O,Memory,Reserved"
bitfld.long 0x10 0. "       EN      ,Window enable" "Disabled,Enabled"
line.long 0x14 "PEX_OWBAR1,PCI Express Outbound Window Base Address Register 1"
hexmask.long 0x14 12.--31. 0x1000 " BA      ,Base address"
line.long 0x18 "PEX_OWTARL1,PCI Express Outbound Window Translation Address Register Low 1"
hexmask.long 0x18 12.--31. 0x1000 " TAL     ,Translation address low"
line.long 0x1C "PEX_OWTARH1,PCI Express Outbound Window Translation Address Register High 1"
line.long 0x20 "PEX_OWAR2,PCI Express Outbound Window Attributes Register 2"
hexmask.long 0x20 12.--31. 1. " SIZE    ,CSB window size"
bitfld.long 0x20 5.--7. "          TC      ,Traffic class" "0,1,2,3,4,5,6,7"
bitfld.long 0x20 4. "              NSNP    ,No snoop enable" "Enabled,Disabled"
textline "                        "
bitfld.long 0x20 3. " RLXO    ,Relax ordering enable" "Disabled,Enabled"
bitfld.long 0x20 1.--2. "          TYPE    ,Window type" "CFG,I/O,Memory,Reserved"
bitfld.long 0x20 0. "       EN      ,Window enable" "Disabled,Enabled"
line.long 0x24 "PEX_OWBAR2,PCI Express Outbound Window Base Address Register 2"
hexmask.long 0x24 12.--31. 0x1000 " BA      ,Base address"
line.long 0x28 "PEX_OWTARL2,PCI Express Outbound Window Translation Address Register Low 2"
hexmask.long 0x28 12.--31. 0x1000 " TAL     ,Translation address low"
line.long 0x2C "PEX_OWTARH2,PCI Express Outbound Window Translation Address Register High 2"
line.long 0x30 "PEX_OWAR3,PCI Express Outbound Window Attributes Register 3"
hexmask.long 0x30 12.--31. 1. " SIZE    ,CSB window size"
bitfld.long 0x30 5.--7. "          TC      ,Traffic class" "0,1,2,3,4,5,6,7"
bitfld.long 0x30 4. "              NSNP    ,No snoop enable" "Enabled,Disabled"
textline "                        "
bitfld.long 0x30 3. " RLXO    ,Relax ordering enable" "Disabled,Enabled"
bitfld.long 0x30 1.--2. "          TYPE    ,Window type" "CFG,I/O,Memory,Reserved"
bitfld.long 0x30 0. "       EN      ,Window enable" "Disabled,Enabled"
line.long 0x34 "PEX_OWBAR3,PCI Express Outbound Window Base Address Register 3"
hexmask.long 0x34 12.--31. 0x1000 " BA      ,Base address"
line.long 0x38 "PEX_OWTARL3,PCI Express Outbound Window Translation Address Register Low 3"
hexmask.long 0x38 12.--31. 0x1000 " TAL     ,Translation address low"
line.long 0x3C "PEX_OWTARH3,PCI Express Outbound Window Translation Address Register High 3"
tree.end
width 0xf
tree "PCI Express Inbound Address Translation Registers"
if (((d.b(anc:((iobase()+0xa000)+0x09)))&0xff)==0x01)
;EP
group.long (0xa000+0xde0)++0xf
line.long 0x0 "PEX_EPIWTAR0,PCI Express EP Inbound Window 0 Translation Address Register 0"
hexmask.long 0x0 12.--31. 0x1000 " TA      ,Translation address"
bitfld.long 0x0 0. "          EN      ,Address mapping window enable" "Disabled,Enabled"
line.long 0x04 "PEX_EPIWTAR1,PCI Express EP Inbound Window 1 Translation Address Register 1"
hexmask.long 0x04 12.--31. 0x1000 " TA      ,Translation address"
bitfld.long 0x04 0. "          EN      ,Address mapping window enable" "Disabled,Enabled"
line.long 0x08 "PEX_EPIWTAR2,PCI Express EP Inbound Window 2 Translation Address Register 2"
hexmask.long 0x08 12.--31. 0x1000 " TA      ,Translation address"
bitfld.long 0x08 0. "          EN      ,Address mapping window enable" "Disabled,Enabled"        
line.long 0x0c "PEX_EPIWTAR3,PCI Express EP Inbound Window 3 Translation Address Register 3"
hexmask.long 0x0c 12.--31. 0x1000 " TA      ,Translation address"
bitfld.long 0x0c 0. "          EN      ,Address mapping window enable" "Disabled,Enabled"    
elif (((d.b(anc:((iobase()+0xa000)+0x09)))&0xff)==0x00)
;RC
group.long (0xa000+0xe60)++0x3f
line.long 0x0 "PEX_RCIWAR0,PCI Express RC Inbound Window Attributes Register 0"
hexmask.long.word 0x0 12.--27. 1. " SIZE    ,PCI Express window size"
bitfld.long 0x0 4. "              NSNP    ,No snoop" "Snoop,No snoop"
bitfld.long 0x0 3. "       NSOV    ,No snoop override" "Inbound packet,NSNP"
textline "                        "
bitfld.long 0x0 1.--2. " TYPE    ,Type of the window" "Reserved,Reserved,Prefetchable,Non-prefetchable"
bitfld.long 0x0 0. "  EN      ,Window enable" "Disabled,Enabled"
line.long 0x4 "PEX_RCIWTAR0,PCI Express RC Inbound Window Translation Address Register 0"
hexmask.long 0x4 2.--31. 0x4 " TA      ,Translation address"
line.long 0x8 "PEX_RCIWBARL0,PCI Express RC Inbound Window Base Address Register Low 0"
hexmask.long 0x8 2.--31. 0x4 " BAL     ,Base address low"
line.long 0xC "PEX_RCIWBARH0,PCI Express RC Inbound Window Base Address Register High 0"
line.long 0x10 "PEX_RCIWAR1,PCI Express RC Inbound Window Attributes Register 1"
hexmask.long.word 0x10 12.--27. 1. " SIZE    ,PCI Express window size"
bitfld.long 0x10 4. "              NSNP    ,No snoop" "Snoop,No snoop"
bitfld.long 0x10 3. "       NSOV    ,No snoop override" "Inbound packet,NSNP"
textline "                        "
bitfld.long 0x10 1.--2. " TYPE    ,Type of the window" "Reserved,Reserved,Prefetchable,Non-prefetchable"
bitfld.long 0x10 0. "  EN      ,Window enable" "Disabled,Enabled"
line.long 0x14 "PEX_RCIWTAR1,PCI Express RC Inbound Window Translation Address Register 1"
hexmask.long 0x14 2.--31. 0x4 " TA      ,Translation address"
line.long 0x18 "PEX_RCIWBARL1,PCI Express RC Inbound Window Base Address Register Low 1"
hexmask.long 0x18 2.--31. 0x4 " BAL     ,Base address low"
line.long 0x1C "PEX_RCIWBARH1,PCI Express RC Inbound Window Base Address Register High 1"
line.long 0x20 "PEX_RCIWAR2,PCI Express RC Inbound Window Attributes Register 2"
hexmask.long.word 0x20 12.--27. 1. " SIZE    ,PCI Express window size"
bitfld.long 0x20 4. "              NSNP    ,No snoop" "Snoop,No snoop"
bitfld.long 0x20 3. "       NSOV    ,No snoop override" "Inbound packet,NSNP"
textline "                        "
bitfld.long 0x20 1.--2. " TYPE    ,Type of the window" "Reserved,Reserved,Prefetchable,Non-prefetchable"
bitfld.long 0x20 0. "  EN      ,Window enable" "Disabled,Enabled"
line.long 0x24 "PEX_RCIWTAR2,PCI Express RC Inbound Window Translation Address Register 2"
hexmask.long 0x24 2.--31. 0x4 " TA      ,Translation address"
line.long 0x28 "PEX_RCIWBARL2,PCI Express RC Inbound Window Base Address Register Low 2"
hexmask.long 0x28 2.--31. 0x4 " BAL     ,Base address low"
line.long 0x2C "PEX_RCIWBARH2,PCI Express RC Inbound Window Base Address Register High 2"
line.long 0x30 "PEX_RCIWAR3,PCI Express RC Inbound Window Attributes Register 3"
hexmask.long.word 0x30 12.--27. 1. " SIZE    ,PCI Express window size"
bitfld.long 0x30 4. "              NSNP    ,No snoop" "Snoop,No snoop"
bitfld.long 0x30 3. "       NSOV    ,No snoop override" "Inbound packet,NSNP"
textline "                        "
bitfld.long 0x30 1.--2. " TYPE    ,Type of the window" "Reserved,Reserved,Prefetchable,Non-prefetchable"
bitfld.long 0x30 0. "  EN      ,Window enable" "Disabled,Enabled"
line.long 0x34 "PEX_RCIWTAR3,PCI Express RC Inbound Window Translation Address Register 3"
hexmask.long 0x34 2.--31. 0x4 " TA      ,Translation address"
line.long 0x38 "PEX_RCIWBARL3,PCI Express RC Inbound Window Base Address Register Low 3"
hexmask.long 0x38 2.--31. 0x4 " BAL     ,Base address low"
line.long 0x3C "PEX_RCIWBARH3,PCI Express RC Inbound Window Base Address Register High 3"
endif
tree.end
tree.end
width 0xb
endian.be
tree.end
tree.end
sif (CPU()=="MPC8315")    
tree "SATA Controller"
tree "SATA 1"
width 0xa
endian.le
tree "Command Registers"
group.long 0x018000++0x03
line.long 0x00 "CQR,Command Queue Register"
bitfld.long 0x00 15. " CQ15     ,Command 15 queue bit" "-,Queued"
bitfld.long 0x00 14. "     CQ14      ,Command 14 queue bit" "-,Queued"
bitfld.long 0x00 13. "      CQ13       ,Command 13 queue bit" "-,Queued"
bitfld.long 0x00 12. "       CQ12 ,Command 12 queue bit" "-,Queued"
textline "                   "
bitfld.long 0x00 11. " CQ11     ,Command 11 queue bit" "-,Queued"
bitfld.long 0x00 10. "     CQ10      ,Command 10 queue bit" "-,Queued"
bitfld.long 0x00 9. "      CQ9        ,Command 9 queue bit" "-,Queued"
bitfld.long 0x00 8. "       CQ8  ,Command 8 queue bit" "-,Queued"
textline "                   "
bitfld.long 0x00 7. " CQ7      ,Command 7 queue bit" "-,Queued"
bitfld.long 0x00 6. "     CQ6       ,Command 6 queue bit" "-,Queued"
bitfld.long 0x00 5. "      CQ5        ,Command 5 queue bit" "-,Queued"
bitfld.long 0x00 4. "       CQ4  ,Command 4 queue bit" "-,Queued"
textline "                   "
bitfld.long 0x00 3. " CQ3      ,Command 3 queue bit" "-,Queued"
bitfld.long 0x00 2. "     CQ2       ,Command 2 queue bit" "-,Queued"
bitfld.long 0x00 1. "      CQ1        ,Command 1 queue bit" "-,Queued"
bitfld.long 0x00 0. "       CQ0  ,Command 0 queue bit" "-,Queued"
group.long (0x018000+0x08)++0x03
line.long 0x00 "CAR,Command Active Register"
bitfld.long 0x00 15. " CA15     ,Command 15 active bit" "-,Active"
bitfld.long 0x00 14. "     CA14      ,Command 14 active bit" "-,Active"
bitfld.long 0x00 13. "      CA13       ,Command 13 active bit" "-,Active"
bitfld.long 0x00 12. "       CA12 ,Command 12 active bit" "-,Active"
textline "                   "
bitfld.long 0x00 11. " CA11     ,Command 11 active bit" "-,Active"
bitfld.long 0x00 10. "     CA10      ,Command 10 active bit" "-,Active"
bitfld.long 0x00 9. "      CA9        ,Command 9 active bit" "-,Active"
bitfld.long 0x00 8. "       CA8  ,Command 8 active bit" "-,Active"
textline "                   "
bitfld.long 0x00 7. " CA7      ,Command 7 active bit" "-,Active"
bitfld.long 0x00 6. "     CA6       ,Command 6 active bit" "-,Active"
bitfld.long 0x00 5. "      CA5        ,Command 5 active bit" "-,Active"
bitfld.long 0x00 4. "       CA4  ,Command 4 active bit" "-,Active"
textline "                   "
bitfld.long 0x00 3. " CA3      ,Command 3 active bit" "-,Active"
bitfld.long 0x00 2. "     CA2       ,Command 2 active bit" "-,Active"
bitfld.long 0x00 1. "      CA1        ,Command 1 active bit" "-,Active"
bitfld.long 0x00 0. "       CA0  ,Command 0 active bit" "-,Active"
group.long (0x018000+0x10)++0x03
line.long 0x00 "CCR,Command Completed Register"
bitfld.long 0x00 15. " CC15     ,Command 15 completed bit" "-,Completed"
bitfld.long 0x00 14. "  CC14      ,Command 14 completed bit" "-,Completed"
bitfld.long 0x00 13. "   CC13       ,Command 13 completed bit" "-,Completed"
bitfld.long 0x00 12. "    CC12 ,Command 12 completed bit" "-,Completed"
textline "                   "
bitfld.long 0x00 11. " CC11     ,Command 11 completed bit" "-,Completed"
bitfld.long 0x00 10. "  CC10      ,Command 10 completed bit" "-,Completed"
bitfld.long 0x00 9. "   CC9        ,Command 9 completed bit" "-,Completed"
bitfld.long 0x00 8. "    CC8  ,Command 8 completed bit" "-,Completed"
textline "                   "
bitfld.long 0x00 7. " CC7      ,Command 7 completed bit" "-,Completed"
bitfld.long 0x00 6. "  CC6       ,Command 6 completed bit" "-,Completed"
bitfld.long 0x00 5. "   CC5        ,Command 5 completed bit" "-,Completed"
bitfld.long 0x00 4. "    CC4  ,Command 4 completed bit" "-,Completed"
textline "                   "
bitfld.long 0x00 3. " CC3      ,Command 3 completed bit" "-,Completed"
bitfld.long 0x00 2. "  CC2       ,Command 2 completed bit" "-,Completed"
bitfld.long 0x00 1. "   CC1        ,Command 1 completed bit" "-,Completed"
bitfld.long 0x00 0. "    CC0  ,Command 0 completed bit" "-,Completed"
group.long (0x018000+0x18)++0x03
line.long 0x00 "CER,Command Error Register"
eventfld.long 0x00 15. " CE15     ,Command 15 error bit" "-,Error"
eventfld.long 0x00 14. "      CE14      ,Command 14 error bit" "-,Error"
eventfld.long 0x00 13. "       CE13       ,Command 13 error bit" "-,Error"
eventfld.long 0x00 12. "        CE12 ,Command 12 error bit" "-,Error"
textline "                   "
eventfld.long 0x00 11. " CE11     ,Command 11 error bit" "-,Error"
eventfld.long 0x00 10. "      CE10      ,Command 10 error bit" "-,Error"
eventfld.long 0x00 9. "       CE9        ,Command 9 error bit" "-,Error"
eventfld.long 0x00 8. "        CE8  ,Command 8 error bit" "-,Error"
textline "                   "
eventfld.long 0x00 7. " CE7      ,Command 7 error bit" "-,Error"
eventfld.long 0x00 6. "      CE6       ,Command 6 error bit" "-,Error"
eventfld.long 0x00 5. "       CE5        ,Command 5 error bit" "-,Error"
eventfld.long 0x00 4. "        CE4  ,Command 4 error bit" "-,Error"
textline "                   "
eventfld.long 0x00 3. " CE3      ,Command 3 error bit" "-,Error"
eventfld.long 0x00 2. "      CE2       ,Command 2 error bit" "-,Error"
eventfld.long 0x00 1. "       CE1        ,Command 1 error bit" "-,Error"
eventfld.long 0x00 0. "        CE0  ,Command 0 error bit" "-,Error"
group.long (0x018000+0x20)++0x1b
line.long 0x00 "DER,Device Error Register"
eventfld.long 0x00 15. " DE15     ,Device 15 error bit" "-,Error"
eventfld.long 0x00 14. "      DE14      ,Device 14 error bit" "-,Error"
eventfld.long 0x00 13. "       DE13       ,Device 13 error bit" "-,Error"
eventfld.long 0x00 12. "        DE12 ,Device 12 error bit" "-,Error"
textline "                   "
eventfld.long 0x00 11. " DE11     ,Device 11 error bit" "-,Error"
eventfld.long 0x00 10. "      DE10      ,Device 10 error bit" "-,Error"
eventfld.long 0x00 9. "       DE9        ,Device 9 error bit" "-,Error"
eventfld.long 0x00 8. "        DE8  ,Device 8 error bit" "-,Error"
textline "                   "
eventfld.long 0x00 7. " DE7      ,Device 7 error bit" "-,Error"
eventfld.long 0x00 6. "      DE6       ,Device 6 error bit" "-,Error"
eventfld.long 0x00 5. "       DE5        ,Device 5 error bit" "-,Error"
eventfld.long 0x00 4. "        DE4  ,Device 4 error bit" "-,Error"
textline "                   "
eventfld.long 0x00 3. " DE3      ,Device 3 error bit" "-,Error"
eventfld.long 0x00 2. "      DE2       ,Device 2 error bit" "-,Error"
eventfld.long 0x00 1. "       DE1        ,Device 1 error bit" "-,Error"
eventfld.long 0x00 0. "        DE0  ,Device 0 error bit" "-,Error"
line.long 0x04 "CHBA,Command Header Base Address Register"
hexmask.long 0x04 2.--31. 0x4 " CHBA     ,Command Header Base Address"
line.long 0x08 "HStatus,Host Status Register"
bitfld.long 0x08 31. " HS_ON    ,Online/offline" "Offline,Online"
bitfld.long 0x08 30. "   HS_OFF    ,Going offline" "-,In process"
bitfld.long 0x08 29. "     BE         ,BIST error" "Passing,Not passing"
textline "                   "
bitfld.long 0x08 18. " ME       ,SATA controller master error" "-,Error"
bitfld.long 0x08 17. "     PTx_Err   ,SATA controller parity Tx error" "-,Error"
bitfld.long 0x08 16. "          PRx_Err    ,SATA controller parity Rx error" "-,Error"
textline "                   "
bitfld.long 0x08 13. " DUE      ,Data underrun" "-,Underrun"
bitfld.long 0x08 12. "  DOE       ,Data Overrun" "-,Overrun"
bitfld.long 0x08 11. "        CET        ,CRC error Tx" "-,Error"
textline "                   "
bitfld.long 0x08 10. " CER      ,CRC error Rx" "-,Error"
bitfld.long 0x08 9. "     FOT       ,FIFO overflow Tx" "-,Overflow"
bitfld.long 0x08 8. "       FOR        ,FIFO overflow Rx" "-,Overflow"
textline "                   "
eventfld.long 0x08 5. " FE       ,Fatal Error" "-,Error"
eventfld.long 0x08 4. "     PR        ,PHY ready" "-,Changed"
eventfld.long 0x08 3. "        SIGU       ,Signature update" "-,Updated"
textline "                   "
eventfld.long 0x08 2. " SNTFU    ,SNotification update" "-,Updated"
eventfld.long 0x08 1. "   DE        ,Device error" "-,Error"
eventfld.long 0x08 0. "          CC         ,Command complete" "-,Completed"
line.long 0x0c "HControl,Host Control Register"    
bitfld.long 0x0C 31. " HC_ON    ,Online/offline" "Offline,Online"
bitfld.long 0x0C 30. "   HS_OFF    ,Offline request status" "Not requested,Requested"
bitfld.long 0x0C 13.--14. "  PPM        ,Parity protection mode" "00,01,10,11"
textline "                   "
bitfld.long 0x0C 12. " PT       ,Parity type select" "Odd,Even"
bitfld.long 0x0C 10. "      SNOOP_EN  ,Snoop enable during header fetch" "-,Enabled"
bitfld.long 0x0C 9. "        PM_EN      ,Port multiplier attached" "-,Attached"
textline "                   "
bitfld.long 0x0C 8. " SFIS_EN  ,Copy out status FIS" "-,Copied"
bitfld.long 0x0C 5. "    FATAL_INT ,Enable interrupt on fatal error" "-,Enabled"
bitfld.long 0x0C 4. "        PHYRDY_INT ,Enable interrupt on PHY ready change" "-,Enabled"
textline "                   "
bitfld.long 0x0C 3. " SIG_INT  ,Enable interrupt signature update" "-,Enabled"
bitfld.long 0x0C 2. "   SNTFY_INT ,Enable interrupt on SNotify register update" "-,Enabled"
bitfld.long 0x0C 1. "        DE_INT     ,Enable interrupt on single device error" "-,Enabled"
textline "                   "
bitfld.long 0x0C 0. " CC_INT   ,Enable interrupt on command complete" "-,Enabled"
line.long 0x10 "CQPMP,Port Number Queue Register"
bitfld.long 0x10 0.--3. " CQPMP    ,Command queue port multiplier field" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
line.long 0x14 "SIG,Signature Register"
hexmask.long.byte 0x14 24.--31. 1. " LBA_HIGH ,LBA high register"
hexmask.long.byte 0x14 16.--23. 1. "        LBA_MID   ,LBA mid register"        
textline "                   "
hexmask.long.byte 0x14 8.--15. 1. " LBA_LOW  ,LBA low register"
hexmask.long.byte 0x14 0.--7. 1. "        SEC_CNT   ,Sector count register"
line.long 0x18 "ICC,Interrupt Coalescing Control Register"
bitfld.long 0x18 24.--28. " ITC      ,Interrupt threshold count" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
hexmask.long 0x18 0.--18. 1. "        ITTCV     ,Interrupt threshold timer compare value"
tree.end
width 0xe
tree "SATA Superset Registers"
rgroup.long (0x018000+0x100)++0x03
line.long 0x00 "SStatus,SATA Interface Status Register"
bitfld.long 0x00 8.--11. " IPM      ,Interface power management state" "Not present,Active,Partial,Reserved,Reserved,Reserved,Slumber,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 4.--7. "     SPD      ,Speed" "No speed,First rate,Second rate,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
textline "                       "
bitfld.long 0x00 0.--3. " DET      ,Detection" "No device,Detected/PHY not established,Reserved,Detected/PHY established,PHY in offline,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
group.long (0x018000+0x104)++0x0b
line.long 0x00 "SError,SATA Interface Error Register"
eventfld.long 0x00 27. " A        ,Port selector presence detected" "-,Detected"
eventfld.long 0x00 26. "        X        ,Exchanged" "-,Changed"
eventfld.long 0x00 25. "       F        ,Unrecognized FIS type" "-,Occurred"
textline "                       "        
eventfld.long 0x00 24. " T        ,Transport state transition error" "-,Error"
eventfld.long 0x00 23. "           S        ,Link sequence error" "-,Error"        
eventfld.long 0x00 22. "         H        ,Handshake error" "-,Error"
textline "                       "        
eventfld.long 0x00 21. " C        ,CRC error" "-,Error"
eventfld.long 0x00 20. "           D        ,Disparity error" "-,Error"
eventfld.long 0x00 19. "         B        ,10b to 8b decode error" "-,Error"
textline "                       "        
eventfld.long 0x00 18. " W        ,COMWAKE detected" "-,Detected"            
eventfld.long 0x00 17. "        IN       ,PHY internal error" "-,Error"
eventfld.long 0x00 16. "         N        ,PHYRDY change" "-,Changed"
textline "                       "        
eventfld.long 0x00 11. " E        ,E Internal error" "-,Error"
eventfld.long 0x00 10. "           P        ,Protocol error" "-,Error"
eventfld.long 0x00 9. "         C        ,Non-recovered persistent communication or data integrity error" "-,Error"
textline "                       "        
eventfld.long 0x00 8. " T        ,Non-recovered transient data integrity error" "-,Error"
eventfld.long 0x00 1. "           M        ,Recovered communications error" "-,Error"
eventfld.long 0x00 0. "         ITG      ,Recovered data integrity error" "-,Error"
line.long 0x04 "SControl,SATA Interface Control Register"
bitfld.long 0x04 12.--15. " SPM      ,Select power management" "Not requested,Partial,Slumber,Reserved,Active,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x04 8.--11. "   IPM      ,Interface power management transitions disabled" "No interface,Partial,Slumber,Both,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
textline "                       "
bitfld.long 0x04 4.--7. " SPD      ,Speed Limit" "No limit,<= first rate,<= second rate,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x04 0.--3. "  DET      ,Detection" "No device,Communication established,Reserved,Reserved,SATA disabled/PHY offline,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
line.long 0x08 "SNotification,SATA Interface Notification Register"    
bitfld.long 0x08 15. " Notify15 ,Device 15 has sent FIS bits to the host" "-,Sent"
bitfld.long 0x08 14. "            Notify14 ,Device 14 has sent FIS bits to the host" "-,Sent"
bitfld.long 0x08 13. "          Notify13 ,Device 13 has sent FIS bits to the host" "-,Sent"
textline "                       "
bitfld.long 0x08 12. " Notify12 ,Device 12 has sent FIS bits to the host" "-,Sent"
bitfld.long 0x08 11. "            Notify11 ,Device 11 has sent FIS bits to the host" "-,Sent"
bitfld.long 0x08 10. "          Notify10 ,Device 10 has sent FIS bits to the host" "-,Sent"
textline "                       "
bitfld.long 0x08 9. " Notify9  ,Device 9 has sent FIS bits to the host" "-,Sent"
bitfld.long 0x08 8. "            Notify8  ,Device 8 has sent FIS bits to the host" "-,Sent"
bitfld.long 0x08 7. "          Notify7  ,Device 7 has sent FIS bits to the host" "-,Sent"
textline "                       "
bitfld.long 0x08 6. " Notify6  ,Device 6 has sent FIS bits to the host" "-,Sent"
bitfld.long 0x08 5. "            Notify5  ,Device 5 has sent FIS bits to the host" "-,Sent"
bitfld.long 0x08 4. "          Notify4  ,Device 4 has sent FIS bits to the host" "-,Sent"
textline "                       "
bitfld.long 0x08 3. " Notify3  ,Device 3 has sent FIS bits to the host" "-,Sent"
bitfld.long 0x08 2. "            Notify2  ,Device 2 has sent FIS bits to the host" "-,Sent"
bitfld.long 0x08 1. "          Notify1  ,Device 1 has sent FIS bits to the host" "-,Sent"
textline "                       "
bitfld.long 0x08 0. " Notify0  ,Device 0 has sent FIS bits to the host" "-,Sent"
tree.end    
width 0xd
tree "Control Status Registers"
group.long (0x018000+0x140)++0x03
line.long 0x00 "TransCfg,Transport Layer Configuration Register"
hexmask.long.word 0x00 16.--31. 1. " DFIS_SIZE     ,Data FIS framing length words"
bitfld.long 0x00 0.--4. "               RX_WATER_MARK  ,Number of locations in the 58-deep Rx FIFO" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
rgroup.word (0x018000+0x144)++0x01    
line.word 0x00 "TransStatus,Transport Layer Status Register"    
hexmask.word 0x00 8.--15. 1. "     TX_SM         ,Indicates the state of Tx state machine"
hexmask.word 0x00 0.--7. 1. "               RX_SM          ,Indicates the state of Rx state machine"
group.long (0x018000+0x148)++0x1b
line.long 0x00 "LinkCfg,Link Layer Configuration Register"
bitfld.long 0x00 26. " POE           ,Primitive override enable" "-,Enabled"
hexmask.long.word 0x00 16.--25. 1. "            PRT            ,PHY ready timer"
hexmask.long.byte 0x00 8.--15. 1. "         AR          ,Align insertion rate"
textline "                      "
bitfld.long 0x00 7. " EPNRT         ,Enable PHY not ready timer" "-,Enabled"
bitfld.long 0x00 6. "            S4A            ,Send four ALIGNs" "-,Sent"
bitfld.long 0x00 5. "         RX_SCR_EN   ,Rx scramble enable" "-,Enabled"
textline "                      "
bitfld.long 0x00 4. " TX_SCR_EN     ,Tx scramble enable" "-,Enabled"
bitfld.long 0x00 3. "            TX_PRIM_JUNK   ,TX prim junk" "Junk data,DEADBEEF"
bitfld.long 0x00 2. "    TX_CONT_EN  ,TX CONT" "-,Enabled"
textline "                      "
bitfld.long 0x00 1. " RX_BAD_CRC    ,RX bad CRC" "-,Detected"
bitfld.long 0x00 0. "           TX_BAD_CRC     ,TX bad CRC" "-,Detected"
line.long 0x04 "LinkCfg1,Link Layer Configuration Register1"
bitfld.long 0x04 6. " CD            ,Data character/primitive" "Primitive,Character"
hexmask.long.byte 0x04 0.--5. 1. "          PRIM_OVR_STATE ,Prim override state"
line.long 0x08 "LinkCfg2,Link Layer Configuration Register2"
line.long 0x0c "LinkStatus,Link Layer Status Register"
bitfld.long 0x0c 0.--5. " LINK_STATE    ,Current value of the link layer state machine at the time the LinkStatus register is read" "L_Reset,L_Idle,HL_SendChkRdy,DL_SendChkRdy,L_TPMPartial,L_TPMSlumber,L_RcvWaitFifo,L_PMOff,L_PMDeny,L_NoCommErr,L_NoComm,L_SendAlign,L_SendSOF,L_SendData,WAIT_FOR_SYNC,L_SendCRC,L_SendHold,L_RcvHold,L_SendEOF,L_Wait,L_ChkPhyRdy,L_NoCommPower,L_WakeUp1,L_WakeUp2,L_RcvChkRdy,L_RcvData,L_BadEnd,L_RcvEOF,L_SendHoldA,L_Hold,L_GoodCRC,L_GoodEnd,L_PMOff_2,L_PMOff_3,L_PMOff_4,WAIT_PMACK_SENT_1,WAIT_PMACK_SENT_2,WAIT_PMACK_SENT_3,WAIT_PMACK_SENT_4,WAIT_PMACK_SENT_5,WAIT_PMACK_SENT_6,BIST0,BIST1,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
line.long 0x10 "LinkStatus1,Link Layer Status Register1"
hexmask.long.byte 0x10 24.--31. 1. " KEGC          ,Kchar error gray count"
hexmask.long.byte 0x10 16.--23. 1. "                 PIEGC          ,PHY internal error gray count"    
textline "                      "
hexmask.long.byte 0x10 8.--15. 1. " CEGC          ,Code error gray count"
hexmask.long.byte 0x10 0.--7. 1. "                 DEGC           ,Disparity error gray count"            
line.long 0x14 "PhyCtrlCfg1,PHY Control Configuration Register1"
bitfld.long 0x14 13. " HOST_MODE     ,Host mode" "Device mode,Host mode"
bitfld.long 0x14 12. "        ENDEC_EN       ,Encode decode enable" "10-bit mode,8-bit mode"
textline "                      "
bitfld.long 0x14 11. " Rx_SCC_EN     ,Rx SSC enable" "-,Enabled"
bitfld.long 0x14 9.--10. "            Tx_SCC_EN      ,TX SSC enable" "00,01,10,11"
textline "                      "
bitfld.long 0x14 7.--8. " FPRFTI        ,Force PHY ready/orce Tx idle" "00,01,10,11"
bitfld.long 0x14 4.--6. "                 REF_CLK_SEL    ,Reference clock frequency select" "75 MHz,Reserved,150 MHz,Reserved,Reserved,50 MHz,100 MHz,125 MHz"
textline "                      "
bitfld.long 0x14 1.--3. " LPB_EN        ,Loopback enable" "No loopback,Parallel,Serial,Invalid,Invalid,goPartial,goSlumber,Invalid"
textline "                      "
bitfld.long 0x14 0. " BIST_EN       ,PHY BIST enable" "-,Enabled"
line.long 0x18 "CommandStatus,LInk Layer Command Status Register"
bitfld.long 0x18 20.--23. " DMATCmdNo     ,DMAT Command Number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x18 16.--19. "                 DMATPMPNo      ,DMATPMP Number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x18 12.--15. "           RecPMPLocal ,RecPMP Local" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
textline "                      "
bitfld.long 0x18 8.--11. " CSState       ,CS State" "CSSIdle,CSSGP,CSSPCA,Reserved,CSSNPS,CSSSC,CSSNCS,CSSPF,CSSTO,CSSWCI,?..."
hexmask.long.byte 0x18 0.--7. 1. "           CMState        ,CM State"
group.long (0x018000+0x400)++0x03
line.long 0x00 "PhyCtrlCfg2,PHY Control Configuration Register2"
bitfld.long 0x00 31. " PHY_RST       ,SATA PHY reset" "-,Reset"
bitfld.long 0x00 15. "        PHY_MODE                     ,SATA PHY mode select" "m mode,i mode"
textline "                      "
bitfld.long 0x00 6.--7. " TX_AMP_CNTRL  ,Tx amplitude control" "No control,Amplitude of +6%,Amplitude of +10%,Amplitude of +16%"
bitfld.long 0x00 3.--5. "  TX_PRE_EMP_G2  ,Transmit pre-emphasis for GEN2 speeds" "0.0%,3.7%,7.4%,11.1%,14.8%,18.5%,22.2%,Reserved"
textline "                      "
bitfld.long 0x00 0.--2. " TX_PRE_EMP_G1 ,Transmit pre-emphasis for GEN1 speeds" "0.0%,3.7%,7.4%,11.1%,14.8%,18.5%,22.2%,Reserved"        
tree.end
tree "System Control Registers"
width 0x7
group.long (0x018000+0x410)++0x03
line.long 0x00 "SYSPR,System Priority Register"
bitfld.long 0x00 14.--15. " PRI_DATA ,Priority" "Level 0,Level 1,Level 2,Level 3"
bitfld.long 0x00 12.--13. "  PRI_DES ,Priority" "Level 0,Level 1,Level 2,Level 3"
bitfld.long 0x00 2. "  RD_SAFE ,Read safe" "-,Safe"
tree.end
width 0x6
base ANC:(((d.l(anc:iobase()+0x18024))&0xfffffffc))
tree "Command Headers"
group.long 0x00++0xff  "Command Header 0"
line.long 0x0 "CDW0,Command Header Word 0 Register"
hexmask.long 0x0 2.--31. 0x4 " CDA       ,Command descriptor base address"
line.long (0x0+0x04) "CDW1,Command Header Word 1 Register"
hexmask.long.byte (0x0+0x04) 16.--21. 1. " PRD_ENTRY ,Number of PRD entries including indexed entries"
bitfld.byte (0x0+0x04) 2.--6. "           FIS_LEN ,FIS length" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
line.long (0x0+0x08) "CDW2,Command Header Word 2 Register" 
hexmask.long (0x0+0x08) 2.--31. 1. " TTL       ,Total transfer length"
line.long (0x0+0x0c) "CDW3,Command Header Word 3 Register"
bitfld.long (0x0+0x0c) 10. " V         ,Vendor BIST" "Other,Vendor BIST"
bitfld.long (0x0+0x0c) 9. "  S       ,Snoop enable during all descriptor read/write operations" "-,Enabled"
bitfld.long (0x0+0x0c) 8. "    Q ,Queued" "-,Queued"
textline "               "
bitfld.long (0x0+0x0c) 7. " R         ,Reset" "-,Reset"
bitfld.long (0x0+0x0c) 6. "        B       ,Bist" "Other,Bist mode"
bitfld.long (0x0+0x0c) 5. "  A ,ATAPI command" "0,1"
textline "               "
bitfld.long (0x0+0x0c) 0.--4. " TAG       ,The 5-bit TAG assigned by software for command tracking" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
group.long 0x00++0xff  "Command Header 1"
line.long 0x10 "CDW0,Command Header Word 0 Register"
hexmask.long 0x10 2.--31. 0x4 " CDA       ,Command descriptor base address"
line.long (0x10+0x04) "CDW1,Command Header Word 1 Register"
hexmask.long.byte (0x10+0x04) 16.--21. 1. " PRD_ENTRY ,Number of PRD entries including indexed entries"
bitfld.byte (0x10+0x04) 2.--6. "           FIS_LEN ,FIS length" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
line.long (0x10+0x08) "CDW2,Command Header Word 2 Register" 
hexmask.long (0x10+0x08) 2.--31. 1. " TTL       ,Total transfer length"
line.long (0x10+0x0c) "CDW3,Command Header Word 3 Register"
bitfld.long (0x10+0x0c) 10. " V         ,Vendor BIST" "Other,Vendor BIST"
bitfld.long (0x10+0x0c) 9. "  S       ,Snoop enable during all descriptor read/write operations" "-,Enabled"
bitfld.long (0x10+0x0c) 8. "    Q ,Queued" "-,Queued"
textline "               "
bitfld.long (0x10+0x0c) 7. " R         ,Reset" "-,Reset"
bitfld.long (0x10+0x0c) 6. "        B       ,Bist" "Other,Bist mode"
bitfld.long (0x10+0x0c) 5. "  A ,ATAPI command" "0,1"
textline "               "
bitfld.long (0x10+0x0c) 0.--4. " TAG       ,The 5-bit TAG assigned by software for command tracking" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
group.long 0x00++0xff  "Command Header 2"
line.long 0x20 "CDW0,Command Header Word 0 Register"
hexmask.long 0x20 2.--31. 0x4 " CDA       ,Command descriptor base address"
line.long (0x20+0x04) "CDW1,Command Header Word 1 Register"
hexmask.long.byte (0x20+0x04) 16.--21. 1. " PRD_ENTRY ,Number of PRD entries including indexed entries"
bitfld.byte (0x20+0x04) 2.--6. "           FIS_LEN ,FIS length" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
line.long (0x20+0x08) "CDW2,Command Header Word 2 Register" 
hexmask.long (0x20+0x08) 2.--31. 1. " TTL       ,Total transfer length"
line.long (0x20+0x0c) "CDW3,Command Header Word 3 Register"
bitfld.long (0x20+0x0c) 10. " V         ,Vendor BIST" "Other,Vendor BIST"
bitfld.long (0x20+0x0c) 9. "  S       ,Snoop enable during all descriptor read/write operations" "-,Enabled"
bitfld.long (0x20+0x0c) 8. "    Q ,Queued" "-,Queued"
textline "               "
bitfld.long (0x20+0x0c) 7. " R         ,Reset" "-,Reset"
bitfld.long (0x20+0x0c) 6. "        B       ,Bist" "Other,Bist mode"
bitfld.long (0x20+0x0c) 5. "  A ,ATAPI command" "0,1"
textline "               "
bitfld.long (0x20+0x0c) 0.--4. " TAG       ,The 5-bit TAG assigned by software for command tracking" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
group.long 0x00++0xff  "Command Header 3"
line.long 0x30 "CDW0,Command Header Word 0 Register"
hexmask.long 0x30 2.--31. 0x4 " CDA       ,Command descriptor base address"
line.long (0x30+0x04) "CDW1,Command Header Word 1 Register"
hexmask.long.byte (0x30+0x04) 16.--21. 1. " PRD_ENTRY ,Number of PRD entries including indexed entries"
bitfld.byte (0x30+0x04) 2.--6. "           FIS_LEN ,FIS length" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
line.long (0x30+0x08) "CDW2,Command Header Word 2 Register" 
hexmask.long (0x30+0x08) 2.--31. 1. " TTL       ,Total transfer length"
line.long (0x30+0x0c) "CDW3,Command Header Word 3 Register"
bitfld.long (0x30+0x0c) 10. " V         ,Vendor BIST" "Other,Vendor BIST"
bitfld.long (0x30+0x0c) 9. "  S       ,Snoop enable during all descriptor read/write operations" "-,Enabled"
bitfld.long (0x30+0x0c) 8. "    Q ,Queued" "-,Queued"
textline "               "
bitfld.long (0x30+0x0c) 7. " R         ,Reset" "-,Reset"
bitfld.long (0x30+0x0c) 6. "        B       ,Bist" "Other,Bist mode"
bitfld.long (0x30+0x0c) 5. "  A ,ATAPI command" "0,1"
textline "               "
bitfld.long (0x30+0x0c) 0.--4. " TAG       ,The 5-bit TAG assigned by software for command tracking" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
group.long 0x00++0xff  "Command Header 4"
line.long 0x40 "CDW0,Command Header Word 0 Register"
hexmask.long 0x40 2.--31. 0x4 " CDA       ,Command descriptor base address"
line.long (0x40+0x04) "CDW1,Command Header Word 1 Register"
hexmask.long.byte (0x40+0x04) 16.--21. 1. " PRD_ENTRY ,Number of PRD entries including indexed entries"
bitfld.byte (0x40+0x04) 2.--6. "           FIS_LEN ,FIS length" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
line.long (0x40+0x08) "CDW2,Command Header Word 2 Register" 
hexmask.long (0x40+0x08) 2.--31. 1. " TTL       ,Total transfer length"
line.long (0x40+0x0c) "CDW3,Command Header Word 3 Register"
bitfld.long (0x40+0x0c) 10. " V         ,Vendor BIST" "Other,Vendor BIST"
bitfld.long (0x40+0x0c) 9. "  S       ,Snoop enable during all descriptor read/write operations" "-,Enabled"
bitfld.long (0x40+0x0c) 8. "    Q ,Queued" "-,Queued"
textline "               "
bitfld.long (0x40+0x0c) 7. " R         ,Reset" "-,Reset"
bitfld.long (0x40+0x0c) 6. "        B       ,Bist" "Other,Bist mode"
bitfld.long (0x40+0x0c) 5. "  A ,ATAPI command" "0,1"
textline "               "
bitfld.long (0x40+0x0c) 0.--4. " TAG       ,The 5-bit TAG assigned by software for command tracking" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
group.long 0x00++0xff  "Command Header 5"
line.long 0x50 "CDW0,Command Header Word 0 Register"
hexmask.long 0x50 2.--31. 0x4 " CDA       ,Command descriptor base address"
line.long (0x50+0x04) "CDW1,Command Header Word 1 Register"
hexmask.long.byte (0x50+0x04) 16.--21. 1. " PRD_ENTRY ,Number of PRD entries including indexed entries"
bitfld.byte (0x50+0x04) 2.--6. "           FIS_LEN ,FIS length" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
line.long (0x50+0x08) "CDW2,Command Header Word 2 Register" 
hexmask.long (0x50+0x08) 2.--31. 1. " TTL       ,Total transfer length"
line.long (0x50+0x0c) "CDW3,Command Header Word 3 Register"
bitfld.long (0x50+0x0c) 10. " V         ,Vendor BIST" "Other,Vendor BIST"
bitfld.long (0x50+0x0c) 9. "  S       ,Snoop enable during all descriptor read/write operations" "-,Enabled"
bitfld.long (0x50+0x0c) 8. "    Q ,Queued" "-,Queued"
textline "               "
bitfld.long (0x50+0x0c) 7. " R         ,Reset" "-,Reset"
bitfld.long (0x50+0x0c) 6. "        B       ,Bist" "Other,Bist mode"
bitfld.long (0x50+0x0c) 5. "  A ,ATAPI command" "0,1"
textline "               "
bitfld.long (0x50+0x0c) 0.--4. " TAG       ,The 5-bit TAG assigned by software for command tracking" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
group.long 0x00++0xff  "Command Header 6"
line.long 0x60 "CDW0,Command Header Word 0 Register"
hexmask.long 0x60 2.--31. 0x4 " CDA       ,Command descriptor base address"
line.long (0x60+0x04) "CDW1,Command Header Word 1 Register"
hexmask.long.byte (0x60+0x04) 16.--21. 1. " PRD_ENTRY ,Number of PRD entries including indexed entries"
bitfld.byte (0x60+0x04) 2.--6. "           FIS_LEN ,FIS length" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
line.long (0x60+0x08) "CDW2,Command Header Word 2 Register" 
hexmask.long (0x60+0x08) 2.--31. 1. " TTL       ,Total transfer length"
line.long (0x60+0x0c) "CDW3,Command Header Word 3 Register"
bitfld.long (0x60+0x0c) 10. " V         ,Vendor BIST" "Other,Vendor BIST"
bitfld.long (0x60+0x0c) 9. "  S       ,Snoop enable during all descriptor read/write operations" "-,Enabled"
bitfld.long (0x60+0x0c) 8. "    Q ,Queued" "-,Queued"
textline "               "
bitfld.long (0x60+0x0c) 7. " R         ,Reset" "-,Reset"
bitfld.long (0x60+0x0c) 6. "        B       ,Bist" "Other,Bist mode"
bitfld.long (0x60+0x0c) 5. "  A ,ATAPI command" "0,1"
textline "               "
bitfld.long (0x60+0x0c) 0.--4. " TAG       ,The 5-bit TAG assigned by software for command tracking" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
group.long 0x00++0xff  "Command Header 7"
line.long 0x70 "CDW0,Command Header Word 0 Register"
hexmask.long 0x70 2.--31. 0x4 " CDA       ,Command descriptor base address"
line.long (0x70+0x04) "CDW1,Command Header Word 1 Register"
hexmask.long.byte (0x70+0x04) 16.--21. 1. " PRD_ENTRY ,Number of PRD entries including indexed entries"
bitfld.byte (0x70+0x04) 2.--6. "           FIS_LEN ,FIS length" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
line.long (0x70+0x08) "CDW2,Command Header Word 2 Register" 
hexmask.long (0x70+0x08) 2.--31. 1. " TTL       ,Total transfer length"
line.long (0x70+0x0c) "CDW3,Command Header Word 3 Register"
bitfld.long (0x70+0x0c) 10. " V         ,Vendor BIST" "Other,Vendor BIST"
bitfld.long (0x70+0x0c) 9. "  S       ,Snoop enable during all descriptor read/write operations" "-,Enabled"
bitfld.long (0x70+0x0c) 8. "    Q ,Queued" "-,Queued"
textline "               "
bitfld.long (0x70+0x0c) 7. " R         ,Reset" "-,Reset"
bitfld.long (0x70+0x0c) 6. "        B       ,Bist" "Other,Bist mode"
bitfld.long (0x70+0x0c) 5. "  A ,ATAPI command" "0,1"
textline "               "
bitfld.long (0x70+0x0c) 0.--4. " TAG       ,The 5-bit TAG assigned by software for command tracking" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
group.long 0x00++0xff  "Command Header 8"
line.long 0x80 "CDW0,Command Header Word 0 Register"
hexmask.long 0x80 2.--31. 0x4 " CDA       ,Command descriptor base address"
line.long (0x80+0x04) "CDW1,Command Header Word 1 Register"
hexmask.long.byte (0x80+0x04) 16.--21. 1. " PRD_ENTRY ,Number of PRD entries including indexed entries"
bitfld.byte (0x80+0x04) 2.--6. "           FIS_LEN ,FIS length" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
line.long (0x80+0x08) "CDW2,Command Header Word 2 Register" 
hexmask.long (0x80+0x08) 2.--31. 1. " TTL       ,Total transfer length"
line.long (0x80+0x0c) "CDW3,Command Header Word 3 Register"
bitfld.long (0x80+0x0c) 10. " V         ,Vendor BIST" "Other,Vendor BIST"
bitfld.long (0x80+0x0c) 9. "  S       ,Snoop enable during all descriptor read/write operations" "-,Enabled"
bitfld.long (0x80+0x0c) 8. "    Q ,Queued" "-,Queued"
textline "               "
bitfld.long (0x80+0x0c) 7. " R         ,Reset" "-,Reset"
bitfld.long (0x80+0x0c) 6. "        B       ,Bist" "Other,Bist mode"
bitfld.long (0x80+0x0c) 5. "  A ,ATAPI command" "0,1"
textline "               "
bitfld.long (0x80+0x0c) 0.--4. " TAG       ,The 5-bit TAG assigned by software for command tracking" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
group.long 0x00++0xff  "Command Header 9"
line.long 0x90 "CDW0,Command Header Word 0 Register"
hexmask.long 0x90 2.--31. 0x4 " CDA       ,Command descriptor base address"
line.long (0x90+0x04) "CDW1,Command Header Word 1 Register"
hexmask.long.byte (0x90+0x04) 16.--21. 1. " PRD_ENTRY ,Number of PRD entries including indexed entries"
bitfld.byte (0x90+0x04) 2.--6. "           FIS_LEN ,FIS length" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
line.long (0x90+0x08) "CDW2,Command Header Word 2 Register" 
hexmask.long (0x90+0x08) 2.--31. 1. " TTL       ,Total transfer length"
line.long (0x90+0x0c) "CDW3,Command Header Word 3 Register"
bitfld.long (0x90+0x0c) 10. " V         ,Vendor BIST" "Other,Vendor BIST"
bitfld.long (0x90+0x0c) 9. "  S       ,Snoop enable during all descriptor read/write operations" "-,Enabled"
bitfld.long (0x90+0x0c) 8. "    Q ,Queued" "-,Queued"
textline "               "
bitfld.long (0x90+0x0c) 7. " R         ,Reset" "-,Reset"
bitfld.long (0x90+0x0c) 6. "        B       ,Bist" "Other,Bist mode"
bitfld.long (0x90+0x0c) 5. "  A ,ATAPI command" "0,1"
textline "               "
bitfld.long (0x90+0x0c) 0.--4. " TAG       ,The 5-bit TAG assigned by software for command tracking" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
group.long 0x00++0xff  "Command Header 10"
line.long 0xA0 "CDW0,Command Header Word 0 Register"
hexmask.long 0xA0 2.--31. 0x4 " CDA       ,Command descriptor base address"
line.long (0xA0+0x04) "CDW1,Command Header Word 1 Register"
hexmask.long.byte (0xA0+0x04) 16.--21. 1. " PRD_ENTRY ,Number of PRD entries including indexed entries"
bitfld.byte (0xA0+0x04) 2.--6. "           FIS_LEN ,FIS length" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
line.long (0xA0+0x08) "CDW2,Command Header Word 2 Register" 
hexmask.long (0xA0+0x08) 2.--31. 1. " TTL       ,Total transfer length"
line.long (0xA0+0x0c) "CDW3,Command Header Word 3 Register"
bitfld.long (0xA0+0x0c) 10. " V         ,Vendor BIST" "Other,Vendor BIST"
bitfld.long (0xA0+0x0c) 9. "  S       ,Snoop enable during all descriptor read/write operations" "-,Enabled"
bitfld.long (0xA0+0x0c) 8. "    Q ,Queued" "-,Queued"
textline "               "
bitfld.long (0xA0+0x0c) 7. " R         ,Reset" "-,Reset"
bitfld.long (0xA0+0x0c) 6. "        B       ,Bist" "Other,Bist mode"
bitfld.long (0xA0+0x0c) 5. "  A ,ATAPI command" "0,1"
textline "               "
bitfld.long (0xA0+0x0c) 0.--4. " TAG       ,The 5-bit TAG assigned by software for command tracking" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
group.long 0x00++0xff  "Command Header 11"
line.long 0xB0 "CDW0,Command Header Word 0 Register"
hexmask.long 0xB0 2.--31. 0x4 " CDA       ,Command descriptor base address"
line.long (0xB0+0x04) "CDW1,Command Header Word 1 Register"
hexmask.long.byte (0xB0+0x04) 16.--21. 1. " PRD_ENTRY ,Number of PRD entries including indexed entries"
bitfld.byte (0xB0+0x04) 2.--6. "           FIS_LEN ,FIS length" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
line.long (0xB0+0x08) "CDW2,Command Header Word 2 Register" 
hexmask.long (0xB0+0x08) 2.--31. 1. " TTL       ,Total transfer length"
line.long (0xB0+0x0c) "CDW3,Command Header Word 3 Register"
bitfld.long (0xB0+0x0c) 10. " V         ,Vendor BIST" "Other,Vendor BIST"
bitfld.long (0xB0+0x0c) 9. "  S       ,Snoop enable during all descriptor read/write operations" "-,Enabled"
bitfld.long (0xB0+0x0c) 8. "    Q ,Queued" "-,Queued"
textline "               "
bitfld.long (0xB0+0x0c) 7. " R         ,Reset" "-,Reset"
bitfld.long (0xB0+0x0c) 6. "        B       ,Bist" "Other,Bist mode"
bitfld.long (0xB0+0x0c) 5. "  A ,ATAPI command" "0,1"
textline "               "
bitfld.long (0xB0+0x0c) 0.--4. " TAG       ,The 5-bit TAG assigned by software for command tracking" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
group.long 0x00++0xff  "Command Header 12"
line.long 0xC0 "CDW0,Command Header Word 0 Register"
hexmask.long 0xC0 2.--31. 0x4 " CDA       ,Command descriptor base address"
line.long (0xC0+0x04) "CDW1,Command Header Word 1 Register"
hexmask.long.byte (0xC0+0x04) 16.--21. 1. " PRD_ENTRY ,Number of PRD entries including indexed entries"
bitfld.byte (0xC0+0x04) 2.--6. "           FIS_LEN ,FIS length" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
line.long (0xC0+0x08) "CDW2,Command Header Word 2 Register" 
hexmask.long (0xC0+0x08) 2.--31. 1. " TTL       ,Total transfer length"
line.long (0xC0+0x0c) "CDW3,Command Header Word 3 Register"
bitfld.long (0xC0+0x0c) 10. " V         ,Vendor BIST" "Other,Vendor BIST"
bitfld.long (0xC0+0x0c) 9. "  S       ,Snoop enable during all descriptor read/write operations" "-,Enabled"
bitfld.long (0xC0+0x0c) 8. "    Q ,Queued" "-,Queued"
textline "               "
bitfld.long (0xC0+0x0c) 7. " R         ,Reset" "-,Reset"
bitfld.long (0xC0+0x0c) 6. "        B       ,Bist" "Other,Bist mode"
bitfld.long (0xC0+0x0c) 5. "  A ,ATAPI command" "0,1"
textline "               "
bitfld.long (0xC0+0x0c) 0.--4. " TAG       ,The 5-bit TAG assigned by software for command tracking" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
group.long 0x00++0xff  "Command Header 13"
line.long 0xD0 "CDW0,Command Header Word 0 Register"
hexmask.long 0xD0 2.--31. 0x4 " CDA       ,Command descriptor base address"
line.long (0xD0+0x04) "CDW1,Command Header Word 1 Register"
hexmask.long.byte (0xD0+0x04) 16.--21. 1. " PRD_ENTRY ,Number of PRD entries including indexed entries"
bitfld.byte (0xD0+0x04) 2.--6. "           FIS_LEN ,FIS length" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
line.long (0xD0+0x08) "CDW2,Command Header Word 2 Register" 
hexmask.long (0xD0+0x08) 2.--31. 1. " TTL       ,Total transfer length"
line.long (0xD0+0x0c) "CDW3,Command Header Word 3 Register"
bitfld.long (0xD0+0x0c) 10. " V         ,Vendor BIST" "Other,Vendor BIST"
bitfld.long (0xD0+0x0c) 9. "  S       ,Snoop enable during all descriptor read/write operations" "-,Enabled"
bitfld.long (0xD0+0x0c) 8. "    Q ,Queued" "-,Queued"
textline "               "
bitfld.long (0xD0+0x0c) 7. " R         ,Reset" "-,Reset"
bitfld.long (0xD0+0x0c) 6. "        B       ,Bist" "Other,Bist mode"
bitfld.long (0xD0+0x0c) 5. "  A ,ATAPI command" "0,1"
textline "               "
bitfld.long (0xD0+0x0c) 0.--4. " TAG       ,The 5-bit TAG assigned by software for command tracking" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
group.long 0x00++0xff  "Command Header 14"
line.long 0xE0 "CDW0,Command Header Word 0 Register"
hexmask.long 0xE0 2.--31. 0x4 " CDA       ,Command descriptor base address"
line.long (0xE0+0x04) "CDW1,Command Header Word 1 Register"
hexmask.long.byte (0xE0+0x04) 16.--21. 1. " PRD_ENTRY ,Number of PRD entries including indexed entries"
bitfld.byte (0xE0+0x04) 2.--6. "           FIS_LEN ,FIS length" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
line.long (0xE0+0x08) "CDW2,Command Header Word 2 Register" 
hexmask.long (0xE0+0x08) 2.--31. 1. " TTL       ,Total transfer length"
line.long (0xE0+0x0c) "CDW3,Command Header Word 3 Register"
bitfld.long (0xE0+0x0c) 10. " V         ,Vendor BIST" "Other,Vendor BIST"
bitfld.long (0xE0+0x0c) 9. "  S       ,Snoop enable during all descriptor read/write operations" "-,Enabled"
bitfld.long (0xE0+0x0c) 8. "    Q ,Queued" "-,Queued"
textline "               "
bitfld.long (0xE0+0x0c) 7. " R         ,Reset" "-,Reset"
bitfld.long (0xE0+0x0c) 6. "        B       ,Bist" "Other,Bist mode"
bitfld.long (0xE0+0x0c) 5. "  A ,ATAPI command" "0,1"
textline "               "
bitfld.long (0xE0+0x0c) 0.--4. " TAG       ,The 5-bit TAG assigned by software for command tracking" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
group.long 0x00++0xff  "Command Header 15"
line.long 0xF0 "CDW0,Command Header Word 0 Register"
hexmask.long 0xF0 2.--31. 0x4 " CDA       ,Command descriptor base address"
line.long (0xF0+0x04) "CDW1,Command Header Word 1 Register"
hexmask.long.byte (0xF0+0x04) 16.--21. 1. " PRD_ENTRY ,Number of PRD entries including indexed entries"
bitfld.byte (0xF0+0x04) 2.--6. "           FIS_LEN ,FIS length" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
line.long (0xF0+0x08) "CDW2,Command Header Word 2 Register" 
hexmask.long (0xF0+0x08) 2.--31. 1. " TTL       ,Total transfer length"
line.long (0xF0+0x0c) "CDW3,Command Header Word 3 Register"
bitfld.long (0xF0+0x0c) 10. " V         ,Vendor BIST" "Other,Vendor BIST"
bitfld.long (0xF0+0x0c) 9. "  S       ,Snoop enable during all descriptor read/write operations" "-,Enabled"
bitfld.long (0xF0+0x0c) 8. "    Q ,Queued" "-,Queued"
textline "               "
bitfld.long (0xF0+0x0c) 7. " R         ,Reset" "-,Reset"
bitfld.long (0xF0+0x0c) 6. "        B       ,Bist" "Other,Bist mode"
bitfld.long (0xF0+0x0c) 5. "  A ,ATAPI command" "0,1"
textline "               "
bitfld.long (0xF0+0x0c) 0.--4. " TAG       ,The 5-bit TAG assigned by software for command tracking" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
tree.end
base anc:iobase()
endian.def
tree.end
tree "SATA 2"
base anc:iobase()
width 0xa
endian.le
tree "Command Registers"
group.long 0x019000++0x03
line.long 0x00 "CQR,Command Queue Register"
bitfld.long 0x00 15. " CQ15     ,Command 15 queue bit" "-,Queued"
bitfld.long 0x00 14. "     CQ14      ,Command 14 queue bit" "-,Queued"
bitfld.long 0x00 13. "      CQ13       ,Command 13 queue bit" "-,Queued"
bitfld.long 0x00 12. "       CQ12 ,Command 12 queue bit" "-,Queued"
textline "                   "
bitfld.long 0x00 11. " CQ11     ,Command 11 queue bit" "-,Queued"
bitfld.long 0x00 10. "     CQ10      ,Command 10 queue bit" "-,Queued"
bitfld.long 0x00 9. "      CQ9        ,Command 9 queue bit" "-,Queued"
bitfld.long 0x00 8. "       CQ8  ,Command 8 queue bit" "-,Queued"
textline "                   "
bitfld.long 0x00 7. " CQ7      ,Command 7 queue bit" "-,Queued"
bitfld.long 0x00 6. "     CQ6       ,Command 6 queue bit" "-,Queued"
bitfld.long 0x00 5. "      CQ5        ,Command 5 queue bit" "-,Queued"
bitfld.long 0x00 4. "       CQ4  ,Command 4 queue bit" "-,Queued"
textline "                   "
bitfld.long 0x00 3. " CQ3      ,Command 3 queue bit" "-,Queued"
bitfld.long 0x00 2. "     CQ2       ,Command 2 queue bit" "-,Queued"
bitfld.long 0x00 1. "      CQ1        ,Command 1 queue bit" "-,Queued"
bitfld.long 0x00 0. "       CQ0  ,Command 0 queue bit" "-,Queued"
group.long (0x019000+0x08)++0x03
line.long 0x00 "CAR,Command Active Register"
bitfld.long 0x00 15. " CA15     ,Command 15 active bit" "-,Active"
bitfld.long 0x00 14. "     CA14      ,Command 14 active bit" "-,Active"
bitfld.long 0x00 13. "      CA13       ,Command 13 active bit" "-,Active"
bitfld.long 0x00 12. "       CA12 ,Command 12 active bit" "-,Active"
textline "                   "
bitfld.long 0x00 11. " CA11     ,Command 11 active bit" "-,Active"
bitfld.long 0x00 10. "     CA10      ,Command 10 active bit" "-,Active"
bitfld.long 0x00 9. "      CA9        ,Command 9 active bit" "-,Active"
bitfld.long 0x00 8. "       CA8  ,Command 8 active bit" "-,Active"
textline "                   "
bitfld.long 0x00 7. " CA7      ,Command 7 active bit" "-,Active"
bitfld.long 0x00 6. "     CA6       ,Command 6 active bit" "-,Active"
bitfld.long 0x00 5. "      CA5        ,Command 5 active bit" "-,Active"
bitfld.long 0x00 4. "       CA4  ,Command 4 active bit" "-,Active"
textline "                   "
bitfld.long 0x00 3. " CA3      ,Command 3 active bit" "-,Active"
bitfld.long 0x00 2. "     CA2       ,Command 2 active bit" "-,Active"
bitfld.long 0x00 1. "      CA1        ,Command 1 active bit" "-,Active"
bitfld.long 0x00 0. "       CA0  ,Command 0 active bit" "-,Active"
group.long (0x019000+0x10)++0x03
line.long 0x00 "CCR,Command Completed Register"
bitfld.long 0x00 15. " CC15     ,Command 15 completed bit" "-,Completed"
bitfld.long 0x00 14. "  CC14      ,Command 14 completed bit" "-,Completed"
bitfld.long 0x00 13. "   CC13       ,Command 13 completed bit" "-,Completed"
bitfld.long 0x00 12. "    CC12 ,Command 12 completed bit" "-,Completed"
textline "                   "
bitfld.long 0x00 11. " CC11     ,Command 11 completed bit" "-,Completed"
bitfld.long 0x00 10. "  CC10      ,Command 10 completed bit" "-,Completed"
bitfld.long 0x00 9. "   CC9        ,Command 9 completed bit" "-,Completed"
bitfld.long 0x00 8. "    CC8  ,Command 8 completed bit" "-,Completed"
textline "                   "
bitfld.long 0x00 7. " CC7      ,Command 7 completed bit" "-,Completed"
bitfld.long 0x00 6. "  CC6       ,Command 6 completed bit" "-,Completed"
bitfld.long 0x00 5. "   CC5        ,Command 5 completed bit" "-,Completed"
bitfld.long 0x00 4. "    CC4  ,Command 4 completed bit" "-,Completed"
textline "                   "
bitfld.long 0x00 3. " CC3      ,Command 3 completed bit" "-,Completed"
bitfld.long 0x00 2. "  CC2       ,Command 2 completed bit" "-,Completed"
bitfld.long 0x00 1. "   CC1        ,Command 1 completed bit" "-,Completed"
bitfld.long 0x00 0. "    CC0  ,Command 0 completed bit" "-,Completed"
group.long (0x019000+0x18)++0x03
line.long 0x00 "CER,Command Error Register"
eventfld.long 0x00 15. " CE15     ,Command 15 error bit" "-,Error"
eventfld.long 0x00 14. "      CE14      ,Command 14 error bit" "-,Error"
eventfld.long 0x00 13. "       CE13       ,Command 13 error bit" "-,Error"
eventfld.long 0x00 12. "        CE12 ,Command 12 error bit" "-,Error"
textline "                   "
eventfld.long 0x00 11. " CE11     ,Command 11 error bit" "-,Error"
eventfld.long 0x00 10. "      CE10      ,Command 10 error bit" "-,Error"
eventfld.long 0x00 9. "       CE9        ,Command 9 error bit" "-,Error"
eventfld.long 0x00 8. "        CE8  ,Command 8 error bit" "-,Error"
textline "                   "
eventfld.long 0x00 7. " CE7      ,Command 7 error bit" "-,Error"
eventfld.long 0x00 6. "      CE6       ,Command 6 error bit" "-,Error"
eventfld.long 0x00 5. "       CE5        ,Command 5 error bit" "-,Error"
eventfld.long 0x00 4. "        CE4  ,Command 4 error bit" "-,Error"
textline "                   "
eventfld.long 0x00 3. " CE3      ,Command 3 error bit" "-,Error"
eventfld.long 0x00 2. "      CE2       ,Command 2 error bit" "-,Error"
eventfld.long 0x00 1. "       CE1        ,Command 1 error bit" "-,Error"
eventfld.long 0x00 0. "        CE0  ,Command 0 error bit" "-,Error"
group.long (0x019000+0x20)++0x1b
line.long 0x00 "DER,Device Error Register"
eventfld.long 0x00 15. " DE15     ,Device 15 error bit" "-,Error"
eventfld.long 0x00 14. "      DE14      ,Device 14 error bit" "-,Error"
eventfld.long 0x00 13. "       DE13       ,Device 13 error bit" "-,Error"
eventfld.long 0x00 12. "        DE12 ,Device 12 error bit" "-,Error"
textline "                   "
eventfld.long 0x00 11. " DE11     ,Device 11 error bit" "-,Error"
eventfld.long 0x00 10. "      DE10      ,Device 10 error bit" "-,Error"
eventfld.long 0x00 9. "       DE9        ,Device 9 error bit" "-,Error"
eventfld.long 0x00 8. "        DE8  ,Device 8 error bit" "-,Error"
textline "                   "
eventfld.long 0x00 7. " DE7      ,Device 7 error bit" "-,Error"
eventfld.long 0x00 6. "      DE6       ,Device 6 error bit" "-,Error"
eventfld.long 0x00 5. "       DE5        ,Device 5 error bit" "-,Error"
eventfld.long 0x00 4. "        DE4  ,Device 4 error bit" "-,Error"
textline "                   "
eventfld.long 0x00 3. " DE3      ,Device 3 error bit" "-,Error"
eventfld.long 0x00 2. "      DE2       ,Device 2 error bit" "-,Error"
eventfld.long 0x00 1. "       DE1        ,Device 1 error bit" "-,Error"
eventfld.long 0x00 0. "        DE0  ,Device 0 error bit" "-,Error"
line.long 0x04 "CHBA,Command Header Base Address Register"
hexmask.long 0x04 2.--31. 0x4 " CHBA     ,Command Header Base Address"
line.long 0x08 "HStatus,Host Status Register"
bitfld.long 0x08 31. " HS_ON    ,Online/offline" "Offline,Online"
bitfld.long 0x08 30. "   HS_OFF    ,Going offline" "-,In process"
bitfld.long 0x08 29. "     BE         ,BIST error" "Passing,Not passing"
textline "                   "
bitfld.long 0x08 18. " ME       ,SATA controller master error" "-,Error"
bitfld.long 0x08 17. "     PTx_Err   ,SATA controller parity Tx error" "-,Error"
bitfld.long 0x08 16. "          PRx_Err    ,SATA controller parity Rx error" "-,Error"
textline "                   "
bitfld.long 0x08 13. " DUE      ,Data underrun" "-,Underrun"
bitfld.long 0x08 12. "  DOE       ,Data Overrun" "-,Overrun"
bitfld.long 0x08 11. "        CET        ,CRC error Tx" "-,Error"
textline "                   "
bitfld.long 0x08 10. " CER      ,CRC error Rx" "-,Error"
bitfld.long 0x08 9. "     FOT       ,FIFO overflow Tx" "-,Overflow"
bitfld.long 0x08 8. "       FOR        ,FIFO overflow Rx" "-,Overflow"
textline "                   "
eventfld.long 0x08 5. " FE       ,Fatal Error" "-,Error"
eventfld.long 0x08 4. "     PR        ,PHY ready" "-,Changed"
eventfld.long 0x08 3. "        SIGU       ,Signature update" "-,Updated"
textline "                   "
eventfld.long 0x08 2. " SNTFU    ,SNotification update" "-,Updated"
eventfld.long 0x08 1. "   DE        ,Device error" "-,Error"
eventfld.long 0x08 0. "          CC         ,Command complete" "-,Completed"
line.long 0x0c "HControl,Host Control Register"    
bitfld.long 0x0C 31. " HC_ON    ,Online/offline" "Offline,Online"
bitfld.long 0x0C 30. "   HS_OFF    ,Offline request status" "Not requested,Requested"
bitfld.long 0x0C 13.--14. "  PPM        ,Parity protection mode" "00,01,10,11"
textline "                   "
bitfld.long 0x0C 12. " PT       ,Parity type select" "Odd,Even"
bitfld.long 0x0C 10. "      SNOOP_EN  ,Snoop enable during header fetch" "-,Enabled"
bitfld.long 0x0C 9. "        PM_EN      ,Port multiplier attached" "-,Attached"
textline "                   "
bitfld.long 0x0C 8. " SFIS_EN  ,Copy out status FIS" "-,Copied"
bitfld.long 0x0C 5. "    FATAL_INT ,Enable interrupt on fatal error" "-,Enabled"
bitfld.long 0x0C 4. "        PHYRDY_INT ,Enable interrupt on PHY ready change" "-,Enabled"
textline "                   "
bitfld.long 0x0C 3. " SIG_INT  ,Enable interrupt signature update" "-,Enabled"
bitfld.long 0x0C 2. "   SNTFY_INT ,Enable interrupt on SNotify register update" "-,Enabled"
bitfld.long 0x0C 1. "        DE_INT     ,Enable interrupt on single device error" "-,Enabled"
textline "                   "
bitfld.long 0x0C 0. " CC_INT   ,Enable interrupt on command complete" "-,Enabled"
line.long 0x10 "CQPMP,Port Number Queue Register"
bitfld.long 0x10 0.--3. " CQPMP    ,Command queue port multiplier field" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
line.long 0x14 "SIG,Signature Register"
hexmask.long.byte 0x14 24.--31. 1. " LBA_HIGH ,LBA high register"
hexmask.long.byte 0x14 16.--23. 1. "        LBA_MID   ,LBA mid register"        
textline "                   "
hexmask.long.byte 0x14 8.--15. 1. " LBA_LOW  ,LBA low register"
hexmask.long.byte 0x14 0.--7. 1. "        SEC_CNT   ,Sector count register"
line.long 0x18 "ICC,Interrupt Coalescing Control Register"
bitfld.long 0x18 24.--28. " ITC      ,Interrupt threshold count" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
hexmask.long 0x18 0.--18. 1. "        ITTCV     ,Interrupt threshold timer compare value"
tree.end
width 0xe
tree "SATA Superset Registers"
rgroup.long (0x019000+0x100)++0x03
line.long 0x00 "SStatus,SATA Interface Status Register"
bitfld.long 0x00 8.--11. " IPM      ,Interface power management state" "Not present,Active,Partial,Reserved,Reserved,Reserved,Slumber,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 4.--7. "     SPD      ,Speed" "No speed,First rate,Second rate,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
textline "                       "
bitfld.long 0x00 0.--3. " DET      ,Detection" "No device,Detected/PHY not established,Reserved,Detected/PHY established,PHY in offline,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
group.long (0x019000+0x104)++0x0b
line.long 0x00 "SError,SATA Interface Error Register"
eventfld.long 0x00 27. " A        ,Port selector presence detected" "-,Detected"
eventfld.long 0x00 26. "        X        ,Exchanged" "-,Changed"
eventfld.long 0x00 25. "       F        ,Unrecognized FIS type" "-,Occurred"
textline "                       "        
eventfld.long 0x00 24. " T        ,Transport state transition error" "-,Error"
eventfld.long 0x00 23. "           S        ,Link sequence error" "-,Error"        
eventfld.long 0x00 22. "         H        ,Handshake error" "-,Error"
textline "                       "        
eventfld.long 0x00 21. " C        ,CRC error" "-,Error"
eventfld.long 0x00 20. "           D        ,Disparity error" "-,Error"
eventfld.long 0x00 19. "         B        ,10b to 8b decode error" "-,Error"
textline "                       "        
eventfld.long 0x00 18. " W        ,COMWAKE detected" "-,Detected"            
eventfld.long 0x00 17. "        IN       ,PHY internal error" "-,Error"
eventfld.long 0x00 16. "         N        ,PHYRDY change" "-,Changed"
textline "                       "        
eventfld.long 0x00 11. " E        ,E Internal error" "-,Error"
eventfld.long 0x00 10. "           P        ,Protocol error" "-,Error"
eventfld.long 0x00 9. "         C        ,Non-recovered persistent communication or data integrity error" "-,Error"
textline "                       "        
eventfld.long 0x00 8. " T        ,Non-recovered transient data integrity error" "-,Error"
eventfld.long 0x00 1. "           M        ,Recovered communications error" "-,Error"
eventfld.long 0x00 0. "         ITG      ,Recovered data integrity error" "-,Error"
line.long 0x04 "SControl,SATA Interface Control Register"
bitfld.long 0x04 12.--15. " SPM      ,Select power management" "Not requested,Partial,Slumber,Reserved,Active,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x04 8.--11. "   IPM      ,Interface power management transitions disabled" "No interface,Partial,Slumber,Both,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
textline "                       "
bitfld.long 0x04 4.--7. " SPD      ,Speed Limit" "No limit,<= first rate,<= second rate,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x04 0.--3. "  DET      ,Detection" "No device,Communication established,Reserved,Reserved,SATA disabled/PHY offline,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
line.long 0x08 "SNotification,SATA Interface Notification Register"    
bitfld.long 0x08 15. " Notify15 ,Device 15 has sent FIS bits to the host" "-,Sent"
bitfld.long 0x08 14. "            Notify14 ,Device 14 has sent FIS bits to the host" "-,Sent"
bitfld.long 0x08 13. "          Notify13 ,Device 13 has sent FIS bits to the host" "-,Sent"
textline "                       "
bitfld.long 0x08 12. " Notify12 ,Device 12 has sent FIS bits to the host" "-,Sent"
bitfld.long 0x08 11. "            Notify11 ,Device 11 has sent FIS bits to the host" "-,Sent"
bitfld.long 0x08 10. "          Notify10 ,Device 10 has sent FIS bits to the host" "-,Sent"
textline "                       "
bitfld.long 0x08 9. " Notify9  ,Device 9 has sent FIS bits to the host" "-,Sent"
bitfld.long 0x08 8. "            Notify8  ,Device 8 has sent FIS bits to the host" "-,Sent"
bitfld.long 0x08 7. "          Notify7  ,Device 7 has sent FIS bits to the host" "-,Sent"
textline "                       "
bitfld.long 0x08 6. " Notify6  ,Device 6 has sent FIS bits to the host" "-,Sent"
bitfld.long 0x08 5. "            Notify5  ,Device 5 has sent FIS bits to the host" "-,Sent"
bitfld.long 0x08 4. "          Notify4  ,Device 4 has sent FIS bits to the host" "-,Sent"
textline "                       "
bitfld.long 0x08 3. " Notify3  ,Device 3 has sent FIS bits to the host" "-,Sent"
bitfld.long 0x08 2. "            Notify2  ,Device 2 has sent FIS bits to the host" "-,Sent"
bitfld.long 0x08 1. "          Notify1  ,Device 1 has sent FIS bits to the host" "-,Sent"
textline "                       "
bitfld.long 0x08 0. " Notify0  ,Device 0 has sent FIS bits to the host" "-,Sent"
tree.end    
width 0xd
tree "Control Status Registers"
group.long (0x019000+0x140)++0x03
line.long 0x00 "TransCfg,Transport Layer Configuration Register"
hexmask.long.word 0x00 16.--31. 1. " DFIS_SIZE     ,Data FIS framing length words"
bitfld.long 0x00 0.--4. "               RX_WATER_MARK  ,Number of locations in the 58-deep Rx FIFO" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
rgroup.word (0x019000+0x144)++0x01    
line.word 0x00 "TransStatus,Transport Layer Status Register"    
hexmask.word 0x00 8.--15. 1. "     TX_SM         ,Indicates the state of Tx state machine"
hexmask.word 0x00 0.--7. 1. "               RX_SM          ,Indicates the state of Rx state machine"
group.long (0x019000+0x148)++0x1b
line.long 0x00 "LinkCfg,Link Layer Configuration Register"
bitfld.long 0x00 26. " POE           ,Primitive override enable" "-,Enabled"
hexmask.long.word 0x00 16.--25. 1. "            PRT            ,PHY ready timer"
hexmask.long.byte 0x00 8.--15. 1. "         AR          ,Align insertion rate"
textline "                      "
bitfld.long 0x00 7. " EPNRT         ,Enable PHY not ready timer" "-,Enabled"
bitfld.long 0x00 6. "            S4A            ,Send four ALIGNs" "-,Sent"
bitfld.long 0x00 5. "         RX_SCR_EN   ,Rx scramble enable" "-,Enabled"
textline "                      "
bitfld.long 0x00 4. " TX_SCR_EN     ,Tx scramble enable" "-,Enabled"
bitfld.long 0x00 3. "            TX_PRIM_JUNK   ,TX prim junk" "Junk data,DEADBEEF"
bitfld.long 0x00 2. "    TX_CONT_EN  ,TX CONT" "-,Enabled"
textline "                      "
bitfld.long 0x00 1. " RX_BAD_CRC    ,RX bad CRC" "-,Detected"
bitfld.long 0x00 0. "           TX_BAD_CRC     ,TX bad CRC" "-,Detected"
line.long 0x04 "LinkCfg1,Link Layer Configuration Register1"
bitfld.long 0x04 6. " CD            ,Data character/primitive" "Primitive,Character"
hexmask.long.byte 0x04 0.--5. 1. "          PRIM_OVR_STATE ,Prim override state"
line.long 0x08 "LinkCfg2,Link Layer Configuration Register2"
line.long 0x0c "LinkStatus,Link Layer Status Register"
bitfld.long 0x0c 0.--5. " LINK_STATE    ,Current value of the link layer state machine at the time the LinkStatus register is read" "L_Reset,L_Idle,HL_SendChkRdy,DL_SendChkRdy,L_TPMPartial,L_TPMSlumber,L_RcvWaitFifo,L_PMOff,L_PMDeny,L_NoCommErr,L_NoComm,L_SendAlign,L_SendSOF,L_SendData,WAIT_FOR_SYNC,L_SendCRC,L_SendHold,L_RcvHold,L_SendEOF,L_Wait,L_ChkPhyRdy,L_NoCommPower,L_WakeUp1,L_WakeUp2,L_RcvChkRdy,L_RcvData,L_BadEnd,L_RcvEOF,L_SendHoldA,L_Hold,L_GoodCRC,L_GoodEnd,L_PMOff_2,L_PMOff_3,L_PMOff_4,WAIT_PMACK_SENT_1,WAIT_PMACK_SENT_2,WAIT_PMACK_SENT_3,WAIT_PMACK_SENT_4,WAIT_PMACK_SENT_5,WAIT_PMACK_SENT_6,BIST0,BIST1,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
line.long 0x10 "LinkStatus1,Link Layer Status Register1"
hexmask.long.byte 0x10 24.--31. 1. " KEGC          ,Kchar error gray count"
hexmask.long.byte 0x10 16.--23. 1. "                 PIEGC          ,PHY internal error gray count"    
textline "                      "
hexmask.long.byte 0x10 8.--15. 1. " CEGC          ,Code error gray count"
hexmask.long.byte 0x10 0.--7. 1. "                 DEGC           ,Disparity error gray count"            
line.long 0x14 "PhyCtrlCfg1,PHY Control Configuration Register1"
bitfld.long 0x14 13. " HOST_MODE     ,Host mode" "Device mode,Host mode"
bitfld.long 0x14 12. "        ENDEC_EN       ,Encode decode enable" "10-bit mode,8-bit mode"
textline "                      "
bitfld.long 0x14 7.--8. " FPRFTI        ,Force PHY ready/orce Tx idle" "00,01,10,11"
textline "                      "
bitfld.long 0x14 0. " BIST_EN       ,PHY BIST enable" "-,Enabled"
line.long 0x18 "CommandStatus,LInk Layer Command Status Register"
bitfld.long 0x18 20.--23. " DMATCmdNo     ,DMAT Command Number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x18 16.--19. "                 DMATPMPNo      ,DMATPMP Number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x18 12.--15. "           RecPMPLocal ,RecPMP Local" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
textline "                      "
bitfld.long 0x18 8.--11. " CSState       ,CS State" "CSSIdle,CSSGP,CSSPCA,Reserved,CSSNPS,CSSSC,CSSNCS,CSSPF,CSSTO,CSSWCI,?..."
hexmask.long.byte 0x18 0.--7. 1. "           CMState        ,CM State"
group.long (0x019000+0x400)++0x03
line.long 0x00 "PhyCtrlCfg2,PHY Control Configuration Register2"
bitfld.long 0x00 6.--7. " TX_AMP_CNTRL  ,Tx amplitude control" "No control,Amplitude of +6%,Amplitude of +10%,Amplitude of +16%"
bitfld.long 0x00 3.--5. "  TX_PRE_EMP_G2  ,Transmit pre-emphasis for GEN2 speeds" "0.0%,3.7%,7.4%,11.1%,14.8%,18.5%,22.2%,Reserved"
textline "                      "
bitfld.long 0x00 0.--2. " TX_PRE_EMP_G1 ,Transmit pre-emphasis for GEN1 speeds" "0.0%,3.7%,7.4%,11.1%,14.8%,18.5%,22.2%,Reserved"        
tree.end
tree "System Control Registers"
width 0x7
group.long (0x019000+0x410)++0x03
line.long 0x00 "SYSPR,System Priority Register"
bitfld.long 0x00 14.--15. " PRI_DATA ,Priority" "Level 0,Level 1,Level 2,Level 3"
bitfld.long 0x00 12.--13. "  PRI_DES ,Priority" "Level 0,Level 1,Level 2,Level 3"
bitfld.long 0x00 2. "  RD_SAFE ,Read safe" "-,Safe"
tree.end
width 0x6
base ANC:(((d.l(anc:iobase()+0x19024))&0xfffffffc))
tree "Command Headers"
group.long 0x00++0xff  "Command Header 0"
line.long 0x0 "CDW0,Command Header Word 0 Register"
hexmask.long 0x0 2.--31. 0x4 " CDA       ,Command descriptor base address"
line.long (0x0+0x04) "CDW1,Command Header Word 1 Register"
hexmask.long.byte (0x0+0x04) 16.--21. 1. " PRD_ENTRY ,Number of PRD entries including indexed entries"
bitfld.byte (0x0+0x04) 2.--6. "           FIS_LEN ,FIS length" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
line.long (0x0+0x08) "CDW2,Command Header Word 2 Register" 
hexmask.long (0x0+0x08) 2.--31. 1. " TTL       ,Total transfer length"
line.long (0x0+0x0c) "CDW3,Command Header Word 3 Register"
bitfld.long (0x0+0x0c) 10. " V         ,Vendor BIST" "Other,Vendor BIST"
bitfld.long (0x0+0x0c) 9. "  S       ,Snoop enable during all descriptor read/write operations" "-,Enabled"
bitfld.long (0x0+0x0c) 8. "    Q ,Queued" "-,Queued"
textline "               "
bitfld.long (0x0+0x0c) 7. " R         ,Reset" "-,Reset"
bitfld.long (0x0+0x0c) 6. "        B       ,Bist" "Other,Bist mode"
bitfld.long (0x0+0x0c) 5. "  A ,ATAPI command" "0,1"
textline "               "
bitfld.long (0x0+0x0c) 0.--4. " TAG       ,The 5-bit TAG assigned by software for command tracking" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
group.long 0x00++0xff  "Command Header 1"
line.long 0x10 "CDW0,Command Header Word 0 Register"
hexmask.long 0x10 2.--31. 0x4 " CDA       ,Command descriptor base address"
line.long (0x10+0x04) "CDW1,Command Header Word 1 Register"
hexmask.long.byte (0x10+0x04) 16.--21. 1. " PRD_ENTRY ,Number of PRD entries including indexed entries"
bitfld.byte (0x10+0x04) 2.--6. "           FIS_LEN ,FIS length" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
line.long (0x10+0x08) "CDW2,Command Header Word 2 Register" 
hexmask.long (0x10+0x08) 2.--31. 1. " TTL       ,Total transfer length"
line.long (0x10+0x0c) "CDW3,Command Header Word 3 Register"
bitfld.long (0x10+0x0c) 10. " V         ,Vendor BIST" "Other,Vendor BIST"
bitfld.long (0x10+0x0c) 9. "  S       ,Snoop enable during all descriptor read/write operations" "-,Enabled"
bitfld.long (0x10+0x0c) 8. "    Q ,Queued" "-,Queued"
textline "               "
bitfld.long (0x10+0x0c) 7. " R         ,Reset" "-,Reset"
bitfld.long (0x10+0x0c) 6. "        B       ,Bist" "Other,Bist mode"
bitfld.long (0x10+0x0c) 5. "  A ,ATAPI command" "0,1"
textline "               "
bitfld.long (0x10+0x0c) 0.--4. " TAG       ,The 5-bit TAG assigned by software for command tracking" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
group.long 0x00++0xff  "Command Header 2"
line.long 0x20 "CDW0,Command Header Word 0 Register"
hexmask.long 0x20 2.--31. 0x4 " CDA       ,Command descriptor base address"
line.long (0x20+0x04) "CDW1,Command Header Word 1 Register"
hexmask.long.byte (0x20+0x04) 16.--21. 1. " PRD_ENTRY ,Number of PRD entries including indexed entries"
bitfld.byte (0x20+0x04) 2.--6. "           FIS_LEN ,FIS length" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
line.long (0x20+0x08) "CDW2,Command Header Word 2 Register" 
hexmask.long (0x20+0x08) 2.--31. 1. " TTL       ,Total transfer length"
line.long (0x20+0x0c) "CDW3,Command Header Word 3 Register"
bitfld.long (0x20+0x0c) 10. " V         ,Vendor BIST" "Other,Vendor BIST"
bitfld.long (0x20+0x0c) 9. "  S       ,Snoop enable during all descriptor read/write operations" "-,Enabled"
bitfld.long (0x20+0x0c) 8. "    Q ,Queued" "-,Queued"
textline "               "
bitfld.long (0x20+0x0c) 7. " R         ,Reset" "-,Reset"
bitfld.long (0x20+0x0c) 6. "        B       ,Bist" "Other,Bist mode"
bitfld.long (0x20+0x0c) 5. "  A ,ATAPI command" "0,1"
textline "               "
bitfld.long (0x20+0x0c) 0.--4. " TAG       ,The 5-bit TAG assigned by software for command tracking" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
group.long 0x00++0xff  "Command Header 3"
line.long 0x30 "CDW0,Command Header Word 0 Register"
hexmask.long 0x30 2.--31. 0x4 " CDA       ,Command descriptor base address"
line.long (0x30+0x04) "CDW1,Command Header Word 1 Register"
hexmask.long.byte (0x30+0x04) 16.--21. 1. " PRD_ENTRY ,Number of PRD entries including indexed entries"
bitfld.byte (0x30+0x04) 2.--6. "           FIS_LEN ,FIS length" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
line.long (0x30+0x08) "CDW2,Command Header Word 2 Register" 
hexmask.long (0x30+0x08) 2.--31. 1. " TTL       ,Total transfer length"
line.long (0x30+0x0c) "CDW3,Command Header Word 3 Register"
bitfld.long (0x30+0x0c) 10. " V         ,Vendor BIST" "Other,Vendor BIST"
bitfld.long (0x30+0x0c) 9. "  S       ,Snoop enable during all descriptor read/write operations" "-,Enabled"
bitfld.long (0x30+0x0c) 8. "    Q ,Queued" "-,Queued"
textline "               "
bitfld.long (0x30+0x0c) 7. " R         ,Reset" "-,Reset"
bitfld.long (0x30+0x0c) 6. "        B       ,Bist" "Other,Bist mode"
bitfld.long (0x30+0x0c) 5. "  A ,ATAPI command" "0,1"
textline "               "
bitfld.long (0x30+0x0c) 0.--4. " TAG       ,The 5-bit TAG assigned by software for command tracking" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
group.long 0x00++0xff  "Command Header 4"
line.long 0x40 "CDW0,Command Header Word 0 Register"
hexmask.long 0x40 2.--31. 0x4 " CDA       ,Command descriptor base address"
line.long (0x40+0x04) "CDW1,Command Header Word 1 Register"
hexmask.long.byte (0x40+0x04) 16.--21. 1. " PRD_ENTRY ,Number of PRD entries including indexed entries"
bitfld.byte (0x40+0x04) 2.--6. "           FIS_LEN ,FIS length" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
line.long (0x40+0x08) "CDW2,Command Header Word 2 Register" 
hexmask.long (0x40+0x08) 2.--31. 1. " TTL       ,Total transfer length"
line.long (0x40+0x0c) "CDW3,Command Header Word 3 Register"
bitfld.long (0x40+0x0c) 10. " V         ,Vendor BIST" "Other,Vendor BIST"
bitfld.long (0x40+0x0c) 9. "  S       ,Snoop enable during all descriptor read/write operations" "-,Enabled"
bitfld.long (0x40+0x0c) 8. "    Q ,Queued" "-,Queued"
textline "               "
bitfld.long (0x40+0x0c) 7. " R         ,Reset" "-,Reset"
bitfld.long (0x40+0x0c) 6. "        B       ,Bist" "Other,Bist mode"
bitfld.long (0x40+0x0c) 5. "  A ,ATAPI command" "0,1"
textline "               "
bitfld.long (0x40+0x0c) 0.--4. " TAG       ,The 5-bit TAG assigned by software for command tracking" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
group.long 0x00++0xff  "Command Header 5"
line.long 0x50 "CDW0,Command Header Word 0 Register"
hexmask.long 0x50 2.--31. 0x4 " CDA       ,Command descriptor base address"
line.long (0x50+0x04) "CDW1,Command Header Word 1 Register"
hexmask.long.byte (0x50+0x04) 16.--21. 1. " PRD_ENTRY ,Number of PRD entries including indexed entries"
bitfld.byte (0x50+0x04) 2.--6. "           FIS_LEN ,FIS length" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
line.long (0x50+0x08) "CDW2,Command Header Word 2 Register" 
hexmask.long (0x50+0x08) 2.--31. 1. " TTL       ,Total transfer length"
line.long (0x50+0x0c) "CDW3,Command Header Word 3 Register"
bitfld.long (0x50+0x0c) 10. " V         ,Vendor BIST" "Other,Vendor BIST"
bitfld.long (0x50+0x0c) 9. "  S       ,Snoop enable during all descriptor read/write operations" "-,Enabled"
bitfld.long (0x50+0x0c) 8. "    Q ,Queued" "-,Queued"
textline "               "
bitfld.long (0x50+0x0c) 7. " R         ,Reset" "-,Reset"
bitfld.long (0x50+0x0c) 6. "        B       ,Bist" "Other,Bist mode"
bitfld.long (0x50+0x0c) 5. "  A ,ATAPI command" "0,1"
textline "               "
bitfld.long (0x50+0x0c) 0.--4. " TAG       ,The 5-bit TAG assigned by software for command tracking" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
group.long 0x00++0xff  "Command Header 6"
line.long 0x60 "CDW0,Command Header Word 0 Register"
hexmask.long 0x60 2.--31. 0x4 " CDA       ,Command descriptor base address"
line.long (0x60+0x04) "CDW1,Command Header Word 1 Register"
hexmask.long.byte (0x60+0x04) 16.--21. 1. " PRD_ENTRY ,Number of PRD entries including indexed entries"
bitfld.byte (0x60+0x04) 2.--6. "           FIS_LEN ,FIS length" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
line.long (0x60+0x08) "CDW2,Command Header Word 2 Register" 
hexmask.long (0x60+0x08) 2.--31. 1. " TTL       ,Total transfer length"
line.long (0x60+0x0c) "CDW3,Command Header Word 3 Register"
bitfld.long (0x60+0x0c) 10. " V         ,Vendor BIST" "Other,Vendor BIST"
bitfld.long (0x60+0x0c) 9. "  S       ,Snoop enable during all descriptor read/write operations" "-,Enabled"
bitfld.long (0x60+0x0c) 8. "    Q ,Queued" "-,Queued"
textline "               "
bitfld.long (0x60+0x0c) 7. " R         ,Reset" "-,Reset"
bitfld.long (0x60+0x0c) 6. "        B       ,Bist" "Other,Bist mode"
bitfld.long (0x60+0x0c) 5. "  A ,ATAPI command" "0,1"
textline "               "
bitfld.long (0x60+0x0c) 0.--4. " TAG       ,The 5-bit TAG assigned by software for command tracking" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
group.long 0x00++0xff  "Command Header 7"
line.long 0x70 "CDW0,Command Header Word 0 Register"
hexmask.long 0x70 2.--31. 0x4 " CDA       ,Command descriptor base address"
line.long (0x70+0x04) "CDW1,Command Header Word 1 Register"
hexmask.long.byte (0x70+0x04) 16.--21. 1. " PRD_ENTRY ,Number of PRD entries including indexed entries"
bitfld.byte (0x70+0x04) 2.--6. "           FIS_LEN ,FIS length" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
line.long (0x70+0x08) "CDW2,Command Header Word 2 Register" 
hexmask.long (0x70+0x08) 2.--31. 1. " TTL       ,Total transfer length"
line.long (0x70+0x0c) "CDW3,Command Header Word 3 Register"
bitfld.long (0x70+0x0c) 10. " V         ,Vendor BIST" "Other,Vendor BIST"
bitfld.long (0x70+0x0c) 9. "  S       ,Snoop enable during all descriptor read/write operations" "-,Enabled"
bitfld.long (0x70+0x0c) 8. "    Q ,Queued" "-,Queued"
textline "               "
bitfld.long (0x70+0x0c) 7. " R         ,Reset" "-,Reset"
bitfld.long (0x70+0x0c) 6. "        B       ,Bist" "Other,Bist mode"
bitfld.long (0x70+0x0c) 5. "  A ,ATAPI command" "0,1"
textline "               "
bitfld.long (0x70+0x0c) 0.--4. " TAG       ,The 5-bit TAG assigned by software for command tracking" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
group.long 0x00++0xff  "Command Header 8"
line.long 0x80 "CDW0,Command Header Word 0 Register"
hexmask.long 0x80 2.--31. 0x4 " CDA       ,Command descriptor base address"
line.long (0x80+0x04) "CDW1,Command Header Word 1 Register"
hexmask.long.byte (0x80+0x04) 16.--21. 1. " PRD_ENTRY ,Number of PRD entries including indexed entries"
bitfld.byte (0x80+0x04) 2.--6. "           FIS_LEN ,FIS length" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
line.long (0x80+0x08) "CDW2,Command Header Word 2 Register" 
hexmask.long (0x80+0x08) 2.--31. 1. " TTL       ,Total transfer length"
line.long (0x80+0x0c) "CDW3,Command Header Word 3 Register"
bitfld.long (0x80+0x0c) 10. " V         ,Vendor BIST" "Other,Vendor BIST"
bitfld.long (0x80+0x0c) 9. "  S       ,Snoop enable during all descriptor read/write operations" "-,Enabled"
bitfld.long (0x80+0x0c) 8. "    Q ,Queued" "-,Queued"
textline "               "
bitfld.long (0x80+0x0c) 7. " R         ,Reset" "-,Reset"
bitfld.long (0x80+0x0c) 6. "        B       ,Bist" "Other,Bist mode"
bitfld.long (0x80+0x0c) 5. "  A ,ATAPI command" "0,1"
textline "               "
bitfld.long (0x80+0x0c) 0.--4. " TAG       ,The 5-bit TAG assigned by software for command tracking" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
group.long 0x00++0xff  "Command Header 9"
line.long 0x90 "CDW0,Command Header Word 0 Register"
hexmask.long 0x90 2.--31. 0x4 " CDA       ,Command descriptor base address"
line.long (0x90+0x04) "CDW1,Command Header Word 1 Register"
hexmask.long.byte (0x90+0x04) 16.--21. 1. " PRD_ENTRY ,Number of PRD entries including indexed entries"
bitfld.byte (0x90+0x04) 2.--6. "           FIS_LEN ,FIS length" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
line.long (0x90+0x08) "CDW2,Command Header Word 2 Register" 
hexmask.long (0x90+0x08) 2.--31. 1. " TTL       ,Total transfer length"
line.long (0x90+0x0c) "CDW3,Command Header Word 3 Register"
bitfld.long (0x90+0x0c) 10. " V         ,Vendor BIST" "Other,Vendor BIST"
bitfld.long (0x90+0x0c) 9. "  S       ,Snoop enable during all descriptor read/write operations" "-,Enabled"
bitfld.long (0x90+0x0c) 8. "    Q ,Queued" "-,Queued"
textline "               "
bitfld.long (0x90+0x0c) 7. " R         ,Reset" "-,Reset"
bitfld.long (0x90+0x0c) 6. "        B       ,Bist" "Other,Bist mode"
bitfld.long (0x90+0x0c) 5. "  A ,ATAPI command" "0,1"
textline "               "
bitfld.long (0x90+0x0c) 0.--4. " TAG       ,The 5-bit TAG assigned by software for command tracking" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
group.long 0x00++0xff  "Command Header 10"
line.long 0xA0 "CDW0,Command Header Word 0 Register"
hexmask.long 0xA0 2.--31. 0x4 " CDA       ,Command descriptor base address"
line.long (0xA0+0x04) "CDW1,Command Header Word 1 Register"
hexmask.long.byte (0xA0+0x04) 16.--21. 1. " PRD_ENTRY ,Number of PRD entries including indexed entries"
bitfld.byte (0xA0+0x04) 2.--6. "           FIS_LEN ,FIS length" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
line.long (0xA0+0x08) "CDW2,Command Header Word 2 Register" 
hexmask.long (0xA0+0x08) 2.--31. 1. " TTL       ,Total transfer length"
line.long (0xA0+0x0c) "CDW3,Command Header Word 3 Register"
bitfld.long (0xA0+0x0c) 10. " V         ,Vendor BIST" "Other,Vendor BIST"
bitfld.long (0xA0+0x0c) 9. "  S       ,Snoop enable during all descriptor read/write operations" "-,Enabled"
bitfld.long (0xA0+0x0c) 8. "    Q ,Queued" "-,Queued"
textline "               "
bitfld.long (0xA0+0x0c) 7. " R         ,Reset" "-,Reset"
bitfld.long (0xA0+0x0c) 6. "        B       ,Bist" "Other,Bist mode"
bitfld.long (0xA0+0x0c) 5. "  A ,ATAPI command" "0,1"
textline "               "
bitfld.long (0xA0+0x0c) 0.--4. " TAG       ,The 5-bit TAG assigned by software for command tracking" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
group.long 0x00++0xff  "Command Header 11"
line.long 0xB0 "CDW0,Command Header Word 0 Register"
hexmask.long 0xB0 2.--31. 0x4 " CDA       ,Command descriptor base address"
line.long (0xB0+0x04) "CDW1,Command Header Word 1 Register"
hexmask.long.byte (0xB0+0x04) 16.--21. 1. " PRD_ENTRY ,Number of PRD entries including indexed entries"
bitfld.byte (0xB0+0x04) 2.--6. "           FIS_LEN ,FIS length" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
line.long (0xB0+0x08) "CDW2,Command Header Word 2 Register" 
hexmask.long (0xB0+0x08) 2.--31. 1. " TTL       ,Total transfer length"
line.long (0xB0+0x0c) "CDW3,Command Header Word 3 Register"
bitfld.long (0xB0+0x0c) 10. " V         ,Vendor BIST" "Other,Vendor BIST"
bitfld.long (0xB0+0x0c) 9. "  S       ,Snoop enable during all descriptor read/write operations" "-,Enabled"
bitfld.long (0xB0+0x0c) 8. "    Q ,Queued" "-,Queued"
textline "               "
bitfld.long (0xB0+0x0c) 7. " R         ,Reset" "-,Reset"
bitfld.long (0xB0+0x0c) 6. "        B       ,Bist" "Other,Bist mode"
bitfld.long (0xB0+0x0c) 5. "  A ,ATAPI command" "0,1"
textline "               "
bitfld.long (0xB0+0x0c) 0.--4. " TAG       ,The 5-bit TAG assigned by software for command tracking" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
group.long 0x00++0xff  "Command Header 12"
line.long 0xC0 "CDW0,Command Header Word 0 Register"
hexmask.long 0xC0 2.--31. 0x4 " CDA       ,Command descriptor base address"
line.long (0xC0+0x04) "CDW1,Command Header Word 1 Register"
hexmask.long.byte (0xC0+0x04) 16.--21. 1. " PRD_ENTRY ,Number of PRD entries including indexed entries"
bitfld.byte (0xC0+0x04) 2.--6. "           FIS_LEN ,FIS length" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
line.long (0xC0+0x08) "CDW2,Command Header Word 2 Register" 
hexmask.long (0xC0+0x08) 2.--31. 1. " TTL       ,Total transfer length"
line.long (0xC0+0x0c) "CDW3,Command Header Word 3 Register"
bitfld.long (0xC0+0x0c) 10. " V         ,Vendor BIST" "Other,Vendor BIST"
bitfld.long (0xC0+0x0c) 9. "  S       ,Snoop enable during all descriptor read/write operations" "-,Enabled"
bitfld.long (0xC0+0x0c) 8. "    Q ,Queued" "-,Queued"
textline "               "
bitfld.long (0xC0+0x0c) 7. " R         ,Reset" "-,Reset"
bitfld.long (0xC0+0x0c) 6. "        B       ,Bist" "Other,Bist mode"
bitfld.long (0xC0+0x0c) 5. "  A ,ATAPI command" "0,1"
textline "               "
bitfld.long (0xC0+0x0c) 0.--4. " TAG       ,The 5-bit TAG assigned by software for command tracking" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
group.long 0x00++0xff  "Command Header 13"
line.long 0xD0 "CDW0,Command Header Word 0 Register"
hexmask.long 0xD0 2.--31. 0x4 " CDA       ,Command descriptor base address"
line.long (0xD0+0x04) "CDW1,Command Header Word 1 Register"
hexmask.long.byte (0xD0+0x04) 16.--21. 1. " PRD_ENTRY ,Number of PRD entries including indexed entries"
bitfld.byte (0xD0+0x04) 2.--6. "           FIS_LEN ,FIS length" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
line.long (0xD0+0x08) "CDW2,Command Header Word 2 Register" 
hexmask.long (0xD0+0x08) 2.--31. 1. " TTL       ,Total transfer length"
line.long (0xD0+0x0c) "CDW3,Command Header Word 3 Register"
bitfld.long (0xD0+0x0c) 10. " V         ,Vendor BIST" "Other,Vendor BIST"
bitfld.long (0xD0+0x0c) 9. "  S       ,Snoop enable during all descriptor read/write operations" "-,Enabled"
bitfld.long (0xD0+0x0c) 8. "    Q ,Queued" "-,Queued"
textline "               "
bitfld.long (0xD0+0x0c) 7. " R         ,Reset" "-,Reset"
bitfld.long (0xD0+0x0c) 6. "        B       ,Bist" "Other,Bist mode"
bitfld.long (0xD0+0x0c) 5. "  A ,ATAPI command" "0,1"
textline "               "
bitfld.long (0xD0+0x0c) 0.--4. " TAG       ,The 5-bit TAG assigned by software for command tracking" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
group.long 0x00++0xff  "Command Header 14"
line.long 0xE0 "CDW0,Command Header Word 0 Register"
hexmask.long 0xE0 2.--31. 0x4 " CDA       ,Command descriptor base address"
line.long (0xE0+0x04) "CDW1,Command Header Word 1 Register"
hexmask.long.byte (0xE0+0x04) 16.--21. 1. " PRD_ENTRY ,Number of PRD entries including indexed entries"
bitfld.byte (0xE0+0x04) 2.--6. "           FIS_LEN ,FIS length" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
line.long (0xE0+0x08) "CDW2,Command Header Word 2 Register" 
hexmask.long (0xE0+0x08) 2.--31. 1. " TTL       ,Total transfer length"
line.long (0xE0+0x0c) "CDW3,Command Header Word 3 Register"
bitfld.long (0xE0+0x0c) 10. " V         ,Vendor BIST" "Other,Vendor BIST"
bitfld.long (0xE0+0x0c) 9. "  S       ,Snoop enable during all descriptor read/write operations" "-,Enabled"
bitfld.long (0xE0+0x0c) 8. "    Q ,Queued" "-,Queued"
textline "               "
bitfld.long (0xE0+0x0c) 7. " R         ,Reset" "-,Reset"
bitfld.long (0xE0+0x0c) 6. "        B       ,Bist" "Other,Bist mode"
bitfld.long (0xE0+0x0c) 5. "  A ,ATAPI command" "0,1"
textline "               "
bitfld.long (0xE0+0x0c) 0.--4. " TAG       ,The 5-bit TAG assigned by software for command tracking" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
group.long 0x00++0xff  "Command Header 15"
line.long 0xF0 "CDW0,Command Header Word 0 Register"
hexmask.long 0xF0 2.--31. 0x4 " CDA       ,Command descriptor base address"
line.long (0xF0+0x04) "CDW1,Command Header Word 1 Register"
hexmask.long.byte (0xF0+0x04) 16.--21. 1. " PRD_ENTRY ,Number of PRD entries including indexed entries"
bitfld.byte (0xF0+0x04) 2.--6. "           FIS_LEN ,FIS length" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
line.long (0xF0+0x08) "CDW2,Command Header Word 2 Register" 
hexmask.long (0xF0+0x08) 2.--31. 1. " TTL       ,Total transfer length"
line.long (0xF0+0x0c) "CDW3,Command Header Word 3 Register"
bitfld.long (0xF0+0x0c) 10. " V         ,Vendor BIST" "Other,Vendor BIST"
bitfld.long (0xF0+0x0c) 9. "  S       ,Snoop enable during all descriptor read/write operations" "-,Enabled"
bitfld.long (0xF0+0x0c) 8. "    Q ,Queued" "-,Queued"
textline "               "
bitfld.long (0xF0+0x0c) 7. " R         ,Reset" "-,Reset"
bitfld.long (0xF0+0x0c) 6. "        B       ,Bist" "Other,Bist mode"
bitfld.long (0xF0+0x0c) 5. "  A ,ATAPI command" "0,1"
textline "               "
bitfld.long (0xF0+0x0c) 0.--4. " TAG       ,The 5-bit TAG assigned by software for command tracking" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" 
tree.end
base anc:iobase()
endian.def
tree.end
tree.end
endif    
endif
tree "USB (Universal Serial Bus Interface)" 
endian.le
tree "Capability Registers"    
width 12.        
rgroup.byte (0x23000+0x100)++0x0
line.byte 0x00 "CAPLENGTH,Capability Registers Length"
rgroup.word (0x23000+0x102)++0x1
line.word 0x00 "HCIVERSION,Host Controller Interface Version"
rgroup.long (0x23000+0x104)++0x7
line.long 0x00 "HCSPARAMS,Host Controller Structural Parameters"
bitfld.long 0x00 24.--27. " N_TT           ,Number of transaction translators" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 20.--23. "             N_PTT           ,Ports per transaction translator" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
textline "                     "
bitfld.long 0x00 16. " PI             ,Port indicators" "-,Supported"
bitfld.long 0x00 12.--15. "      N_CC            ,Number of Companion Controllers" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
textline "                     "
bitfld.long 0x00 8.--11. " N_PCC          ,Number Ports per CC" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 4. "             PPC             ,Power Port Control" "-,Supported"
textline "                     "        
bitfld.long 0x00 0.--3. " N_PORTS        ,Number of Ports" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
line.long 0x04 "HCCPARAMS,Host Controller Capability Parameters"
hexmask.long.byte 0x04 8.--15. 1. " EECP           ,EHCI Extended Capabilities Pointer"
bitfld.long 0x04 4.--7. "             IST             ,Isochronous Scheduling Threshold" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
textline "                     "        
bitfld.long 0x04 2. " ASP            ,Asynchronous Schedule Park Capability" "-,Supported"
bitfld.long 0x04 1. "      PFL             ,Programmable Frame List Flag" "-,Supported"
textline "                     "
bitfld.long 0x04 0. " ADC            ,64-bit Addressing Capability" "-,Supported"
rgroup.word (0x23000+0x120)++0x1
line.word 0x00 "DCIVERSION,Device Controller Interface Version"
rgroup.long (0x23000+0x124)++0x3    
line.long 0x00 "DCCPARAMS,Device Controller Capability Parameters"
bitfld.long 0x00 8. " HC             ,Host Capable" "-,Capable"
bitfld.long 0x00 7. "        DC              ,Device Capable" "-,Capable"
textline "                     "        
bitfld.long 0x00 0.--4. " DEN            ,Device Endpoint Number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
tree.end
tree "Operational Registers"
width 18.
group.long (0x23000+0x140)++0xb
line.long 0x00 "USBCMD,USB Command Register"
hexmask.long.byte 0x00 16.--23. 1. " ITC            ,Interrupt Threshold Control"
bitfld.long 0x00 2.--3. 15. "             FS[2:0]         ,Frame List Size" "1024 elements,512 elements,256 elements,128 elements,64 elements,32 elements,16 elements,8 elements"
textline "                           "
bitfld.long 0x00 14. " ATDTW          ,Add dTD TripWire" "-,Added"
bitfld.long 0x00 13. "          SUTW            ,Setup TripWire" "-,Extracted"
textline "                           "
bitfld.long 0x00 11. " ASPE           ,Asynchronous Schedule Park Mode Enable" "-,Enabled"
bitfld.long 0x00 8.--9. "        ASP             ,Asynchronous Schedule Park Mode Count" "Invalid,1,2,3"
textline "                           "        
bitfld.long 0x00 7. " LR             ,Not Implemented" "0,1"
bitfld.long 0x00 6. "              IAA             ,Interrupt on Async Advance Doorbell" "-,Interrupt"
textline "                           "
bitfld.long 0x00 5. " ASE            ,Asynchronous Schedule Enable" "-,Enabled"
bitfld.long 0x00 4. "        PSE             ,Periodic Schedule Enable" "-,Enabled"
textline "                           "
bitfld.long 0x00 1. " RST            ,Controller Reset" "-,Reset"
bitfld.long 0x00 0. "          RS              ,Run/Stop" "Stop,Run"
line.long 0x04 "USBSTS,USB Status Register"
bitfld.long 0x04 15. " AS             ,Asynchronous Schedule Status" "-,Enabled"
bitfld.long 0x04 14. "        PS              ,Periodic Schedule Status" "-,Enabled"
textline "                           "        
bitfld.long 0x04 13. " RCL            ,Reclamation" "Non-empty,Empty"
bitfld.long 0x04 12. "      HCH             ,HCHaIted" "Running,Halted"
textline "                           "
bitfld.long 0x04 10. " ULPII          ,ULPI Interrupt" "-,Interrupt"
eventfld.long 0x04 8. "      SLI             ,DCSuspend" "Active,Suspended"
textline "                           "
eventfld.long 0x04 7. " SRI            ,Non-EHCI status bit / SOF Received" "0,1"
eventfld.long 0x04 6. "              URI             ,USB Reset Received" "-,Received"
textline "                           "
eventfld.long 0x04 5. " AAI            ,Interrupt on Async Advance" "-,Occurred"
eventfld.long 0x04 4. "       SEI             ,System Error" "-,Error"
textline "                           "
eventfld.long 0x04 3. " FRI            ,Frame List Rollover" "-,Occurred"
eventfld.long 0x04 2. "       PCI             ,Port change detect" "-,Detected"
textline "                           "
eventfld.long 0x04 1. " UEI            ,USB Error Interrupt (USBERRINT)" "-,Error"
eventfld.long 0x04 0. "          UI              ,USB Interrupt (USBINT)" "-,Interrupt"
line.long 0x08 "USBINTR,USB Interrupt Enable Register"
bitfld.long 0x08 10. " ULPIE          ,ULPI Interrupt Enable" "-,Enabled"
bitfld.long 0x08 8. "        SLE             ,Sleep Enable" "-,Enabled"
textline "                           "        
bitfld.long 0x08 7. " SRE            ,SOF Received Enable" "-,Enabled"
bitfld.long 0x08 6. "        URE             ,USB Reset Enable" "-,Enabled"
textline "                           "        
bitfld.long 0x08 5. " AAE            ,Interrupt on Async Advance Enable" "-,Enabled"
bitfld.long 0x08 4. "        SEE             ,System Error Enable" "-,Enabled"
textline "                           "        
bitfld.long 0x08 3. " FRE            ,Frame List Rollover Enable" "-,Enabled"
bitfld.long 0x08 2. "        PCE             ,Port Change Detect Enable" "-,Enabled"
textline "                           "        
bitfld.long 0x08 1. " UEE            ,USB Error Interrupt Enable" "-,Enabled"
bitfld.long 0x08 0. "        UE              ,USB Interrupt Enable" "-,Enabled"
if (((data.long(anc:(iobase()+(0x23000+0x01a8))))&0x03000000)==0x02000000)
; Device
rgroup.long (0x23000+0x14c)++0x3
line.long 0x00 "FRINDEX,Frame Index Register"
hexmask.long.word 0x00 0.--13. 1. " FRINDEX        ,Frame index"
else
; Host
group.long (0x23000+0x14c)++0x3
line.long 0x00 "FRINDEX,Frame Index Register"
hexmask.long.word 0x00 0.--13. 1. " FRINDEX        ,Frame index"
endif
endian.be
if (((data.long(anc:(iobase()+(0x23000+0x01a8))))&0x03000000)==0x03000000)
; Host
group.long (0x23000+0x154)++0x3
line.long 0x00 "PERIODICLISTBASE,Periodic Frame List Base Address Register"
hexmask.long 0x00 12.--31. 0x1000 " PERBASE        ,Base Address"
elif (((data.long(anc:iobase()+(0x23000+0x01a8)))&0x03000000)==0x02000000)
; Device
group.long (0x23000+0x154)++0x3
line.long 0x00 "DEVICEADDR,Device Address Register"
hexmask.long.byte 0x00 25.--31. 0x2 " USBADR         ,Device Address"
endif
if (((data.long(anc:iobase()+(0x23000+0x01a8)))&0x03000000)==0x03000000)
; Host
group.long (0x23000+0x158)++0x3
line.long 0x00 "ASYNCLISTADDR,Current Asynchronous List Address Register"
hexmask.long 0x00 5.--31. 0x20 " ASYBASE        ,Link Pointer Low (LPL)"
elif (((data.long(anc:iobase()+(0x23000+0x01a8)))&0x03000000)==0x02000000)
; Device
group.long (0x23000+0x158)++0x3
line.long 0x00 "ENDPOINTLISTADDR,Endpoint List Address Register"
hexmask.long 0x00 11.--31. 0x800 " EPBASE         ,Endpoint List Address"
endif
endian.le
group.long (0x23000+0x160)++0x7
line.long 0x00 "BURSTSIZE,Master Interface Data Burst Size Register"
hexmask.long.byte 0x00 8.--15. 1. " TXPBURST       ,Programable TX Burst Length"
hexmask.long.byte 0x00 0.--7. 1. "             RXPBURST        ,Programable RX Burst Length"
line.long 0x04 "TXFILLTUNING,Transmit FIFO Tuning Controls Register"
hexmask.long.byte 0x04 16.--21. 1. " TXFIFOTHRES    ,FIFO Burst Threshold"
bitfld.long 0x04 8.--12. "             TXSCHHEALTH     ,Scheduler Health Counter" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
textline "                           "        
hexmask.long.byte 0x04 0.--7. 1. " TXSCHOH        ,Scheduler Overhead"
sif    ((CPU()=="MPC8314")||(CPU()=="MPC8315"))    
group.long (0x23000+0x170)++0x03
line.long 0x00 "ULPI VIEWPORT,ULPI Register Access"
bitfld.long 0x00 31. " ULPIWU         ,ULPI Wake Up" "-,WakeUp"
bitfld.long 0x00 30. "         ULPIRUN         ,ULPI Run" "-,R/W"
textline "                           "
bitfld.long 0x00 29. " ULPIRW         ,ULPI Running a Read / Write Operation Select" "Read,Write"
bitfld.long 0x00 27. "          ULPISS          ,ULPI Interface State" "Other,Normal sync"
textline "                           "
bitfld.long 0x00 24.--26. " ULPIPORT       ,Port Number To Which The ULPI PHY Is Attached" "0,1,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
hexmask.long.byte 0x00 16.--23. 0x1 "       ULPIADDR        ,Address Of The Operation"
textline "                           "
hexmask.long.byte 0x00 8.--15. 1. " ULPIDATRD      ,Result"
hexmask.long.byte 0x00 0.--7. 1. "             ULPIDTWR        ,Data To Be Sent"
endif
rgroup.long (0x23000+0x180)++0x3
line.long 0x00 "CONFIGFLAG,Configure Flag Register"
bitfld.long 0x00 0. " CF             ,Configure Flag" "-,Occurred"
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315"))        
if (((d.l.be(anc:(iobase()+0x23000+0x184)))&0xc0)==0x0)
group.long (0x23000+0x0184)++0x3
line.long 0x00 "PORTSC,Port Status and Control Register"
bitfld.long 0x00 30.--31. " PTS            ,Parallel Transceiver Select" "UTMI parallel,Reserved,ULPI parallel,FS/LS"
bitfld.long 0x00 26.--27. "  PSPD            ,Port Speed" "Full,Low,High,Reserved"
textline "                           "
bitfld.long 0x00 28. " PTW            ,Parallel Transceiver Width" "8-bit,16-bit"
textline "                           "
bitfld.long 0x00 24. " PFSC           ,Port Force Full-speed Connect" "High,Full"
bitfld.long 0x00 23. "           PHCD            ,PHY Low Power Suspend" "Normal,Low power"
textline "                           "
bitfld.long 0x00 22. " WKOC           ,Wake on Over-current Enable" "-,Enabled"
bitfld.long 0x00 21. "        WKDS            ,Wake on Disconnect Enable" "-,Enabled"
textline "                           "        
bitfld.long 0x00 20. " WLCN           ,Wake on Connect Enable" "-,Enabled"
bitfld.long 0x00 16.--19. "        PTC             ,Port Test Control" "Not enabled,J_STATE,K_STATE,SEQ_NAK,Packet,FORCE_ENABLE,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
textline "                           "
bitfld.long 0x00 14.--15. " PIC            ,Port Indicator Control" "Off,Amber,Green,Undefined"
bitfld.long 0x00 13. "      PO              ,Port Owner" "No owner,Internal companion"
textline "                           "
bitfld.long 0x00 12. " PP             ,Port Power" "Off,On"
bitfld.long 0x00 10.--11. "            LS              ,Line Status" "SE0,J-state,K-state,Undefined"
textline "                           "        
bitfld.long 0x00 8. " PR             ,Port Reset" "-,Reset"
bitfld.long 0x00 7. "          SUSP            ,Suspend" "-,Suspended"
textline "                           "
bitfld.long 0x00 6. " FPR            ,Force Port Resume" "-,Resumed"
eventfld.long 0x00 5. "        OCC             ,Over-current Change" "-,Over-current"
textline "                           "        
bitfld.long 0x00 4. " OCA            ,Over-current Active" "-,Over-current"
eventfld.long 0x00 3. "   PEC             ,Port Enable/Disable Change" "Not changed,Disabled"
textline "                           "
bitfld.long 0x00 2. " PE             ,Port Enabled/Disabled" "-,Enabled"
eventfld.long 0x00 1. "        CSC             ,Connect Change Status" "-,Changed"
textline "                           "
bitfld.long 0x00 0. " CCS            ,Current Connect Status" "-,Connected"
else
group.long (0x23000+0x0184)++0x3
line.long 0x00 "PORTSC,Port Status and Control Register"
bitfld.long 0x00 30.--31. " PTS            ,Parallel Transceiver Select" "UTMI parallel,Reserved,ULPI parallel,FS/LS"
bitfld.long 0x00 26.--27. "  PSPD            ,Port Speed" "Full,Low,High,Reserved"
textline "                           "
textline "                           "
bitfld.long 0x00 24. " PFSC           ,Port Force Full-speed Connect" "High,Full"
bitfld.long 0x00 23. "           PHCD            ,PHY Low Power Suspend" "Normal,Low power"
textline "                           "
bitfld.long 0x00 22. " WKOC           ,Wake on Over-current Enable" "-,Enabled"
bitfld.long 0x00 21. "        WKDS            ,Wake on Disconnect Enable" "-,Enabled"
textline "                           "        
bitfld.long 0x00 20. " WLCN           ,Wake on Connect Enable" "-,Enabled"
bitfld.long 0x00 16.--19. "        PTC             ,Port Test Control" "Not enabled,J_STATE,K_STATE,SEQ_NAK,Packet,FORCE_ENABLE,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
textline "                           "
bitfld.long 0x00 14.--15. " PIC            ,Port Indicator Control" "Off,Amber,Green,Undefined"
bitfld.long 0x00 13. "      PO              ,Port Owner" "No owner,Internal companion"
textline "                           "
bitfld.long 0x00 12. " PP             ,Port Power" "Off,On"
bitfld.long 0x00 10.--11. "            LS              ,Line Status" "SE0,J-state,K-state,Undefined"
textline "                           "        
bitfld.long 0x00 8. " PR             ,Port Reset" "-,Reset"
bitfld.long 0x00 7. "          SUSP            ,Suspend" "-,Suspended"
textline "                           "
bitfld.long 0x00 6. " FPR            ,Force Port Resume" "-,Resumed"
eventfld.long 0x00 5. "        OCC             ,Over-current Change" "-,Over-current"
textline "                           "        
bitfld.long 0x00 4. " OCA            ,Over-current Active" "-,Over-current"
eventfld.long 0x00 3. "   PEC             ,Port Enable/Disable Change" "Not changed,Disabled"
textline "                           "
bitfld.long 0x00 2. " PE             ,Port Enabled/Disabled" "-,Enabled"
eventfld.long 0x00 1. "        CSC             ,Connect Change Status" "-,Changed"
textline "                           "
bitfld.long 0x00 0. " CCS            ,Current Connect Status" "-,Connected"
endif
elif ((CPU()=="MPC8314")||(CPU()=="MPC8315"))    
group.long (0x23000+0x0184)++0x3
line.long 0x00 "PORTSC,Port Status and Control Register"
bitfld.long 0x00 30.--31. " PTS            ,Parallel Transceiver Select" "UTMI parallel,Reserved,ULPI parallel,-"
bitfld.long 0x00 26.--27. "  PSPD            ,Port Speed" "Full,Low,High,Reserved"
textline "                           "
bitfld.long 0x00 24. " PFSC           ,Port Force Full-speed Connect" "High,Full"
bitfld.long 0x00 23. "           PHCD            ,PHY Low Power Suspend" "Normal,Low power"
textline "                           "
bitfld.long 0x00 22. " WKOC           ,Wake on Over-current Enable" "-,Enabled"
bitfld.long 0x00 21. "        WKDS            ,Wake on Disconnect Enable" "-,Enabled"
textline "                           "        
bitfld.long 0x00 20. " WLCN           ,Wake on Connect Enable" "-,Enabled"
bitfld.long 0x00 16.--19. "        PTC             ,Port Test Control" "Not enabled,J_STATE,K_STATE,SEQ_NAK,Packet,FORCE_ENABLE,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
textline "                           "
bitfld.long 0x00 14.--15. " PIC            ,Port Indicator Control" "Off,Amber,Green,Undefined"
bitfld.long 0x00 13. "      PO              ,Port Owner" "No owner,Internal companion"
textline "                           "
bitfld.long 0x00 12. " PP             ,Port Power" "Off,On"
bitfld.long 0x00 10.--11. "            LS              ,Line Status" "SE0,J-state,K-state,Undefined"
textline "                           "        
bitfld.long 0x00 8. " PR             ,Port Reset" "-,Reset"
bitfld.long 0x00 7. "          SUSP            ,Suspend" "-,Suspended"
textline "                           "
bitfld.long 0x00 6. " FPR            ,Force Port Resume" "-,Resumed"
eventfld.long 0x00 5. "        OCC             ,Over-current Change" "-,Over-current"
textline "                           "        
bitfld.long 0x00 4. " OCA            ,Over-current Active" "-,Over-current"
eventfld.long 0x00 3. "   PEC             ,Port Enable/Disable Change" "Not changed,Disabled"
textline "                           "
bitfld.long 0x00 2. " PE             ,Port Enabled/Disabled" "-,Enabled"
eventfld.long 0x00 1. "        CSC             ,Connect Change Status" "-,Changed"
textline "                           "
bitfld.long 0x00 0. " CCS            ,Current Connect Status" "-,Connected"
endif
group.long (0x23000+0x1a4)++0x7
line.long 0x00 "OTGSC,On-The-Go Status and Control"
bitfld.long 0x00 30. " DPIE           ,Data Pulse Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "        1msE            ,1 millisecond timer Interrupt Enable" "-,Enabled"
textline "                           "        
bitfld.long 0x00 28. " BSEIE          ,B Session End Interrupt Enable" "-,Enabled"
bitfld.long 0x00 27. "        BSVIE           ,B Session Valid Interrupt Enable" "-,Enabled"
textline "                           "
bitfld.long 0x00 26. " ASVIE          ,A Session Valid Interrupt Enable" "-,Enabled"
bitfld.long 0x00 25. "        AVVIE           ,A VBus Valid Interrupt Enable" "-,Enabled"
textline "                           "        
bitfld.long 0x00 24. " IDIE           ,USB ID Interrupt Enable" "-,Enabled"
eventfld.long 0x00 22. "        DPIS            ,Data Pulse Interrupt Status" "-,Occurred"
textline "                           "
eventfld.long 0x00 21. " 1msS           ,1 millisecond timer Interrupt Status" "0,1"
eventfld.long 0x00 20. "              BSEIS           ,B Session End Interrupt Status" "-,Occurred"
textline "                           "        
eventfld.long 0x00 19. " BSVIS          ,B Session Valid Interrupt Status" "-,Occurred"
eventfld.long 0x00 18. "       ASVIS           ,A Session Valid Interrupt Status" "-,Occurred"
textline "                           "
eventfld.long 0x00 17. " AVVIS          ,A VBus Valid Interrupt Status" "-,Occurred"
eventfld.long 0x00 16. "       IDIS            ,USB ID Interrupt Status" "-,Occurred"
textline "                           "        
bitfld.long 0x00 14. " DPS            ,Data Bus Pulsing Status" "-,Detected"
bitfld.long 0x00 13. "       1msT            ,1 millisecond Timer Toggle" "0,1"
textline "                           "
bitfld.long 0x00 12. " BSE            ,B Session End" "Above,Below"
bitfld.long 0x00 11. "          BSV             ,B Session Valid" "Below,Above"
textline "                           "        
bitfld.long 0x00 10. " ASV            ,A Session Valid" "Below,Above"
bitfld.long 0x00 9. "          AVV             ,A VBus Valid" "Below,Above"
textline "                           "
bitfld.long 0x00 8. " ID             ,USB ID" "A device,B device"
bitfld.long 0x00 4. "       DP              ,Data Pulsing" "-,Asserted"
textline "                           "        
bitfld.long 0x00 3. " OT             ,OTG Termination" "-,Enabled"
bitfld.long 0x00 1. "        VC              ,VBUS Charge" "-,Charged"
textline "                           "
bitfld.long 0x00 0. " VD             ,VBUS discharge" "-,Discharged"
line.long 0x04 "USBMODE,USB Mode Register"
bitfld.long 0x04 4. " SDIS           ,Stream Disable" "Inactive,Active"
bitfld.long 0x04 3. "       SLOM            ,Setup Lockout Mode" "On,Off"
textline "                           "        
bitfld.long 0x04 0.--1. " CM             ,Controller Mode" "Idle,Reserved,Device,Host"
if (((data.long(anc:(iobase()+(0x23000+0x1a8))))&0x03000000)==0x02000000)
; Device
group.long (0x23000+0x1ac)++0xb
line.long 0x00 "ENDPTSETUPSTAT,Endpoint Setup Status Register"
bitfld.long 0x00 2. " SDIS2          ,Setup Endpoint 2 Status" "-,Received"
bitfld.long 0x00 1. "       SDIS1           ,Setup Endpoint 1 Status" "-,Received"
textline "                           "
bitfld.long 0x00 0. " SDIS0          ,Setup Endpoint 0 Status" "-,Received"
line.long 0x04 "ENDPTPRIME,Endpoint Initialization Register"
bitfld.long 0x04 18. " PETB2          ,Prime Endpoint 2 Transmit Buffer" "-,Requested"
bitfld.long 0x04 17. "      PETB1           ,Prime Endpoint 1 Transmit Buffer" "-,Requested"
textline "                           "
bitfld.long 0x04 16. " PETB0          ,Prime Endpoint 0 Transmit Buffer" "-,Requested"
bitfld.long 0x04  2. "      PERB2           ,Prime Endpoint 2 Receive Buffer" "-,Requested"
textline "                           "
bitfld.long 0x04  1. " PERB1          ,Prime Endpoint 1 Receive Buffer" "-,Requested"
bitfld.long 0x04  0. "      PERB0           ,Prime Endpoint 0 Receive Buffer" "-,Requested"
line.long 0x08 "ENDPTFLUSH,Endpoint Flush Register"
bitfld.long 0x08 18. " FETB2          ,Flush Endpoint 2 Transmit Buffer" "-,Flushed"
bitfld.long 0x08 17. "        FETB1           ,Flush Endpoint 1 Transmit Buffer" "-,Flushed"
textline "                           "
bitfld.long 0x08 16. " FETB0          ,Flush Endpoint 0 Transmit Buffer" "-,Flushed"
bitfld.long 0x08  2. "        FERB2           ,Flush Endpoint 2 Receive Buffer" "-,Flushed"
textline "                           "
bitfld.long 0x08  1. " FERB1          ,Flush Endpoint 1 Receive Buffer" "-,Flushed"
bitfld.long 0x08  0. "        FERB0           ,Flush Endpoint 0 Receive Buffer" "-,Flushed"
rgroup.long (0x23000+0x1b8)++0x3
line.long 0x00 "ENDPTSTATUS,Endpoint Status Register"
bitfld.long 0x00 18. " ETBR2          ,Endpoint 2 Transmit Buffer Ready" "-,Ready"
bitfld.long 0x00 17. "          ETBR1           ,Endpoint 1 Transmit Buffer Ready" "-,Ready"
textline "                           "
bitfld.long 0x00 16. " ETBR0          ,Endpoint 0 Transmit Buffer Ready" "-,Ready"
bitfld.long 0x00  2. "          ERBR2           ,Endpoint 2 Receive Buffer Ready" "-,Ready"
textline "                           "
bitfld.long 0x00  1. " ERBR1          ,Endpoint 1 Receive Buffer Ready" "-,Ready"
bitfld.long 0x00  0. "          ERBR0           ,Endpoint 0 Receive Buffer Ready" "-,Ready"
group.long (0x23000+0x1bc)++0x3
line.long 0x00 "ENDPTCOMPLETE,Endpoint Complete Register"
eventfld.long 0x00 18. " ETCE2          ,Endpoint 2 Transmit Complete Event" "-,Occurred"
eventfld.long 0x00 17. "       ETCE1           ,Endpoint 1 Transmit Complete Event" "-,Occurred"
textline "                           "
eventfld.long 0x00 16. " ETCE0          ,Endpoint 0 Transmit Complete Event" "-,Occurred"
eventfld.long 0x00  2. "       ERCE2           ,Endpoint 2 Receive Complete Event" "-,Occurred"
textline "                           "
eventfld.long 0x00  1. " ERCE1          ,Endpoint 1 Receive Complete Event" "-,Occurred"
eventfld.long 0x00  0. "       ERCE0           ,Endpoint 0 Receive Complete Event" "-,Occurred"
else
hgroup.long (0x23000+0x1ac)++0x13
hide.long 0x00 "ENDPTSETUPSTAT,Endpoint Setup Status Register"
hide.long 0x04 "ENDPTPRIME,Endpoint Initialization Register"
hide.long 0x08 "ENDPTFLUSH,Endpoint Flush Register"
hide.long 0x0c "ENDPTSTAT,Endpoint Status Register"
hide.long 0x10 "ENDPTCOMPLETE,Endpoint Complete Register"
endif
group.long (0x23000+0x01c0)++0xb
line.long 0x00 "ENDPTCTRL0,Endpoint Control Register 0"
bitfld.long 0x00 23. " TXE            ,TX Endpoint Enable" "-,Enabled"
bitfld.long 0x00 18.--19. "        TXT             ,TX Endpoint type" "Control,Reserved,Reserved,Reserved"
textline "                           "        
bitfld.long 0x00 16. " TXS            ,TX Endpoint Stall" "OK,Stalled"
bitfld.long 0x00  7. "        RXE             ,RX Endpoint Enable" "-,Enabled"
textline "                           "
bitfld.long 0x00  2.--3. " RXT            ,RX Endpoint type" "Control,Reserved,Reserved,Reserved"
bitfld.long 0x00  0. "       RXS             ,RX Endpoint Stall" "OK,Stalled"
line.long 0x4 "ENDPTCTRL1,Endpoint Control Register 1"
bitfld.long 0x4 23. " TXE            ,TX Endpoint Enable" "-,Enabled"
bitfld.long 0x4 22. "        TXR             ,TX Data Toggle Reset" "0,1"
textline "                           "
bitfld.long 0x4 21. " TXI            ,TX Data Toggle Inhibit" "-,Disabled"
bitfld.long 0x4 18.--19. "       TXT             ,TX Endpoint type" "Control,Isochronous,Bulk,Interrupt"
textline "                           "
bitfld.long 0x4 17. " TXD            ,TX Endpoint Data Source" "Dual Port Memory/DMA Engine,Reserved"
textline "                           "
bitfld.long 0x4 16. " TXS            ,TX Endpoint Stall" "OK,Stalled"
bitfld.long 0x4 7. "        RXE             ,RX Endpoint Enable" "-,Enabled"
textline "                           "
bitfld.long 0x4 6. " RXR            ,RX Data Toggle Reset" "0,1"
bitfld.long 0x4 5. "              RXI             ,RX Data Toggle Inhibit" "-,Enabled"
textline "                           "
bitfld.long 0x4 2.--3. " RXT            ,RX Endpoint type" "Control,Isochronous,Bulk,Interrupt"
textline "                           "    
bitfld.long 0x4 1. " RXD            ,RX Endpoint Data Sink" "Dual Port Memory/DMA Engine,Reserved"
textline "                           "
bitfld.long 0x4 0. " RXS            ,RX Endpoint Stall" "OK,Stalled"
line.long 0x8 "ENDPTCTRL2,Endpoint Control Register 2"
bitfld.long 0x8 23. " TXE            ,TX Endpoint Enable" "-,Enabled"
bitfld.long 0x8 22. "        TXR             ,TX Data Toggle Reset" "0,1"
textline "                           "
bitfld.long 0x8 21. " TXI            ,TX Data Toggle Inhibit" "-,Disabled"
bitfld.long 0x8 18.--19. "       TXT             ,TX Endpoint type" "Control,Isochronous,Bulk,Interrupt"
textline "                           "
bitfld.long 0x8 17. " TXD            ,TX Endpoint Data Source" "Dual Port Memory/DMA Engine,Reserved"
textline "                           "
bitfld.long 0x8 16. " TXS            ,TX Endpoint Stall" "OK,Stalled"
bitfld.long 0x8 7. "        RXE             ,RX Endpoint Enable" "-,Enabled"
textline "                           "
bitfld.long 0x8 6. " RXR            ,RX Data Toggle Reset" "0,1"
bitfld.long 0x8 5. "              RXI             ,RX Data Toggle Inhibit" "-,Enabled"
textline "                           "
bitfld.long 0x8 2.--3. " RXT            ,RX Endpoint type" "Control,Isochronous,Bulk,Interrupt"
textline "                           "    
bitfld.long 0x8 1. " RXD            ,RX Endpoint Data Sink" "Dual Port Memory/DMA Engine,Reserved"
textline "                           "
bitfld.long 0x8 0. " RXS            ,RX Endpoint Stall" "OK,Stalled"
sif ((CPU()=="MPC8314")||(CPU()=="MPC8315"))        
group.long (0x23000+0x01ca)++0x3    
line.long 0x00 "ENDPTCTRL3,Endpoint Control Register 3"
bitfld.long 0x00 23. " TXE            ,TX Endpoint Enable" "-,Enabled"
bitfld.long 0x00 22. "        TXR             ,TX Data Toggle Reset" "0,1"
textline "                           "
bitfld.long 0x00 21. " TXI            ,TX Data Toggle Inhibit" "-,Disabled"
bitfld.long 0x00 18.--19. "       TXT             ,TX Endpoint type" "Control,Isochronous,Bulk,Interrupt"
textline "                           "
bitfld.long 0x00 17. " TXD            ,TX Endpoint Data Source" "Dual Port Memory/DMA Engine,Reserved"
textline "                           "
bitfld.long 0x00 16. " TXS            ,TX Endpoint Stall" "OK,Stalled"
bitfld.long 0x00 7. "        RXE             ,RX Endpoint Enable" "-,Enabled"
textline "                           "
bitfld.long 0x00 6. " RXR            ,RX Data Toggle Reset" "0,1"
bitfld.long 0x00 5. "              RXI             ,RX Data Toggle Inhibit" "-,Enabled"
textline "                           "
bitfld.long 0x00 2.--3. " RXT            ,RX Endpoint type" "Control,Isochronous,Bulk,Interrupt"
textline "                           "    
bitfld.long 0x00 1. " RXD            ,RX Endpoint Data Sink" "Dual Port Memory/DMA Engine,Reserved"
textline "                           "
bitfld.long 0x00 0. " RXS            ,RX Endpoint Stall" "OK,Stalled"        
group.long (0x23000+0x01d0)++0x7        
line.long 0x00 "ENDPTCTRL4,Endpoint Control Register 4"
bitfld.long 0x00 23. " TXE            ,TX Endpoint Enable" "-,Enabled"
bitfld.long 0x00 22. "        TXR             ,TX Data Toggle Reset" "0,1"
textline "                           "
bitfld.long 0x00 21. " TXI            ,TX Data Toggle Inhibit" "-,Disabled"
bitfld.long 0x00 18.--19. "       TXT             ,TX Endpoint type" "Control,Isochronous,Bulk,Interrupt"
textline "                           "
bitfld.long 0x00 17. " TXD            ,TX Endpoint Data Source" "Dual Port Memory/DMA Engine,Reserved"
textline "                           "
bitfld.long 0x00 16. " TXS            ,TX Endpoint Stall" "OK,Stalled"
bitfld.long 0x00 7. "        RXE             ,RX Endpoint Enable" "-,Enabled"
textline "                           "
bitfld.long 0x00 6. " RXR            ,RX Data Toggle Reset" "0,1"
bitfld.long 0x00 5. "              RXI             ,RX Data Toggle Inhibit" "-,Enabled"
textline "                           "
bitfld.long 0x00 2.--3. " RXT            ,RX Endpoint type" "Control,Isochronous,Bulk,Interrupt"
textline "                           "    
bitfld.long 0x00 1. " RXD            ,RX Endpoint Data Sink" "Dual Port Memory/DMA Engine,Reserved"
textline "                           "
bitfld.long 0x00 0. " RXS            ,RX Endpoint Stall" "OK,Stalled"            
line.long 0x04 "ENDPTCTRL5,Endpoint Control Register 5"
bitfld.long 0x04 23. " TXE            ,TX Endpoint Enable" "-,Enabled"
bitfld.long 0x04 22. "        TXR             ,TX Data Toggle Reset" "0,1"
textline "                           "
bitfld.long 0x04 21. " TXI            ,TX Data Toggle Inhibit" "-,Disabled"
bitfld.long 0x04 18.--19. "       TXT             ,TX Endpoint type" "Control,Isochronous,Bulk,Interrupt"
textline "                           "
bitfld.long 0x04 17. " TXD            ,TX Endpoint Data Source" "Dual Port Memory/DMA Engine,Reserved"
textline "                           "
bitfld.long 0x04 16. " TXS            ,TX Endpoint Stall" "OK,Stalled"
bitfld.long 0x04 7. "        RXE             ,RX Endpoint Enable" "-,Enabled"
textline "                           "
bitfld.long 0x04 6. " RXR            ,RX Data Toggle Reset" "0,1"
bitfld.long 0x04 5. "              RXI             ,RX Data Toggle Inhibit" "-,Enabled"
textline "                           "
bitfld.long 0x04 2.--3. " RXT            ,RX Endpoint type" "Control,Isochronous,Bulk,Interrupt"
textline "                           "    
bitfld.long 0x04 1. " RXD            ,RX Endpoint Data Sink" "Dual Port Memory/DMA Engine,Reserved"
textline "                           "
bitfld.long 0x04 0. " RXS            ,RX Endpoint Stall" "OK,Stalled"        
endif
endian.be
group.long (0x23000+0x400)++0x13
line.long 0x00 "SNOOP1,Snoop 1"
hexmask.long 0x00 12.--31. 0x1000 " SNOOP_ADDRESS  ,The starting base address for which transactions are snooped"
bitfld.long 0x00 0.--4. "       SNOOP_ENABLES   ,Snoop Enables" "-,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,4 Kbyte,8 Kbyte,16 Kbyte,32 Kbyte,64 Kbyte,128 Kbyte,256 Kbyte,512 Kbyte,1 Mbyte,2 Mbyte,4 Mbyte,8 Mbyte,16 Mbyte,32 Mbyte,64 Mbyte,128 Mbyte,256 Mbyte,512 Mbyte,1 Gbyte,2 Gbyte,Reserved"
line.long 0x04 "SNOOP2,Snoop 2"
hexmask.long 0x04 12.--31. 0x1000 " SNOOP_ADDRESS  ,The starting base address for which transactions are snooped"
bitfld.long 0x04 0.--4. "       SNOOP_ENABLES   ,Snoop Enables" "-,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,4 Kbyte,8 Kbyte,16 Kbyte,32 Kbyte,64 Kbyte,128 Kbyte,256 Kbyte,512 Kbyte,1 Mbyte,2 Mbyte,4 Mbyte,8 Mbyte,16 Mbyte,32 Mbyte,64 Mbyte,128 Mbyte,256 Mbyte,512 Mbyte,1 Gbyte,2 Gbyte,Reserved"
line.long 0x08 "AGE_CNT_THRESH,Age Count Threshold Register"
hexmask.long.word 0x08 0.--13. 1. " Threshold      ,Aging counter threshold value"
line.long 0x0c "PRI_CTRL,Priority Control Register"
bitfld.long 0x0c 2.--3. " PRI_LVL1       ,Priority level for priority state 1" "0,1,2,3"
bitfld.long 0x0c 0.--1. "              PRI_LVL0        ,Priority level for priority state 0" "0,1,2,3"
line.long 0x10 "SI_CTRL,System Interface Control Register"
bitfld.long 0x10 4. " ERR_DISABLE    ,Error Disable" "-,Disabled"
bitfld.long 0x10 0. "       RD_PREFETCH_VAL ,Read Prefetch Value" "32-byte,64-byte"
group.long (0x23000+0x500)++0x3
line.long 0x00 "CONTROL,General Purpose Control Register"
bitfld.long 0x00 17. " PHY_CLK_VALID  ,PHY clock valid" "-,Valid"
bitfld.long 0x00 16. "          WU_INT          ,Wake up interrupt state" "-,Occurred"
textline "                           "
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315"))        
bitfld.long 0x00 11.--12. " CLKIN_SEL      ,UTMI PHY PLL reference clock clock source" "USB_CLK,USB_CLK,SYS_CLK,SYS_CLK/2"
elif ((CPU()=="MPC8314")||(CPU()=="MPC8315"))        
bitfld.long 0x00 11.--12. " CLKIN_SEL[1:0] ,UTMI PHY PLL reference clock clock source" "USB_CLK,USB_CLK,SYS_CLK,Reserved "
endif        
bitfld.long 0x00 10. "      PHY_CLK_SEL     ,USB link controller transceiver clock source" "UTMI,ULPI"
textline "                           "
bitfld.long 0x00  9. " UTMI_PHY_EN    ,Enable the UTMI PHY" "-,Enabled"
bitfld.long 0x00  8. "        PLL_RESET       ,UTMI PHY PLL reset" "-,Reset"
textline "                           "
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315"))            
bitfld.long 0x00  6.--7. " REFSEL         ,Frequency value for the UTMI PLL reference clock" "12 MHz,16 MHz,48 MHz,Reserved"
elif ((CPU()=="MPC8314")||(CPU()=="MPC8315"))    
bitfld.long 0x00  6.--7. " REFSEL         ,Frequency value for the UTMI PLL reference clock" "Reserved,24 MHz,48 MHz,Reserved"
endif            
bitfld.long 0x00  5. "       OTG_PORT        ,OTG comparators enable" "-,Enabled"
textline "                           "
bitfld.long 0x00  4. " KEEP_OTG_ON    ,Keeps the OTG comparators on during low power suspend" "-,Enabled"
bitfld.long 0x00  3. "        LSF_EN          ,UTMI line state filter enable" "-,Enabled"
textline "                           "
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315"))            
bitfld.long 0x00  2. " USB_EN         ,USB interface enable" "-,Enabled  "
elif ((CPU()=="MPC8314")||(CPU()=="MPC8315"))    
bitfld.long 0x00  2. " USB_EN         ,USB interface enable" "Normal,Safe mode"
endif        
bitfld.long 0x00  1. "      WU_INT_EN       ,Mask/unmask the system wakeup interrupt signal" "-,Enabled"
textline "                           "
bitfld.long 0x00  0. " ULPI_INE_EN    ,ULPI low power wakeup interrupt enable" "-,Enabled"
tree.end
width 0xb
sif ((CPU()=="MPC8314")||(CPU()=="MPC8315"))
tree "Host/Device Data Structures"
if ((((d.l.be(anc:iobase()+((((d.l(anc:iobase()+0x23154))&0xfffff000))+0x00)))&0x6)==0x00)&&(((data.long(anc:iobase()+(0x23000+0x01a8)))&0x03000000)==0x03000000))
wgroup 0x00++0x00 "Isochronous (High-Speed) Transfer Descriptor (iTD)"
elif ((((d.l.be(anc:iobase()+((((d.l(anc:iobase()+0x23154))&0xfffff000))+0x00)))&0x6)==0x02)&&(((data.long(anc:iobase()+(0x23000+0x01a8)))&0x03000000)==0x03000000))
wgroup 0x00++0x00 "Queue Head"
elif ((((d.l.be(anc:iobase()+((((d.l(anc:iobase()+0x23154))&0xfffff000))+0x00)))&0x6)==0x04)&&(((data.long(anc:iobase()+(0x23000+0x01a8)))&0x03000000)==0x03000000))
wgroup 0x00++0x00 "Split Transaction Isochronous Transfer Descriptor (siTD)"
elif ((((d.l.be(anc:iobase()+((((d.l(anc:iobase()+0x23154))&0xfffff000))+0x00)))&0x6)==0x06)&&(((data.long(anc:iobase()+(0x23000+0x01a8)))&0x03000000)==0x03000000))
wgroup 0x00++0x00 "Periodic Frame Span Traversal Node (FSTN)"
endif
textline ""
base ANC:(((d.l(anc:iobase()+0x23154))&0xfffff000))
if ((((data.long(anc:iobase()+(0x23000+0x01a8)))&0x03000000)==0x03000000))
group.long 0x00++0x03 
line.long 0x00 "PFL,Periodic Frame List"
hexmask.long 0x00 5.--31. 0x20 " FLLP         ,Frame List Link Pointer" 
bitfld.long 0x00 1.--2. "    TYP                ,Typ Field" "iTD,QH,siTD,FSTN"
textline "                    "
bitfld.long 0x00 0. " T            ,Terminate" "Invalid,Valid"
endif        
if ((((d.l.be(anc:iobase()+((((d.l(anc:iobase()+0x23154))&0xfffff000))+0x00)))&0x6)==0x00)&&(((data.long(anc:iobase()+(0x23000+0x01a8)))&0x03000000)==0x03000000))
group.long 0x04++0x3f
line.long 0x0 "ITDTSCLW0,iTD Transaction Status and Control List DWord 0"
bitfld.long 0x0 31. " Active       ,Execution of an isochronous transaction by the host controller enable" "-,Enabled"
bitfld.long 0x0 30. "     DBE                ,Data buffer error" "-,Error"
textline "                    "
bitfld.long 0x0 29. " BD           ,Babble detected" "-,Detected"
bitfld.long 0x0 28. "    TE                 ,Transaction error (XactErr)" "-,Error"
textline "                    "
hexmask.long.word 0x0 16.--27. 1. " TRAN0LEN     ,Transaction 0 Length"
bitfld.long 0x0 15. "        IOC                ,Interrupt on complete" "In process,Completed"
textline "                    "
bitfld.long 0x0 12.--14. " PG           ,Buffer page pointers select" "0,1,2,3,4,5,6,Reserved"
hexmask.long.word 0x0 0.--11. 1. "    TRAN0OFF           ,Transaction 0 Offset"
line.long 0x4 "ITDTSCLW1,iTD Transaction Status and Control List DWord 1"
bitfld.long 0x4 31. " Active       ,Execution of an isochronous transaction by the host controller enable" "-,Enabled"
bitfld.long 0x4 30. "     DBE                ,Data buffer error" "-,Error"
textline "                    "
bitfld.long 0x4 29. " BD           ,Babble detected" "-,Detected"
bitfld.long 0x4 28. "    TE                 ,Transaction error (XactErr)" "-,Error"
textline "                    "
hexmask.long.word 0x4 16.--27. 1. " TRAN0LEN     ,Transaction 1 Length"
bitfld.long 0x4 15. "        IOC                ,Interrupt on complete" "In process,Completed"
textline "                    "
bitfld.long 0x4 12.--14. " PG           ,Buffer page pointers select" "0,1,2,3,4,5,6,Reserved"
hexmask.long.word 0x4 0.--11. 1. "    TRAN0OFF           ,Transaction 1 Offset"
line.long 0x8 "ITDTSCLW2,iTD Transaction Status and Control List DWord 2"
bitfld.long 0x8 31. " Active       ,Execution of an isochronous transaction by the host controller enable" "-,Enabled"
bitfld.long 0x8 30. "     DBE                ,Data buffer error" "-,Error"
textline "                    "
bitfld.long 0x8 29. " BD           ,Babble detected" "-,Detected"
bitfld.long 0x8 28. "    TE                 ,Transaction error (XactErr)" "-,Error"
textline "                    "
hexmask.long.word 0x8 16.--27. 1. " TRAN0LEN     ,Transaction 2 Length"
bitfld.long 0x8 15. "        IOC                ,Interrupt on complete" "In process,Completed"
textline "                    "
bitfld.long 0x8 12.--14. " PG           ,Buffer page pointers select" "0,1,2,3,4,5,6,Reserved"
hexmask.long.word 0x8 0.--11. 1. "    TRAN0OFF           ,Transaction 2 Offset"
line.long 0xC "ITDTSCLW3,iTD Transaction Status and Control List DWord 3"
bitfld.long 0xC 31. " Active       ,Execution of an isochronous transaction by the host controller enable" "-,Enabled"
bitfld.long 0xC 30. "     DBE                ,Data buffer error" "-,Error"
textline "                    "
bitfld.long 0xC 29. " BD           ,Babble detected" "-,Detected"
bitfld.long 0xC 28. "    TE                 ,Transaction error (XactErr)" "-,Error"
textline "                    "
hexmask.long.word 0xC 16.--27. 1. " TRAN0LEN     ,Transaction 3 Length"
bitfld.long 0xC 15. "        IOC                ,Interrupt on complete" "In process,Completed"
textline "                    "
bitfld.long 0xC 12.--14. " PG           ,Buffer page pointers select" "0,1,2,3,4,5,6,Reserved"
hexmask.long.word 0xC 0.--11. 1. "    TRAN0OFF           ,Transaction 3 Offset"
line.long 0x10 "ITDTSCLW4,iTD Transaction Status and Control List DWord 4"
bitfld.long 0x10 31. " Active       ,Execution of an isochronous transaction by the host controller enable" "-,Enabled"
bitfld.long 0x10 30. "     DBE                ,Data buffer error" "-,Error"
textline "                    "
bitfld.long 0x10 29. " BD           ,Babble detected" "-,Detected"
bitfld.long 0x10 28. "    TE                 ,Transaction error (XactErr)" "-,Error"
textline "                    "
hexmask.long.word 0x10 16.--27. 1. " TRAN0LEN     ,Transaction 4 Length"
bitfld.long 0x10 15. "        IOC                ,Interrupt on complete" "In process,Completed"
textline "                    "
bitfld.long 0x10 12.--14. " PG           ,Buffer page pointers select" "0,1,2,3,4,5,6,Reserved"
hexmask.long.word 0x10 0.--11. 1. "    TRAN0OFF           ,Transaction 4 Offset"
line.long 0x14 "ITDTSCLW5,iTD Transaction Status and Control List DWord 5"
bitfld.long 0x14 31. " Active       ,Execution of an isochronous transaction by the host controller enable" "-,Enabled"
bitfld.long 0x14 30. "     DBE                ,Data buffer error" "-,Error"
textline "                    "
bitfld.long 0x14 29. " BD           ,Babble detected" "-,Detected"
bitfld.long 0x14 28. "    TE                 ,Transaction error (XactErr)" "-,Error"
textline "                    "
hexmask.long.word 0x14 16.--27. 1. " TRAN0LEN     ,Transaction 5 Length"
bitfld.long 0x14 15. "        IOC                ,Interrupt on complete" "In process,Completed"
textline "                    "
bitfld.long 0x14 12.--14. " PG           ,Buffer page pointers select" "0,1,2,3,4,5,6,Reserved"
hexmask.long.word 0x14 0.--11. 1. "    TRAN0OFF           ,Transaction 5 Offset"
line.long 0x18 "ITDTSCLW6,iTD Transaction Status and Control List DWord 6"
bitfld.long 0x18 31. " Active       ,Execution of an isochronous transaction by the host controller enable" "-,Enabled"
bitfld.long 0x18 30. "     DBE                ,Data buffer error" "-,Error"
textline "                    "
bitfld.long 0x18 29. " BD           ,Babble detected" "-,Detected"
bitfld.long 0x18 28. "    TE                 ,Transaction error (XactErr)" "-,Error"
textline "                    "
hexmask.long.word 0x18 16.--27. 1. " TRAN0LEN     ,Transaction 6 Length"
bitfld.long 0x18 15. "        IOC                ,Interrupt on complete" "In process,Completed"
textline "                    "
bitfld.long 0x18 12.--14. " PG           ,Buffer page pointers select" "0,1,2,3,4,5,6,Reserved"
hexmask.long.word 0x18 0.--11. 1. "    TRAN0OFF           ,Transaction 6 Offset"
line.long 0x1C "ITDTSCLW7,iTD Transaction Status and Control List DWord 7"
bitfld.long 0x1C 31. " Active       ,Execution of an isochronous transaction by the host controller enable" "-,Enabled"
bitfld.long 0x1C 30. "     DBE                ,Data buffer error" "-,Error"
textline "                    "
bitfld.long 0x1C 29. " BD           ,Babble detected" "-,Detected"
bitfld.long 0x1C 28. "    TE                 ,Transaction error (XactErr)" "-,Error"
textline "                    "
hexmask.long.word 0x1C 16.--27. 1. " TRAN0LEN     ,Transaction 7 Length"
bitfld.long 0x1C 15. "        IOC                ,Interrupt on complete" "In process,Completed"
textline "                    "
bitfld.long 0x1C 12.--14. " PG           ,Buffer page pointers select" "0,1,2,3,4,5,6,Reserved"
hexmask.long.word 0x1C 0.--11. 1. "    TRAN0OFF           ,Transaction 7 Offset"
line.long 0x20 "ITDBPP0,iTD Buffer Pointer Page 0"
hexmask.long 0x20 12.--31. 0x1000 " BP0          ,Buffer Pointer (Page 0)"
bitfld.long 0x20 8.--11. "    EndPt              ,Endpoint Number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
textline "                    "
hexmask.long.byte 0x20 0.--6. 1. " DEVADDR      ,Device Address"
line.long 0x24 "ITDBPP1,iTD Buffer Pointer Page 1"
hexmask.long 0x24 12.--31. 0x1000 " BP1          ,Buffer Pointer (Page 1)"
bitfld.long 0x24 11. "    I/O                ,I/O Direction" "OUT,IN"
textline "                    "
hexmask.long.word 0x24 0.--10. 1. " MAXPS        ,Maximum Packet Sizes"    
line.long 0x28 "ITDBPP2,iTD Buffer Pointer Page 2"
hexmask.long 0x28 12.--31. 0x1000 " BP2          ,Buffer Pointer (Page 2)"
bitfld.long 0x28 0.--1. "    Mult               ,Number of transactions that should be executed per transaction description" "Reserved,1,2,3"
line.long 0x2C "ITDBPP3,iTD Buffer Pointer Page 3"
hexmask.long 3 12.--31. 0x1000 " BP3          ,Buffer Pointer (Page 3)"
line.long 0x30 "ITDBPP4,iTD Buffer Pointer Page 4"
hexmask.long 4 12.--31. 0x1000 " BP4          ,Buffer Pointer (Page 4)"
line.long 0x34 "ITDBPP5,iTD Buffer Pointer Page 5"
hexmask.long 5 12.--31. 0x1000 " BP5          ,Buffer Pointer (Page 5)"
line.long 0x38 "ITDBPP6,iTD Buffer Pointer Page 6"
hexmask.long 6 12.--31. 0x1000 " BP6          ,Buffer Pointer (Page 6)"
elif ((((d.l.be(anc:iobase()+((((d.l(anc:iobase()+0x23154))&0xfffff000))+0x00)))&0x6)==0x02)&&(((data.long(anc:iobase()+(0x23000+0x01a8)))&0x03000000)==0x03000000))
group.long 0x04++0x2b
line.long 0x00 "QHW1,Queue Head DWord 1"
bitfld.long 0x00 28.--31. " RL           ,Nak count reload" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 27. "          C                  ,Control endpoint flag" "Other,Control"
textline "                    "
hexmask.long.word 0x00 16.--26. 1. " MAXPL        ,Maximum Packet Length"
bitfld.long 0x00 15. "        H                  ,Head of reclamation list flag" "-,Occurred"
textline "                    "
bitfld.long 0x00 14. " DTC          ,Data toggle control" "Ignored,qTD DT"
bitfld.long 0x00 12.--13. "     EPS                ,Endpoint speed" "12 Mbps,1.5 Mbps,480 Mbps,Reserved"
textline "                    "
bitfld.long 0x00 8.--11. " EndPt        ,Endpoint Number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 7. "          I                  ,Inactivate on next transaction" "-,Inactive"
textline "                    "
hexmask.long.byte 0x00 0.--6. 1. " DEVADDR      ,Device Address"
line.long 0x04 "QHW2,Queue Head DWord 3"
bitfld.long 0x04 30.--31. " Mult         ,High-bandwidth pipe multiplier" "Reserved,1,2,3"        
hexmask.long.byte 0x04 23.--29. 1. "    PN                 ,Port Number"
textline "                    "
hexmask.long.byte 0x04 16.--22. 1. " Hub_Addr     ,Hub Address"
hexmask.long.byte 0x04 8.--15. 1. "          uDCM               ,uFrame C-mask"
textline "                    "
hexmask.long.byte 0x04 0.--7. 1. " uDSM         ,uFrame S-mask"
line.long 0x08 "CQTDLP,Current qTD Link Pointer"
hexmask.long 0x08 5.--31. 0x20 " CQTDPOINT    ,Current qTD Pointer"
line.long 0x0c "NQTDLP,Next qTD Link Pointer"
hexmask.long 0x0c 5.--31. 0x20 " NQTDPOINT    ,Next qTD Pointer"
bitfld.long 0x0c 0. "    T                  ,Terminate" "Invalid,Valid"        
line.long 0x10 "QHW5,Queue Head DWord 5"    
hexmask.long 0x10 5.--31. 0x20 " AQTDPOINT    ,Alternate qTD Pointer"        
bitfld.long 0x10 1.--4. "    NakCnt             ,Nak counter" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
textline "                    "
bitfld.long 0x10 0. " T            ,Terminate" "Invalid,Valid"    
line.long 0x14 "QHW6,Queue Head DWord 6"
bitfld.long 0x14 31. " DT           ,Data toggle" "-,Preserved"
hexmask.long.word 0x14 16.--30. 1. "   TBT                ,Total Bytes to Transfer"
textline "                    "
bitfld.long 0x14 15. " IOC          ,Interrupt on complete" "In process,Completed"
bitfld.long 0x14 12.--14. "  C_Page             ,C_Page" "0,1,2,3,4,5,6,7"
textline "                    "
bitfld.long 0x14 10.--11. " Cerr         ,Error counter" "0,1,2,3"
bitfld.long 0x14 8.--9. "           PID_Code           ,PID Code" "00,01,10,11"
textline "                    "
bitfld.long 0x14 0. " PERR         ,Ping state" "OUT,Ping"
line.long 0x18 "QHW7,Queue Head DWord 7"
hexmask.long 0x18 12.--31. 0x1000 " BP0          ,Buffer Pointer (Page 0)"
hexmask.long.word 0x18 0.--11. 1. "    CURROFF            ,Current Offset"
line.long 0x1c "QHW8,Queue Head DWord 8"
hexmask.long 0x1c 12.--31. 0x1000 " BP1          ,Buffer Pointer (Page 1)"        
hexmask.long.byte 0x1c 0.--7. 1. "    C-prog-mask        ,Split-transaction complete-split progress"
line.long 0x20 "QHW9,Queue Head DWord 9"
hexmask.long 0x20 12.--31. 0x1000 " BP2          ,Buffer Pointer (Page 2)"
hexmask.long.byte 0x20 5.--11. 1. "    S-bytes            ,Keeps track of the number of bytes sent or received during an IN or OUT split transaction"
textline "                    "
bitfld.long 0x20 0.--4. " FrameTag     ,Split-transaction frame tag" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
line.long 0x24 "QHW10,Queue Head DWord 10"        
hexmask.long 0x24 12.--31. 0x1000 " BP3          ,Buffer Pointer (Page 3)"    
line.long 0x28 "QHW11,Queue Head DWord 11"        
hexmask.long 0x28 12.--31. 0x1000 " BP4          ,Buffer Pointer (Page 4)"    
elif ((((d.l.be(anc:iobase()+((((d.l(anc:iobase()+0x23154))&0xfffff000))+0x00)))&0x6)==0x04)&&(((data.long(anc:iobase()+(0x23000+0x01a8)))&0x03000000)==0x03000000))
group.long 0x04++0x13
line.long 0x00 "siTDW1,siTD DWord 1"
bitfld.long 0x00 31. " I/O          ,I/O Direction" "OUT,IN"
hexmask.long.byte 0x00 24.--30. 1. "         PN                 ,Port Number"
textline "                    "
hexmask.long.byte 0x00 16.--22. 1. " Hub_Addr     ,Hub Address"
bitfld.long 0x00 8.--11. "          EndPt              ,Endpoint Number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
textline "                    "
hexmask.long.byte 0x00 0.--6. 1. " DEVADDR      ,Device Address"
line.long 0x04 "siTDMFSC,siTD Micro-Frame Schedule Control"
hexmask.long.byte 0x04 8.--15. 1. " uDCM         ,uFrame C-mask"
hexmask.long.byte 0x04 0.--7. 1. "          uDSM               ,uFrame S-mask"
line.long 0x08 "siTDTS,siTD Transfer State"
bitfld.long 0x08 31. " IOC          ,Interrupt on complete" "-,Interrupt"
bitfld.long 0x08 30. "   P                  ,Page select" "Page 0,Page 1"
textline "                    "
hexmask.long.word 0x08 16.--25. 1. " TBT          ,Total Bytes to Transfer"
hexmask.long.byte 0x08 8.--15. 1. "        uFrame_C-prog-mask ,Split complete progress mask"
textline "                    "
bitfld.long 0x08 7. " Active       ,Execution of an isochronous split transaction by the host controller enable" "-,Enabled"
textline "                    "                
bitfld.long 0x08 6. " ERR          ,ERR Response" "-,Received"                    
bitfld.long 0x08 5. "    Data_Buffer_Error  ,Device controller overrun/underrun" "No error,Error"    
textline "                    "
bitfld.long 0x08 4. " BD           ,Babble detected" "-,Detected"
bitfld.long 0x08 3. "    XactErr            ,Transaction Error" "No error,Error"    
textline "                    "
bitfld.long 0x08 2. " MMF          ,Missed micro-frame" "-,Detected"
bitfld.long 0x08 1. "    SplitXstate        ,Split transaction state" "Start split,Complete split"
line.long 0x0c "siTDW4,siTD Transfer DWord 4"
hexmask.long 0x0c 12.--31. 0x1000 " BP0          ,Buffer Pointer (Page 0)"
hexmask.long.word 0x0c 0.--11. 1. "    CURROFF            ,Current Offset"        
line.long 0x0c "siTDW5,siTD Transfer DWord 5"
hexmask.long 0x0c 12.--31. 0x1000 " BP1          ,Buffer Pointer (Page 1)"
bitfld.long 0x0c 3.--4. "    TP                 ,Transaction position" "All,Begin,Mid,End"
textline "                    "
bitfld.long 0x0c 0.--2. " T-Count      ,Transaction count" "0,1,2,3,4,5,6,Undefined"
line.long 0x10 "siTDBLP,siTD Back Link Pointer"
hexmask.long 0x10 5.--31. 0x20 " Back_Pointer ,A physical memory pointer to an siTD"
bitfld.long 0x10 0. "    T                  ,Terminate" "Invalid,Valid"        
elif ((((d.l.be(anc:iobase()+((((d.l(anc:iobase()+0x23154))&0xfffff000))+0x00)))&0x6)==0x06)&&(((data.long(anc:iobase()+(0x23000+0x01a8)))&0x03000000)==0x03000000))
group.long 0x04++0x13
line.long 0x00 "FSTNBPLP,FSTN Back Path Link Pointer"
hexmask.long 0x00 5.--31. 0x20 " BPLP         ,Back PAth Link Pointer" 
bitfld.long 0x00 1.--2. "    TYP                ,Typ Field" "iTD,QH,siTD,FSTN"
textline "                    "
bitfld.long 0x00 0. " T            ,Terminate" "Invalid,Valid"
endif
textline ""
base ANC:(((d.l(anc:iobase()+0x23158))&0xffffffe0))
if ((((data.long(anc:iobase()+(0x23000+0x01a8)))&0x03000000)==0x03000000))
group.long 0x00++0x1f  "Queue Element Transfer Descriptor (qTD)"
textline ""
line.long 0x00 "qTDNETP,qTD Next Element Transfer Pointer (DWord 0)"
hexmask.long 0x00 5.--31. 0x20 " NQTDPOINT         ,Next qTD Pointer"
bitfld.long 0x00 0. "        T        ,Terminate" "Invalid,Valid"        
line.long 0x4 "qTDANETP,qTD Alternate Next Element Transfer Pointer (DWord 1)"
hexmask.long 0x4 5.--31. 0x20 " AQTDPOINT         ,Alternate qTD Pointer"        
bitfld.long 0x4 0. "        T        ,Terminate" "Invalid,Valid"        
line.long 0x8 "qTDT,qTD Token"
bitfld.long 0x8 31. " DT                ,Data toggle" "0,1"
hexmask.long.word 0x8 16.--30. 1. "               TBT      ,Total Bytes to Transfer"
textline "                    "
bitfld.long 0x8 15. " IOC               ,Interrupt on complete" "-,Interrupt"
bitfld.long 0x8 12.--14. "       C_Page   ,Current page" "0,1,2,3,4,Reserved,Reserved,Reserved"
textline "                    "
bitfld.long 0x8 10.--11. " Cerr              ,Error counter" "0,1,2,3"
bitfld.long 0x8 8.--9. "               PID_Code ,Encoding of the token," "OUT Token,In Token,SETUP Token,Reserved"
textline "                    "
bitfld.long 0x08 7. " Active            ,Execution of transactions by the host controller enable" "-,Enabled"            
bitfld.long 0x08 6. "         HALT     ,Halted" "-,Halted"                    
textline "                    "        
bitfld.long 0x08 5. " Data_Buffer_Error ,Device controller overrun/underrun" "No error,Error"    
bitfld.long 0x08 4. "        BD       ,Babble detected" "-,Detected"
textline "                    "        
bitfld.long 0x08 3. " XactErr           ,Transaction Error" "No error,Error"    
bitfld.long 0x08 2. "        MMF      ,Missed micro-frame" "-,Detected"
textline "                    "        
bitfld.long 0x08 1. " SplitXstate       ,Split transaction state" "Start split,Complete split"
bitfld.long 0x08 0. "  PERR     ,Ping state" "OUT,Ping"
line.long 0x0c "qTD3,qTD DWord 3"
hexmask.long 0x0c 12.--31. 0x1000 " BP0               ,Buffer Pointer (Page 0)"
hexmask.long.word 0x0c 0.--11. 1. "        CURROFF  ,Current Offset"
line.long 0x10 "qTD1,qTD DWord 1"        
hexmask.long 0x10 12.--31. 0x1000 " BP1               ,Buffer Pointer (Page 1)"    
line.long 0x14 "qTD2,qTD DWord 2"        
hexmask.long 0x14 12.--31. 0x1000 " BP2               ,Buffer Pointer (Page 2)"    
line.long 0x18 "qTD3,qTD DWord 3"        
hexmask.long 0x18 12.--31. 0x1000 " BP3               ,Buffer Pointer (Page 3)"    
line.long 0x1C "qTD4,qTD DWord 4"        
hexmask.long 0x1C 12.--31. 0x1000 " BP4               ,Buffer Pointer (Page 4)"    
endif
base ANC:(((d.l(anc:iobase()+0x23158))&0xfffff800))
if (((data.long(anc:(iobase()+(0x23000+0x01a8))))&0x03000000)==0x02000000)
group.long 0x00++0x23 "Endpoint Queue Head Registers"
textline "                    "
line.long 0x00 "ECC,Endpoint Capabilities/Characteristics"
bitfld.long 0x00 30.--31. " Mult                  ,Mult" "N Transactions,1 Transaction,2 transactions,3 transactions"
bitfld.long 0x00 29. "  ZLT               ,Zero length termination select" "Enabled,Disabled"
textline "                    "
hexmask.long.word 0x00 16.--26. 1. " Maximum_Packet_Length ,Maximum packet length" 
bitfld.long 0x00 15. "            IOS               ,Interrupt on setup" "No interrupt,Interrupt"    
line.long 0x04 "CDP,Current dTD Pointer"
hexmask.long 0x04 5.--31. 1. " Current_dtd           ,Current_dtd"
line.long 0x08 "NLP,Next Link Pointer"
hexmask.long 0x08 5.--31. 0x20 " Next_link_pointer     ,Next link pointer"
bitfld.long 0x08 0. "        T                 ,Terminate" "Valid,Invalid"
line.long 0x0c "DT,dTD Token"
hexmask.long.word 0x0c 16.--29. 1. " Total_Bytes           ,Total Bytes" 
bitfld.long 0x0c 15. "            IOC               ,Interrupt on complete" "USBSTS[UI]=0,USBSTS[UI]=1"
textline "                    "
bitfld.long 0x0c 10.--11. " MultO                 ,Multiplier Override" "00,01,10,11"
bitfld.long 0x0c 7. "              Active            ,Execution of transactions enable" "Inactive,Active"        
textline "                    "        
bitfld.long 0x0c 6. " Halted                ,Serious error indication" "Not halted,Halted"        
bitfld.long 0x0c 5. "      Data_Buffer_Error ,Device controller overrun/underrun" "No error,Error"    
textline "                    "
bitfld.long 0x0c 3. " Transaction_Error     ,Transaction Error" "No error,Error"    
line.long 0x10 "DBPPL0,dTD Buffer Page Pointer List 0"
hexmask.long 0x10 12.--31. 0x1000 " Buf_Point0            ,Buffer Pointer (Page 0)"
hexmask.long.word 0x10 0.--11. 1. "        Current_offset    ,Current Offset"
line.long 0x14 "DBPPL1,dTD Buffer Page Pointer List 1"
hexmask.long 0x14 12.--31. 0x1000 " Buf_Point1            ,Buffer Pointer (Page 1)"
line.long 0x18 "DBPPL2,dTD Buffer Page Pointer List 2"
hexmask.long 0x18 12.--31. 0x1000 " Buf_Point2            ,Buffer Pointer (Page 2)"
line.long 0x1c "DBPPL3,dTD Buffer Page Pointer List 3"
hexmask.long 0x1c 12.--31. 0x1000 " Buf_Point3            ,Buffer Pointer (Page 3)"
line.long 0x20 "DBPPL4,dTD Buffer Page Pointer List 4"
hexmask.long 0x20 12.--31. 0x1000 " Buf_Point4            ,Buffer Pointer (Page 4)"        
group.long 0x28++0x07
line.long 0x00 "SB0,Setup Buffer Low"
line.long 0x04 "SB1,Setup Buffer High"    
endif
tree.end
endif
base anc:iobase()
tree.end
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315"))    
tree "I2C Interfaces"
tree "I2C1"
width 10.
group.byte 0x03000++0x0
line.byte 0x00 "I2C1ADR,I2C1 Address Register"
hexmask.byte 0x00 1.--7. 0x2 " ADDR ,Slave address"
group.byte (0x03000+0x04)++0x0
line.byte 0x00 "I2C1FDR,I2C1 Frequency Divider Register"
bitfld.byte 0x00 0.--5. " FDR  ,Frequency divider ratio" "384,416,480,576,640,704,832,1024,1152,1280,1536,1920,2304,2560,3072,3840,4608,5120,6144,7680,9216,10240,12288,15360,18432,20480,24576,30720,36864,40960,49125,61440,256,288,320,352,384,448,512,576,640,768,896,1024,1280,1536,1792,2048,2560,3072,3584,4096,5120,6144,7168,8192,10240,12288,14336,16384,20480,24576,28672,32768"
group.byte (0x03000+0x08)++0x0
line.byte 0x00 "I2C1CR,I2C1 Control Register"
bitfld.byte 0x00 7. " MEN  ,Module enable" "-,Enabled"
bitfld.byte 0x00 6. "      MIEN  ,Module interrupt enable" "-,Enabled"
bitfld.byte 0x00 5. "         MSTA ,Master/slave mode START" "Slave,Master"
textline "               "
bitfld.byte 0x00 4. " MTX  ,Transmit/receive mode select" "Receive,Transmit"
bitfld.byte 0x00 3. "     TXAK  ,Transfer acknowledge" "Acknowledge,No acknowledge"
bitfld.byte 0x00 2. "  RSTA ,Repeat START" "No START,Repeat START"
textline "               "
bitfld.byte 0x00 0. " BCST ,Broadcast" "-,Enabled"
group.byte (0x03000+0x0c)++0x0
line.byte 0x00 "I2C1SR,I2C1 Status Register"
bitfld.byte 0x00 7. " MCF  ,Data transfer" "In progress,Completed"
bitfld.byte 0x00 6. "  MAAS  ,Addressed as a slave" "-,Addressed"
bitfld.byte 0x00 5. "       MBB  ,Bus busy" "Idle,Busy"
textline "               "
bitfld.byte 0x00 4. " MAL  ,Arbitration lost" "-,Lost"
bitfld.byte 0x00 3. "         BCSTM ,Broadcast match" "-,Matched"
bitfld.byte 0x00 2. "         SRW  ,Slave read/write" "Write,Read"
textline "               "
bitfld.byte 0x00 1. " MIF  ,Module interrupt" "-,Interrupt"
bitfld.byte 0x00 0. "    RXAK  ,Received acknowledge" "Acknowledge,No acknowledge"
group.byte (0x03000+0x10)++0x0
line.byte 0x00 "I2C1DR,I2C1 Data Register"
group.byte (0x03000+0x14)++0x0
line.byte 0x00 "I2C1DFSRR,Digital Filter Sampling Rate Register"
hexmask.byte 0x00 0.--5. 1. " DFSR ,Digital filter sampling rate"
width 0xb
tree.end
tree "I2C2"
width 10.
group.byte 0x03100++0x0
line.byte 0x00 "I2C2ADR,I2C1 Address Register"
hexmask.byte 0x00 1.--7. 0x2 " ADDR ,Slave address"
group.byte (0x03100+0x04)++0x0
line.byte 0x00 "I2C2FDR,I2C1 Frequency Divider Register"
bitfld.byte 0x00 0.--5. " FDR  ,Frequency divider ratio" "384,416,480,576,640,704,832,1024,1152,1280,1536,1920,2304,2560,3072,3840,4608,5120,6144,7680,9216,10240,12288,15360,18432,20480,24576,30720,36864,40960,49125,61440,256,288,320,352,384,448,512,576,640,768,896,1024,1280,1536,1792,2048,2560,3072,3584,4096,5120,6144,7168,8192,10240,12288,14336,16384,20480,24576,28672,32768"
group.byte (0x03100+0x08)++0x0
line.byte 0x00 "I2C2CR,I2C1 Control Register"
bitfld.byte 0x00 7. " MEN  ,Module enable" "-,Enabled"
bitfld.byte 0x00 6. "      MIEN  ,Module interrupt enable" "-,Enabled"
bitfld.byte 0x00 5. "         MSTA ,Master/slave mode START" "Slave,Master"
textline "               "
bitfld.byte 0x00 4. " MTX  ,Transmit/receive mode select" "Receive,Transmit"
bitfld.byte 0x00 3. "     TXAK  ,Transfer acknowledge" "Acknowledge,No acknowledge"
bitfld.byte 0x00 2. "  RSTA ,Repeat START" "No START,Repeat START"
textline "               "
bitfld.byte 0x00 0. " BCST ,Broadcast" "-,Enabled"
group.byte (0x03100+0x0c)++0x0
line.byte 0x00 "I2C2SR,I2C1 Status Register"
bitfld.byte 0x00 7. " MCF  ,Data transfer" "In progress,Completed"
bitfld.byte 0x00 6. "  MAAS  ,Addressed as a slave" "-,Addressed"
bitfld.byte 0x00 5. "       MBB  ,Bus busy" "Idle,Busy"
textline "               "
bitfld.byte 0x00 4. " MAL  ,Arbitration lost" "-,Lost"
bitfld.byte 0x00 3. "         BCSTM ,Broadcast match" "-,Matched"
bitfld.byte 0x00 2. "         SRW  ,Slave read/write" "Write,Read"
textline "               "
bitfld.byte 0x00 1. " MIF  ,Module interrupt" "-,Interrupt"
bitfld.byte 0x00 0. "    RXAK  ,Received acknowledge" "Acknowledge,No acknowledge"
group.byte (0x03100+0x10)++0x0
line.byte 0x00 "I2C2DR,I2C1 Data Register"
group.byte (0x03100+0x14)++0x0
line.byte 0x00 "I2C2DFSRR,Digital Filter Sampling Rate Register"
hexmask.byte 0x00 0.--5. 1. " DFSR ,Digital filter sampling rate"
width 0xb
tree.end
tree.end
elif ((CPU()=="MPC8314")||(CPU()=="MPC8315"))
tree "I2C Interface"
width 10.
group.byte 0x03000++0x0
line.byte 0x00 "I2CADR,I2C Address Register"
hexmask.byte 0x00 1.--7. 0x2 " ADDR ,Slave address"
group.byte (0x03000+0x04)++0x0
line.byte 0x00 "I2CFDR,I2C Frequency Divider Register"
bitfld.byte 0x00 0.--5. " FDR  ,Frequency divider ratio" "384,416,480,576,640,704,832,1024,1152,1280,1536,1920,2304,2560,3072,3840,4608,5120,6144,7680,9216,10240,12288,15360,18432,20480,24576,30720,36864,40960,49125,61440,256,288,320,352,384,448,512,576,640,768,896,1024,1280,1536,1792,2048,2560,3072,3584,4096,5120,6144,7168,8192,10240,12288,14336,16384,20480,24576,28672,32768"
group.byte (0x03000+0x08)++0x0
line.byte 0x00 "I2CCR,I2C Control Register"
bitfld.byte 0x00 7. " MEN  ,Module enable" "-,Enabled"
bitfld.byte 0x00 6. "      MIEN  ,Module interrupt enable" "-,Enabled"
bitfld.byte 0x00 5. "         MSTA ,Master/slave mode START" "Slave,Master"
textline "               "
bitfld.byte 0x00 4. " MTX  ,Transmit/receive mode select" "Receive,Transmit"
bitfld.byte 0x00 3. "     TXAK  ,Transfer acknowledge" "Acknowledge,No acknowledge"
bitfld.byte 0x00 2. "  RSTA ,Repeat START" "No START,Repeat START"
textline "               "
bitfld.byte 0x00 0. " BCST ,Broadcast" "-,Enabled"
group.byte (0x03000+0x0c)++0x0
line.byte 0x00 "I2CSR,I2C Status Register"
bitfld.byte 0x00 7. " MCF  ,Data transfer" "In progress,Completed"
bitfld.byte 0x00 6. "  MAAS  ,Addressed as a slave" "-,Addressed"
bitfld.byte 0x00 5. "       MBB  ,Bus busy" "Idle,Busy"
textline "               "
bitfld.byte 0x00 4. " MAL  ,Arbitration lost" "-,Lost"
bitfld.byte 0x00 3. "         BCSTM ,Broadcast match" "-,Matched"
bitfld.byte 0x00 2. "         SRW  ,Slave read/write" "Write,Read"
textline "               "
bitfld.byte 0x00 1. " MIF  ,Module interrupt" "-,Interrupt"
bitfld.byte 0x00 0. "    RXAK  ,Received acknowledge" "Acknowledge,No acknowledge"
group.byte (0x03000+0x10)++0x0
line.byte 0x00 "I2CDR,I2C Data Register"
group.byte (0x03000+0x14)++0x0
line.byte 0x00 "I2CDFSRR,Digital Filter Sampling Rate Register"
hexmask.byte 0x00 0.--5. 1. " DFSR ,Digital filter sampling rate"
width 0xb
tree.end
endif
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315"))
tree "DUART"
tree "UART1"
width 7.
if (((data.byte(anc:(iobase()+(0x04500+0x03))))&0x80)==0x00)
rgroup.byte (0x04500)++0x00
line.byte 0x00 "URBR1,Receiver Buffer Register 1"
hexmask.byte 0x00 0.--7. 1. " DATA  ,Data received from the transmitter on the UART0 bus"
wgroup.byte (0x04500)++0x00
line.byte 0x00 "UTHR1,Transmitter Holding Register 1"
hexmask.byte 0x00 0.--7. 1. " DATA  ,Data that is written to UTHR0"
group.byte (0x04500+0x01)++0x00
line.byte 0x00 "UIER1,Interrupt Enable Register 1"
bitfld.byte 0x00 3. " EMSI  ,Enable MODEM status interrupt" "-,Enabled"
bitfld.byte 0x00 2. "         ERLSI    ,Enable receiver line status interrupt" "-,Enabled"
bitfld.byte 0x00 1. "                  ETHREI     ,Enable transmitter holding register empty interrupt" "-,Enabled"
textline "            "
bitfld.byte 0x00 0. " ERDAI ,Enable received data available interrupt" "-,Enabled"
rgroup.byte (0x04500+0x02)++0x00
line.byte 0x00 "UIIR1,Interrupt ID Register 1"
bitfld.byte 0x00 6.--7. " FE    ,FIFOs enabled" "00,01,10,11"
bitfld.byte 0x00 0.--3. "              IID[3:0] ,Interrupt ID bits" "/CTS changed,Reserved,UTHR empty,Reserved,Received data available,Reserved,Receiver error,Reserved,Reserved,Reserved,Reserved,Reserved,Character time-out,Reserved,Reserved,Reserved"
wgroup.byte (0x04500+0x02)++0x00
line.byte 0x00 "UFCR1,FIFO Control Register 1"
bitfld.byte 0x00 6.--7. " RTL   ,Receiver trigger level" "1 byte,4 bytes,8 bytes,14 bytes"
bitfld.byte 0x00 3. "        DMS      ,DMA mode select" "Mode 0,Mode 1"
bitfld.byte 0x00 2. "                   TFR        ,Transmitter FIFO reset" "No action,Reset"
textline "            "
bitfld.byte 0x00 1. " RFR   ,Receiver FIFO reset" "No action,Reset"
bitfld.byte 0x00 0. "       FEN      ,FIFO enable" "-,Enabled"
else
group.byte (0x04500)++0x02
line.byte 0x00 "UDLB1,Divisor Least Significant Byte Register 1"
hexmask.byte 0x00 0.--7. 1. " UDLB  ,Divisor least significant byte"
line.byte 0x01 "UDMB1,Divisor Most Significant Byte Register 1"
hexmask.byte 0x01 0.--7. 1. " UDMB  ,Divisor most significant byte"
line.byte 0x02 "UAFR1,Alternate Function Register 1"
bitfld.byte 0x02 1. " BO    ,Baud clock select" "-,Gated off"
bitfld.byte 0x02 0. "       CW       ,Concurrent write enable" "-,Enabled"
endif
if (((data.byte(anc:(iobase()+(0x04500+0x03))))&0x03)==0x00)
group.byte (0x04500+0x03)++0x01
line.byte 0x00 "ULCR1,Line Control Register 1"
bitfld.byte 0x00 7. " DLAB  ,Divisor latch access bit" "UDLB/UAFR/UDMB,UDMB/UDLB/UAFR"
bitfld.byte 0x00 6. "  SB       ,Set break" "UTHR data,0"
bitfld.byte 0x00 3.--5. "                SP/EPS/PEN ,Parity Selected" "No parity,Odd,No parity,Even,No parity,Mark,No parity,Space"
textline "            "
bitfld.byte 0x00 2. " NTSB  ,Number of STOP bits" "1 bit,1.5 bits"
bitfld.byte 0x00 0.--1. "        WLS      ,Word length select" "5-bits,6-bits,7-bits,8-bits"
line.byte 0x01 "UMCR1,MODEM Control Register 1"
bitfld.byte 0x01 4. " LOOP  ,Local loop-back mode" "-,Enabled"
bitfld.byte 0x01 1. "         RTS      ,Ready to send" "Negated,Asserted"
else
group.byte (0x04500+0x03)++0x01
line.byte 0x00 "ULCR1,Line Control Register 1"
bitfld.byte 0x00 7. " DLAB  ,Divisor latch access bit" "UDLB/UAFR/UDMB,UDMB/UDLB/UAFR"
bitfld.byte 0x00 6. "  SB       ,Set break" "UTHR data,0"
bitfld.byte 0x00 3.--5. "                SP/EPS/PEN ,Parity Selected" "No parity,Odd,No parity,Even,No parity,Mark,No parity,Space"
textline "            "
bitfld.byte 0x00 2. " NTSB  ,Number of STOP bits" "1 bit,2 bits"
bitfld.byte 0x00 0.--1. "          WLS      ,Word length select" "5-bits,6-bits,7-bits,8-bits"
line.byte 0x01 "UMCR1,MODEM Control Register 1"
bitfld.byte 0x01 4. " LOOP  ,Local loop-back mode" "-,Enabled"
bitfld.byte 0x01 1. "         RTS      ,Ready to send" "Negated,Asserted"
endif
rgroup.byte (0x04500+0x05)++0x01
line.byte 0x00 "ULSR1,Line Status Register 1"
bitfld.byte 0x00 7. " RFE   ,Receiver FIFO error" "-,Error"
bitfld.byte 0x00 6. "           TEMT     ,Transmitter empty" "-,Empty"
bitfld.byte 0x00 5. "                    THRE       ,Transmitter holding register empty" "-,Empty"
textline "            "
bitfld.byte 0x00 4. " BI    ,Break interrupt" "-,Occurred"
bitfld.byte 0x00 3. "        FE       ,Framing error" "-,Error"
bitfld.byte 0x00 2. "                    PE         ,Parity error" "-,Error"
textline "            "
bitfld.byte 0x00 1. " OE    ,Overrun error" "-,Error"
bitfld.byte 0x00 0. "           DR       ,Data ready" "-,Ready"
line.byte 0x01 "UMSR1,MODEM Status Register 1"
bitfld.byte 0x01 4. " CTS   ,Clear to send" "Negated,Asserted"
bitfld.byte 0x01 0. "        DCTS     ,Delta clear to send" "-,Changed"
group.byte (0x04500+0x07)++0x00
line.byte 0x00 "USCR1,Scratch Register 1"
rgroup.byte (0x04500+0x10)++0x00
line.byte 0x00 "UDSR1,DMA Status Register 1"
bitfld.byte 0x00 1. " TXRDY ,Transmitter ready" "-,Ready"
bitfld.byte 0x00 0. "           RXRDY    ,Receiver ready" "-,Ready"
width 0xb
tree.end
tree "UART2"
width 7.
if (((data.byte(anc:(iobase()+(0x04600+0x03))))&0x80)==0x00)
rgroup.byte (0x04600)++0x00
line.byte 0x00 "URBR2,Receiver Buffer Register 2"
hexmask.byte 0x00 0.--7. 1. " DATA  ,Data received from the transmitter on the UART0 bus"
wgroup.byte (0x04600)++0x00
line.byte 0x00 "UTHR2,Transmitter Holding Register 2"
hexmask.byte 0x00 0.--7. 1. " DATA  ,Data that is written to UTHR0"
group.byte (0x04600+0x01)++0x00
line.byte 0x00 "UIER2,Interrupt Enable Register 2"
bitfld.byte 0x00 3. " EMSI  ,Enable MODEM status interrupt" "-,Enabled"
bitfld.byte 0x00 2. "         ERLSI    ,Enable receiver line status interrupt" "-,Enabled"
bitfld.byte 0x00 1. "                  ETHREI     ,Enable transmitter holding register empty interrupt" "-,Enabled"
textline "            "
bitfld.byte 0x00 0. " ERDAI ,Enable received data available interrupt" "-,Enabled"
rgroup.byte (0x04600+0x02)++0x00
line.byte 0x00 "UIIR2,Interrupt ID Register 2"
bitfld.byte 0x00 6.--7. " FE    ,FIFOs enabled" "00,01,10,11"
bitfld.byte 0x00 0.--3. "              IID[3:0] ,Interrupt ID bits" "/CTS changed,Reserved,UTHR empty,Reserved,Received data available,Reserved,Receiver error,Reserved,Reserved,Reserved,Reserved,Reserved,Character time-out,Reserved,Reserved,Reserved"
wgroup.byte (0x04600+0x02)++0x00
line.byte 0x00 "UFCR2,FIFO Control Register 2"
bitfld.byte 0x00 6.--7. " RTL   ,Receiver trigger level" "1 byte,4 bytes,8 bytes,14 bytes"
bitfld.byte 0x00 3. "        DMS      ,DMA mode select" "Mode 0,Mode 1"
bitfld.byte 0x00 2. "                   TFR        ,Transmitter FIFO reset" "No action,Reset"
textline "            "
bitfld.byte 0x00 1. " RFR   ,Receiver FIFO reset" "No action,Reset"
bitfld.byte 0x00 0. "       FEN      ,FIFO enable" "-,Enabled"
else
group.byte (0x04600)++0x02
line.byte 0x00 "UDLB2,Divisor Least Significant Byte Register 2"
hexmask.byte 0x00 0.--7. 1. " UDLB  ,Divisor least significant byte"
line.byte 0x01 "UDMB2,Divisor Most Significant Byte Register 2"
hexmask.byte 0x01 0.--7. 1. " UDMB  ,Divisor most significant byte"
line.byte 0x02 "UAFR2,Alternate Function Register 2"
bitfld.byte 0x02 1. " BO    ,Baud clock select" "-,Gated off"
bitfld.byte 0x02 0. "       CW       ,Concurrent write enable" "-,Enabled"
endif
if (((data.byte(anc:(iobase()+(0x04600+0x03))))&0x03)==0x00)
group.byte (0x04600+0x03)++0x01
line.byte 0x00 "ULCR2,Line Control Register 2"
bitfld.byte 0x00 7. " DLAB  ,Divisor latch access bit" "UDLB/UAFR/UDMB,UDMB/UDLB/UAFR"
bitfld.byte 0x00 6. "  SB       ,Set break" "UTHR data,0"
bitfld.byte 0x00 3.--5. "                SP/EPS/PEN ,Parity Selected" "No parity,Odd,No parity,Even,No parity,Mark,No parity,Space"
textline "            "
bitfld.byte 0x00 2. " NTSB  ,Number of STOP bits" "1 bit,1.5 bits"
bitfld.byte 0x00 0.--1. "        WLS      ,Word length select" "5-bits,6-bits,7-bits,8-bits"
line.byte 0x01 "UMCR2,MODEM Control Register 2"
bitfld.byte 0x01 4. " LOOP  ,Local loop-back mode" "-,Enabled"
bitfld.byte 0x01 1. "         RTS      ,Ready to send" "Negated,Asserted"
else
group.byte (0x04600+0x03)++0x01
line.byte 0x00 "ULCR2,Line Control Register 2"
bitfld.byte 0x00 7. " DLAB  ,Divisor latch access bit" "UDLB/UAFR/UDMB,UDMB/UDLB/UAFR"
bitfld.byte 0x00 6. "  SB       ,Set break" "UTHR data,0"
bitfld.byte 0x00 3.--5. "                SP/EPS/PEN ,Parity Selected" "No parity,Odd,No parity,Even,No parity,Mark,No parity,Space"
textline "            "
bitfld.byte 0x00 2. " NTSB  ,Number of STOP bits" "1 bit,2 bits"
bitfld.byte 0x00 0.--1. "          WLS      ,Word length select" "5-bits,6-bits,7-bits,8-bits"
line.byte 0x01 "UMCR2,MODEM Control Register 2"
bitfld.byte 0x01 4. " LOOP  ,Local loop-back mode" "-,Enabled"
bitfld.byte 0x01 1. "         RTS      ,Ready to send" "Negated,Asserted"
endif
rgroup.byte (0x04600+0x05)++0x01
line.byte 0x00 "ULSR2,Line Status Register 2"
bitfld.byte 0x00 7. " RFE   ,Receiver FIFO error" "-,Error"
bitfld.byte 0x00 6. "           TEMT     ,Transmitter empty" "-,Empty"
bitfld.byte 0x00 5. "                    THRE       ,Transmitter holding register empty" "-,Empty"
textline "            "
bitfld.byte 0x00 4. " BI    ,Break interrupt" "-,Occurred"
bitfld.byte 0x00 3. "        FE       ,Framing error" "-,Error"
bitfld.byte 0x00 2. "                    PE         ,Parity error" "-,Error"
textline "            "
bitfld.byte 0x00 1. " OE    ,Overrun error" "-,Error"
bitfld.byte 0x00 0. "           DR       ,Data ready" "-,Ready"
line.byte 0x01 "UMSR2,MODEM Status Register 2"
bitfld.byte 0x01 4. " CTS   ,Clear to send" "Negated,Asserted"
bitfld.byte 0x01 0. "        DCTS     ,Delta clear to send" "-,Changed"
group.byte (0x04600+0x07)++0x00
line.byte 0x00 "USCR2,Scratch Register 2"
rgroup.byte (0x04600+0x10)++0x00
line.byte 0x00 "UDSR2,DMA Status Register 2"
bitfld.byte 0x00 1. " TXRDY ,Transmitter ready" "-,Ready"
bitfld.byte 0x00 0. "           RXRDY    ,Receiver ready" "-,Ready"
width 0xb
tree.end
tree.end
elif ((CPU()=="MPC8314")||(CPU()=="MPC8315"))
tree "DUART"
tree "UART1"
width 12.
if (((data.byte(anc:(iobase()+(0x04500+0x03))))&0x80)==0x00)
hgroup.byte (0x04500)++0x00
hide.byte 0x00 "URBR/UTHR1,Receiver Buffer/Transmitter Holding Register 1"
in
group.byte (0x04500+0x01)++0x00
line.byte 0x00 "UIER1,Interrupt Enable Register 1"
bitfld.byte 0x00 3. " EMSI  ,Enable MODEM status interrupt" "-,Enabled"
bitfld.byte 0x00 2. "    ERLSI    ,Enable receiver line status interrupt" "-,Enabled"
bitfld.byte 0x00 1. "                  ETHREI     ,Enable transmitter holding register empty interrupt" "-,Enabled"
textline "                 "
bitfld.byte 0x00 0. " ERDAI ,Enable received data available interrupt" "-,Enabled"
rgroup.byte (0x04500+0x02)++0x00
line.byte 0x00 "UIIR1,Interrupt ID Register 1"
bitfld.byte 0x00 6.--7. " FE    ,FIFOs enabled" "00,01,10,11"
bitfld.byte 0x00 0.--3. "         IID[3:0] ,Interrupt ID Bits" "/CTS changed,Reserved,UTHR empty,Reserved,Received data available,Reserved,Receiver error,Reserved,Reserved,Reserved,Reserved,Reserved,Character time-out,Reserved,Reserved,Reserved"
wgroup.byte (0x04500+0x02)++0x00
line.byte 0x00 "UFCR1,FIFO Control Register 1"
bitfld.byte 0x00 6.--7. " RTL   ,Receiver trigger level" "1 byte,4 bytes,8 bytes,14 bytes"
bitfld.byte 0x00 3. "   DMS      ,DMA mode select" "Mode 0,Mode 1"
bitfld.byte 0x00 2. "                   TFR        ,Transmitter FIFO reset" "No action,Reset"
textline "                 "
bitfld.byte 0x00 1. " RFR   ,Receiver FIFO reset" "No action,Reset"
bitfld.byte 0x00 0. "  FEN      ,FIFO enable" "-,Enabled"
else
group.byte (0x04500)++0x02
line.byte 0x00 "UDLB1,Divisor Least Significant Byte Register 1"
line.byte 0x01 "UDMB1,Divisor Most Significant Byte Register 1"
line.byte 0x02 "UAFR1,Alternate Function Register 1"
bitfld.byte 0x02 1. " BO    ,Baud clock select" "-,Gated off"
bitfld.byte 0x02 0. "  CW       ,Concurrent write enable" "-,Enabled"
endif
if (((data.byte(anc:(iobase()+(0x04500+0x03))))&0x03)==0x00)
group.byte (0x04500+0x03)++0x01
line.byte 0x00 "ULCR1,Line Control Register 1"
bitfld.byte 0x00 7. " DLAB  ,Divisor latch access bit" "Disabled,Enabled"
bitfld.byte 0x00 6. "   SB       ,Set break" "UTHR data,0"
bitfld.byte 0x00 3.--5. "                SP/EPS/PEN ,Parity Selected" "No parity,Odd,No parity,Even,No parity,Mark,No parity,Space"
textline "                 "
bitfld.byte 0x00 2. " NTSB  ,Number of STOP bits" "1 bit,1.5 bits"
bitfld.byte 0x00 0.--1. "   WLS      ,Word length select" "5-bits,6-bits,7-bits,8-bits"
line.byte 0x01 "UMCR1,MODEM Control Register 1"
bitfld.byte 0x01 4. " LOOP  ,Local loop-back mode" "-,Enabled"
bitfld.byte 0x01 1. "    RTS      ,Ready to send" "Negated,Asserted"
else
group.byte (0x04500+0x03)++0x01
line.byte 0x00 "ULCR1,Line Control Register 1"
bitfld.byte 0x00 7. " DLAB  ,Divisor latch access bit" "Disabled,Enabled"
bitfld.byte 0x00 6. "   SB       ,Set break" "UTHR data,0"
bitfld.byte 0x00 3.--5. "                SP/EPS/PEN ,Parity Selected" "No parity,Odd,No parity,Even,No parity,Mark,No parity,Space"
textline "                 "
bitfld.byte 0x00 2. " NTSB  ,Number of STOP bits" "1 bit,2 bits"
bitfld.byte 0x00 0.--1. "     WLS      ,Word length select" "5-bits,6-bits,7-bits,8-bits"
line.byte 0x01 "UMCR1,MODEM Control Register 1"
bitfld.byte 0x01 4. " LOOP  ,Local loop-back mode" "-,Enabled"
bitfld.byte 0x01 1. "    RTS      ,Ready to send" "Negated,Asserted"
endif
rgroup.byte (0x04500+0x05)++0x01
line.byte 0x00 "ULSR1,Line Status Register 1"
bitfld.byte 0x00 7. " RFE   ,Receiver FIFO error" "-,Error"
bitfld.byte 0x00 6. "      TEMT     ,Transmitter empty" "-,Empty"
bitfld.byte 0x00 5. "                    THRE       ,Transmitter holding register empty" "-,Empty"
textline "                 "
bitfld.byte 0x00 4. " BI    ,Break interrupt" "-,Occurred"
bitfld.byte 0x00 3. "   FE       ,Framing error" "-,Error"
bitfld.byte 0x00 2. "                    PE         ,Parity error" "-,Error"
textline "                 "
bitfld.byte 0x00 1. " OE    ,Overrun error" "-,Error"
bitfld.byte 0x00 0. "      DR       ,Data ready" "-,Ready"
line.byte 0x01 "UMSR1,MODEM Status Register 1"
bitfld.byte 0x01 4. " CTS   ,Clear to send" "Negated,Asserted"
bitfld.byte 0x01 0. "   DCTS     ,Delta clear to send" "-,Changed"
group.byte (0x04500+0x07)++0x00
line.byte 0x00 "USCR1,Scratch Register 1"
rgroup.byte (0x04500+0x10)++0x00
line.byte 0x00 "UDSR1,DMA Status Register 1"
bitfld.byte 0x00 1. " TXRDY ,Transmitter ready" "-,Ready"
bitfld.byte 0x00 0. "      RXRDY    ,Receiver ready" "-,Ready"
width 0xb
tree.end
tree "UART2"
width 12.
if (((data.byte(anc:(iobase()+(0x04600+0x03))))&0x80)==0x00)
hgroup.byte (0x04600)++0x00
hide.byte 0x00 "URBR/UTHR2,Receiver Buffer/Transmitter Holding Register 2"
in
group.byte (0x04600+0x01)++0x00
line.byte 0x00 "UIER2,Interrupt Enable Register 2"
bitfld.byte 0x00 3. " EMSI  ,Enable MODEM status interrupt" "-,Enabled"
bitfld.byte 0x00 2. "    ERLSI    ,Enable receiver line status interrupt" "-,Enabled"
bitfld.byte 0x00 1. "                  ETHREI     ,Enable transmitter holding register empty interrupt" "-,Enabled"
textline "                 "
bitfld.byte 0x00 0. " ERDAI ,Enable received data available interrupt" "-,Enabled"
rgroup.byte (0x04600+0x02)++0x00
line.byte 0x00 "UIIR2,Interrupt ID Register 2"
bitfld.byte 0x00 6.--7. " FE    ,FIFOs enabled" "00,01,10,11"
bitfld.byte 0x00 0.--3. "         IID[3:0] ,Interrupt ID Bits" "/CTS changed,Reserved,UTHR empty,Reserved,Received data available,Reserved,Receiver error,Reserved,Reserved,Reserved,Reserved,Reserved,Character time-out,Reserved,Reserved,Reserved"
wgroup.byte (0x04600+0x02)++0x00
line.byte 0x00 "UFCR2,FIFO Control Register 2"
bitfld.byte 0x00 6.--7. " RTL   ,Receiver trigger level" "1 byte,4 bytes,8 bytes,14 bytes"
bitfld.byte 0x00 3. "   DMS      ,DMA mode select" "Mode 0,Mode 1"
bitfld.byte 0x00 2. "                   TFR        ,Transmitter FIFO reset" "No action,Reset"
textline "                 "
bitfld.byte 0x00 1. " RFR   ,Receiver FIFO reset" "No action,Reset"
bitfld.byte 0x00 0. "  FEN      ,FIFO enable" "-,Enabled"
else
group.byte (0x04600)++0x02
line.byte 0x00 "UDLB2,Divisor Least Significant Byte Register 2"
line.byte 0x01 "UDMB2,Divisor Most Significant Byte Register 2"
line.byte 0x02 "UAFR2,Alternate Function Register 2"
bitfld.byte 0x02 1. " BO    ,Baud clock select" "-,Gated off"
bitfld.byte 0x02 0. "  CW       ,Concurrent write enable" "-,Enabled"
endif
if (((data.byte(anc:(iobase()+(0x04600+0x03))))&0x03)==0x00)
group.byte (0x04600+0x03)++0x01
line.byte 0x00 "ULCR2,Line Control Register 2"
bitfld.byte 0x00 7. " DLAB  ,Divisor latch access bit" "Disabled,Enabled"
bitfld.byte 0x00 6. "   SB       ,Set break" "UTHR data,0"
bitfld.byte 0x00 3.--5. "                SP/EPS/PEN ,Parity Selected" "No parity,Odd,No parity,Even,No parity,Mark,No parity,Space"
textline "                 "
bitfld.byte 0x00 2. " NTSB  ,Number of STOP bits" "1 bit,1.5 bits"
bitfld.byte 0x00 0.--1. "   WLS      ,Word length select" "5-bits,6-bits,7-bits,8-bits"
line.byte 0x01 "UMCR2,MODEM Control Register 2"
bitfld.byte 0x01 4. " LOOP  ,Local loop-back mode" "-,Enabled"
bitfld.byte 0x01 1. "    RTS      ,Ready to send" "Negated,Asserted"
else
group.byte (0x04600+0x03)++0x01
line.byte 0x00 "ULCR2,Line Control Register 2"
bitfld.byte 0x00 7. " DLAB  ,Divisor latch access bit" "Disabled,Enabled"
bitfld.byte 0x00 6. "   SB       ,Set break" "UTHR data,0"
bitfld.byte 0x00 3.--5. "                SP/EPS/PEN ,Parity Selected" "No parity,Odd,No parity,Even,No parity,Mark,No parity,Space"
textline "                 "
bitfld.byte 0x00 2. " NTSB  ,Number of STOP bits" "1 bit,2 bits"
bitfld.byte 0x00 0.--1. "     WLS      ,Word length select" "5-bits,6-bits,7-bits,8-bits"
line.byte 0x01 "UMCR2,MODEM Control Register 2"
bitfld.byte 0x01 4. " LOOP  ,Local loop-back mode" "-,Enabled"
bitfld.byte 0x01 1. "    RTS      ,Ready to send" "Negated,Asserted"
endif
rgroup.byte (0x04600+0x05)++0x01
line.byte 0x00 "ULSR2,Line Status Register 2"
bitfld.byte 0x00 7. " RFE   ,Receiver FIFO error" "-,Error"
bitfld.byte 0x00 6. "      TEMT     ,Transmitter empty" "-,Empty"
bitfld.byte 0x00 5. "                    THRE       ,Transmitter holding register empty" "-,Empty"
textline "                 "
bitfld.byte 0x00 4. " BI    ,Break interrupt" "-,Occurred"
bitfld.byte 0x00 3. "   FE       ,Framing error" "-,Error"
bitfld.byte 0x00 2. "                    PE         ,Parity error" "-,Error"
textline "                 "
bitfld.byte 0x00 1. " OE    ,Overrun error" "-,Error"
bitfld.byte 0x00 0. "      DR       ,Data ready" "-,Ready"
line.byte 0x01 "UMSR2,MODEM Status Register 2"
bitfld.byte 0x01 4. " CTS   ,Clear to send" "Negated,Asserted"
bitfld.byte 0x01 0. "   DCTS     ,Delta clear to send" "-,Changed"
group.byte (0x04600+0x07)++0x00
line.byte 0x00 "USCR2,Scratch Register 2"
rgroup.byte (0x04600+0x10)++0x00
line.byte 0x00 "UDSR2,DMA Status Register 2"
bitfld.byte 0x00 1. " TXRDY ,Transmitter ready" "-,Ready"
bitfld.byte 0x00 0. "      RXRDY    ,Receiver ready" "-,Ready"
width 0xb
tree.end
tree.end
endif
tree "SPI (Serial Peripheral Interface)"
width 8.
group.long (0x07000+0x20)++0x03
line.long 0x00 "SPMODE,SPI Mode Register"
bitfld.long 0x00 30. " LOOP  ,Loop mode" "Normal,Loopback"
bitfld.long 0x00 29. "    CI  ,Clock invert" "Low,High"
bitfld.long 0x00 28. "       CP  ,Clock phase" "Middle,Beginning"
textline "                 "
bitfld.long 0x00 27. " DIV16 ,Divide by 16" "Clock,Clock/16"
bitfld.long 0x00 26. "    REV ,Reverse data mode" "LSB first,MSB first"
bitfld.long 0x00 25. "  M/S ,Master/slave" "Slave,Master"
textline "                 "
bitfld.long 0x00 24. " EN    ,Enable SPI" "-,Enabled"
bitfld.long 0x00 20.--23. "     LEN ,Character length in bits per character" "32-bit,Reserved,Reserved,4-bit,5-bit,6-bit,7-bit,8-bit,9-bit,10-bit,11-bit,12-bit,13-bit,14-bit,15-bit,16-bit"
bitfld.long 0x00 16.--19. "   PM  ,Prescale modulus select" "4,8,12,16,20,24,28,32,36,40,44,48,52,56,60,64"
textline "                 "
bitfld.long 0x00 12. " OD    ,Open drain mode" "Normal,Open drain"
group.long (0x07000+0x24)++0x03
line.long 0x00 "SPIE,SPI Event Register"
eventfld.long 0x00 14. " LT    ,Last Character Transmitted" "-,Last"
eventfld.long 0x00 13. "        DNR ,Data Not Ready" "-,Not ready"
eventfld.long 0x00 12. "  OV  ,Slave/Master Overrun" "-,Overrun"
textline "                 "
eventfld.long 0x00 11. " UN    ,Slave underrun" "-,Underrun"
eventfld.long 0x00 10. "    MME ,Multiple-master error" "-,Error"
bitfld.long 0x00 9. "      NE  ,Not empty" "-,Not empty"
textline "                 "
bitfld.long 0x00 8. " NF    ,Not full" "-,Not full"
group.long (0x07000+0x28)++0x03
line.long 0x00 "SPIM,SPI Mask Register"
bitfld.long 0x00 14. " LT    ,Last Character Transmitted Interrupt Mask" "Masked,Enabled"
bitfld.long 0x00 13. "     DNR ,Data Not Ready Interrupt Mask" "Masked,Enabled"
bitfld.long 0x00 12. "    OV  ,Slave overrun interrupt mask" "Masked,Enabled"
textline "                 "
bitfld.long 0x00 11. " UN    ,Slave underrun interrupt mask" "Masked,Enabled"
bitfld.long 0x00 10. "     MME ,Multiple-master error interrupt mask" "Masked,Enabled"
bitfld.long 0x00 9. "    NE  ,Not empty interrupt mask" "Masked,Enabled"
textline "                 "
bitfld.long 0x00 8. " NF    ,Not full interrupt mask" "Masked,Enabled"
sif ((CPU()!="MPC8314")&&(CPU()!="MPC8315"))        
group.long (0x07000+0x2c)++0x07    
line.long 0x00 "SPCOM,SPI Command Register"
bitfld.long 0x00 22. " LST   ,Last character" "-,Last"
line.long 0x04 "SPITD,SPI Transmit Data Hold Register"        
elif ((CPU()=="MPC8314")||(CPU()=="MPC8315"))
wgroup.long (0x07000+0x2c)++0x07    
line.long 0x00 "SPCOM,SPI Command Register"
bitfld.long 0x00 22. " LST   ,Last character" "-,Last"
line.long 0x04 "SPITD,SPI Transmit Data Hold Register"        
endif        
rgroup.long (0x07000+0x34)++0x03
line.long 0x00 "SPIRD,SPI Receive Data Hold Register"
width 0xb
tree.end
tree "GPIO (General Purpose I/O)"
width 10.
group.long 0x00c00++0x17
line.long 0x00 "GPDIR,GPIO Direction Register"
bitfld.long 0x00 31. " D0  ,Direction 0" "Input,Output"
bitfld.long 0x00 30. "  D1  ,Direction 1" "Input,Output"
bitfld.long 0x00 29. "  D2  ,Direction 2" "Input,Output"
textline "                   "
bitfld.long 0x00 28. " D3  ,Direction 3" "Input,Output"
bitfld.long 0x00 27. "  D4  ,Direction 4" "Input,Output"
bitfld.long 0x00 26. "  D5  ,Direction 5" "Input,Output"
textline "                   "
bitfld.long 0x00 25. " D6  ,Direction 6" "Input,Output"
bitfld.long 0x00 24. "  D7  ,Direction 7" "Input,Output"
bitfld.long 0x00 23. "  D8  ,Direction 8" "Input,Output"
textline "                   "
bitfld.long 0x00 22. " D9  ,Direction 9" "Input,Output"
bitfld.long 0x00 21. "  D10 ,Direction 10" "Input,Output"
bitfld.long 0x00 20. "  D11 ,Direction 11" "Input,Output"
textline "                   "
bitfld.long 0x00 19. " D12 ,Direction 12" "Input,Output"
bitfld.long 0x00 18. "  D13 ,Direction 13" "Input,Output"
bitfld.long 0x00 17. "  D14 ,Direction 14" "Input,Output"
textline "                   "
bitfld.long 0x00 16. " D15 ,Direction 15" "Input,Output"
bitfld.long 0x00 15. "  D16 ,Direction 16" "Input,Output"
bitfld.long 0x00 14. "  D17 ,Direction 17" "Input,Output"
textline "                   "
bitfld.long 0x00 13. " D18 ,Direction 18" "Input,Output"
bitfld.long 0x00 12. "  D19 ,Direction 19" "Input,Output"
bitfld.long 0x00 11. "  D20 ,Direction 20" "Input,Output"
textline "                   "
bitfld.long 0x00 10. " D21 ,Direction 21" "Input,Output"
bitfld.long 0x00 9. "  D22 ,Direction 22" "Input,Output"
bitfld.long 0x00 8. "  D23 ,Direction 23" "Input,Output"
textline "                   "
bitfld.long 0x00 7. " D24 ,Direction 24" "Input,Output"
bitfld.long 0x00 6. "  D25 ,Direction 25" "Input,Output"
bitfld.long 0x00 5. "  D26 ,Direction 26" "Input,Output"
textline "                   "
bitfld.long 0x00 4. " D27 ,Direction 27" "Input,Output"
bitfld.long 0x00 3. "  D28 ,Direction 28" "Input,Output"
bitfld.long 0x00 2. "  D29 ,Direction 29" "Input,Output"
textline "                   "
bitfld.long 0x00 1. " D30 ,Direction 30" "Input,Output"
bitfld.long 0x00 0. "  D31 ,Direction 31" "Input,Output"
width 10.
line.long 0x04 "GPODR,GPIO Open Drain Register"
bitfld.long 0x04 31. " D0  ,Open-drain configuration 0" "Output,Open-drain driver"
bitfld.long 0x04 30. "  D1  ,Open-drain configuration 1" "Output,Open-drain driver"
textline "                   "
bitfld.long 0x04 29. " D2  ,Open-drain configuration 2" "Output,Open-drain driver"
bitfld.long 0x04 28. "  D3  ,Open-drain configuration 3" "Output,Open-drain driver"
textline "                   "
bitfld.long 0x04 27. " D4  ,Open-drain configuration 4" "Output,Open-drain driver"
bitfld.long 0x04 26. "  D5  ,Open-drain configuration 5" "Output,Open-drain driver"
textline "                   "
bitfld.long 0x04 25. " D6  ,Open-drain configuration 6" "Output,Open-drain driver"
bitfld.long 0x04 24. "  D7  ,Open-drain configuration 7" "Output,Open-drain driver"
textline "                   "
bitfld.long 0x04 23. " D8  ,Open-drain configuration 8" "Output,Open-drain driver"
bitfld.long 0x04 22. "  D9  ,Open-drain configuration 9" "Output,Open-drain driver"
textline "                   "
bitfld.long 0x04 21. " D10 ,Open-drain configuration 10" "Output,Open-drain driver"
bitfld.long 0x04 20. "  D11 ,Open-drain configuration 11" "Output,Open-drain driver"
textline "                   "
bitfld.long 0x04 19. " D12 ,Open-drain configuration 12" "Output,Open-drain driver"
bitfld.long 0x04 18. "  D13 ,Open-drain configuration 13" "Output,Open-drain driver"
textline "                   "
bitfld.long 0x04 17. " D14 ,Open-drain configuration 14" "Output,Open-drain driver"
bitfld.long 0x04 16. "  D15 ,Open-drain configuration 15" "Output,Open-drain driver"
textline "                   "        
bitfld.long 0x04 15. " D16 ,Open-drain configuration 16" "Output,Open-drain driver"
bitfld.long 0x04 14. "  D17 ,Open-drain configuration 17" "Output,Open-drain driver"
textline "                   "
bitfld.long 0x04 13. " D18 ,Open-drain configuration 18" "Output,Open-drain driver"
bitfld.long 0x04 12. "  D19 ,Open-drain configuration 19" "Output,Open-drain driver"
textline "                   "
bitfld.long 0x04 11. " D20 ,Open-drain configuration 20" "Output,Open-drain driver"
bitfld.long 0x04 10. "  D21 ,Open-drain configuration 21" "Output,Open-drain driver"
textline "                   "
bitfld.long 0x04 9. " D22 ,Open-drain configuration 22" "Output,Open-drain driver"
bitfld.long 0x04 8. "  D23 ,Open-drain configuration 23" "Output,Open-drain driver"
textline "                   "
bitfld.long 0x04 7. " D24 ,Open-drain configuration 24" "Output,Open-drain driver"
bitfld.long 0x04 6. "  D25 ,Open-drain configuration 25" "Output,Open-drain driver"
textline "                   "
bitfld.long 0x04 5. " D26 ,Open-drain configuration 26" "Output,Open-drain driver"
bitfld.long 0x04 4. "  D27 ,Open-drain configuration 27" "Output,Open-drain driver"
textline "                   "
bitfld.long 0x04 3. " D28 ,Open-drain configuration 28" "Output,Open-drain driver"
bitfld.long 0x04 2. "  D29 ,Open-drain configuration 29" "Output,Open-drain driver"
textline "                   "
bitfld.long 0x04 1. " D30 ,Open-drain configuration 30" "Output,Open-drain driver"
bitfld.long 0x04 0. "  D31 ,Open-drain configuration 31" "Output,Open-drain driver"
width 10.
line.long 0x08 "GPDAT,GPIO Data Register"
bitfld.long 0x08 31. " D0  ,Data 0" "0,1"
bitfld.long 0x08 30. "  D1  ,Data 1" "0,1"
bitfld.long 0x08 29. "  D2  ,Data 2" "0,1"
bitfld.long 0x08 28. "  D3  ,Data 3" "0,1"
textline "                   "
bitfld.long 0x08 27. " D4  ,Data 4" "0,1"
bitfld.long 0x08 26. "  D5  ,Data 5" "0,1"
bitfld.long 0x08 25. "  D6  ,Data 6" "0,1"
bitfld.long 0x08 24. "  D7  ,Data 7" "0,1"
textline "                   "
bitfld.long 0x08 23. " D8  ,Data 8" "0,1"
bitfld.long 0x08 22. "  D9  ,Data 9" "0,1"
bitfld.long 0x08 21. "  D10 ,Data 10" "0,1"
bitfld.long 0x08 20. "  D11 ,Data 11" "0,1"
textline "                   "
bitfld.long 0x08 19. " D12 ,Data 12" "0,1"
bitfld.long 0x08 18. "  D13 ,Data 13" "0,1"
bitfld.long 0x08 17. "  D14 ,Data 14" "0,1"
bitfld.long 0x08 16. "  D15 ,Data 15" "0,1"
textline "                   "        
bitfld.long 0x08 15. " D16 ,Data 16" "0,1"
bitfld.long 0x08 14. "  D17 ,Data 17" "0,1"
bitfld.long 0x08 13. "  D18 ,Data 18" "0,1"
bitfld.long 0x08 12. "  D19 ,Data 19" "0,1"
textline "                   "
bitfld.long 0x08 11. " D20 ,Data 20" "0,1"
bitfld.long 0x08 10. "  D21 ,Data 21" "0,1"
bitfld.long 0x08 9. "  D22 ,Data 22" "0,1"
bitfld.long 0x08 8. "  D23 ,Data 23" "0,1"
textline "                   "
bitfld.long 0x08 7. " D24 ,Data 24" "0,1"
bitfld.long 0x08 6. "  D25 ,Data 25" "0,1"
bitfld.long 0x08 5. "  D26 ,Data 26" "0,1"
bitfld.long 0x08 4. "  D27 ,Data 27" "0,1"
textline "                   "
bitfld.long 0x08 3. " D28 ,Data 28" "0,1"
bitfld.long 0x08 2. "  D29 ,Data 29" "0,1"
bitfld.long 0x08 1. "  D30 ,Data 30" "0,1"
bitfld.long 0x08 0. "  D31 ,Data 31" "0,1"
width 10.
line.long 0x0c "GPIER,GPIO Interrupt Event Register"
eventfld.long 0x0c 31. " D0  ,Interrupt event 0" "-,Occurred"
eventfld.long 0x0c 30. "  D1  ,Interrupt event 1" "-,Occurred"
eventfld.long 0x0c 29. "  D2  ,Interrupt event 2" "-,Occurred"
textline "                   "
eventfld.long 0x0c 28. " D3  ,Interrupt event 3" "-,Occurred"
eventfld.long 0x0c 27. "  D4  ,Interrupt event 4" "-,Occurred"
eventfld.long 0x0c 26. "  D5  ,Interrupt event 5" "-,Occurred"
textline "                   "
eventfld.long 0x0c 25. " D6  ,Interrupt event 6" "-,Occurred"
eventfld.long 0x0c 24. "  D7  ,Interrupt event 7" "-,Occurred"
eventfld.long 0x0c 23. "  D8  ,Interrupt event 8" "-,Occurred"
textline "                   "
eventfld.long 0x0c 22. " D9  ,Interrupt event 9" "-,Occurred"
eventfld.long 0x0c 21. "  D10 ,Interrupt event 10" "-,Occurred"
eventfld.long 0x0c 20. "  D11 ,Interrupt event 11" "-,Occurred"
textline "                   "
eventfld.long 0x0c 19. " D12 ,Interrupt event 12" "-,Occurred"
eventfld.long 0x0c 18. "  D13 ,Interrupt event 13" "-,Occurred"
eventfld.long 0x0c 17. "  D14 ,Interrupt event 14" "-,Occurred"
textline "                   "
eventfld.long 0x0c 16. " D15 ,Interrupt event 15" "-,Occurred"
eventfld.long 0x0c 15. "  D16 ,Interrupt event 16" "-,Occurred"
eventfld.long 0x0c 14. "  D17 ,Interrupt event 17" "-,Occurred"
textline "                   "
eventfld.long 0x0c 13. " D18 ,Interrupt event 18" "-,Occurred"
eventfld.long 0x0c 12. "  D19 ,Interrupt event 19" "-,Occurred"
eventfld.long 0x0c 11. "  D20 ,Interrupt event 20" "-,Occurred"
textline "                   "
eventfld.long 0x0c 10. " D21 ,Interrupt event 21" "-,Occurred"
eventfld.long 0x0c 9. "  D22 ,Interrupt event 22" "-,Occurred"
eventfld.long 0x0c 8. "  D23 ,Interrupt event 23" "-,Occurred"
textline "                   "
eventfld.long 0x0c 7. " D24 ,Interrupt event 24" "-,Occurred"
eventfld.long 0x0c 6. "  D25 ,Interrupt event 25" "-,Occurred"
eventfld.long 0x0c 5. "  D26 ,Interrupt event 26" "-,Occurred"
textline "                   "
eventfld.long 0x0c 4. " D27 ,Interrupt event 27" "-,Occurred"
eventfld.long 0x0c 3. "  D28 ,Interrupt event 28" "-,Occurred"
eventfld.long 0x0c 2. "  D29 ,Interrupt event 29" "-,Occurred"
textline "                   "
eventfld.long 0x0c 1. " D30 ,Interrupt event 30" "-,Occurred"
eventfld.long 0x0c 0. "  D31 ,Interrupt event 31" "-,Occurred"
line.long 0x10 "GPIMR,GPIO Interrupt Mask Register"
bitfld.long 0x10 31. " D0  ,Interrupt mask 0" "Masked,Enabled"
bitfld.long 0x10 30. "   D1  ,Interrupt mask 1" "Masked,Enabled"
bitfld.long 0x10 29. "   D2  ,Interrupt mask 2" "Masked,Enabled"
textline "                   "
bitfld.long 0x10 28. " D3  ,Interrupt mask 3" "Masked,Enabled"
bitfld.long 0x10 27. "   D4  ,Interrupt mask 4" "Masked,Enabled"
bitfld.long 0x10 26. "   D5  ,Interrupt mask 5" "Masked,Enabled"
textline "                   "
bitfld.long 0x10 25. " D6  ,Interrupt mask 6" "Masked,Enabled"
bitfld.long 0x10 24. "   D7  ,Interrupt mask 7" "Masked,Enabled"
bitfld.long 0x10 23. "   D8  ,Interrupt mask 8" "Masked,Enabled"
textline "                   "
bitfld.long 0x10 22. " D9  ,Interrupt mask 9" "Masked,Enabled"
bitfld.long 0x10 21. "   D10 ,Interrupt mask 10" "Masked,Enabled"
bitfld.long 0x10 20. "   D11 ,Interrupt mask 11" "Masked,Enabled"
textline "                   "
bitfld.long 0x10 19. " D12 ,Interrupt mask 12" "Masked,Enabled"
bitfld.long 0x10 18. "   D13 ,Interrupt mask 13" "Masked,Enabled"
bitfld.long 0x10 17. "   D14 ,Interrupt mask 14" "Masked,Enabled"
textline "                   "
bitfld.long 0x10 16. " D15 ,Interrupt mask 15" "Masked,Enabled"
bitfld.long 0x10 15. "   D16 ,Interrupt mask 16" "Masked,Enabled"
bitfld.long 0x10 14. "   D17 ,Interrupt mask 17" "Masked,Enabled"
textline "                   "
bitfld.long 0x10 13. " D18 ,Interrupt mask 18" "Masked,Enabled"
bitfld.long 0x10 12. "   D19 ,Interrupt mask 19" "Masked,Enabled"
bitfld.long 0x10 11. "   D20 ,Interrupt mask 20" "Masked,Enabled"
textline "                   "
bitfld.long 0x10 10. " D21 ,Interrupt mask 21" "Masked,Enabled"
bitfld.long 0x10 9. "   D22 ,Interrupt mask 22" "Masked,Enabled"
bitfld.long 0x10 8. "   D23 ,Interrupt mask 23" "Masked,Enabled"
textline "                   "
bitfld.long 0x10 7. " D24 ,Interrupt mask 24" "Masked,Enabled"
bitfld.long 0x10 6. "   D25 ,Interrupt mask 25" "Masked,Enabled"
bitfld.long 0x10 5. "   D26 ,Interrupt mask 26" "Masked,Enabled"
textline "                   "
bitfld.long 0x10 4. " D27 ,Interrupt mask 27" "Masked,Enabled"
bitfld.long 0x10 3. "   D28 ,Interrupt mask 28" "Masked,Enabled"
bitfld.long 0x10 2. "   D29 ,Interrupt mask 29" "Masked,Enabled"
textline "                   "
bitfld.long 0x10 1. " D30 ,Interrupt mask 30" "Masked,Enabled"
bitfld.long 0x10 0. "   D31 ,Interrupt mask 31" "Masked,Enabled"
width 10.
line.long 0x14 "GPICR,GPIO Interrupt Control Register"
bitfld.long 0x14 31. " D0  ,Edge detection mode 0" "Any change,High-to-low change"
bitfld.long 0x14 30. "  D1  ,Edge detection mode 1" "Any change,High-to-low change"
textline "                   "
bitfld.long 0x14 29. " D2  ,Edge detection mode 2" "Any change,High-to-low change"
bitfld.long 0x14 28. "  D3  ,Edge detection mode 3" "Any change,High-to-low change"
textline "                   "
bitfld.long 0x14 27. " D4  ,Edge detection mode 4" "Any change,High-to-low change"
bitfld.long 0x14 26. "  D5  ,Edge detection mode 5" "Any change,High-to-low change"
textline "                   "
bitfld.long 0x14 25. " D6  ,Edge detection mode 6" "Any change,High-to-low change"
bitfld.long 0x14 24. "  D7  ,Edge detection mode 7" "Any change,High-to-low change"
textline "                   "
bitfld.long 0x14 23. " D8  ,Edge detection mode 8" "Any change,High-to-low change"
bitfld.long 0x14 22. "  D9  ,Edge detection mode 9" "Any change,High-to-low change"
textline "                   "
bitfld.long 0x14 21. " D10 ,Edge detection mode 10" "Any change,High-to-low change"
bitfld.long 0x14 20. "  D11 ,Edge detection mode 11" "Any change,High-to-low change"
textline "                   "
bitfld.long 0x14 19. " D12 ,Edge detection mode 12" "Any change,High-to-low change"
bitfld.long 0x14 18. "  D13 ,Edge detection mode 13" "Any change,High-to-low change"
textline "                   "
bitfld.long 0x14 17. " D14 ,Edge detection mode 14" "Any change,High-to-low change"
bitfld.long 0x14 16. "  D15 ,Edge detection mode 15" "Any change,High-to-low change"
textline "                   "        
bitfld.long 0x14 15. " D16 ,Edge detection mode 16" "Any change,High-to-low change"
bitfld.long 0x14 14. "  D17 ,Edge detection mode 17" "Any change,High-to-low change"
textline "                   "
bitfld.long 0x14 13. " D18 ,Edge detection mode 18" "Any change,High-to-low change"
bitfld.long 0x14 12. "  D19 ,Edge detection mode 19" "Any change,High-to-low change"
textline "                   "
bitfld.long 0x14 11. " D20 ,Edge detection mode 20" "Any change,High-to-low change"
bitfld.long 0x14 10. "  D21 ,Edge detection mode 21" "Any change,High-to-low change"
textline "                   "
bitfld.long 0x14 9. " D22 ,Edge detection mode 22" "Any change,High-to-low change"
bitfld.long 0x14 8. "  D23 ,Edge detection mode 23" "Any change,High-to-low change"
textline "                   "
bitfld.long 0x14 7. " D24 ,Edge detection mode 24" "Any change,High-to-low change"
bitfld.long 0x14 6. "  D25 ,Edge detection mode 25" "Any change,High-to-low change"
textline "                   "
bitfld.long 0x14 5. " D26 ,Edge detection mode 26" "Any change,High-to-low change"
bitfld.long 0x14 4. "  D27 ,Edge detection mode 27" "Any change,High-to-low change"
textline "                   "
bitfld.long 0x14 3. " D28 ,Edge detection mode 28" "Any change,High-to-low change"
bitfld.long 0x14 2. "  D29 ,Edge detection mode 29" "Any change,High-to-low change"
textline "                   "
bitfld.long 0x14 1. " D30 ,Edge detection mode 30" "Any change,High-to-low change"
bitfld.long 0x14 0. "  D31 ,Edge detection mode 31" "Any change,High-to-low change"
width 0xb
tree.end
sif ((CPU()=="MPC8314")||(CPU()=="MPC8315"))
tree "TDM (Time Division Multiplexing Interface)"
width 0xa
tree "Configuration Registers"
group.long 0x16000++0x13
line.long 0x00 "TDMGIR,TDM General Interface Register"    
bitfld.long 0x00 2. " LPBK ,DM loopback mode" "-,Loopback"
bitfld.long 0x00 1. "           CTS           ,Common TDM signals" "Independent,Shared"
bitfld.long 0x00 0. "        RTS           ,Receive and transmit sharing" "Independent,Shared"
line.long 0x04 "TDMRIR,TDM Receive Interface Register"
bitfld.long 0x04 16.--17. " RFWM ,Receive FIFO watermark" "1 or more,2 or more,3 or more,4 or more"
bitfld.long 0x04 15. "          RFEN          ,Receive FIFO enable" "-,Used"
bitfld.long 0x04 14. "               RWEN          ,Receive wide FIFO enable" "16bit/8 bit ,64 bit"
textline "                   "
bitfld.long 0x04 13. " RSO  ,Receive sync output" "Input,Output"
bitfld.long 0x04 11. "             RSL           ,Receive sync out length" "1 bit,Channel width"
bitfld.long 0x04 9. "      RCOE          ,Receive clock output enable" "Input,Output"
textline "                   "
bitfld.long 0x04 6. " RDMA ,Receive DMA" "-,Requested"
bitfld.long 0x04 4.--5. 1. 2. "          RFSD/RFSE/RDE ,Receive frame sync delay with the RDE and the RFSE bits" "0,0.5,0.5,0,1,1.5,1.5,1,2,2.5,2.5,2,3,3.5,3.5,3"
bitfld.long 0x04 3. "                RSA           ,Receive sync active" "Logic 0,Logic 1"
textline "                   "
bitfld.long 0x04 0. " RFDO ,Receive reversed data order" "Least significant,Most significant"
line.long 0x08 "TDMTIR,TDM Transmit Interface Register"
bitfld.long 0x08 16.--17. " TFWM ,Transmit FIFO Watermark" "1 or more,2 or more,3 or more,4 or more"
bitfld.long 0x08 15. "          TFEN          ,Transmit FIFO Enable" "-,Used"
bitfld.long 0x08 14. "               TWEN          ,Transmit Wide FIFO Enable" "16-bit /8-bit ,64-bit"
textline "                   "
bitfld.long 0x08 13. " TSO  ,Transmit sync output" "Input,Output"
bitfld.long 0x08 12. "             TAO           ,Transmit always output" "-,Always"
bitfld.long 0x08 11. "             TSL           ,Sync out length" "1 bit,Channel width"
textline "                   "
bitfld.long 0x08 9. " TCOE ,Transmit clock output enable" "Input,Output"
bitfld.long 0x08 6. "             TDMA          ,Transmit DMA Enable" "-,Requested"
bitfld.long 0x08 4.--5. 1. 2. "          TFSD/TFSE/TDE ,Transmit frame sync delay with the TDE and the TFSE bits" "0,0.5,0.5,0,1,1.5,1.5,1,2,2.5,2.5,2,3,3.5,3.5,3"
textline "                   "
bitfld.long 0x08 3. " TSA  ,Transmit sync active" "Logic 0,Logic 1"
bitfld.long 0x08 0. "            TRDO          ,Transmit reversed data order" "Least significant,Most significant"
line.long 0x0c "TDMRFP,TDM Receive Frame Parameters"
hexmask.long.byte 0x0c 16.--23. 1. " RNCF ,Receive number of channels in a TDM frame"
bitfld.long 0x0c 4.--5. "                 RCS           ,Receive channel size" "8 bits,8 bits u-Law,8 bits A-Law,16 bits"
bitfld.long 0x0c 2. "       RT1           ,Receive T1 frame" "Other,T1"
line.long 0x10 "TDMTFP,TDM Transmit Frame Parameters"
hexmask.long.byte 0x10 16.--23. 1. " TNCF ,Transmit number of channels in a TDM frame"
bitfld.long 0x10 4.--5. "                 TCS           ,Transmit channel size" "8 bits,8 bits u-Law,8 bits A-Law,16 bits"
bitfld.long 0x10 2. "       TT1           ,Transmit T1 frame" "Other,T1"        
tree.end
tree "Control Registers"
group.long (0x16000+0x020)++0x0f
line.long 0x00 "TDMRCEN0,TDM Receive Channel Enable 0"
line.long 0x04 "TDMRCEN1,TDM Receive Channel Enable 1"
line.long 0x08 "TDMRCEN2,TDM Receive Channel Enable 2"    
line.long 0x0c "TDMRCEN3,TDM Receive Channel Enable 3"    
group.long (0x16000+0x40)++0x0f
line.long 0x00 "TDMTCEN0,TDM Transmit Channel Enable 0"
line.long 0x04 "TDMTCEN1,TDM Transmit Channel Enable 1"
line.long 0x08 "TDMTCEN2,TDM Transmit Channel Enable 2"
line.long 0x0c "TDMTCEN3,TDM Transmit Channel Enable 3"
group.long (0x16000+0x60)++0x0f
line.long 0x00 "TDMTCMA0,TDM Transmit Channel Mask 0"
bitfld.long 0x00 31. " TC$2MA0   ,Transmit channel 0 mask bit" "-,Masked"
bitfld.long 0x00 30. "  TC$2MA1   ,Transmit channel 1 mask bit" "-,Masked"
bitfld.long 0x00 29. "  TC$2MA2   ,Transmit channel 2 mask bit" "-,Masked"
bitfld.long 0x00 28. "  TC$2MA3   ,Transmit channel 3 mask bit" "-,Masked"
textline "                   "
bitfld.long 0x00 27. " TC$2MA4   ,Transmit channel 4 mask bit" "-,Masked"
bitfld.long 0x00 26. "  TC$2MA5   ,Transmit channel 5 mask bit" "-,Masked"
bitfld.long 0x00 25. "  TC$2MA6   ,Transmit channel 6 mask bit" "-,Masked"
bitfld.long 0x00 24. "  TC$2MA7   ,Transmit channel 7 mask bit" "-,Masked"
textline "                   "
bitfld.long 0x00 23. " TC$2MA8   ,Transmit channel 8 mask bit" "-,Masked"
bitfld.long 0x00 22. "  TC$2MA9   ,Transmit channel 9 mask bit" "-,Masked"
bitfld.long 0x00 21. "  TC$2MA10  ,Transmit channel 10 mask bit" "-,Masked"
bitfld.long 0x00 20. "  TC$2MA11  ,Transmit channel 11 mask bit" "-,Masked"
textline "                   "
bitfld.long 0x00 19. " TC$2MA12  ,Transmit channel 12 mask bit" "-,Masked"
bitfld.long 0x00 18. "  TC$2MA13  ,Transmit channel 13 mask bit" "-,Masked"
bitfld.long 0x00 17. "  TC$2MA14  ,Transmit channel 14 mask bit" "-,Masked"
bitfld.long 0x00 16. "  TC$2MA15  ,Transmit channel 15 mask bit" "-,Masked"
textline "                   "
bitfld.long 0x00 15. " TC$2MA16  ,Transmit channel 16 mask bit" "-,Masked"
bitfld.long 0x00 14. "  TC$2MA17  ,Transmit channel 17 mask bit" "-,Masked"
bitfld.long 0x00 13. "  TC$2MA18  ,Transmit channel 18 mask bit" "-,Masked"
bitfld.long 0x00 12. "  TC$2MA19  ,Transmit channel 19 mask bit" "-,Masked"
textline "                   "
bitfld.long 0x00 11. " TC$2MA20  ,Transmit channel 20 mask bit" "-,Masked"
bitfld.long 0x00 10. "  TC$2MA21  ,Transmit channel 21 mask bit" "-,Masked"    
bitfld.long 0x00 9. "  TC$2MA22  ,Transmit channel 22 mask bit" "-,Masked"
bitfld.long 0x00 8. "  TC$2MA23  ,Transmit channel 23 mask bit" "-,Masked"
textline "                   "
bitfld.long 0x00 7. " TC$2MA24  ,Transmit channel 24 mask bit" "-,Masked"
bitfld.long 0x00 6. "  TC$2MA25  ,Transmit channel 25 mask bit" "-,Masked"
bitfld.long 0x00 5. "  TC$2MA26  ,Transmit channel 26 mask bit" "-,Masked"
bitfld.long 0x00 4. "  TC$2MA27  ,Transmit channel 27 mask bit" "-,Masked"
textline "                   "
bitfld.long 0x00 3. " TC$2MA28  ,Transmit channel 28 mask bit" "-,Masked"
bitfld.long 0x00 2. "  TC$2MA29  ,Transmit channel 29 mask bit" "-,Masked"
bitfld.long 0x00 1. "  TC$2MA30  ,Transmit channel 30 mask bit" "-,Masked"
bitfld.long 0x00 0. "  TC$2MA31  ,Transmit channel 31 mask bit" "-,Masked"    
line.long 0x04 "TDMTCMA1,TDM Transmit Channel Mask 1"
bitfld.long 0x04 31. " TC$2MA32  ,Transmit channel 32 mask bit" "-,Masked"
bitfld.long 0x04 30. "  TC$2MA33  ,Transmit channel 33 mask bit" "-,Masked"
bitfld.long 0x04 29. "  TC$2MA34  ,Transmit channel 34 mask bit" "-,Masked"
bitfld.long 0x04 28. "  TC$2MA35  ,Transmit channel 35 mask bit" "-,Masked"
textline "                   "
bitfld.long 0x04 27. " TC$2MA36  ,Transmit channel 36 mask bit" "-,Masked"
bitfld.long 0x04 26. "  TC$2MA37  ,Transmit channel 37 mask bit" "-,Masked"
bitfld.long 0x04 25. "  TC$2MA38  ,Transmit channel 38 mask bit" "-,Masked"
bitfld.long 0x04 24. "  TC$2MA39  ,Transmit channel 39 mask bit" "-,Masked"
textline "                   "
bitfld.long 0x04 23. " TC$2MA40  ,Transmit channel 40 mask bit" "-,Masked"
bitfld.long 0x04 22. "  TC$2MA41  ,Transmit channel 41 mask bit" "-,Masked"
bitfld.long 0x04 21. "  TC$2MA42  ,Transmit channel 42 mask bit" "-,Masked"
bitfld.long 0x04 20. "  TC$2MA43  ,Transmit channel 43 mask bit" "-,Masked"
textline "                   "
bitfld.long 0x04 19. " TC$2MA44  ,Transmit channel 44 mask bit" "-,Masked"
bitfld.long 0x04 18. "  TC$2MA45  ,Transmit channel 45 mask bit" "-,Masked"
bitfld.long 0x04 17. "  TC$2MA46  ,Transmit channel 46 mask bit" "-,Masked"
bitfld.long 0x04 16. "  TC$2MA47  ,Transmit channel 47 mask bit" "-,Masked"
textline "                   "
bitfld.long 0x04 15. " TC$2MA48  ,Transmit channel 48 mask bit" "-,Masked"
bitfld.long 0x04 14. "  TC$2MA49  ,Transmit channel 49 mask bit" "-,Masked"
bitfld.long 0x04 13. "  TC$2MA50  ,Transmit channel 50 mask bit" "-,Masked"
bitfld.long 0x04 12. "  TC$2MA51  ,Transmit channel 51 mask bit" "-,Masked"
textline "                   "
bitfld.long 0x04 11. " TC$2MA52  ,Transmit channel 52 mask bit" "-,Masked"
bitfld.long 0x04 10. "  TC$2MA53  ,Transmit channel 53 mask bit" "-,Masked"    
bitfld.long 0x04 9. "  TC$2MA54  ,Transmit channel 54 mask bit" "-,Masked"
bitfld.long 0x04 8. "  TC$2MA55  ,Transmit channel 55 mask bit" "-,Masked"
textline "                   "
bitfld.long 0x04 7. " TC$2MA56  ,Transmit channel 56 mask bit" "-,Masked"
bitfld.long 0x04 6. "  TC$2MA57  ,Transmit channel 57 mask bit" "-,Masked"
bitfld.long 0x04 5. "  TC$2MA58  ,Transmit channel 58 mask bit" "-,Masked"
bitfld.long 0x04 4. "  TC$2MA59  ,Transmit channel 59 mask bit" "-,Masked"
textline "                   "
bitfld.long 0x04 3. " TC$2MA60  ,Transmit channel 60 mask bit" "-,Masked"
bitfld.long 0x04 2. "  TC$2MA61  ,Transmit channel 61 mask bit" "-,Masked"
bitfld.long 0x04 1. "  TC$2MA62  ,Transmit channel 62 mask bit" "-,Masked"
bitfld.long 0x04 0. "  TC$2MA63  ,Transmit channel 63 mask bit" "-,Masked"    
line.long 0x08 "TDMTCMA2,TDM Transmit Channel Mask 2"
bitfld.long 0x08 31. " TC$2MA64  ,Transmit channel 64 mask bit" "-,Masked"
bitfld.long 0x08 30. "  TC$2MA65  ,Transmit channel 65 mask bit" "-,Masked"
bitfld.long 0x08 29. "  TC$2MA66  ,Transmit channel 66 mask bit" "-,Masked"
bitfld.long 0x08 28. "  TC$2MA67  ,Transmit channel 67 mask bit" "-,Masked"
textline "                   "
bitfld.long 0x08 27. " TC$2MA68  ,Transmit channel 68 mask bit" "-,Masked"
bitfld.long 0x08 26. "  TC$2MA69  ,Transmit channel 69 mask bit" "-,Masked"
bitfld.long 0x08 25. "  TC$2MA70  ,Transmit channel 70 mask bit" "-,Masked"
bitfld.long 0x08 24. "  TC$2MA71  ,Transmit channel 71 mask bit" "-,Masked"
textline "                   "
bitfld.long 0x08 23. " TC$2MA72  ,Transmit channel 72 mask bit" "-,Masked"
bitfld.long 0x08 22. "  TC$2MA73  ,Transmit channel 73 mask bit" "-,Masked"
bitfld.long 0x08 21. "  TC$2MA74  ,Transmit channel 74 mask bit" "-,Masked"
bitfld.long 0x08 20. "  TC$2MA75  ,Transmit channel 75 mask bit" "-,Masked"
textline "                   "
bitfld.long 0x08 19. " TC$2MA76  ,Transmit channel 76 mask bit" "-,Masked"
bitfld.long 0x08 18. "  TC$2MA77  ,Transmit channel 77 mask bit" "-,Masked"
bitfld.long 0x08 17. "  TC$2MA78  ,Transmit channel 78 mask bit" "-,Masked"
bitfld.long 0x08 16. "  TC$2MA79  ,Transmit channel 79 mask bit" "-,Masked"
textline "                   "
bitfld.long 0x08 15. " TC$2MA80  ,Transmit channel 80 mask bit" "-,Masked"
bitfld.long 0x08 14. "  TC$2MA81  ,Transmit channel 81 mask bit" "-,Masked"
bitfld.long 0x08 13. "  TC$2MA82  ,Transmit channel 82 mask bit" "-,Masked"
bitfld.long 0x08 12. "  TC$2MA83  ,Transmit channel 83 mask bit" "-,Masked"
textline "                   "
bitfld.long 0x08 11. " TC$2MA84  ,Transmit channel 84 mask bit" "-,Masked"
bitfld.long 0x08 10. "  TC$2MA85  ,Transmit channel 85 mask bit" "-,Masked"    
bitfld.long 0x08 9. "  TC$2MA86  ,Transmit channel 86 mask bit" "-,Masked"
bitfld.long 0x08 8. "  TC$2MA87  ,Transmit channel 87 mask bit" "-,Masked"
textline "                   "
bitfld.long 0x08 7. " TC$2MA88  ,Transmit channel 88 mask bit" "-,Masked"
bitfld.long 0x08 6. "  TC$2MA89  ,Transmit channel 89 mask bit" "-,Masked"
bitfld.long 0x08 5. "  TC$2MA90  ,Transmit channel 90 mask bit" "-,Masked"
bitfld.long 0x08 4. "  TC$2MA91  ,Transmit channel 91 mask bit" "-,Masked"
textline "                   "
bitfld.long 0x0 3. " TC$2MA92  ,Transmit channel 92 mask bit" "-,Masked"
bitfld.long 0x08 2. "  TC$2MA93  ,Transmit channel 93 mask bit" "-,Masked"
bitfld.long 0x08 1. "  TC$2MA94  ,Transmit channel 94 mask bit" "-,Masked"
bitfld.long 0x08 0. "  TC$2MA95  ,Transmit channel 95 mask bit" "-,Masked"    
line.long 0x0c "TDMTCMA3,TDM Transmit Channel Mask 3"
bitfld.long 0x0c 31. " TC$2MA96  ,Transmit channel 96 mask bit" "-,Masked"
bitfld.long 0x0c 30. "  TC$2MA97  ,Transmit channel 97 mask bit" "-,Masked"
bitfld.long 0x0c 29. "  TC$2MA98  ,Transmit channel 98 mask bit" "-,Masked"
bitfld.long 0x0c 28. "  TC$2MA99  ,Transmit channel 99 mask bit" "-,Masked"
textline "                   "
bitfld.long 0x0c 27. " TC$2MA100 ,Transmit channel 100 mask bit" "-,Masked"
bitfld.long 0x0c 26. "  TC$2MA101 ,Transmit channel 101 mask bit" "-,Masked"
bitfld.long 0x0c 25. "  TC$2MA102 ,Transmit channel 102 mask bit" "-,Masked"
bitfld.long 0x0c 24. "  TC$2MA103 ,Transmit channel 103 mask bit" "-,Masked"
textline "                   "
bitfld.long 0x0c 23. " TC$2MA104 ,Transmit channel 104 mask bit" "-,Masked"
bitfld.long 0x0c 22. "  TC$2MA105 ,Transmit channel 105 mask bit" "-,Masked"
bitfld.long 0x0c 21. "  TC$2MA106 ,Transmit channel 106 mask bit" "-,Masked"
bitfld.long 0x0c 20. "  TC$2MA107 ,Transmit channel 107 mask bit" "-,Masked"
textline "                   "
bitfld.long 0x0c 19. " TC$2MA108 ,Transmit channel 108 mask bit" "-,Masked"
bitfld.long 0x0c 18. "  TC$2MA109 ,Transmit channel 109 mask bit" "-,Masked"
bitfld.long 0x0c 17. "  TC$2MA110 ,Transmit channel 110 mask bit" "-,Masked"
bitfld.long 0x0c 16. "  TC$2MA111 ,Transmit channel 111 mask bit" "-,Masked"
textline "                   "
bitfld.long 0x0c 15. " TC$2MA112 ,Transmit channel 112 mask bit" "-,Masked"
bitfld.long 0x0c 14. "  TC$2MA113 ,Transmit channel 113 mask bit" "-,Masked"
bitfld.long 0x0c 13. "  TC$2MA114 ,Transmit channel 114 mask bit" "-,Masked"
bitfld.long 0x0c 12. "  TC$2MA115 ,Transmit channel 115 mask bit" "-,Masked"
textline "                   "
bitfld.long 0x0c 11. " TC$2MA116 ,Transmit channel 116 mask bit" "-,Masked"
bitfld.long 0x0c 10. "  TC$2MA117 ,Transmit channel 117 mask bit" "-,Masked"    
bitfld.long 0x0c 9. "  TC$2MA118 ,Transmit channel 118 mask bit" "-,Masked"
bitfld.long 0x0c 8. "  TC$2MA119 ,Transmit channel 119 mask bit" "-,Masked"
textline "                   "
bitfld.long 0x0c 7. " TC$2MA120 ,Transmit channel 120 mask bit" "-,Masked"
bitfld.long 0x0c 6. "  TC$2MA121 ,Transmit channel 121 mask bit" "-,Masked"
bitfld.long 0x0c 5. "  TC$2MA122 ,Transmit channel 122 mask bit" "-,Masked"
bitfld.long 0x0c 4. "  TC$2MA123 ,Transmit channel 123 mask bit" "-,Masked"
textline "                   "
bitfld.long 0x0c 3. " TC$2MA124 ,Transmit channel 124 mask bit" "-,Masked"
bitfld.long 0x0c 2. "  TC$2MA125 ,Transmit channel 125 mask bit" "-,Masked"
bitfld.long 0x0c 1. "  TC$2MA126 ,Transmit channel 126 mask bit" "-,Masked"
bitfld.long 0x0c 0. "  TC$2MA127 ,Transmit channel 127 mask bit" "-,Masked"        
width 0xa
group.long (0x16000+0x80)++0x0f
line.long 0x00 "TDMRCR,TDM Receive Control Register"
bitfld.long 0x00 0. " REN   ,Receive enable" "-,Enabled"
line.long 0x04 "TDMTCR,TDM Transmit Control Register"
bitfld.long 0x04 0. " TEN   ,Transmit enable" "-,Enabled"
line.long 0x08 "TDMRIER,TDM Receive Interrupt Enable Register"    
bitfld.long 0x08 8. " RCEUE ,Receive channel enable update enable" "Masked,Enabled"
bitfld.long 0x08 7. "  RLCEE ,Receive last channel event enable" "Masked,Enabled"
bitfld.long 0x08 6. "  RFSEE ,Receive frame sync event enable" "Masked,Enabled"
bitfld.long 0x08 5. "  RFFEE ,Receive FIFO full event enable" "Masked,Enabled"
textline "                   "
bitfld.long 0x08 4. " RDREE ,Receive data ready event enable" "Masked,Enabled"
bitfld.long 0x08 3. "  RSEEE ,Receive sync error event enable" "Masked,Enabled"
bitfld.long 0x08 2. "  ROEE  ,Receive overrun event enable" "Masked,Enabled"
line.long 0x0c "TDMTIER,TDM Transmit Interrupt Enable Register"
bitfld.long 0x0c 8. " TCEUE ,Transmit channel enable update enable" "Masked,Enabled"
bitfld.long 0x0c 7. "  TLCEE ,Transmit last channel event enable" "Masked,Enabled"
bitfld.long 0x0c 6. "  TFSEE ,Transmit frame sync event enable" "Masked,Enabled"
bitfld.long 0x0c 5. "  TFEEE ,Transmit FIFO empty event enable" "Masked,Enabled"
textline "                   "
bitfld.long 0x0c 4. " TDREE ,Transmit data register empty event enable" "Masked,Enabled"
bitfld.long 0x0c 3. "  TSEEE ,Transmit sync error event enable" "Masked,Enabled"
bitfld.long 0x0c 2. "  TUEE  ,Transmit underrun event enable" "Masked,Enabled"
tree.end
width 0xa
tree "Status Registers"
group.long (0x16000+0xa0)++0x0f
line.long 0x00 "TDMRER,TDM Receive Event Register"
eventfld.long 0x00 8. "         RCEU  ,Receive channel enable update" "-,Updated"
eventfld.long 0x00 7. "   RLC  ,Receive last channel" "-,Received"
eventfld.long 0x00 6. "  RFS  ,Receive frame sync" "-,Received"
bitfld.long 0x00 5. "  RFF ,Receive FIFO full" "-,Full"
textline "                           "
bitfld.long 0x00 4. " RDR   ,Receive data ready" "-,Ready"
eventfld.long 0x00 3. "     RSE  ,Receive sync error" "-,Error"
eventfld.long 0x00 2. "     ROE  ,Receive overrun error" "-,Overrun"
line.long 0x04 "TDMTER,TDM Transmit Event Register"
eventfld.long 0x04 8. "         TCEU  ,Transmit channel enable update" "-,Updated"
eventfld.long 0x04 7. "   TLC  ,Transmit last channel" "-,Received"
eventfld.long 0x04 6. "  TFS  ,Transmit frame sync" "-,Received"
bitfld.long 0x04 5. "  TFE ,Transmit FIFO empty" "-,Empty"
textline "                           "
bitfld.long 0x04 4. " TDR   ,RTransmit data register empty" "-,Empty"
eventfld.long 0x04 3. "     TSE  ,Transmit sync error" "-,Error"
eventfld.long 0x04 2. "     TUE  ,Transmitter underrun error" "-,Underrun"    
line.long 0x08 "TDMRSR,TDMReceive Status Register"
bitfld.long 0x08 3.--5. "         RFCNT ,Receive FIFO counter" "0 words,1 word,2 words,3 words,4 words,Reserved,Reserved,Reserved"
bitfld.long 0x08 1.--2. "  RSSS ,Receive sync synchronization status" "HUNT,WAIT,PRESYNC,SYNC"
bitfld.long 0x08 0. "   RENS ,Receive enable status" "-,Enabled"
line.long 0x0c "TDMTSR,TDM Transmit Status Register"
bitfld.long 0x0c 3.--5. "         TFCNT ,Transmit FIFO counter" "0 words,1 word,2 words,3 words,4 words,Reserved,Reserved,Reserved"
bitfld.long 0x0c 1.--2. "  TSSS ,Transmit sync synchronization status" "HUNT,WAIT,PRESYNC,SYNC"
bitfld.long 0x0c 0. "   TENS ,Transmit enable status" "-,Enabled"    
tree.end
tree "Data Registers"
rgroup. (0x16000+0x100)++0x07
line.quad 0x00 "TDMRDREG,TDM Receive Data Register"
wgroup (0x16000+0x108)++0x07
line.quad 0x00 "TDMTDREG,TDM Transmit Data Register"
tree.end
tree "Clock Registers"
group.long (0x16000+0x180)++0x07
line.long 0x00 "TDMCDVR,TDMCLK_DIV_VAL_RX Register"
line.long 0x04 "TDMCDVT,TDMCLK_DIV_VAL_TX Register"
tree.end

tree.end
tree "DMAC (TDM DMA Controller)"
width 0xa
group.long 0x2c000++0x03
line.long 0x00 "DMACR,DMA Control Register"
bitfld.long 0x00 17. " CX         ,Cancel transfer" "Normal,Cancelled"
bitfld.long 0x00 16. "     ECX       ,Error cancel transfer" "Normal,Cancelled"
bitfld.long 0x00 14.--15. "       GRP3PRI     ,Channel group 3 priority" "Level 0,Level 1,Level 2,Level 3"
textline "                   "
bitfld.long 0x00 12.--13. " GRP2PRI    ,Channel group 2 priority" "Level 0,Level 1,Level 2,Level 3"        
bitfld.long 0x00 10.--11. "       GRP1PRI   ,Channel group 1 priority" "Level 0,Level 1,Level 2,Level 3"
bitfld.long 0x00 8.--9. "         GRP0PRI     ,Channel group 0 priority" "Level 0,Level 1,Level 2,Level 3"
textline "                   "
bitfld.long 0x00 7. " EMLM       ,Enable minor loop mapping" "Disabled,Enabled"
bitfld.long 0x00 6. "      CLM       ,Continuous link mode" "Disabled,Enabled"
bitfld.long 0x00 5. "        HALT        ,Halt DMA operations" "Normal,Halted"
textline "                   "
bitfld.long 0x00 4. " HOE        ,Halt on error" "Normal,Halted"
bitfld.long 0x00 3. "        ERGA      ,Enable round robin group arbitration" "Fixed priority,Round robin"
bitfld.long 0x00 2. "  ERCA        ,Enable round robin channel arbitration" "Fixed priority,Round robin"
textline "                   "
bitfld.long 0x00 1. " EDBG       ,Enable debug" "Ignored,Enabled"
bitfld.long 0x00 0. "       EBW       ,Enable buffered writes" "Not asserted,Asserted"
rgroup.long (0x2c000+0x04)++0x03
line.long 0x00 "DMAES,DMA Error Status"
bitfld.long 0x00 31. " VLD        ,Logical OR of all DMAERRH and DMAERRL status bits" "No error,Error"
bitfld.long 0x00 16. "      ECX       ,Transfer cancelled" "Not cancelled,Cancelled"
bitfld.long 0x00 15. "   GPE         ,Group priority error" "No error,Error"
textline "                   "
bitfld.long 0x00 14. " CPE        ,Channel priority error" "No error,Error"
bitfld.long 0x00 8.--13. "      ERRCHN    ,Error channel number or cancelled channel number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 7. "              SAE         ,Source address error" "No error,Error"
textline "                   "
bitfld.long 0x00 6. " SOE        ,Source offset error" "No error,Error"
bitfld.long 0x00 5. "      DAE       ,Destination address error" "No error,Error"
bitfld.long 0x00 4. "        DOE         ,Destination offset error" "No error,Error"
textline "                   "
bitfld.long 0x00 3. " NCE        ,Nbytes/citer configuration error" "No error,Error"
bitfld.long 0x00 2. "      SGE       ,Scatter/gather configuration error" "No error,Error"
bitfld.long 0x00 1. "        SBE         ,Source bus error" "No error,Error"
textline "                   "
bitfld.long 0x00 0. " DBE        ,Destination bus error" "No error,Error"
group.long (0x2c000+0x0c)++0x03
line.long 0x00 "DMAERQ,DMA Enable Request Register"
;        bitfld.long 0x00 31. " ERQ31      ,Enable DMA request 31" "Disabled,Enabled"
;        bitfld.long 0x00 30. "      ERQ30     ,Enable DMA request 30" "Disabled,Enabled"
;        bitfld.long 0x00 29. "        ERQ29       ,Enable DMA request 29" "Disabled,Enabled"        
;        textline "                   "
;        bitfld.long 0x00 28. " ERQ28      ,Enable DMA request 28" "Disabled,Enabled"        
;        bitfld.long 0x00 27. "      ERQ27     ,Enable DMA request 27" "Disabled,Enabled"
;        bitfld.long 0x00 26. "        ERQ26       ,Enable DMA request 26" "Disabled,Enabled"
;        textline "                   "
;        bitfld.long 0x00 25. " ERQ25      ,Enable DMA request 25" "Disabled,Enabled"
;        bitfld.long 0x00 24. "      ERQ24     ,Enable DMA request 24" "Disabled,Enabled"                
;        bitfld.long 0x00 23. "        ERQ23       ,Enable DMA request 23" "Disabled,Enabled"
;        textline "                   "
;        bitfld.long 0x00 22. " ERQ22      ,Enable DMA request 22" "Disabled,Enabled"
;        bitfld.long 0x00 21. "      ERQ21     ,Enable DMA request 21" "Disabled,Enabled"
;        bitfld.long 0x00 20. "        ERQ20       ,Enable DMA request 20" "Disabled,Enabled"        
;        textline "                   "
;        bitfld.long 0x00 19. " ERQ19      ,Enable DMA request 19" "Disabled,Enabled"        
;        bitfld.long 0x00 18. "      ERQ18     ,Enable DMA request 18" "Disabled,Enabled"
;        bitfld.long 0x00 17. "        ERQ17       ,Enable DMA request 17" "Disabled,Enabled"
;        textline "                   "
;        bitfld.long 0x00 16. " ERQ16     ,Enable DMA request 16" "Disabled,Enabled"        
bitfld.long 0x00 15. " ERQ15      ,Enable DMA request 15" "Disabled     ,Enabled"
bitfld.long 0x00 14. " ERQ14      ,Enable DMA request 14" "Disabled     ,Enabled"        
bitfld.long 0x00 13. " ERQ13      ,Enable DMA request 13" "Disabled     ,Enabled"
bitfld.long 0x00 12. " ERQ12      ,Enable DMA request 12" "Disabled     ,Enabled"        
textline "                   "
bitfld.long 0x00 11. " ERQ11      ,Enable DMA request 11" "Disabled     ,Enabled"
bitfld.long 0x00 10. " ERQ10      ,Enable DMA request 10" "Disabled     ,Enabled"
bitfld.long 0x00 9.  " ERQ9       ,Enable DMA request 9" "Disabled     ,Enabled"        
bitfld.long 0x00 8.  " ERQ8       ,Enable DMA request 8" "Disabled     ,Enabled"        
textline "                   "
bitfld.long 0x00 7.  " ERQ7       ,Enable DMA request 7" "Disabled     ,Enabled"
bitfld.long 0x00 6.  " ERQ6       ,Enable DMA request 6" "Disabled     ,Enabled"
bitfld.long 0x00 5.  " ERQ5       ,Enable DMA request 5" "Disabled     ,Enabled"
bitfld.long 0x00 4.  " ERQ4       ,Enable DMA request 4" "Disabled     ,Enabled"                
textline "                   "
bitfld.long 0x00 3.  " ERQ3       ,Enable DMA request 3" "Disabled     ,Enabled"
bitfld.long 0x00 2.  " ERQ2       ,Enable DMA request 2" "Disabled     ,Enabled"
bitfld.long 0x00 1.  " ERQ1       ,Enable DMA request 1" "Disabled     ,Enabled"
bitfld.long 0x00 0.  " ERQ0       ,Enable DMA request 0" "Disabled     ,Enabled"
group.long (0x2c000+0x14)++0x03
line.long 0x00 "DMAEEI,DMA Enable Error Interrupt Register"
;        bitfld.long 0x00 31. " EEI31      ,Enable error interrupt 31" "Disabled,Enabled"
;        bitfld.long 0x00 30. "      EEI30     ,Enable error interrupt 30" "Disabled,Enabled"
;        bitfld.long 0x00 29. "        EEI29       ,Enable error interrupt 29" "Disabled,Enabled"        
;        textline "                   "
;        bitfld.long 0x00 28. " EEI28      ,Enable error interrupt 28" "Disabled,Enabled"        
;        bitfld.long 0x00 27. "      EEI27     ,Enable error interrupt 27" "Disabled,Enabled"
;        bitfld.long 0x00 26. "        EEI26       ,Enable error interrupt 26" "Disabled,Enabled"
;        textline "                   "
;        bitfld.long 0x00 25. " EEI25      ,Enable error interrupt 25" "Disabled,Enabled"
;        bitfld.long 0x00 24. "      EEI24     ,Enable error interrupt 24" "Disabled,Enabled"                
;        bitfld.long 0x00 23. "        EEI23       ,Enable error interrupt 23" "Disabled,Enabled"
;        textline "                   "
;        bitfld.long 0x00 22. " EEI22      ,Enable error interrupt 22" "Disabled,Enabled"
;        bitfld.long 0x00 21. "      EEI21     ,Enable error interrupt 21" "Disabled,Enabled"
;        bitfld.long 0x00 20. "        EEI20       ,Enable error interrupt 20" "Disabled,Enabled"        
;        textline "                   "
;        bitfld.long 0x00 19. " EEI19      ,Enable error interrupt 19" "Disabled,Enabled"        
;        bitfld.long 0x00 18. "      EEI18     ,Enable error interrupt 18" "Disabled,Enabled"
;        bitfld.long 0x00 17. "        EEI17       ,Enable error interrupt 17" "Disabled,Enabled"
;        textline "                   "
;        bitfld.long 0x00 16. " EEI16      ,Enable error interrupt 16" "Disabled,Enabled"        
bitfld.long 0x00 15. " EEI15      ,Enable error interrupt 15" "Disabled     ,Enabled"
bitfld.long 0x00 14. " EEI14      ,Enable error interrupt 14" "Disabled     ,Enabled"        
bitfld.long 0x00 13. " EEI13      ,Enable error interrupt 13" "Disabled     ,Enabled"
bitfld.long 0x00 12. " EEI12      ,Enable error interrupt 12" "Disabled     ,Enabled"        
textline "                   "
bitfld.long 0x00 11. " EEI11      ,Enable error interrupt 11" "Disabled     ,Enabled"
bitfld.long 0x00 10. " EEI0       ,Enable error interrupt 10" "Disabled     ,Enabled"
bitfld.long 0x00 9.  " EEI9       ,Enable error interrupt 9" "Disabled     ,Enabled"        
bitfld.long 0x00 8.  " EEI8       ,Enable error interrupt 8" "Disabled     ,Enabled"        
textline "                   "
bitfld.long 0x00 7.  " EEI7       ,Enable error interrupt 7" "Disabled     ,Enabled"
bitfld.long 0x00 6.  " EEI6       ,Enable error interrupt 6" "Disabled     ,Enabled"
bitfld.long 0x00 5.  " EEI5       ,Enable error interrupt 5" "Disabled     ,Enabled"
bitfld.long 0x00 4.  " EEI4       ,Enable error interrupt 4" "Disabled     ,Enabled"                
textline "                   "
bitfld.long 0x00 3.  " EEI3       ,Enable error interrupt 3" "Disabled     ,Enabled"
bitfld.long 0x00 2.  " EEI2       ,Enable error interrupt 2" "Disabled     ,Enabled"
bitfld.long 0x00 1.  " EEI1       ,Enable error interrupt 1" "Disabled     ,Enabled"
bitfld.long 0x00 0.  " EEI0       ,Enable error interrupt 0" "Disabled     ,Enabled"
group.byte (0x2c000+0x18)++0x07
line.byte 0x00 "DMASERQ,DMA Set Enable Request"
bitfld.byte 0x00 7. "     NOP        ,No operation" "Normal,No operation"
hexmask.byte 0x00 0.--6. 1. "  SERQ[6:0] ,Set enable request"
line.byte 0x01 "DMACERQ,DMA Clear Enable Request"
bitfld.byte 0x01 7. "     NOP        ,No operation" "Normal,No operation"
hexmask.byte 0x01 0.--6. 1. "  CERQ[6:0] ,Clear enable request"        
line.byte 0x02 "DMASEEI,DMA Set Enable Error Interrupt"
bitfld.byte 0x02 7. "     NOP        ,No operation" "Normal,No operation"
hexmask.byte 0x02 0.--6. 1. "  SEEI[6:0] ,Set enable error interrupt"        
line.byte 0x03 "DMACEEI,DMA Clear Enable Error Interrupt"
bitfld.byte 0x03 7. "     NOP        ,No operation" "Normal,No operation"
hexmask.byte 0x03 0.--6. 1. "  CEEI[6:0] ,Clear enable error interrupt"            
line.byte 0x04 "DMACINT,DMA Clear Interrupt Request"
bitfld.byte 0x04 7. "     NOP        ,No operation" "Normal,No operation"
hexmask.byte 0x04 0.--6. 1. "  CINT[6:0] ,Clear interrupt request"
line.byte 0x05 "DMACERR,DMA Clear Error"
bitfld.byte 0x05 7. "     NOP        ,No operation" "Normal,No operation"
hexmask.byte 0x05 0.--6. 1. "  CERR[6:0] ,Clear error indicator"
line.byte 0x06 "DMASSRT,DMA Set START Bit"
bitfld.byte 0x06 7. "     NOP        ,No operation" "Normal,No operation"
hexmask.byte 0x06 0.--6. 1. "  SSRT[6:0] ,Set START bits (channel service request)"
line.byte 0x07 "DMACDNE,DMA Clear DONE Status"
bitfld.byte 0x07 7. "     NOP        ,No operation" "Normal,No operation"
hexmask.byte 0x07 0.--6. 1. "  CDNE[6:0] ,Clear DONE status bits"    
group.long (0x2c000+0x24)++0x03
line.long 0x00 "DMAINT,DMA Interrupt Request Register"
;        eventfld.long 0x00 31. " INT31      ,DMA interrupt request 31" "Cleared,Actived"
;        eventfld.long 0x00 30. "       INT30     ,DMA interrupt request 30" "Cleared,Actived"
;        eventfld.long 0x00 29. "         INT29       ,DMA interrupt request 29" "Cleared,Actived"
;        textline "                   "
;        eventfld.long 0x00 28. " INT28      ,DMA interrupt request 28" "Cleared,Actived"    
;        eventfld.long 0x00 27. "       INT27     ,DMA interrupt request 27" "Cleared,Actived"
;        eventfld.long 0x00 26. "         INT26       ,DMA interrupt request 26" "Cleared,Actived"
;        textline "                   "
;        eventfld.long 0x00 25. " INT25      ,DMA interrupt request 25" "Cleared,Actived"
;        eventfld.long 0x00 24. "       INT24     ,DMA interrupt request 24" "Cleared,Actived"        
;        eventfld.long 0x00 23. "         INT23       ,DMA interrupt request 23" "Cleared,Actived"
;        textline "                   "
;        eventfld.long 0x00 22. " INT22      ,DMA interrupt request 22" "Cleared,Actived"
;        eventfld.long 0x00 21. "       INT21     ,DMA interrupt request 21" "Cleared,Actived"
;        eventfld.long 0x00 20. "         INT20       ,DMA interrupt request 20" "Cleared,Actived"    
;        textline "                   "
;        eventfld.long 0x00 19. " INT19      ,DMA interrupt request 19" "Cleared,Actived"
;        eventfld.long 0x00 18. "       INT18     ,DMA interrupt request 18" "Cleared,Actived"
;        eventfld.long 0x00 17. "         INT17       ,DMA interrupt request 17" "Cleared,Actived"
;        textline "                   "
;        eventfld.long 0x00 16. " INT16      ,DMA interrupt request 16" "Cleared      ,Actived"    
eventfld.long 0x00 15. " INT15      ,DMA interrupt request 15" "Cleared      ,Active"
eventfld.long 0x00 14. " INT14      ,DMA interrupt request 14" "Cleared      ,Active"    
eventfld.long 0x00 13. " INT13      ,DMA interrupt request 13" "Cleared      ,Active"
eventfld.long 0x00 12. " INT12      ,DMA interrupt request 12" "Cleared      ,Active"    
textline "                   "
eventfld.long 0x00 11. " INT11      ,DMA interrupt request 11" "Cleared      ,Active"
eventfld.long 0x00 10. " INT0       ,DMA interrupt request 10" "Cleared      ,Active"
eventfld.long 0x00 9.  " INT9       ,DMA interrupt request 9" "Cleared      ,Active"
eventfld.long 0x00 8.  " INT8       ,DMA interrupt request 8" "Cleared      ,Active"        
textline "                   "
eventfld.long 0x00 7.  " INT7       ,DMA interrupt request 7" "Cleared      ,Active"
eventfld.long 0x00 6.  " INT6       ,DMA interrupt request 6" "Cleared      ,Active"
eventfld.long 0x00 5.  " INT5       ,DMA interrupt request 5" "Cleared      ,Active"
eventfld.long 0x00 4.  " INT4       ,DMA interrupt request 4" "Cleared      ,Active"    
textline "                   "
eventfld.long 0x00 3.  " INT3       ,DMA interrupt request 3" "Cleared      ,Active"
eventfld.long 0x00 2.  " INT2       ,DMA interrupt request 2" "Cleared      ,Active"
eventfld.long 0x00 1.  " INT1       ,DMA interrupt request 1" "Cleared      ,Active"
eventfld.long 0x00 0.  " INT0       ,DMA interrupt request 0" "Cleared      ,Active"
group.long (0x2c000+0x2c)++0x03
line.long 0x00 "DMAERR,DMA Error Register"
;        eventfld.long 0x00 31. " INT31      ,DMA error 31" "Not occurred,Occurred"
;        eventfld.long 0x00 30. "  INT30     ,DMA error 30" "Not occurred,Occurred"
;        eventfld.long 0x00 29. "    INT29       ,DMA error 29" "Not occurred,Occurred"
;        textline "                   "
;        eventfld.long 0x00 28. " INT28      ,DMA error 28" "Not occurred,Occurred"
;        eventfld.long 0x00 27. "  INT27     ,DMA error 27" "Not occurred,Occurred"
;        eventfld.long 0x00 26. "    INT26       ,DMA error 26" "Not occurred,Occurred"
;        textline "                   "
;        eventfld.long 0x00 25. " INT25      ,DMA error 25" "Not occurred,Occurred"
;        eventfld.long 0x00 24. "  INT24     ,DMA error 24" "Not occurred,Occurred"
;        eventfld.long 0x00 23. "    INT23       ,DMA error 23" "Not occurred,Occurred"
;        textline "                   "
;        eventfld.long 0x00 22. " INT22      ,DMA error 22" "Not occurred,Occurred"
;        eventfld.long 0x00 21. "  INT21     ,DMA error 21" "Not occurred,Occurred"
;        eventfld.long 0x00 20. "    INT20       ,DMA error 20" "Not occurred,Occurred"
;        textline "                   "
;        eventfld.long 0x00 19. " INT19      ,DMA error 19" "Not occurred,Occurred"
;        eventfld.long 0x00 18. "  INT18     ,DMA error 18" "Not occurred,Occurred"
;        eventfld.long 0x00 17. "    INT17       ,DMA error 17" "Not occurred,Occurred"
;        textline "                   "
;        eventfld.long 0x00 16. " INT16     ,DMA error 16" "Not occurred,Occurred"
eventfld.long 0x00 15. " INT15      ,DMA error 15" "Not occurred ,Occurred"
eventfld.long 0x00 14. " INT14      ,DMA error 14" "Not occurred ,Occurred"
eventfld.long 0x00 13. " INT13      ,DMA error 13" "Not occurred ,Occurred"
eventfld.long 0x00 12. " INT12      ,DMA error 12" "Not occurred ,Occurred"
textline "                   "
eventfld.long 0x00 11. " INT11      ,DMA error 11" "Not occurred ,Occurred"
eventfld.long 0x00 10. " INT0       ,DMA error 10" "Not occurred ,Occurred"
eventfld.long 0x00 9.  " INT9       ,DMA error 9" "Not occurred ,Occurred"
eventfld.long 0x00 8.  " INT8       ,DMA error 8" "Not occurred ,Occurred"        
textline "                   "
eventfld.long 0x00 7.  " INT7       ,DMA error 7" "Not occurred ,Occurred"
eventfld.long 0x00 6.  " INT6       ,DMA error 6" "Not occurred ,Occurred"
eventfld.long 0x00 5.  " INT5       ,DMA error 5" "Not occurred ,Occurred"
eventfld.long 0x00 4.  " INT4       ,DMA error 4" "Not occurred ,Occurred"    
textline "                   "
eventfld.long 0x00 3.  " INT3       ,DMA error 3" "Not occurred ,Occurred"
eventfld.long 0x00 2.  " INT2       ,DMA error 2" "Not occurred ,Occurred"
eventfld.long 0x00 1.  " INT1       ,DMA error 1" "Not occurred ,Occurred"
eventfld.long 0x00 0.  " INT0       ,DMA error 0" "Not occurred ,Occurred"
group.long (0x2c000+0x34)++0x07
line.long 0x00 "DMAHRS,DMA Hardware Request Status Register"
;        bitfld.long 0x00 31. " INT31      ,DMA hardware request status 31" "Not present,Present"
;        bitfld.long 0x00 30. "   INT30     ,DMA hardware request status 30" "Not present,Present"
;        bitfld.long 0x00 29. "     INT29       ,DMA hardware request status 29" "Not present,Present"
;        textline "                   "
;        bitfld.long 0x00 28. " INT28      ,DMA hardware request status 28" "Not present,Present"    
;        bitfld.long 0x00 27. "   INT27     ,DMA hardware request status 27" "Not present,Present"
;        bitfld.long 0x00 26. "     INT26       ,DMA hardware request status 26" "Not present,Present"
;        textline "                   "
;        bitfld.long 0x00 25. " INT25      ,DMA hardware request status 25" "Not present,Present"
;        bitfld.long 0x00 24. "   INT24     ,DMA hardware request status 24" "Not present,Present"    
;        bitfld.long 0x00 23. "     INT23       ,DMA hardware request status 23" "Not present,Present"
;        textline "                   "
;        bitfld.long 0x00 22. " INT22      ,DMA hardware request status 22" "Not present,Present"
;        bitfld.long 0x00 21. "   INT21     ,DMA hardware request status 21" "Not present,Present"
;        bitfld.long 0x00 20. "     INT20       ,DMA hardware request status 20" "Not present,Present"        
;        textline "                   "
;        bitfld.long 0x00 19. " INT19      ,DMA hardware request status 19" "Not present,Present"    
;        bitfld.long 0x00 18. "   INT18     ,DMA hardware request status 18" "Not present,Present"
;        bitfld.long 0x00 17. "     INT17       ,DMA hardware request status 17" "Not present,Present"
;        textline "                   "
;        bitfld.long 0x00 16. " INT16     ,DMA hardware request status 16" "Not present,Present"    
bitfld.long 0x00 15. " INT15      ,DMA hardware request status 15" "Not present  ,Present"
bitfld.long 0x00 14. " INT14      ,DMA hardware request status 14" "Not present  ,Present"    
bitfld.long 0x00 13. " INT13      ,DMA hardware request status 13" "Not present  ,Present"
bitfld.long 0x00 12. " INT12      ,DMA hardware request status 12" "Not present  ,Present"    
textline "                   "
bitfld.long 0x00 11. " INT1       ,DMA hardware request status 11" "Not present  ,Present"
bitfld.long 0x00 10. " INT0       ,DMA hardware request status 10" "Not present  ,Present"
bitfld.long 0x00 9.  " INT9       ,DMA hardware request status 9" "Not present  ,Present"    
bitfld.long 0x00 8.  " INT8       ,DMA hardware request status 8" "Not present  ,Present"        
textline "                   "
bitfld.long 0x00 7.  " INT7       ,DMA hardware request status 7" "Not present  ,Present"
bitfld.long 0x00 6.  " INT6       ,DMA hardware request status 6" "Not present  ,Present"
bitfld.long 0x00 5.  " INT5       ,DMA hardware request status 5" "Not present  ,Present"
bitfld.long 0x00 4.  " INT4       ,DMA hardware request status 4" "Not present  ,Present"            
textline "                   "
bitfld.long 0x00 3.  " INT3       ,DMA hardware request status 3" "Not present  ,Present"
bitfld.long 0x00 2.  " INT2       ,DMA hardware request status 2" "Not present  ,Present"
bitfld.long 0x00 1.  " INT1       ,DMA hardware request status 1" "Not present  ,Present"
bitfld.long 0x00 0.  " INT0       ,DMA hardware request status 0" "Not present  ,Present"
line.long 0x04 "DMAGPOR,DMA General Purpose Output Register"
group.byte (0x2c000+0x100)++0x0f
line.byte 0x0 "DCHPRI0 ,DMA Channel 0  Priority"
bitfld.byte 0x0 7. "     ECP        ,Enable channel preemption" "Disabled,Enabled"
bitfld.byte 0x0 6. "  DPA ,Disable preempt ability" "Enabled,Disabled"
bitfld.byte 0x0 4.--5. "  GRPPRI[1:0] ,Channel 0  current group priority" "0,1,2,3"
textline "                   "
bitfld.byte 0x0 0.--3. " CHPRI[3:0] ,Channel 0  arbitration priority" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
line.byte 0x1 "DCHPRI1 ,DMA Channel 1  Priority"
bitfld.byte 0x1 7. "     ECP        ,Enable channel preemption" "Disabled,Enabled"
bitfld.byte 0x1 6. "  DPA ,Disable preempt ability" "Enabled,Disabled"
bitfld.byte 0x1 4.--5. "  GRPPRI[1:0] ,Channel 1  current group priority" "0,1,2,3"
textline "                   "
bitfld.byte 0x1 0.--3. " CHPRI[3:0] ,Channel 1  arbitration priority" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
line.byte 0x2 "DCHPRI2 ,DMA Channel 2  Priority"
bitfld.byte 0x2 7. "     ECP        ,Enable channel preemption" "Disabled,Enabled"
bitfld.byte 0x2 6. "  DPA ,Disable preempt ability" "Enabled,Disabled"
bitfld.byte 0x2 4.--5. "  GRPPRI[1:0] ,Channel 2  current group priority" "0,1,2,3"
textline "                   "
bitfld.byte 0x2 0.--3. " CHPRI[3:0] ,Channel 2  arbitration priority" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
line.byte 0x3 "DCHPRI3 ,DMA Channel 3  Priority"
bitfld.byte 0x3 7. "     ECP        ,Enable channel preemption" "Disabled,Enabled"
bitfld.byte 0x3 6. "  DPA ,Disable preempt ability" "Enabled,Disabled"
bitfld.byte 0x3 4.--5. "  GRPPRI[1:0] ,Channel 3  current group priority" "0,1,2,3"
textline "                   "
bitfld.byte 0x3 0.--3. " CHPRI[3:0] ,Channel 3  arbitration priority" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
line.byte 0x4 "DCHPRI4 ,DMA Channel 4  Priority"
bitfld.byte 0x4 7. "     ECP        ,Enable channel preemption" "Disabled,Enabled"
bitfld.byte 0x4 6. "  DPA ,Disable preempt ability" "Enabled,Disabled"
bitfld.byte 0x4 4.--5. "  GRPPRI[1:0] ,Channel 4  current group priority" "0,1,2,3"
textline "                   "
bitfld.byte 0x4 0.--3. " CHPRI[3:0] ,Channel 4  arbitration priority" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
line.byte 0x5 "DCHPRI5 ,DMA Channel 5  Priority"
bitfld.byte 0x5 7. "     ECP        ,Enable channel preemption" "Disabled,Enabled"
bitfld.byte 0x5 6. "  DPA ,Disable preempt ability" "Enabled,Disabled"
bitfld.byte 0x5 4.--5. "  GRPPRI[1:0] ,Channel 5  current group priority" "0,1,2,3"
textline "                   "
bitfld.byte 0x5 0.--3. " CHPRI[3:0] ,Channel 5  arbitration priority" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
line.byte 0x6 "DCHPRI6 ,DMA Channel 6  Priority"
bitfld.byte 0x6 7. "     ECP        ,Enable channel preemption" "Disabled,Enabled"
bitfld.byte 0x6 6. "  DPA ,Disable preempt ability" "Enabled,Disabled"
bitfld.byte 0x6 4.--5. "  GRPPRI[1:0] ,Channel 6  current group priority" "0,1,2,3"
textline "                   "
bitfld.byte 0x6 0.--3. " CHPRI[3:0] ,Channel 6  arbitration priority" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
line.byte 0x7 "DCHPRI7 ,DMA Channel 7  Priority"
bitfld.byte 0x7 7. "     ECP        ,Enable channel preemption" "Disabled,Enabled"
bitfld.byte 0x7 6. "  DPA ,Disable preempt ability" "Enabled,Disabled"
bitfld.byte 0x7 4.--5. "  GRPPRI[1:0] ,Channel 7  current group priority" "0,1,2,3"
textline "                   "
bitfld.byte 0x7 0.--3. " CHPRI[3:0] ,Channel 7  arbitration priority" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
line.byte 0x8 "DCHPRI8 ,DMA Channel 8  Priority"
bitfld.byte 0x8 7. "     ECP        ,Enable channel preemption" "Disabled,Enabled"
bitfld.byte 0x8 6. "  DPA ,Disable preempt ability" "Enabled,Disabled"
bitfld.byte 0x8 4.--5. "  GRPPRI[1:0] ,Channel 8  current group priority" "0,1,2,3"
textline "                   "
bitfld.byte 0x8 0.--3. " CHPRI[3:0] ,Channel 8  arbitration priority" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
line.byte 0x9 "DCHPRI9 ,DMA Channel 9  Priority"
bitfld.byte 0x9 7. "     ECP        ,Enable channel preemption" "Disabled,Enabled"
bitfld.byte 0x9 6. "  DPA ,Disable preempt ability" "Enabled,Disabled"
bitfld.byte 0x9 4.--5. "  GRPPRI[1:0] ,Channel 9  current group priority" "0,1,2,3"
textline "                   "
bitfld.byte 0x9 0.--3. " CHPRI[3:0] ,Channel 9  arbitration priority" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
line.byte 0xA "DCHPRI10,DMA Channel 10 Priority"
bitfld.byte 0xA 7. "     ECP        ,Enable channel preemption" "Disabled,Enabled"
bitfld.byte 0xA 6. "  DPA ,Disable preempt ability" "Enabled,Disabled"
bitfld.byte 0xA 4.--5. "  GRPPRI[1:0] ,Channel 10 current group priority" "0,1,2,3"
textline "                   "
bitfld.byte 0xA 0.--3. " CHPRI[3:0] ,Channel 10 arbitration priority" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
line.byte 0xB "DCHPRI11,DMA Channel 11 Priority"
bitfld.byte 0xB 7. "     ECP        ,Enable channel preemption" "Disabled,Enabled"
bitfld.byte 0xB 6. "  DPA ,Disable preempt ability" "Enabled,Disabled"
bitfld.byte 0xB 4.--5. "  GRPPRI[1:0] ,Channel 11 current group priority" "0,1,2,3"
textline "                   "
bitfld.byte 0xB 0.--3. " CHPRI[3:0] ,Channel 11 arbitration priority" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
line.byte 0xC "DCHPRI12,DMA Channel 12 Priority"
bitfld.byte 0xC 7. "     ECP        ,Enable channel preemption" "Disabled,Enabled"
bitfld.byte 0xC 6. "  DPA ,Disable preempt ability" "Enabled,Disabled"
bitfld.byte 0xC 4.--5. "  GRPPRI[1:0] ,Channel 12 current group priority" "0,1,2,3"
textline "                   "
bitfld.byte 0xC 0.--3. " CHPRI[3:0] ,Channel 12 arbitration priority" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
line.byte 0xD "DCHPRI13,DMA Channel 13 Priority"
bitfld.byte 0xD 7. "     ECP        ,Enable channel preemption" "Disabled,Enabled"
bitfld.byte 0xD 6. "  DPA ,Disable preempt ability" "Enabled,Disabled"
bitfld.byte 0xD 4.--5. "  GRPPRI[1:0] ,Channel 13 current group priority" "0,1,2,3"
textline "                   "
bitfld.byte 0xD 0.--3. " CHPRI[3:0] ,Channel 13 arbitration priority" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
line.byte 0xE "DCHPRI14,DMA Channel 14 Priority"
bitfld.byte 0xE 7. "     ECP        ,Enable channel preemption" "Disabled,Enabled"
bitfld.byte 0xE 6. "  DPA ,Disable preempt ability" "Enabled,Disabled"
bitfld.byte 0xE 4.--5. "  GRPPRI[1:0] ,Channel 14 current group priority" "0,1,2,3"
textline "                   "
bitfld.byte 0xE 0.--3. " CHPRI[3:0] ,Channel 14 arbitration priority" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
line.byte 0xF "DCHPRI15,DMA Channel 15 Priority"
bitfld.byte 0xF 7. "     ECP        ,Enable channel preemption" "Disabled,Enabled"
bitfld.byte 0xF 6. "  DPA ,Disable preempt ability" "Enabled,Disabled"
bitfld.byte 0xF 4.--5. "  GRPPRI[1:0] ,Channel 15 current group priority" "0,1,2,3"
textline "                   "
bitfld.byte 0xF 0.--3. " CHPRI[3:0] ,Channel 15 arbitration priority" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
width 0x8
base anc:iobase()+0x2c000     
tree " Transfer Control Descriptor Registers"
group.long 0x1000++0x07 "Transfer Control Descriptor Register 0 "
line.long 0x00 "TCD0 W0,TCD0  Word 0 Field (SADDR)"        
line.long 0x04 "TCD0 W1,TCD0  Word 1 Field"
bitfld.long 0x04 27.--31. " SMOD[4:0]         ,Source Address Modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x04 24.--26. "                SSIZE[2:0]                    ,Source Data Transfer Size" "8-bit,16-bit,32-bit,64-bit,16-byte,32-byte,Reserved,Reserved"
textline "                 "
bitfld.long 0x04 19.--23. " DMOD[4:0]         ,Destination Address Modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x04 16.--18. "                DSIZE[2:0]                    ,Destination Data Transfer Size" "8-bit,16-bit,32-bit,64-bit,16-byte,32-byte,Reserved,Reserved"
textline "                 "
hexmask.long.word 0x04 0.--15. 1. " SOFF[15:0]        ,Source Address Signed Offset"         
if ((d.l(anc:iobase()+(0x2c000+0x1000+0x08))&0xc0000000)==0x00)
group.long (0x1000+0x08)++0x03    
line.long 0x00 "TCD0 W2,TCD0  Word 2 Field (NBYTES)"    
bitfld.long 0x00 31. " SMLOE             ,Source minor loop offset enable" "Disabled,Enabled"
bitfld.long 0x00 30. "                DMLOE                         ,Destination minor loop offset enable" "Disabled,Enabled"    
textline "                 "
hexmask.long 0x00 0.--29. 1. " nbytes[29:0]      ,Inner minor byte transfer count"
else
group.long (0x1000+0x08)++0x03    
line.long 0x00 "TCD0 W2,TCD0  Word 2 Field (NBYTES)"    
bitfld.long 0x00 31. " SMLOE             ,Source minor loop offset enable" "Disabled,Enabled"
bitfld.long 0x00 30. "                DMLOE                         ,Destination minor loop offset enable" "Disabled,Enabled"    
textline "                 "
hexmask.long 0x00 0.--19. 1. " mloff[19:0]       ,Minor loop offset"
endif
group.long (0x1000+0x0c)++0x13        
line.long 0x00 "TCD0 W3,TCD0  Word 3 Field (SLAST)"
line.long 0x04 "TCD0 W4,TCD0  Word 4 Field (DADDR)"
line.long 0x08 "TCD0 W5,TCD0  Word 5 Field"
bitfld.long 0x08 31. " CITER.E_LINK      ,Enable Channel-to-Channel Linking on Minor Loop Complete" "Disabled,Enabled"
hexmask.long.byte 0x08 25.--30. 1. "                CITER[14:9]/Citer.linkch[5:0] ,Current Major Iteration Count/Link Channel Number" 
textline "                 "
hexmask.long.word 0x08 16.--24. 1. " CITER[8:0]        ,Current Major Iteration Count" 
hexmask.long.word 0x08 0.--15. 1. "                    DOFF[15:0]                    ,Destination Address Signed Offset"     
line.long 0x0c "TCD0 W6,TCD0  Word 6 Field (DLAST_SGA)"
line.long 0x10 "TCD0 W7,TCD0  Word 7 Field"
bitfld.long 0x10 31. " BITER.E_LINK      ,Enable Channel-to-Channel Linking on Minor Loop Complete" "Disabled,Enabled"
hexmask.long.byte 0x10 25.--30. 1. "                Biter[14:9]/Biter.linkch[5:0] ,Beginning Major Iteration Count/Link Channel Number" 
textline "                 "
hexmask.long.word 0x10 16.--24. 1. " BITER[8:0]        ,Beginning Major Iteration Count" 
bitfld.long 0x10 14.--15. "                    BWC[1:0]                      ,Bandwidth Control" "No DMA_ENGINE,Priority elevation,4 cycles,8 cycles"
textline "                 "
hexmask.long.byte 0x10 8.--13. 1. " MAJOR.LINKCH[5:0] ,Link Channel Number"
bitfld.long 0x10 7. "                      DONE                          ,Channel Done" "Not completed,Completed"
textline "                 "
bitfld.long 0x10 6. " ACTIVE            ,Channel Active"  "Completed/Error,Activated"
bitfld.long 0x10 5. "         MAJOR.E_LINK                  ,Enable channel-to-channel Linking on Major Loop Complete" "Disabled,Enabled"
textline "                 "
bitfld.long 0x10 4. " E_SG              ,Enable Scatter/Gather Processing" "Normal,Scatter/gather"
bitfld.long 0x10 3. "          D_REQ                         ,Disable Request" "Not affected,Cleared"
textline "                 "
bitfld.long 0x10 2. " INT_HALF          ,Enable an Interrupt When Major Counter is Half Complete" "Disabled,Enabled"
bitfld.long 0x10 1. "                INT_MAJ                       ,Enable an Interrupt When Major Iteration Count Completes" "Disabled,Enabled"
textline "                 "
bitfld.long 0x10 0. " START             ,Channel Start" "Not explicitly started,Explicitly started"
group.long 0x1020++0x07 "Transfer Control Descriptor Register 1 "
line.long 0x00 "TCD1 W0,TCD1  Word 0 Field (SADDR)"        
line.long 0x04 "TCD1 W1,TCD1  Word 1 Field"
bitfld.long 0x04 27.--31. " SMOD[4:0]         ,Source Address Modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x04 24.--26. "                SSIZE[2:0]                    ,Source Data Transfer Size" "8-bit,16-bit,32-bit,64-bit,16-byte,32-byte,Reserved,Reserved"
textline "                 "
bitfld.long 0x04 19.--23. " DMOD[4:0]         ,Destination Address Modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x04 16.--18. "                DSIZE[2:0]                    ,Destination Data Transfer Size" "8-bit,16-bit,32-bit,64-bit,16-byte,32-byte,Reserved,Reserved"
textline "                 "
hexmask.long.word 0x04 0.--15. 1. " SOFF[15:0]        ,Source Address Signed Offset"         
if ((d.l(anc:iobase()+(0x2c000+0x1020+0x08))&0xc0000000)==0x00)
group.long (0x1020+0x08)++0x03    
line.long 0x00 "TCD1 W2,TCD1  Word 2 Field (NBYTES)"    
bitfld.long 0x00 31. " SMLOE             ,Source minor loop offset enable" "Disabled,Enabled"
bitfld.long 0x00 30. "                DMLOE                         ,Destination minor loop offset enable" "Disabled,Enabled"    
textline "                 "
hexmask.long 0x00 0.--29. 1. " nbytes[29:0]      ,Inner minor byte transfer count"
else
group.long (0x1020+0x08)++0x03    
line.long 0x00 "TCD1 W2,TCD1  Word 2 Field (NBYTES)"    
bitfld.long 0x00 31. " SMLOE             ,Source minor loop offset enable" "Disabled,Enabled"
bitfld.long 0x00 30. "                DMLOE                         ,Destination minor loop offset enable" "Disabled,Enabled"    
textline "                 "
hexmask.long 0x00 0.--19. 1. " mloff[19:0]       ,Minor loop offset"
endif
group.long (0x1020+0x0c)++0x13        
line.long 0x00 "TCD1 W3,TCD1  Word 3 Field (SLAST)"
line.long 0x04 "TCD1 W4,TCD1  Word 4 Field (DADDR)"
line.long 0x08 "TCD1 W5,TCD1  Word 5 Field"
bitfld.long 0x08 31. " CITER.E_LINK      ,Enable Channel-to-Channel Linking on Minor Loop Complete" "Disabled,Enabled"
hexmask.long.byte 0x08 25.--30. 1. "                CITER[14:9]/Citer.linkch[5:0] ,Current Major Iteration Count/Link Channel Number" 
textline "                 "
hexmask.long.word 0x08 16.--24. 1. " CITER[8:0]        ,Current Major Iteration Count" 
hexmask.long.word 0x08 0.--15. 1. "                    DOFF[15:0]                    ,Destination Address Signed Offset"     
line.long 0x0c "TCD1 W6,TCD1  Word 6 Field (DLAST_SGA)"
line.long 0x10 "TCD1 W7,TCD1  Word 7 Field"
bitfld.long 0x10 31. " BITER.E_LINK      ,Enable Channel-to-Channel Linking on Minor Loop Complete" "Disabled,Enabled"
hexmask.long.byte 0x10 25.--30. 1. "                Biter[14:9]/Biter.linkch[5:0] ,Beginning Major Iteration Count/Link Channel Number" 
textline "                 "
hexmask.long.word 0x10 16.--24. 1. " BITER[8:0]        ,Beginning Major Iteration Count" 
bitfld.long 0x10 14.--15. "                    BWC[1:0]                      ,Bandwidth Control" "No DMA_ENGINE,Priority elevation,4 cycles,8 cycles"
textline "                 "
hexmask.long.byte 0x10 8.--13. 1. " MAJOR.LINKCH[5:0] ,Link Channel Number"
bitfld.long 0x10 7. "                      DONE                          ,Channel Done" "Not completed,Completed"
textline "                 "
bitfld.long 0x10 6. " ACTIVE            ,Channel Active"  "Completed/Error,Activated"
bitfld.long 0x10 5. "         MAJOR.E_LINK                  ,Enable channel-to-channel Linking on Major Loop Complete" "Disabled,Enabled"
textline "                 "
bitfld.long 0x10 4. " E_SG              ,Enable Scatter/Gather Processing" "Normal,Scatter/gather"
bitfld.long 0x10 3. "          D_REQ                         ,Disable Request" "Not affected,Cleared"
textline "                 "
bitfld.long 0x10 2. " INT_HALF          ,Enable an Interrupt When Major Counter is Half Complete" "Disabled,Enabled"
bitfld.long 0x10 1. "                INT_MAJ                       ,Enable an Interrupt When Major Iteration Count Completes" "Disabled,Enabled"
textline "                 "
bitfld.long 0x10 0. " START             ,Channel Start" "Not explicitly started,Explicitly started"
group.long 0x1040++0x07 "Transfer Control Descriptor Register 2 "
line.long 0x00 "TCD2 W0,TCD2  Word 0 Field (SADDR)"        
line.long 0x04 "TCD2 W1,TCD2  Word 1 Field"
bitfld.long 0x04 27.--31. " SMOD[4:0]         ,Source Address Modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x04 24.--26. "                SSIZE[2:0]                    ,Source Data Transfer Size" "8-bit,16-bit,32-bit,64-bit,16-byte,32-byte,Reserved,Reserved"
textline "                 "
bitfld.long 0x04 19.--23. " DMOD[4:0]         ,Destination Address Modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x04 16.--18. "                DSIZE[2:0]                    ,Destination Data Transfer Size" "8-bit,16-bit,32-bit,64-bit,16-byte,32-byte,Reserved,Reserved"
textline "                 "
hexmask.long.word 0x04 0.--15. 1. " SOFF[15:0]        ,Source Address Signed Offset"         
if ((d.l(anc:iobase()+(0x2c000+0x1040+0x08))&0xc0000000)==0x00)
group.long (0x1040+0x08)++0x03    
line.long 0x00 "TCD2 W2,TCD2  Word 2 Field (NBYTES)"    
bitfld.long 0x00 31. " SMLOE             ,Source minor loop offset enable" "Disabled,Enabled"
bitfld.long 0x00 30. "                DMLOE                         ,Destination minor loop offset enable" "Disabled,Enabled"    
textline "                 "
hexmask.long 0x00 0.--29. 1. " nbytes[29:0]      ,Inner minor byte transfer count"
else
group.long (0x1040+0x08)++0x03    
line.long 0x00 "TCD2 W2,TCD2  Word 2 Field (NBYTES)"    
bitfld.long 0x00 31. " SMLOE             ,Source minor loop offset enable" "Disabled,Enabled"
bitfld.long 0x00 30. "                DMLOE                         ,Destination minor loop offset enable" "Disabled,Enabled"    
textline "                 "
hexmask.long 0x00 0.--19. 1. " mloff[19:0]       ,Minor loop offset"
endif
group.long (0x1040+0x0c)++0x13        
line.long 0x00 "TCD2 W3,TCD2  Word 3 Field (SLAST)"
line.long 0x04 "TCD2 W4,TCD2  Word 4 Field (DADDR)"
line.long 0x08 "TCD2 W5,TCD2  Word 5 Field"
bitfld.long 0x08 31. " CITER.E_LINK      ,Enable Channel-to-Channel Linking on Minor Loop Complete" "Disabled,Enabled"
hexmask.long.byte 0x08 25.--30. 1. "                CITER[14:9]/Citer.linkch[5:0] ,Current Major Iteration Count/Link Channel Number" 
textline "                 "
hexmask.long.word 0x08 16.--24. 1. " CITER[8:0]        ,Current Major Iteration Count" 
hexmask.long.word 0x08 0.--15. 1. "                    DOFF[15:0]                    ,Destination Address Signed Offset"     
line.long 0x0c "TCD2 W6,TCD2  Word 6 Field (DLAST_SGA)"
line.long 0x10 "TCD2 W7,TCD2  Word 7 Field"
bitfld.long 0x10 31. " BITER.E_LINK      ,Enable Channel-to-Channel Linking on Minor Loop Complete" "Disabled,Enabled"
hexmask.long.byte 0x10 25.--30. 1. "                Biter[14:9]/Biter.linkch[5:0] ,Beginning Major Iteration Count/Link Channel Number" 
textline "                 "
hexmask.long.word 0x10 16.--24. 1. " BITER[8:0]        ,Beginning Major Iteration Count" 
bitfld.long 0x10 14.--15. "                    BWC[1:0]                      ,Bandwidth Control" "No DMA_ENGINE,Priority elevation,4 cycles,8 cycles"
textline "                 "
hexmask.long.byte 0x10 8.--13. 1. " MAJOR.LINKCH[5:0] ,Link Channel Number"
bitfld.long 0x10 7. "                      DONE                          ,Channel Done" "Not completed,Completed"
textline "                 "
bitfld.long 0x10 6. " ACTIVE            ,Channel Active"  "Completed/Error,Activated"
bitfld.long 0x10 5. "         MAJOR.E_LINK                  ,Enable channel-to-channel Linking on Major Loop Complete" "Disabled,Enabled"
textline "                 "
bitfld.long 0x10 4. " E_SG              ,Enable Scatter/Gather Processing" "Normal,Scatter/gather"
bitfld.long 0x10 3. "          D_REQ                         ,Disable Request" "Not affected,Cleared"
textline "                 "
bitfld.long 0x10 2. " INT_HALF          ,Enable an Interrupt When Major Counter is Half Complete" "Disabled,Enabled"
bitfld.long 0x10 1. "                INT_MAJ                       ,Enable an Interrupt When Major Iteration Count Completes" "Disabled,Enabled"
textline "                 "
bitfld.long 0x10 0. " START             ,Channel Start" "Not explicitly started,Explicitly started"
group.long 0x1060++0x07 "Transfer Control Descriptor Register 3 "
line.long 0x00 "TCD3 W0,TCD3  Word 0 Field (SADDR)"        
line.long 0x04 "TCD3 W1,TCD3  Word 1 Field"
bitfld.long 0x04 27.--31. " SMOD[4:0]         ,Source Address Modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x04 24.--26. "                SSIZE[2:0]                    ,Source Data Transfer Size" "8-bit,16-bit,32-bit,64-bit,16-byte,32-byte,Reserved,Reserved"
textline "                 "
bitfld.long 0x04 19.--23. " DMOD[4:0]         ,Destination Address Modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x04 16.--18. "                DSIZE[2:0]                    ,Destination Data Transfer Size" "8-bit,16-bit,32-bit,64-bit,16-byte,32-byte,Reserved,Reserved"
textline "                 "
hexmask.long.word 0x04 0.--15. 1. " SOFF[15:0]        ,Source Address Signed Offset"         
if ((d.l(anc:iobase()+(0x2c000+0x1060+0x08))&0xc0000000)==0x00)
group.long (0x1060+0x08)++0x03    
line.long 0x00 "TCD3 W2,TCD3  Word 2 Field (NBYTES)"    
bitfld.long 0x00 31. " SMLOE             ,Source minor loop offset enable" "Disabled,Enabled"
bitfld.long 0x00 30. "                DMLOE                         ,Destination minor loop offset enable" "Disabled,Enabled"    
textline "                 "
hexmask.long 0x00 0.--29. 1. " nbytes[29:0]      ,Inner minor byte transfer count"
else
group.long (0x1060+0x08)++0x03    
line.long 0x00 "TCD3 W2,TCD3  Word 2 Field (NBYTES)"    
bitfld.long 0x00 31. " SMLOE             ,Source minor loop offset enable" "Disabled,Enabled"
bitfld.long 0x00 30. "                DMLOE                         ,Destination minor loop offset enable" "Disabled,Enabled"    
textline "                 "
hexmask.long 0x00 0.--19. 1. " mloff[19:0]       ,Minor loop offset"
endif
group.long (0x1060+0x0c)++0x13        
line.long 0x00 "TCD3 W3,TCD3  Word 3 Field (SLAST)"
line.long 0x04 "TCD3 W4,TCD3  Word 4 Field (DADDR)"
line.long 0x08 "TCD3 W5,TCD3  Word 5 Field"
bitfld.long 0x08 31. " CITER.E_LINK      ,Enable Channel-to-Channel Linking on Minor Loop Complete" "Disabled,Enabled"
hexmask.long.byte 0x08 25.--30. 1. "                CITER[14:9]/Citer.linkch[5:0] ,Current Major Iteration Count/Link Channel Number" 
textline "                 "
hexmask.long.word 0x08 16.--24. 1. " CITER[8:0]        ,Current Major Iteration Count" 
hexmask.long.word 0x08 0.--15. 1. "                    DOFF[15:0]                    ,Destination Address Signed Offset"     
line.long 0x0c "TCD3 W6,TCD3  Word 6 Field (DLAST_SGA)"
line.long 0x10 "TCD3 W7,TCD3  Word 7 Field"
bitfld.long 0x10 31. " BITER.E_LINK      ,Enable Channel-to-Channel Linking on Minor Loop Complete" "Disabled,Enabled"
hexmask.long.byte 0x10 25.--30. 1. "                Biter[14:9]/Biter.linkch[5:0] ,Beginning Major Iteration Count/Link Channel Number" 
textline "                 "
hexmask.long.word 0x10 16.--24. 1. " BITER[8:0]        ,Beginning Major Iteration Count" 
bitfld.long 0x10 14.--15. "                    BWC[1:0]                      ,Bandwidth Control" "No DMA_ENGINE,Priority elevation,4 cycles,8 cycles"
textline "                 "
hexmask.long.byte 0x10 8.--13. 1. " MAJOR.LINKCH[5:0] ,Link Channel Number"
bitfld.long 0x10 7. "                      DONE                          ,Channel Done" "Not completed,Completed"
textline "                 "
bitfld.long 0x10 6. " ACTIVE            ,Channel Active"  "Completed/Error,Activated"
bitfld.long 0x10 5. "         MAJOR.E_LINK                  ,Enable channel-to-channel Linking on Major Loop Complete" "Disabled,Enabled"
textline "                 "
bitfld.long 0x10 4. " E_SG              ,Enable Scatter/Gather Processing" "Normal,Scatter/gather"
bitfld.long 0x10 3. "          D_REQ                         ,Disable Request" "Not affected,Cleared"
textline "                 "
bitfld.long 0x10 2. " INT_HALF          ,Enable an Interrupt When Major Counter is Half Complete" "Disabled,Enabled"
bitfld.long 0x10 1. "                INT_MAJ                       ,Enable an Interrupt When Major Iteration Count Completes" "Disabled,Enabled"
textline "                 "
bitfld.long 0x10 0. " START             ,Channel Start" "Not explicitly started,Explicitly started"
group.long 0x1080++0x07 "Transfer Control Descriptor Register 4 "
line.long 0x00 "TCD4 W0,TCD4  Word 0 Field (SADDR)"        
line.long 0x04 "TCD4 W1,TCD4  Word 1 Field"
bitfld.long 0x04 27.--31. " SMOD[4:0]         ,Source Address Modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x04 24.--26. "                SSIZE[2:0]                    ,Source Data Transfer Size" "8-bit,16-bit,32-bit,64-bit,16-byte,32-byte,Reserved,Reserved"
textline "                 "
bitfld.long 0x04 19.--23. " DMOD[4:0]         ,Destination Address Modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x04 16.--18. "                DSIZE[2:0]                    ,Destination Data Transfer Size" "8-bit,16-bit,32-bit,64-bit,16-byte,32-byte,Reserved,Reserved"
textline "                 "
hexmask.long.word 0x04 0.--15. 1. " SOFF[15:0]        ,Source Address Signed Offset"         
if ((d.l(anc:iobase()+(0x2c000+0x1080+0x08))&0xc0000000)==0x00)
group.long (0x1080+0x08)++0x03    
line.long 0x00 "TCD4 W2,TCD4  Word 2 Field (NBYTES)"    
bitfld.long 0x00 31. " SMLOE             ,Source minor loop offset enable" "Disabled,Enabled"
bitfld.long 0x00 30. "                DMLOE                         ,Destination minor loop offset enable" "Disabled,Enabled"    
textline "                 "
hexmask.long 0x00 0.--29. 1. " nbytes[29:0]      ,Inner minor byte transfer count"
else
group.long (0x1080+0x08)++0x03    
line.long 0x00 "TCD4 W2,TCD4  Word 2 Field (NBYTES)"    
bitfld.long 0x00 31. " SMLOE             ,Source minor loop offset enable" "Disabled,Enabled"
bitfld.long 0x00 30. "                DMLOE                         ,Destination minor loop offset enable" "Disabled,Enabled"    
textline "                 "
hexmask.long 0x00 0.--19. 1. " mloff[19:0]       ,Minor loop offset"
endif
group.long (0x1080+0x0c)++0x13        
line.long 0x00 "TCD4 W3,TCD4  Word 3 Field (SLAST)"
line.long 0x04 "TCD4 W4,TCD4  Word 4 Field (DADDR)"
line.long 0x08 "TCD4 W5,TCD4  Word 5 Field"
bitfld.long 0x08 31. " CITER.E_LINK      ,Enable Channel-to-Channel Linking on Minor Loop Complete" "Disabled,Enabled"
hexmask.long.byte 0x08 25.--30. 1. "                CITER[14:9]/Citer.linkch[5:0] ,Current Major Iteration Count/Link Channel Number" 
textline "                 "
hexmask.long.word 0x08 16.--24. 1. " CITER[8:0]        ,Current Major Iteration Count" 
hexmask.long.word 0x08 0.--15. 1. "                    DOFF[15:0]                    ,Destination Address Signed Offset"     
line.long 0x0c "TCD4 W6,TCD4  Word 6 Field (DLAST_SGA)"
line.long 0x10 "TCD4 W7,TCD4  Word 7 Field"
bitfld.long 0x10 31. " BITER.E_LINK      ,Enable Channel-to-Channel Linking on Minor Loop Complete" "Disabled,Enabled"
hexmask.long.byte 0x10 25.--30. 1. "                Biter[14:9]/Biter.linkch[5:0] ,Beginning Major Iteration Count/Link Channel Number" 
textline "                 "
hexmask.long.word 0x10 16.--24. 1. " BITER[8:0]        ,Beginning Major Iteration Count" 
bitfld.long 0x10 14.--15. "                    BWC[1:0]                      ,Bandwidth Control" "No DMA_ENGINE,Priority elevation,4 cycles,8 cycles"
textline "                 "
hexmask.long.byte 0x10 8.--13. 1. " MAJOR.LINKCH[5:0] ,Link Channel Number"
bitfld.long 0x10 7. "                      DONE                          ,Channel Done" "Not completed,Completed"
textline "                 "
bitfld.long 0x10 6. " ACTIVE            ,Channel Active"  "Completed/Error,Activated"
bitfld.long 0x10 5. "         MAJOR.E_LINK                  ,Enable channel-to-channel Linking on Major Loop Complete" "Disabled,Enabled"
textline "                 "
bitfld.long 0x10 4. " E_SG              ,Enable Scatter/Gather Processing" "Normal,Scatter/gather"
bitfld.long 0x10 3. "          D_REQ                         ,Disable Request" "Not affected,Cleared"
textline "                 "
bitfld.long 0x10 2. " INT_HALF          ,Enable an Interrupt When Major Counter is Half Complete" "Disabled,Enabled"
bitfld.long 0x10 1. "                INT_MAJ                       ,Enable an Interrupt When Major Iteration Count Completes" "Disabled,Enabled"
textline "                 "
bitfld.long 0x10 0. " START             ,Channel Start" "Not explicitly started,Explicitly started"
group.long 0x10A0++0x07 "Transfer Control Descriptor Register 5 "
line.long 0x00 "TCD5 W0,TCD5  Word 0 Field (SADDR)"        
line.long 0x04 "TCD5 W1,TCD5  Word 1 Field"
bitfld.long 0x04 27.--31. " SMOD[4:0]         ,Source Address Modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x04 24.--26. "                SSIZE[2:0]                    ,Source Data Transfer Size" "8-bit,16-bit,32-bit,64-bit,16-byte,32-byte,Reserved,Reserved"
textline "                 "
bitfld.long 0x04 19.--23. " DMOD[4:0]         ,Destination Address Modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x04 16.--18. "                DSIZE[2:0]                    ,Destination Data Transfer Size" "8-bit,16-bit,32-bit,64-bit,16-byte,32-byte,Reserved,Reserved"
textline "                 "
hexmask.long.word 0x04 0.--15. 1. " SOFF[15:0]        ,Source Address Signed Offset"         
if ((d.l(anc:iobase()+(0x2c000+0x10A0+0x08))&0xc0000000)==0x00)
group.long (0x10A0+0x08)++0x03    
line.long 0x00 "TCD5 W2,TCD5  Word 2 Field (NBYTES)"    
bitfld.long 0x00 31. " SMLOE             ,Source minor loop offset enable" "Disabled,Enabled"
bitfld.long 0x00 30. "                DMLOE                         ,Destination minor loop offset enable" "Disabled,Enabled"    
textline "                 "
hexmask.long 0x00 0.--29. 1. " nbytes[29:0]      ,Inner minor byte transfer count"
else
group.long (0x10A0+0x08)++0x03    
line.long 0x00 "TCD5 W2,TCD5  Word 2 Field (NBYTES)"    
bitfld.long 0x00 31. " SMLOE             ,Source minor loop offset enable" "Disabled,Enabled"
bitfld.long 0x00 30. "                DMLOE                         ,Destination minor loop offset enable" "Disabled,Enabled"    
textline "                 "
hexmask.long 0x00 0.--19. 1. " mloff[19:0]       ,Minor loop offset"
endif
group.long (0x10A0+0x0c)++0x13        
line.long 0x00 "TCD5 W3,TCD5  Word 3 Field (SLAST)"
line.long 0x04 "TCD5 W4,TCD5  Word 4 Field (DADDR)"
line.long 0x08 "TCD5 W5,TCD5  Word 5 Field"
bitfld.long 0x08 31. " CITER.E_LINK      ,Enable Channel-to-Channel Linking on Minor Loop Complete" "Disabled,Enabled"
hexmask.long.byte 0x08 25.--30. 1. "                CITER[14:9]/Citer.linkch[5:0] ,Current Major Iteration Count/Link Channel Number" 
textline "                 "
hexmask.long.word 0x08 16.--24. 1. " CITER[8:0]        ,Current Major Iteration Count" 
hexmask.long.word 0x08 0.--15. 1. "                    DOFF[15:0]                    ,Destination Address Signed Offset"     
line.long 0x0c "TCD5 W6,TCD5  Word 6 Field (DLAST_SGA)"
line.long 0x10 "TCD5 W7,TCD5  Word 7 Field"
bitfld.long 0x10 31. " BITER.E_LINK      ,Enable Channel-to-Channel Linking on Minor Loop Complete" "Disabled,Enabled"
hexmask.long.byte 0x10 25.--30. 1. "                Biter[14:9]/Biter.linkch[5:0] ,Beginning Major Iteration Count/Link Channel Number" 
textline "                 "
hexmask.long.word 0x10 16.--24. 1. " BITER[8:0]        ,Beginning Major Iteration Count" 
bitfld.long 0x10 14.--15. "                    BWC[1:0]                      ,Bandwidth Control" "No DMA_ENGINE,Priority elevation,4 cycles,8 cycles"
textline "                 "
hexmask.long.byte 0x10 8.--13. 1. " MAJOR.LINKCH[5:0] ,Link Channel Number"
bitfld.long 0x10 7. "                      DONE                          ,Channel Done" "Not completed,Completed"
textline "                 "
bitfld.long 0x10 6. " ACTIVE            ,Channel Active"  "Completed/Error,Activated"
bitfld.long 0x10 5. "         MAJOR.E_LINK                  ,Enable channel-to-channel Linking on Major Loop Complete" "Disabled,Enabled"
textline "                 "
bitfld.long 0x10 4. " E_SG              ,Enable Scatter/Gather Processing" "Normal,Scatter/gather"
bitfld.long 0x10 3. "          D_REQ                         ,Disable Request" "Not affected,Cleared"
textline "                 "
bitfld.long 0x10 2. " INT_HALF          ,Enable an Interrupt When Major Counter is Half Complete" "Disabled,Enabled"
bitfld.long 0x10 1. "                INT_MAJ                       ,Enable an Interrupt When Major Iteration Count Completes" "Disabled,Enabled"
textline "                 "
bitfld.long 0x10 0. " START             ,Channel Start" "Not explicitly started,Explicitly started"
group.long 0x10C0++0x07 "Transfer Control Descriptor Register 6 "
line.long 0x00 "TCD6 W0,TCD6  Word 0 Field (SADDR)"        
line.long 0x04 "TCD6 W1,TCD6  Word 1 Field"
bitfld.long 0x04 27.--31. " SMOD[4:0]         ,Source Address Modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x04 24.--26. "                SSIZE[2:0]                    ,Source Data Transfer Size" "8-bit,16-bit,32-bit,64-bit,16-byte,32-byte,Reserved,Reserved"
textline "                 "
bitfld.long 0x04 19.--23. " DMOD[4:0]         ,Destination Address Modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x04 16.--18. "                DSIZE[2:0]                    ,Destination Data Transfer Size" "8-bit,16-bit,32-bit,64-bit,16-byte,32-byte,Reserved,Reserved"
textline "                 "
hexmask.long.word 0x04 0.--15. 1. " SOFF[15:0]        ,Source Address Signed Offset"         
if ((d.l(anc:iobase()+(0x2c000+0x10C0+0x08))&0xc0000000)==0x00)
group.long (0x10C0+0x08)++0x03    
line.long 0x00 "TCD6 W2,TCD6  Word 2 Field (NBYTES)"    
bitfld.long 0x00 31. " SMLOE             ,Source minor loop offset enable" "Disabled,Enabled"
bitfld.long 0x00 30. "                DMLOE                         ,Destination minor loop offset enable" "Disabled,Enabled"    
textline "                 "
hexmask.long 0x00 0.--29. 1. " nbytes[29:0]      ,Inner minor byte transfer count"
else
group.long (0x10C0+0x08)++0x03    
line.long 0x00 "TCD6 W2,TCD6  Word 2 Field (NBYTES)"    
bitfld.long 0x00 31. " SMLOE             ,Source minor loop offset enable" "Disabled,Enabled"
bitfld.long 0x00 30. "                DMLOE                         ,Destination minor loop offset enable" "Disabled,Enabled"    
textline "                 "
hexmask.long 0x00 0.--19. 1. " mloff[19:0]       ,Minor loop offset"
endif
group.long (0x10C0+0x0c)++0x13        
line.long 0x00 "TCD6 W3,TCD6  Word 3 Field (SLAST)"
line.long 0x04 "TCD6 W4,TCD6  Word 4 Field (DADDR)"
line.long 0x08 "TCD6 W5,TCD6  Word 5 Field"
bitfld.long 0x08 31. " CITER.E_LINK      ,Enable Channel-to-Channel Linking on Minor Loop Complete" "Disabled,Enabled"
hexmask.long.byte 0x08 25.--30. 1. "                CITER[14:9]/Citer.linkch[5:0] ,Current Major Iteration Count/Link Channel Number" 
textline "                 "
hexmask.long.word 0x08 16.--24. 1. " CITER[8:0]        ,Current Major Iteration Count" 
hexmask.long.word 0x08 0.--15. 1. "                    DOFF[15:0]                    ,Destination Address Signed Offset"     
line.long 0x0c "TCD6 W6,TCD6  Word 6 Field (DLAST_SGA)"
line.long 0x10 "TCD6 W7,TCD6  Word 7 Field"
bitfld.long 0x10 31. " BITER.E_LINK      ,Enable Channel-to-Channel Linking on Minor Loop Complete" "Disabled,Enabled"
hexmask.long.byte 0x10 25.--30. 1. "                Biter[14:9]/Biter.linkch[5:0] ,Beginning Major Iteration Count/Link Channel Number" 
textline "                 "
hexmask.long.word 0x10 16.--24. 1. " BITER[8:0]        ,Beginning Major Iteration Count" 
bitfld.long 0x10 14.--15. "                    BWC[1:0]                      ,Bandwidth Control" "No DMA_ENGINE,Priority elevation,4 cycles,8 cycles"
textline "                 "
hexmask.long.byte 0x10 8.--13. 1. " MAJOR.LINKCH[5:0] ,Link Channel Number"
bitfld.long 0x10 7. "                      DONE                          ,Channel Done" "Not completed,Completed"
textline "                 "
bitfld.long 0x10 6. " ACTIVE            ,Channel Active"  "Completed/Error,Activated"
bitfld.long 0x10 5. "         MAJOR.E_LINK                  ,Enable channel-to-channel Linking on Major Loop Complete" "Disabled,Enabled"
textline "                 "
bitfld.long 0x10 4. " E_SG              ,Enable Scatter/Gather Processing" "Normal,Scatter/gather"
bitfld.long 0x10 3. "          D_REQ                         ,Disable Request" "Not affected,Cleared"
textline "                 "
bitfld.long 0x10 2. " INT_HALF          ,Enable an Interrupt When Major Counter is Half Complete" "Disabled,Enabled"
bitfld.long 0x10 1. "                INT_MAJ                       ,Enable an Interrupt When Major Iteration Count Completes" "Disabled,Enabled"
textline "                 "
bitfld.long 0x10 0. " START             ,Channel Start" "Not explicitly started,Explicitly started"
group.long 0x10E0++0x07 "Transfer Control Descriptor Register 7 "
line.long 0x00 "TCD7 W0,TCD7  Word 0 Field (SADDR)"        
line.long 0x04 "TCD7 W1,TCD7  Word 1 Field"
bitfld.long 0x04 27.--31. " SMOD[4:0]         ,Source Address Modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x04 24.--26. "                SSIZE[2:0]                    ,Source Data Transfer Size" "8-bit,16-bit,32-bit,64-bit,16-byte,32-byte,Reserved,Reserved"
textline "                 "
bitfld.long 0x04 19.--23. " DMOD[4:0]         ,Destination Address Modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x04 16.--18. "                DSIZE[2:0]                    ,Destination Data Transfer Size" "8-bit,16-bit,32-bit,64-bit,16-byte,32-byte,Reserved,Reserved"
textline "                 "
hexmask.long.word 0x04 0.--15. 1. " SOFF[15:0]        ,Source Address Signed Offset"         
if ((d.l(anc:iobase()+(0x2c000+0x10E0+0x08))&0xc0000000)==0x00)
group.long (0x10E0+0x08)++0x03    
line.long 0x00 "TCD7 W2,TCD7  Word 2 Field (NBYTES)"    
bitfld.long 0x00 31. " SMLOE             ,Source minor loop offset enable" "Disabled,Enabled"
bitfld.long 0x00 30. "                DMLOE                         ,Destination minor loop offset enable" "Disabled,Enabled"    
textline "                 "
hexmask.long 0x00 0.--29. 1. " nbytes[29:0]      ,Inner minor byte transfer count"
else
group.long (0x10E0+0x08)++0x03    
line.long 0x00 "TCD7 W2,TCD7  Word 2 Field (NBYTES)"    
bitfld.long 0x00 31. " SMLOE             ,Source minor loop offset enable" "Disabled,Enabled"
bitfld.long 0x00 30. "                DMLOE                         ,Destination minor loop offset enable" "Disabled,Enabled"    
textline "                 "
hexmask.long 0x00 0.--19. 1. " mloff[19:0]       ,Minor loop offset"
endif
group.long (0x10E0+0x0c)++0x13        
line.long 0x00 "TCD7 W3,TCD7  Word 3 Field (SLAST)"
line.long 0x04 "TCD7 W4,TCD7  Word 4 Field (DADDR)"
line.long 0x08 "TCD7 W5,TCD7  Word 5 Field"
bitfld.long 0x08 31. " CITER.E_LINK      ,Enable Channel-to-Channel Linking on Minor Loop Complete" "Disabled,Enabled"
hexmask.long.byte 0x08 25.--30. 1. "                CITER[14:9]/Citer.linkch[5:0] ,Current Major Iteration Count/Link Channel Number" 
textline "                 "
hexmask.long.word 0x08 16.--24. 1. " CITER[8:0]        ,Current Major Iteration Count" 
hexmask.long.word 0x08 0.--15. 1. "                    DOFF[15:0]                    ,Destination Address Signed Offset"     
line.long 0x0c "TCD7 W6,TCD7  Word 6 Field (DLAST_SGA)"
line.long 0x10 "TCD7 W7,TCD7  Word 7 Field"
bitfld.long 0x10 31. " BITER.E_LINK      ,Enable Channel-to-Channel Linking on Minor Loop Complete" "Disabled,Enabled"
hexmask.long.byte 0x10 25.--30. 1. "                Biter[14:9]/Biter.linkch[5:0] ,Beginning Major Iteration Count/Link Channel Number" 
textline "                 "
hexmask.long.word 0x10 16.--24. 1. " BITER[8:0]        ,Beginning Major Iteration Count" 
bitfld.long 0x10 14.--15. "                    BWC[1:0]                      ,Bandwidth Control" "No DMA_ENGINE,Priority elevation,4 cycles,8 cycles"
textline "                 "
hexmask.long.byte 0x10 8.--13. 1. " MAJOR.LINKCH[5:0] ,Link Channel Number"
bitfld.long 0x10 7. "                      DONE                          ,Channel Done" "Not completed,Completed"
textline "                 "
bitfld.long 0x10 6. " ACTIVE            ,Channel Active"  "Completed/Error,Activated"
bitfld.long 0x10 5. "         MAJOR.E_LINK                  ,Enable channel-to-channel Linking on Major Loop Complete" "Disabled,Enabled"
textline "                 "
bitfld.long 0x10 4. " E_SG              ,Enable Scatter/Gather Processing" "Normal,Scatter/gather"
bitfld.long 0x10 3. "          D_REQ                         ,Disable Request" "Not affected,Cleared"
textline "                 "
bitfld.long 0x10 2. " INT_HALF          ,Enable an Interrupt When Major Counter is Half Complete" "Disabled,Enabled"
bitfld.long 0x10 1. "                INT_MAJ                       ,Enable an Interrupt When Major Iteration Count Completes" "Disabled,Enabled"
textline "                 "
bitfld.long 0x10 0. " START             ,Channel Start" "Not explicitly started,Explicitly started"
group.long 0x1100++0x07 "Transfer Control Descriptor Register 8 "
line.long 0x00 "TCD8 W0,TCD8  Word 0 Field (SADDR)"        
line.long 0x04 "TCD8 W1,TCD8  Word 1 Field"
bitfld.long 0x04 27.--31. " SMOD[4:0]         ,Source Address Modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x04 24.--26. "                SSIZE[2:0]                    ,Source Data Transfer Size" "8-bit,16-bit,32-bit,64-bit,16-byte,32-byte,Reserved,Reserved"
textline "                 "
bitfld.long 0x04 19.--23. " DMOD[4:0]         ,Destination Address Modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x04 16.--18. "                DSIZE[2:0]                    ,Destination Data Transfer Size" "8-bit,16-bit,32-bit,64-bit,16-byte,32-byte,Reserved,Reserved"
textline "                 "
hexmask.long.word 0x04 0.--15. 1. " SOFF[15:0]        ,Source Address Signed Offset"         
if ((d.l(anc:iobase()+(0x2c000+0x1100+0x08))&0xc0000000)==0x00)
group.long (0x1100+0x08)++0x03    
line.long 0x00 "TCD8 W2,TCD8  Word 2 Field (NBYTES)"    
bitfld.long 0x00 31. " SMLOE             ,Source minor loop offset enable" "Disabled,Enabled"
bitfld.long 0x00 30. "                DMLOE                         ,Destination minor loop offset enable" "Disabled,Enabled"    
textline "                 "
hexmask.long 0x00 0.--29. 1. " nbytes[29:0]      ,Inner minor byte transfer count"
else
group.long (0x1100+0x08)++0x03    
line.long 0x00 "TCD8 W2,TCD8  Word 2 Field (NBYTES)"    
bitfld.long 0x00 31. " SMLOE             ,Source minor loop offset enable" "Disabled,Enabled"
bitfld.long 0x00 30. "                DMLOE                         ,Destination minor loop offset enable" "Disabled,Enabled"    
textline "                 "
hexmask.long 0x00 0.--19. 1. " mloff[19:0]       ,Minor loop offset"
endif
group.long (0x1100+0x0c)++0x13        
line.long 0x00 "TCD8 W3,TCD8  Word 3 Field (SLAST)"
line.long 0x04 "TCD8 W4,TCD8  Word 4 Field (DADDR)"
line.long 0x08 "TCD8 W5,TCD8  Word 5 Field"
bitfld.long 0x08 31. " CITER.E_LINK      ,Enable Channel-to-Channel Linking on Minor Loop Complete" "Disabled,Enabled"
hexmask.long.byte 0x08 25.--30. 1. "                CITER[14:9]/Citer.linkch[5:0] ,Current Major Iteration Count/Link Channel Number" 
textline "                 "
hexmask.long.word 0x08 16.--24. 1. " CITER[8:0]        ,Current Major Iteration Count" 
hexmask.long.word 0x08 0.--15. 1. "                    DOFF[15:0]                    ,Destination Address Signed Offset"     
line.long 0x0c "TCD8 W6,TCD8  Word 6 Field (DLAST_SGA)"
line.long 0x10 "TCD8 W7,TCD8  Word 7 Field"
bitfld.long 0x10 31. " BITER.E_LINK      ,Enable Channel-to-Channel Linking on Minor Loop Complete" "Disabled,Enabled"
hexmask.long.byte 0x10 25.--30. 1. "                Biter[14:9]/Biter.linkch[5:0] ,Beginning Major Iteration Count/Link Channel Number" 
textline "                 "
hexmask.long.word 0x10 16.--24. 1. " BITER[8:0]        ,Beginning Major Iteration Count" 
bitfld.long 0x10 14.--15. "                    BWC[1:0]                      ,Bandwidth Control" "No DMA_ENGINE,Priority elevation,4 cycles,8 cycles"
textline "                 "
hexmask.long.byte 0x10 8.--13. 1. " MAJOR.LINKCH[5:0] ,Link Channel Number"
bitfld.long 0x10 7. "                      DONE                          ,Channel Done" "Not completed,Completed"
textline "                 "
bitfld.long 0x10 6. " ACTIVE            ,Channel Active"  "Completed/Error,Activated"
bitfld.long 0x10 5. "         MAJOR.E_LINK                  ,Enable channel-to-channel Linking on Major Loop Complete" "Disabled,Enabled"
textline "                 "
bitfld.long 0x10 4. " E_SG              ,Enable Scatter/Gather Processing" "Normal,Scatter/gather"
bitfld.long 0x10 3. "          D_REQ                         ,Disable Request" "Not affected,Cleared"
textline "                 "
bitfld.long 0x10 2. " INT_HALF          ,Enable an Interrupt When Major Counter is Half Complete" "Disabled,Enabled"
bitfld.long 0x10 1. "                INT_MAJ                       ,Enable an Interrupt When Major Iteration Count Completes" "Disabled,Enabled"
textline "                 "
bitfld.long 0x10 0. " START             ,Channel Start" "Not explicitly started,Explicitly started"
group.long 0x1120++0x07 "Transfer Control Descriptor Register 9 "
line.long 0x00 "TCD9 W0,TCD9  Word 0 Field (SADDR)"        
line.long 0x04 "TCD9 W1,TCD9  Word 1 Field"
bitfld.long 0x04 27.--31. " SMOD[4:0]         ,Source Address Modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x04 24.--26. "                SSIZE[2:0]                    ,Source Data Transfer Size" "8-bit,16-bit,32-bit,64-bit,16-byte,32-byte,Reserved,Reserved"
textline "                 "
bitfld.long 0x04 19.--23. " DMOD[4:0]         ,Destination Address Modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x04 16.--18. "                DSIZE[2:0]                    ,Destination Data Transfer Size" "8-bit,16-bit,32-bit,64-bit,16-byte,32-byte,Reserved,Reserved"
textline "                 "
hexmask.long.word 0x04 0.--15. 1. " SOFF[15:0]        ,Source Address Signed Offset"         
if ((d.l(anc:iobase()+(0x2c000+0x1120+0x08))&0xc0000000)==0x00)
group.long (0x1120+0x08)++0x03    
line.long 0x00 "TCD9 W2,TCD9  Word 2 Field (NBYTES)"    
bitfld.long 0x00 31. " SMLOE             ,Source minor loop offset enable" "Disabled,Enabled"
bitfld.long 0x00 30. "                DMLOE                         ,Destination minor loop offset enable" "Disabled,Enabled"    
textline "                 "
hexmask.long 0x00 0.--29. 1. " nbytes[29:0]      ,Inner minor byte transfer count"
else
group.long (0x1120+0x08)++0x03    
line.long 0x00 "TCD9 W2,TCD9  Word 2 Field (NBYTES)"    
bitfld.long 0x00 31. " SMLOE             ,Source minor loop offset enable" "Disabled,Enabled"
bitfld.long 0x00 30. "                DMLOE                         ,Destination minor loop offset enable" "Disabled,Enabled"    
textline "                 "
hexmask.long 0x00 0.--19. 1. " mloff[19:0]       ,Minor loop offset"
endif
group.long (0x1120+0x0c)++0x13        
line.long 0x00 "TCD9 W3,TCD9  Word 3 Field (SLAST)"
line.long 0x04 "TCD9 W4,TCD9  Word 4 Field (DADDR)"
line.long 0x08 "TCD9 W5,TCD9  Word 5 Field"
bitfld.long 0x08 31. " CITER.E_LINK      ,Enable Channel-to-Channel Linking on Minor Loop Complete" "Disabled,Enabled"
hexmask.long.byte 0x08 25.--30. 1. "                CITER[14:9]/Citer.linkch[5:0] ,Current Major Iteration Count/Link Channel Number" 
textline "                 "
hexmask.long.word 0x08 16.--24. 1. " CITER[8:0]        ,Current Major Iteration Count" 
hexmask.long.word 0x08 0.--15. 1. "                    DOFF[15:0]                    ,Destination Address Signed Offset"     
line.long 0x0c "TCD9 W6,TCD9  Word 6 Field (DLAST_SGA)"
line.long 0x10 "TCD9 W7,TCD9  Word 7 Field"
bitfld.long 0x10 31. " BITER.E_LINK      ,Enable Channel-to-Channel Linking on Minor Loop Complete" "Disabled,Enabled"
hexmask.long.byte 0x10 25.--30. 1. "                Biter[14:9]/Biter.linkch[5:0] ,Beginning Major Iteration Count/Link Channel Number" 
textline "                 "
hexmask.long.word 0x10 16.--24. 1. " BITER[8:0]        ,Beginning Major Iteration Count" 
bitfld.long 0x10 14.--15. "                    BWC[1:0]                      ,Bandwidth Control" "No DMA_ENGINE,Priority elevation,4 cycles,8 cycles"
textline "                 "
hexmask.long.byte 0x10 8.--13. 1. " MAJOR.LINKCH[5:0] ,Link Channel Number"
bitfld.long 0x10 7. "                      DONE                          ,Channel Done" "Not completed,Completed"
textline "                 "
bitfld.long 0x10 6. " ACTIVE            ,Channel Active"  "Completed/Error,Activated"
bitfld.long 0x10 5. "         MAJOR.E_LINK                  ,Enable channel-to-channel Linking on Major Loop Complete" "Disabled,Enabled"
textline "                 "
bitfld.long 0x10 4. " E_SG              ,Enable Scatter/Gather Processing" "Normal,Scatter/gather"
bitfld.long 0x10 3. "          D_REQ                         ,Disable Request" "Not affected,Cleared"
textline "                 "
bitfld.long 0x10 2. " INT_HALF          ,Enable an Interrupt When Major Counter is Half Complete" "Disabled,Enabled"
bitfld.long 0x10 1. "                INT_MAJ                       ,Enable an Interrupt When Major Iteration Count Completes" "Disabled,Enabled"
textline "                 "
bitfld.long 0x10 0. " START             ,Channel Start" "Not explicitly started,Explicitly started"
group.long 0x1140++0x07 "Transfer Control Descriptor Register 10"
line.long 0x00 "TCD10W0,TCD10 Word 0 Field (SADDR)"        
line.long 0x04 "TCD10W1,TCD10 Word 1 Field"
bitfld.long 0x04 27.--31. " SMOD[4:0]         ,Source Address Modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x04 24.--26. "                SSIZE[2:0]                    ,Source Data Transfer Size" "8-bit,16-bit,32-bit,64-bit,16-byte,32-byte,Reserved,Reserved"
textline "                 "
bitfld.long 0x04 19.--23. " DMOD[4:0]         ,Destination Address Modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x04 16.--18. "                DSIZE[2:0]                    ,Destination Data Transfer Size" "8-bit,16-bit,32-bit,64-bit,16-byte,32-byte,Reserved,Reserved"
textline "                 "
hexmask.long.word 0x04 0.--15. 1. " SOFF[15:0]        ,Source Address Signed Offset"         
if ((d.l(anc:iobase()+(0x2c000+0x1140+0x08))&0xc0000000)==0x00)
group.long (0x1140+0x08)++0x03    
line.long 0x00 "TCD10W2,TCD10 Word 2 Field (NBYTES)"    
bitfld.long 0x00 31. " SMLOE             ,Source minor loop offset enable" "Disabled,Enabled"
bitfld.long 0x00 30. "                DMLOE                         ,Destination minor loop offset enable" "Disabled,Enabled"    
textline "                 "
hexmask.long 0x00 0.--29. 1. " nbytes[29:0]      ,Inner minor byte transfer count"
else
group.long (0x1140+0x08)++0x03    
line.long 0x00 "TCD10W2,TCD10 Word 2 Field (NBYTES)"    
bitfld.long 0x00 31. " SMLOE             ,Source minor loop offset enable" "Disabled,Enabled"
bitfld.long 0x00 30. "                DMLOE                         ,Destination minor loop offset enable" "Disabled,Enabled"    
textline "                 "
hexmask.long 0x00 0.--19. 1. " mloff[19:0]       ,Minor loop offset"
endif
group.long (0x1140+0x0c)++0x13        
line.long 0x00 "TCD10W3,TCD10 Word 3 Field (SLAST)"
line.long 0x04 "TCD10W4,TCD10 Word 4 Field (DADDR)"
line.long 0x08 "TCD10W5,TCD10 Word 5 Field"
bitfld.long 0x08 31. " CITER.E_LINK      ,Enable Channel-to-Channel Linking on Minor Loop Complete" "Disabled,Enabled"
hexmask.long.byte 0x08 25.--30. 1. "                CITER[14:9]/Citer.linkch[5:0] ,Current Major Iteration Count/Link Channel Number" 
textline "                 "
hexmask.long.word 0x08 16.--24. 1. " CITER[8:0]        ,Current Major Iteration Count" 
hexmask.long.word 0x08 0.--15. 1. "                    DOFF[15:0]                    ,Destination Address Signed Offset"     
line.long 0x0c "TCD10W6,TCD10 Word 6 Field (DLAST_SGA)"
line.long 0x10 "TCD10W7,TCD10 Word 7 Field"
bitfld.long 0x10 31. " BITER.E_LINK      ,Enable Channel-to-Channel Linking on Minor Loop Complete" "Disabled,Enabled"
hexmask.long.byte 0x10 25.--30. 1. "                Biter[14:9]/Biter.linkch[5:0] ,Beginning Major Iteration Count/Link Channel Number" 
textline "                 "
hexmask.long.word 0x10 16.--24. 1. " BITER[8:0]        ,Beginning Major Iteration Count" 
bitfld.long 0x10 14.--15. "                    BWC[1:0]                      ,Bandwidth Control" "No DMA_ENGINE,Priority elevation,4 cycles,8 cycles"
textline "                 "
hexmask.long.byte 0x10 8.--13. 1. " MAJOR.LINKCH[5:0] ,Link Channel Number"
bitfld.long 0x10 7. "                      DONE                          ,Channel Done" "Not completed,Completed"
textline "                 "
bitfld.long 0x10 6. " ACTIVE            ,Channel Active"  "Completed/Error,Activated"
bitfld.long 0x10 5. "         MAJOR.E_LINK                  ,Enable channel-to-channel Linking on Major Loop Complete" "Disabled,Enabled"
textline "                 "
bitfld.long 0x10 4. " E_SG              ,Enable Scatter/Gather Processing" "Normal,Scatter/gather"
bitfld.long 0x10 3. "          D_REQ                         ,Disable Request" "Not affected,Cleared"
textline "                 "
bitfld.long 0x10 2. " INT_HALF          ,Enable an Interrupt When Major Counter is Half Complete" "Disabled,Enabled"
bitfld.long 0x10 1. "                INT_MAJ                       ,Enable an Interrupt When Major Iteration Count Completes" "Disabled,Enabled"
textline "                 "
bitfld.long 0x10 0. " START             ,Channel Start" "Not explicitly started,Explicitly started"
group.long 0x1160++0x07 "Transfer Control Descriptor Register 11"
line.long 0x00 "TCD11W0,TCD11 Word 0 Field (SADDR)"        
line.long 0x04 "TCD11W1,TCD11 Word 1 Field"
bitfld.long 0x04 27.--31. " SMOD[4:0]         ,Source Address Modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x04 24.--26. "                SSIZE[2:0]                    ,Source Data Transfer Size" "8-bit,16-bit,32-bit,64-bit,16-byte,32-byte,Reserved,Reserved"
textline "                 "
bitfld.long 0x04 19.--23. " DMOD[4:0]         ,Destination Address Modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x04 16.--18. "                DSIZE[2:0]                    ,Destination Data Transfer Size" "8-bit,16-bit,32-bit,64-bit,16-byte,32-byte,Reserved,Reserved"
textline "                 "
hexmask.long.word 0x04 0.--15. 1. " SOFF[15:0]        ,Source Address Signed Offset"         
if ((d.l(anc:iobase()+(0x2c000+0x1160+0x08))&0xc0000000)==0x00)
group.long (0x1160+0x08)++0x03    
line.long 0x00 "TCD11W2,TCD11 Word 2 Field (NBYTES)"    
bitfld.long 0x00 31. " SMLOE             ,Source minor loop offset enable" "Disabled,Enabled"
bitfld.long 0x00 30. "                DMLOE                         ,Destination minor loop offset enable" "Disabled,Enabled"    
textline "                 "
hexmask.long 0x00 0.--29. 1. " nbytes[29:0]      ,Inner minor byte transfer count"
else
group.long (0x1160+0x08)++0x03    
line.long 0x00 "TCD11W2,TCD11 Word 2 Field (NBYTES)"    
bitfld.long 0x00 31. " SMLOE             ,Source minor loop offset enable" "Disabled,Enabled"
bitfld.long 0x00 30. "                DMLOE                         ,Destination minor loop offset enable" "Disabled,Enabled"    
textline "                 "
hexmask.long 0x00 0.--19. 1. " mloff[19:0]       ,Minor loop offset"
endif
group.long (0x1160+0x0c)++0x13        
line.long 0x00 "TCD11W3,TCD11 Word 3 Field (SLAST)"
line.long 0x04 "TCD11W4,TCD11 Word 4 Field (DADDR)"
line.long 0x08 "TCD11W5,TCD11 Word 5 Field"
bitfld.long 0x08 31. " CITER.E_LINK      ,Enable Channel-to-Channel Linking on Minor Loop Complete" "Disabled,Enabled"
hexmask.long.byte 0x08 25.--30. 1. "                CITER[14:9]/Citer.linkch[5:0] ,Current Major Iteration Count/Link Channel Number" 
textline "                 "
hexmask.long.word 0x08 16.--24. 1. " CITER[8:0]        ,Current Major Iteration Count" 
hexmask.long.word 0x08 0.--15. 1. "                    DOFF[15:0]                    ,Destination Address Signed Offset"     
line.long 0x0c "TCD11W6,TCD11 Word 6 Field (DLAST_SGA)"
line.long 0x10 "TCD11W7,TCD11 Word 7 Field"
bitfld.long 0x10 31. " BITER.E_LINK      ,Enable Channel-to-Channel Linking on Minor Loop Complete" "Disabled,Enabled"
hexmask.long.byte 0x10 25.--30. 1. "                Biter[14:9]/Biter.linkch[5:0] ,Beginning Major Iteration Count/Link Channel Number" 
textline "                 "
hexmask.long.word 0x10 16.--24. 1. " BITER[8:0]        ,Beginning Major Iteration Count" 
bitfld.long 0x10 14.--15. "                    BWC[1:0]                      ,Bandwidth Control" "No DMA_ENGINE,Priority elevation,4 cycles,8 cycles"
textline "                 "
hexmask.long.byte 0x10 8.--13. 1. " MAJOR.LINKCH[5:0] ,Link Channel Number"
bitfld.long 0x10 7. "                      DONE                          ,Channel Done" "Not completed,Completed"
textline "                 "
bitfld.long 0x10 6. " ACTIVE            ,Channel Active"  "Completed/Error,Activated"
bitfld.long 0x10 5. "         MAJOR.E_LINK                  ,Enable channel-to-channel Linking on Major Loop Complete" "Disabled,Enabled"
textline "                 "
bitfld.long 0x10 4. " E_SG              ,Enable Scatter/Gather Processing" "Normal,Scatter/gather"
bitfld.long 0x10 3. "          D_REQ                         ,Disable Request" "Not affected,Cleared"
textline "                 "
bitfld.long 0x10 2. " INT_HALF          ,Enable an Interrupt When Major Counter is Half Complete" "Disabled,Enabled"
bitfld.long 0x10 1. "                INT_MAJ                       ,Enable an Interrupt When Major Iteration Count Completes" "Disabled,Enabled"
textline "                 "
bitfld.long 0x10 0. " START             ,Channel Start" "Not explicitly started,Explicitly started"
group.long 0x1180++0x07 "Transfer Control Descriptor Register 12"
line.long 0x00 "TCD12W0,TCD12 Word 0 Field (SADDR)"        
line.long 0x04 "TCD12W1,TCD12 Word 1 Field"
bitfld.long 0x04 27.--31. " SMOD[4:0]         ,Source Address Modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x04 24.--26. "                SSIZE[2:0]                    ,Source Data Transfer Size" "8-bit,16-bit,32-bit,64-bit,16-byte,32-byte,Reserved,Reserved"
textline "                 "
bitfld.long 0x04 19.--23. " DMOD[4:0]         ,Destination Address Modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x04 16.--18. "                DSIZE[2:0]                    ,Destination Data Transfer Size" "8-bit,16-bit,32-bit,64-bit,16-byte,32-byte,Reserved,Reserved"
textline "                 "
hexmask.long.word 0x04 0.--15. 1. " SOFF[15:0]        ,Source Address Signed Offset"         
if ((d.l(anc:iobase()+(0x2c000+0x1180+0x08))&0xc0000000)==0x00)
group.long (0x1180+0x08)++0x03    
line.long 0x00 "TCD12W2,TCD12 Word 2 Field (NBYTES)"    
bitfld.long 0x00 31. " SMLOE             ,Source minor loop offset enable" "Disabled,Enabled"
bitfld.long 0x00 30. "                DMLOE                         ,Destination minor loop offset enable" "Disabled,Enabled"    
textline "                 "
hexmask.long 0x00 0.--29. 1. " nbytes[29:0]      ,Inner minor byte transfer count"
else
group.long (0x1180+0x08)++0x03    
line.long 0x00 "TCD12W2,TCD12 Word 2 Field (NBYTES)"    
bitfld.long 0x00 31. " SMLOE             ,Source minor loop offset enable" "Disabled,Enabled"
bitfld.long 0x00 30. "                DMLOE                         ,Destination minor loop offset enable" "Disabled,Enabled"    
textline "                 "
hexmask.long 0x00 0.--19. 1. " mloff[19:0]       ,Minor loop offset"
endif
group.long (0x1180+0x0c)++0x13        
line.long 0x00 "TCD12W3,TCD12 Word 3 Field (SLAST)"
line.long 0x04 "TCD12W4,TCD12 Word 4 Field (DADDR)"
line.long 0x08 "TCD12W5,TCD12 Word 5 Field"
bitfld.long 0x08 31. " CITER.E_LINK      ,Enable Channel-to-Channel Linking on Minor Loop Complete" "Disabled,Enabled"
hexmask.long.byte 0x08 25.--30. 1. "                CITER[14:9]/Citer.linkch[5:0] ,Current Major Iteration Count/Link Channel Number" 
textline "                 "
hexmask.long.word 0x08 16.--24. 1. " CITER[8:0]        ,Current Major Iteration Count" 
hexmask.long.word 0x08 0.--15. 1. "                    DOFF[15:0]                    ,Destination Address Signed Offset"     
line.long 0x0c "TCD12W6,TCD12 Word 6 Field (DLAST_SGA)"
line.long 0x10 "TCD12W7,TCD12 Word 7 Field"
bitfld.long 0x10 31. " BITER.E_LINK      ,Enable Channel-to-Channel Linking on Minor Loop Complete" "Disabled,Enabled"
hexmask.long.byte 0x10 25.--30. 1. "                Biter[14:9]/Biter.linkch[5:0] ,Beginning Major Iteration Count/Link Channel Number" 
textline "                 "
hexmask.long.word 0x10 16.--24. 1. " BITER[8:0]        ,Beginning Major Iteration Count" 
bitfld.long 0x10 14.--15. "                    BWC[1:0]                      ,Bandwidth Control" "No DMA_ENGINE,Priority elevation,4 cycles,8 cycles"
textline "                 "
hexmask.long.byte 0x10 8.--13. 1. " MAJOR.LINKCH[5:0] ,Link Channel Number"
bitfld.long 0x10 7. "                      DONE                          ,Channel Done" "Not completed,Completed"
textline "                 "
bitfld.long 0x10 6. " ACTIVE            ,Channel Active"  "Completed/Error,Activated"
bitfld.long 0x10 5. "         MAJOR.E_LINK                  ,Enable channel-to-channel Linking on Major Loop Complete" "Disabled,Enabled"
textline "                 "
bitfld.long 0x10 4. " E_SG              ,Enable Scatter/Gather Processing" "Normal,Scatter/gather"
bitfld.long 0x10 3. "          D_REQ                         ,Disable Request" "Not affected,Cleared"
textline "                 "
bitfld.long 0x10 2. " INT_HALF          ,Enable an Interrupt When Major Counter is Half Complete" "Disabled,Enabled"
bitfld.long 0x10 1. "                INT_MAJ                       ,Enable an Interrupt When Major Iteration Count Completes" "Disabled,Enabled"
textline "                 "
bitfld.long 0x10 0. " START             ,Channel Start" "Not explicitly started,Explicitly started"
group.long 0x11A0++0x07 "Transfer Control Descriptor Register 13"
line.long 0x00 "TCD13W0,TCD13 Word 0 Field (SADDR)"        
line.long 0x04 "TCD13W1,TCD13 Word 1 Field"
bitfld.long 0x04 27.--31. " SMOD[4:0]         ,Source Address Modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x04 24.--26. "                SSIZE[2:0]                    ,Source Data Transfer Size" "8-bit,16-bit,32-bit,64-bit,16-byte,32-byte,Reserved,Reserved"
textline "                 "
bitfld.long 0x04 19.--23. " DMOD[4:0]         ,Destination Address Modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x04 16.--18. "                DSIZE[2:0]                    ,Destination Data Transfer Size" "8-bit,16-bit,32-bit,64-bit,16-byte,32-byte,Reserved,Reserved"
textline "                 "
hexmask.long.word 0x04 0.--15. 1. " SOFF[15:0]        ,Source Address Signed Offset"         
if ((d.l(anc:iobase()+(0x2c000+0x11A0+0x08))&0xc0000000)==0x00)
group.long (0x11A0+0x08)++0x03    
line.long 0x00 "TCD13W2,TCD13 Word 2 Field (NBYTES)"    
bitfld.long 0x00 31. " SMLOE             ,Source minor loop offset enable" "Disabled,Enabled"
bitfld.long 0x00 30. "                DMLOE                         ,Destination minor loop offset enable" "Disabled,Enabled"    
textline "                 "
hexmask.long 0x00 0.--29. 1. " nbytes[29:0]      ,Inner minor byte transfer count"
else
group.long (0x11A0+0x08)++0x03    
line.long 0x00 "TCD13W2,TCD13 Word 2 Field (NBYTES)"    
bitfld.long 0x00 31. " SMLOE             ,Source minor loop offset enable" "Disabled,Enabled"
bitfld.long 0x00 30. "                DMLOE                         ,Destination minor loop offset enable" "Disabled,Enabled"    
textline "                 "
hexmask.long 0x00 0.--19. 1. " mloff[19:0]       ,Minor loop offset"
endif
group.long (0x11A0+0x0c)++0x13        
line.long 0x00 "TCD13W3,TCD13 Word 3 Field (SLAST)"
line.long 0x04 "TCD13W4,TCD13 Word 4 Field (DADDR)"
line.long 0x08 "TCD13W5,TCD13 Word 5 Field"
bitfld.long 0x08 31. " CITER.E_LINK      ,Enable Channel-to-Channel Linking on Minor Loop Complete" "Disabled,Enabled"
hexmask.long.byte 0x08 25.--30. 1. "                CITER[14:9]/Citer.linkch[5:0] ,Current Major Iteration Count/Link Channel Number" 
textline "                 "
hexmask.long.word 0x08 16.--24. 1. " CITER[8:0]        ,Current Major Iteration Count" 
hexmask.long.word 0x08 0.--15. 1. "                    DOFF[15:0]                    ,Destination Address Signed Offset"     
line.long 0x0c "TCD13W6,TCD13 Word 6 Field (DLAST_SGA)"
line.long 0x10 "TCD13W7,TCD13 Word 7 Field"
bitfld.long 0x10 31. " BITER.E_LINK      ,Enable Channel-to-Channel Linking on Minor Loop Complete" "Disabled,Enabled"
hexmask.long.byte 0x10 25.--30. 1. "                Biter[14:9]/Biter.linkch[5:0] ,Beginning Major Iteration Count/Link Channel Number" 
textline "                 "
hexmask.long.word 0x10 16.--24. 1. " BITER[8:0]        ,Beginning Major Iteration Count" 
bitfld.long 0x10 14.--15. "                    BWC[1:0]                      ,Bandwidth Control" "No DMA_ENGINE,Priority elevation,4 cycles,8 cycles"
textline "                 "
hexmask.long.byte 0x10 8.--13. 1. " MAJOR.LINKCH[5:0] ,Link Channel Number"
bitfld.long 0x10 7. "                      DONE                          ,Channel Done" "Not completed,Completed"
textline "                 "
bitfld.long 0x10 6. " ACTIVE            ,Channel Active"  "Completed/Error,Activated"
bitfld.long 0x10 5. "         MAJOR.E_LINK                  ,Enable channel-to-channel Linking on Major Loop Complete" "Disabled,Enabled"
textline "                 "
bitfld.long 0x10 4. " E_SG              ,Enable Scatter/Gather Processing" "Normal,Scatter/gather"
bitfld.long 0x10 3. "          D_REQ                         ,Disable Request" "Not affected,Cleared"
textline "                 "
bitfld.long 0x10 2. " INT_HALF          ,Enable an Interrupt When Major Counter is Half Complete" "Disabled,Enabled"
bitfld.long 0x10 1. "                INT_MAJ                       ,Enable an Interrupt When Major Iteration Count Completes" "Disabled,Enabled"
textline "                 "
bitfld.long 0x10 0. " START             ,Channel Start" "Not explicitly started,Explicitly started"
group.long 0x11C0++0x07 "Transfer Control Descriptor Register 14"
line.long 0x00 "TCD14W0,TCD14 Word 0 Field (SADDR)"        
line.long 0x04 "TCD14W1,TCD14 Word 1 Field"
bitfld.long 0x04 27.--31. " SMOD[4:0]         ,Source Address Modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x04 24.--26. "                SSIZE[2:0]                    ,Source Data Transfer Size" "8-bit,16-bit,32-bit,64-bit,16-byte,32-byte,Reserved,Reserved"
textline "                 "
bitfld.long 0x04 19.--23. " DMOD[4:0]         ,Destination Address Modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x04 16.--18. "                DSIZE[2:0]                    ,Destination Data Transfer Size" "8-bit,16-bit,32-bit,64-bit,16-byte,32-byte,Reserved,Reserved"
textline "                 "
hexmask.long.word 0x04 0.--15. 1. " SOFF[15:0]        ,Source Address Signed Offset"         
if ((d.l(anc:iobase()+(0x2c000+0x11C0+0x08))&0xc0000000)==0x00)
group.long (0x11C0+0x08)++0x03    
line.long 0x00 "TCD14W2,TCD14 Word 2 Field (NBYTES)"    
bitfld.long 0x00 31. " SMLOE             ,Source minor loop offset enable" "Disabled,Enabled"
bitfld.long 0x00 30. "                DMLOE                         ,Destination minor loop offset enable" "Disabled,Enabled"    
textline "                 "
hexmask.long 0x00 0.--29. 1. " nbytes[29:0]      ,Inner minor byte transfer count"
else
group.long (0x11C0+0x08)++0x03    
line.long 0x00 "TCD14W2,TCD14 Word 2 Field (NBYTES)"    
bitfld.long 0x00 31. " SMLOE             ,Source minor loop offset enable" "Disabled,Enabled"
bitfld.long 0x00 30. "                DMLOE                         ,Destination minor loop offset enable" "Disabled,Enabled"    
textline "                 "
hexmask.long 0x00 0.--19. 1. " mloff[19:0]       ,Minor loop offset"
endif
group.long (0x11C0+0x0c)++0x13        
line.long 0x00 "TCD14W3,TCD14 Word 3 Field (SLAST)"
line.long 0x04 "TCD14W4,TCD14 Word 4 Field (DADDR)"
line.long 0x08 "TCD14W5,TCD14 Word 5 Field"
bitfld.long 0x08 31. " CITER.E_LINK      ,Enable Channel-to-Channel Linking on Minor Loop Complete" "Disabled,Enabled"
hexmask.long.byte 0x08 25.--30. 1. "                CITER[14:9]/Citer.linkch[5:0] ,Current Major Iteration Count/Link Channel Number" 
textline "                 "
hexmask.long.word 0x08 16.--24. 1. " CITER[8:0]        ,Current Major Iteration Count" 
hexmask.long.word 0x08 0.--15. 1. "                    DOFF[15:0]                    ,Destination Address Signed Offset"     
line.long 0x0c "TCD14W6,TCD14 Word 6 Field (DLAST_SGA)"
line.long 0x10 "TCD14W7,TCD14 Word 7 Field"
bitfld.long 0x10 31. " BITER.E_LINK      ,Enable Channel-to-Channel Linking on Minor Loop Complete" "Disabled,Enabled"
hexmask.long.byte 0x10 25.--30. 1. "                Biter[14:9]/Biter.linkch[5:0] ,Beginning Major Iteration Count/Link Channel Number" 
textline "                 "
hexmask.long.word 0x10 16.--24. 1. " BITER[8:0]        ,Beginning Major Iteration Count" 
bitfld.long 0x10 14.--15. "                    BWC[1:0]                      ,Bandwidth Control" "No DMA_ENGINE,Priority elevation,4 cycles,8 cycles"
textline "                 "
hexmask.long.byte 0x10 8.--13. 1. " MAJOR.LINKCH[5:0] ,Link Channel Number"
bitfld.long 0x10 7. "                      DONE                          ,Channel Done" "Not completed,Completed"
textline "                 "
bitfld.long 0x10 6. " ACTIVE            ,Channel Active"  "Completed/Error,Activated"
bitfld.long 0x10 5. "         MAJOR.E_LINK                  ,Enable channel-to-channel Linking on Major Loop Complete" "Disabled,Enabled"
textline "                 "
bitfld.long 0x10 4. " E_SG              ,Enable Scatter/Gather Processing" "Normal,Scatter/gather"
bitfld.long 0x10 3. "          D_REQ                         ,Disable Request" "Not affected,Cleared"
textline "                 "
bitfld.long 0x10 2. " INT_HALF          ,Enable an Interrupt When Major Counter is Half Complete" "Disabled,Enabled"
bitfld.long 0x10 1. "                INT_MAJ                       ,Enable an Interrupt When Major Iteration Count Completes" "Disabled,Enabled"
textline "                 "
bitfld.long 0x10 0. " START             ,Channel Start" "Not explicitly started,Explicitly started"
group.long 0x11E0++0x07 "Transfer Control Descriptor Register 15"
line.long 0x00 "TCD15W0,TCD15 Word 0 Field (SADDR)"        
line.long 0x04 "TCD15W1,TCD15 Word 1 Field"
bitfld.long 0x04 27.--31. " SMOD[4:0]         ,Source Address Modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x04 24.--26. "                SSIZE[2:0]                    ,Source Data Transfer Size" "8-bit,16-bit,32-bit,64-bit,16-byte,32-byte,Reserved,Reserved"
textline "                 "
bitfld.long 0x04 19.--23. " DMOD[4:0]         ,Destination Address Modulo" "Disabled,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x04 16.--18. "                DSIZE[2:0]                    ,Destination Data Transfer Size" "8-bit,16-bit,32-bit,64-bit,16-byte,32-byte,Reserved,Reserved"
textline "                 "
hexmask.long.word 0x04 0.--15. 1. " SOFF[15:0]        ,Source Address Signed Offset"         
if ((d.l(anc:iobase()+(0x2c000+0x11E0+0x08))&0xc0000000)==0x00)
group.long (0x11E0+0x08)++0x03    
line.long 0x00 "TCD15W2,TCD15 Word 2 Field (NBYTES)"    
bitfld.long 0x00 31. " SMLOE             ,Source minor loop offset enable" "Disabled,Enabled"
bitfld.long 0x00 30. "                DMLOE                         ,Destination minor loop offset enable" "Disabled,Enabled"    
textline "                 "
hexmask.long 0x00 0.--29. 1. " nbytes[29:0]      ,Inner minor byte transfer count"
else
group.long (0x11E0+0x08)++0x03    
line.long 0x00 "TCD15W2,TCD15 Word 2 Field (NBYTES)"    
bitfld.long 0x00 31. " SMLOE             ,Source minor loop offset enable" "Disabled,Enabled"
bitfld.long 0x00 30. "                DMLOE                         ,Destination minor loop offset enable" "Disabled,Enabled"    
textline "                 "
hexmask.long 0x00 0.--19. 1. " mloff[19:0]       ,Minor loop offset"
endif
group.long (0x11E0+0x0c)++0x13        
line.long 0x00 "TCD15W3,TCD15 Word 3 Field (SLAST)"
line.long 0x04 "TCD15W4,TCD15 Word 4 Field (DADDR)"
line.long 0x08 "TCD15W5,TCD15 Word 5 Field"
bitfld.long 0x08 31. " CITER.E_LINK      ,Enable Channel-to-Channel Linking on Minor Loop Complete" "Disabled,Enabled"
hexmask.long.byte 0x08 25.--30. 1. "                CITER[14:9]/Citer.linkch[5:0] ,Current Major Iteration Count/Link Channel Number" 
textline "                 "
hexmask.long.word 0x08 16.--24. 1. " CITER[8:0]        ,Current Major Iteration Count" 
hexmask.long.word 0x08 0.--15. 1. "                    DOFF[15:0]                    ,Destination Address Signed Offset"     
line.long 0x0c "TCD15W6,TCD15 Word 6 Field (DLAST_SGA)"
line.long 0x10 "TCD15W7,TCD15 Word 7 Field"
bitfld.long 0x10 31. " BITER.E_LINK      ,Enable Channel-to-Channel Linking on Minor Loop Complete" "Disabled,Enabled"
hexmask.long.byte 0x10 25.--30. 1. "                Biter[14:9]/Biter.linkch[5:0] ,Beginning Major Iteration Count/Link Channel Number" 
textline "                 "
hexmask.long.word 0x10 16.--24. 1. " BITER[8:0]        ,Beginning Major Iteration Count" 
bitfld.long 0x10 14.--15. "                    BWC[1:0]                      ,Bandwidth Control" "No DMA_ENGINE,Priority elevation,4 cycles,8 cycles"
textline "                 "
hexmask.long.byte 0x10 8.--13. 1. " MAJOR.LINKCH[5:0] ,Link Channel Number"
bitfld.long 0x10 7. "                      DONE                          ,Channel Done" "Not completed,Completed"
textline "                 "
bitfld.long 0x10 6. " ACTIVE            ,Channel Active"  "Completed/Error,Activated"
bitfld.long 0x10 5. "         MAJOR.E_LINK                  ,Enable channel-to-channel Linking on Major Loop Complete" "Disabled,Enabled"
textline "                 "
bitfld.long 0x10 4. " E_SG              ,Enable Scatter/Gather Processing" "Normal,Scatter/gather"
bitfld.long 0x10 3. "          D_REQ                         ,Disable Request" "Not affected,Cleared"
textline "                 "
bitfld.long 0x10 2. " INT_HALF          ,Enable an Interrupt When Major Counter is Half Complete" "Disabled,Enabled"
bitfld.long 0x10 1. "                INT_MAJ                       ,Enable an Interrupt When Major Iteration Count Completes" "Disabled,Enabled"
textline "                 "
bitfld.long 0x10 0. " START             ,Channel Start" "Not explicitly started,Explicitly started"
tree.end    
base anc:iobase()        

tree.end
endif
textline ""
textline ""
textline ""

