Deleted Added
full compact
26c26
< * $FreeBSD: head/sys/arm/ti/cpsw/if_cpswreg.h 244939 2013-01-01 18:55:04Z kientzle $
---
> * $FreeBSD: head/sys/arm/ti/cpsw/if_cpswreg.h 246276 2013-02-03 01:08:01Z kientzle $
36a37
> #define CPSW_SS_FLOW_CONTROL (CPSW_SS_OFFSET + 0x24)
38a40,41
> #define CPSW_PORT_P_MAX_BLKS(p) (CPSW_PORT_OFFSET + 0x08 + ((p) * 0x100))
> #define CPSW_PORT_P_BLK_CNT(p) (CPSW_PORT_OFFSET + 0x0C + ((p) * 0x100))
86a90
> /* SL1 is at 0x0D80, SL2 is at 0x0DC0 */
88a93
> #define CPSW_SL_MACSTATUS(p) (CPSW_SL_OFFSET + (0x40 * (p)) + 0x08)
90a96,97
> #define CPSW_SL_RX_PAUSE(p) (CPSW_SL_OFFSET + (0x40 * (p)) + 0x18)
> #define CPSW_SL_TX_PAUSE(p) (CPSW_SL_OFFSET + (0x40 * (p)) + 0x1C)
111a119
> #define CPSW_CPPI_RAM_SIZE 0x2000
112a121,136
> #define CPDMA_BD_SOP (1<<15)
> #define CPDMA_BD_EOP (1<<14)
> #define CPDMA_BD_OWNER (1<<13)
> #define CPDMA_BD_EOQ (1<<12)
> #define CPDMA_BD_TDOWNCMPLT (1<<11)
> #define CPDMA_BD_PKT_ERR_MASK (3<< 4)
>
> struct cpsw_cpdma_bd {
> volatile uint32_t next;
> volatile uint32_t bufptr;
> volatile uint16_t buflen;
> volatile uint16_t bufoff;
> volatile uint16_t pktlen;
> volatile uint16_t flags;
> };
>