fp@54: /****************************************************************************** fp@54: * fp@54: * Oeffentliche EtherCAT-Schnittstellen fuer EtherCAT-Geraetetreiber. fp@54: * fp@54: * $Id$ fp@54: * fp@54: *****************************************************************************/ fp@54: fp@54: #ifndef _ETHERCAT_DEVICE_H_ fp@54: #define _ETHERCAT_DEVICE_H_ fp@54: fp@54: #include fp@54: fp@54: /*****************************************************************************/ fp@54: fp@54: struct ec_device; fp@54: typedef struct ec_device ec_device_t; fp@54: fp@54: /*****************************************************************************/ fp@54: fp@54: ec_device_t *EtherCAT_dev_register(unsigned int, struct net_device *, fp@54: irqreturn_t (*)(int, void *, fp@54: struct pt_regs *), fp@54: struct module *); fp@55: void EtherCAT_dev_unregister(unsigned int, ec_device_t *); fp@73: fp@78: int EtherCAT_dev_is_ec(const ec_device_t *, const struct net_device *); fp@78: void EtherCAT_dev_receive(ec_device_t *, const void *, size_t); fp@96: void EtherCAT_dev_link_state(ec_device_t *, uint8_t); fp@54: fp@54: /*****************************************************************************/ fp@54: fp@54: #endif