Blame | Last modification | View Log | Download | RSS feed
ifndef __52xxfecinc ; avoid multiple inclusion__52xxfecinc equ 1savelisting off ; no listing over this file;****************************************************************************;* *;* AS 1.42 - File 52XXFEC.INC *;* *;* Contains SFR and Bit Definitions for ColdFire MCF52xx Fast Ethernet *;* Controller *;* *;****************************************************************************include "coldfire/5xxxfec.inc"__deffec "",MBAR_FEC ; No 52xx/53xx device with more than one FECTXB cfbit EIR,26 ; Transmit Buffer InterruptRXF cfbit EIR,25 ; Receive Frame InterruptRXB cfbit EIR,24 ; Receive Buffer InterruptEBERR cfbit EIR,22 ; Ethernet Bus ErrorUN cfbit EIR,19 ; Transmit FIFO UnderrunTXB cfbit EIMR,26 ; Transmit Buffer InterruptRXF cfbit EIMR,25 ; Receive Frame InterruptRXB cfbit EIMR,24 ; Receive Buffer InterruptEBERR cfbit EIMR,22 ; Ethernet Bus ErrorUN cfbit EIMR,19 ; Transmit FIFO UnderrunRDAR equ MBAR_FEC+$010 ; Receive Descriptor Active Register (32b)RDAR cfbit RDAR,24TDAR equ MBAR_FEC+$014 ; Transmit Descriptor Active Register (32b)TDAR cfbit TDAR,24FRBR equ MBAR_FEC+$14C ; FIFO Receive Bound Register (32b)R_BOUND cffield FRBR,2,8 ; Highest valid FIFO RAM AddressFRSR equ MBAR_FEC+$150 ; FIFO Receive FIFO Start Register (32b)R_FSTART cffield FRSR,2,8 ; Address of First Receive FIFO LocationERDSR equ MBAR_FEC+$180 ; Pointer to Receive Descriptor Ring (32b)ETDSR equ MBAR_FEC+$184 ; Pointer to Transmit Descriptor Ring (32b)EMRBR equ MBAR_FEC+$188 ; Maximum Receive Buffer Size (32b)R_BUF_SIZE cffield EMRBR,4,7 ; Maximum size of Receive Bufferrestore ; re-enable listingendif ; __52xxfecinc