equal
deleted
inserted
replaced
253 Prüft, ob das Net-Device \a dev zum registrierten EtherCAT-Gerät gehört. |
253 Prüft, ob das Net-Device \a dev zum registrierten EtherCAT-Gerät gehört. |
254 |
254 |
255 \return 0 wenn nein, nicht-null wenn ja. |
255 \return 0 wenn nein, nicht-null wenn ja. |
256 */ |
256 */ |
257 |
257 |
258 int EtherCAT_dev_is_ec(const ec_device_t *device, /**< EtherCAT-Gerät */ |
258 inline int EtherCAT_dev_is_ec(const ec_device_t *device, /**< EtherCAT-Gerät */ |
259 const struct net_device *dev /**< Net-Device */ |
259 const struct net_device *dev /**< Net-Device */ |
260 ) |
260 ) |
261 { |
261 { |
262 return device && device->dev == dev; |
262 return device && device->dev == dev; |
263 } |
263 } |