2 * Hardware-specific MIB definition for
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 _bcmenetmib_h_
17 #define _bcmenetmib_h_
19 /* cpp contortions to concatenate w/arg prescan */
21 #define _PADLINE(line) pad ## line
22 #define _XSTR(line) _PADLINE(line)
23 #define PAD _XSTR(__LINE__)
29 typedef volatile struct {
30 uint32 tx_good_octets
;
34 uint32 tx_broadcast_pkts
;
35 uint32 tx_multicast_pkts
;
37 uint32 tx_len_65_to_127
;
38 uint32 tx_len_128_to_255
;
39 uint32 tx_len_256_to_511
;
40 uint32 tx_len_512_to_1023
;
41 uint32 tx_len_1024_to_max
;
42 uint32 tx_jabber_pkts
;
43 uint32 tx_oversize_pkts
;
44 uint32 tx_fragment_pkts
;
47 uint32 tx_single_cols
;
48 uint32 tx_multiple_cols
;
49 uint32 tx_excessive_cols
;
52 uint32 tx_carrier_lost
;
56 uint32 rx_good_octets
;
60 uint32 rx_broadcast_pkts
;
61 uint32 rx_multicast_pkts
;
63 uint32 rx_len_65_to_127
;
64 uint32 rx_len_128_to_255
;
65 uint32 rx_len_256_to_511
;
66 uint32 rx_len_512_to_1023
;
67 uint32 rx_len_1024_to_max
;
68 uint32 rx_jabber_pkts
;
69 uint32 rx_oversize_pkts
;
70 uint32 rx_fragment_pkts
;
71 uint32 rx_missed_pkts
;
72 uint32 rx_crc_align_errs
;
76 uint32 rx_symbol_errs
;
78 uint32 rx_nonpause_pkts
;
81 #endif /* _bcmenetmib_h_ */