equal
deleted
inserted
replaced
45 |
45 |
46 #include "../include/ecrt.h" |
46 #include "../include/ecrt.h" |
47 #include "../devices/ecdev.h" |
47 #include "../devices/ecdev.h" |
48 #include "globals.h" |
48 #include "globals.h" |
49 |
49 |
50 #ifdef EC_DBG_IF |
50 #ifdef EC_DEBUG_IF |
51 #include "debug.h" |
51 #include "debug.h" |
52 #endif |
52 #endif |
53 |
53 |
54 /*****************************************************************************/ |
54 /*****************************************************************************/ |
55 |
55 |
71 struct ethhdr *eth; /**< pointer to ethernet header in socket buffer */ |
71 struct ethhdr *eth; /**< pointer to ethernet header in socket buffer */ |
72 cycles_t cycles_poll; /**< cycles of last poll */ |
72 cycles_t cycles_poll; /**< cycles of last poll */ |
73 unsigned long jiffies_poll; /**< jiffies of last poll */ |
73 unsigned long jiffies_poll; /**< jiffies of last poll */ |
74 unsigned int tx_count; /**< number of frames sent */ |
74 unsigned int tx_count; /**< number of frames sent */ |
75 unsigned int rx_count; /**< number of frames received */ |
75 unsigned int rx_count; /**< number of frames received */ |
76 #ifdef EC_DBG_IF |
76 #ifdef EC_DEBUG_IF |
77 ec_debug_t dbg; /**< debug device */ |
77 ec_debug_t dbg; /**< debug device */ |
78 #endif |
78 #endif |
79 }; |
79 }; |
80 |
80 |
81 /*****************************************************************************/ |
81 /*****************************************************************************/ |