1 /* $Date: 2005/03/07 23:59:05 $ $RCSfile: tp.h,v $ $Revision: 1.20 $ */
7 #define TP_MAX_RX_COALESCING_SIZE 16224U
9 struct tp_mib_statistics
{
16 u32 ipInAddrErrors_hi
;
17 u32 ipInAddrErrors_lo
;
18 u32 ipInUnknownProtos_hi
;
19 u32 ipInUnknownProtos_lo
;
59 struct petp
*t1_tp_create(adapter_t
*adapter
, struct tp_params
*p
);
60 void t1_tp_destroy(struct petp
*tp
);
62 void t1_tp_intr_disable(struct petp
*tp
);
63 void t1_tp_intr_enable(struct petp
*tp
);
64 void t1_tp_intr_clear(struct petp
*tp
);
65 int t1_tp_intr_handler(struct petp
*tp
);
67 void t1_tp_get_mib_statistics(adapter_t
*adap
, struct tp_mib_statistics
*tps
);
68 void t1_tp_set_tcp_checksum_offload(struct petp
*tp
, int enable
);
69 void t1_tp_set_ip_checksum_offload(struct petp
*tp
, int enable
);
70 int t1_tp_set_coalescing_size(struct petp
*tp
, unsigned int size
);
71 int t1_tp_reset(struct petp
*tp
, struct tp_params
*p
, unsigned int tp_clk
);