ecdev.h File Reference


Detailed Description

EtherCAT interface for EtherCAT device drivers.

Definition in file ecdev.h.

Go to the source code of this file.

Typedefs

typedef ec_device ec_device_t
typedef irqreturn_t(* ec_isr_t )(int, void *, struct pt_regs *)
 Interrupt-Service-Routine Type.

Functions

ec_device_tecdev_register (unsigned int master_index, struct net_device *net_dev, ec_isr_t isr, struct module *module)
 Connects an EtherCAT device to a certain master.
void ecdev_unregister (unsigned int master_index, ec_device_t *device)
 Disconnect an EtherCAT device from the master.
int ecdev_start (unsigned int master_index)
 Starts the master associated with the device.
void ecdev_stop (unsigned int master_index)
 Stops the master associated with the device.
void ecdev_receive (ec_device_t *device, const void *data, size_t size)
 Accepts a received frame.
void ecdev_link_state (ec_device_t *device, uint8_t newstate)
 Sets a new link state.


Typedef Documentation

typedef struct ec_device ec_device_t
 

See also:
ec_device

Definition at line 58 of file ecdev.h.


Generated on Fri Sep 1 14:56:56 2006 for IgH EtherCAT master by  doxygen 1.4.6