2 * Hardware-specific Receive Data Header for the
3 * Broadcom Home Networking Division
4 * BCM44XX and BCM47XX 10/100 Mbps Ethernet cores.
6 * Copyright 2004, Broadcom Corporation
9 * THIS SOFTWARE IS OFFERED "AS IS", AND BROADCOM GRANTS NO WARRANTIES OF ANY
10 * KIND, EXPRESS OR IMPLIED, BY STATUTE, COMMUNICATION OR OTHERWISE. BROADCOM
11 * SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
12 * FOR A SPECIFIC PURPOSE OR NONINFRINGEMENT CONCERNING THIS SOFTWARE.
16 #ifndef _bcmenetrxh_h_
17 #define _bcmenetrxh_h_
20 * The Ethernet MAC core returns an 8-byte Receive Frame Data Header
21 * with every frame consisting of
22 * 16bits of frame length, followed by
23 * 16bits of EMAC rx descriptor info, followed by 32bits of undefined.
25 typedef volatile struct {
33 #define RXF_L ((uint16)1 << 11) /* last buffer in a frame */
34 #define RXF_MISS ((uint16)1 << 7) /* received due to promisc mode */
35 #define RXF_BRDCAST ((uint16)1 << 6) /* dest is broadcast address */
36 #define RXF_MULT ((uint16)1 << 5) /* dest is multicast address */
37 #define RXF_LG ((uint16)1 << 4) /* frame length > rxmaxlength */
38 #define RXF_NO ((uint16)1 << 3) /* odd number of nibbles */
39 #define RXF_RXER ((uint16)1 << 2) /* receive symbol error */
40 #define RXF_CRC ((uint16)1 << 1) /* crc error */
41 #define RXF_OV ((uint16)1 << 0) /* fifo overflow */
43 #endif /* _bcmenetrxh_h_ */
This page took 0.041712 seconds and 5 git commands to generate.