41 struct net_device *
dev;
void ec_debug_register(ec_debug_t *, const struct net_device *)
Register debug interface.
void ec_debug_send(ec_debug_t *, const uint8_t *, size_t)
Sends frame data to the interface.
int ec_debug_init(ec_debug_t *, ec_device_t *, const char *)
Debug interface constructor.
void ec_debug_clear(ec_debug_t *)
Debug interface destructor.
void ec_debug_unregister(ec_debug_t *)
Unregister debug interface.
EtherCAT interface for EtherCAT device drivers.
struct ec_device ec_device_t
Debugging network interface.
struct net_device * dev
net_device for virtual ethernet device
ec_device_t * device
Parent device.
uint8_t opened
net_device is opened
struct net_device_stats stats
device statistics
uint8_t registered
net_device is opened