atge.h revision 5e8715b93d1d651ab2805b5e6e98b17df49fa92f
1N/A * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1N/A * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1N/A#ifdef __cplusplus
1N/A#include "atge_l1e_reg.h"
1N/A#include "atge_l1c_reg.h"
#define ATGE_INC_SLOT(x, y) \
#define ATGE_DEC_SLOT(x, y) \
} atge_model_t;
typedef struct atge_cards {
} atge_cards_t;
typedef struct atge_dma_data {
} atge_dma_t;
struct atge;
typedef struct atge_ring {
int r_ndesc;
int r_consumer;
int r_producer;
int r_avail_desc;
} atge_ring_t;
typedef struct atge_l1e_data {
int atge_l1e_pagesize;
int atge_l1e_rx_curp;
typedef struct atge_l1_data {
int atge_l1_rr_consumers;
typedef struct atge_l1c_data {
typedef struct atge_tx_desc {
#pragma pack()
#define ATGE_TX_RING_SZ \
typedef struct atge {
int atge_unit;
int atge_chip_rev;
int atge_intr_types;
int atge_intr_cnt;
int atge_intr_size;
int atge_intr_cap;
int atge_tx_resched;
int atge_mtu;
int atge_int_mod;
int atge_max_frame_size;
int atge_phyaddr;
int atge_flags;
int atge_filter_flags;
int atge_chip_state;
void *atge_private_data;
int atge_rx_buf_len;
int atge_tx_buf_len;
void *atge_hw_stats;
unsigned atge_norcvbuf;
unsigned atge_errrcv;
unsigned atge_errxmt;
unsigned atge_missed;
unsigned atge_underflow;
unsigned atge_overflow;
unsigned atge_align_errors;
unsigned atge_fcs_errors;
unsigned atge_carrier_errors;
unsigned atge_collisions;
unsigned atge_ex_collisions;
unsigned atge_tx_late_collisions;
unsigned atge_defer_xmts;
unsigned atge_first_collisions;
unsigned atge_multi_collisions;
unsigned atge_sqe_errors;
unsigned atge_macxmt_errors;
unsigned atge_macrcv_errors;
unsigned atge_toolong_errors;
unsigned atge_runt;
unsigned atge_jabber;
unsigned atge_noxmtbuf;
} atge_t;
#ifdef DEBUG
extern int atge_debug;
extern void atge_debug_func(char *, ...);
#ifdef __cplusplus