Florian Pose
018863d9c7
Avoid for loop initial declaration.
2024-05-15 16:32:52 +02:00
Florian Pose
dd1187d942
Fixed byte order.
2024-05-15 14:42:45 +02:00
Florian Pose
f6f4cf74be
Fixed format string placeholder.
2024-05-15 14:39:12 +02:00
Florian Pose
a1552bdf61
Use signed char as hostname type.
2024-05-15 13:41:26 +02:00
Florian Pose
ac57cfce24
Fixed uninitialized variable.
2024-05-15 13:40:05 +02:00
Florian Pose
c2f9baf96a
Ported API and internal structures to struct in_addr.
2024-05-15 13:04:34 +02:00
Florian Pose
66c5793e7b
Comment.
2024-05-15 11:23:32 +02:00
Florian Pose
972337444b
Retry receiving an EoE set IP parameter response.
2024-05-14 18:37:17 +02:00
Florian Pose
bfa618ebbb
Set EoE IP params during slave configuation.
2024-05-14 17:52:50 +02:00
Florian Pose
0fb163ea5b
Introduced ec_eoe_request_valid().
2024-05-14 17:36:49 +02:00
Florian
40212a30a6
Merge remote-tracking branch 'origin/devel-1.6' into 84-api-call-for-eoe-set-ip-command
2024-05-14 15:38:39 +02:00
Florian Pose
6e8119b955
Merge branch 'int_return_type' into 'devel-1.6'
...
use int as return type for all application interface methods
See merge request etherlab.org/ethercat!119
2024-04-03 08:40:51 +00:00
Bjarne von Horn
fe160f5c86
Use -ENOBUFS to indicate insufficient preallocated buffer
2024-04-03 10:34:17 +02:00
Bjarne von Horn
614a309bcc
use int as return type for ecrt_reg_request_*
...
See #101
2024-04-03 10:34:17 +02:00
Bjarne von Horn
e78237ed31
use int as return type for ecrt_voe_handler_*
...
See #101
2024-04-03 10:34:17 +02:00
Bjarne von Horn
8c30331e6e
use int as return type for ecrt_soe_request_*
...
See #101
2024-04-03 10:34:17 +02:00
Bjarne von Horn
885b8717e1
use int as return type for ecrt_sdo_request_*
...
See #101
2024-04-03 10:34:17 +02:00
Bjarne von Horn
5248b967d2
use int as return type for ecrt_slave_*
...
See #101
2024-04-03 10:34:17 +02:00
Bjarne von Horn
13e99008c3
use int as return type for ecrt_master_*
...
See #101
2024-04-03 10:34:17 +02:00
Bjarne von Horn
06b408ef1b
use int as return type for ecrt_domain_*
...
See #101
2024-04-03 10:34:17 +02:00
Bjarne von Horn
5d39d3b0cf
Add dwmac_intel and stmmac_pci v6.1.81
2024-04-03 10:33:12 +02:00
Bjarne von Horn
3870a66c8f
Fix rtdm rtai redefinition error
2024-02-16 14:06:23 +01:00
Bjarne von Horn
e8213ea7e8
allow non-standard RTAI include dir
2024-02-16 14:05:58 +01:00
Florian Pose
251bb4a147
Changed AL state change timeout. Maybe a fix for #32 .
2024-02-08 12:43:17 +01:00
Florian Pose
5f8d97edcf
Assigned ioctl calls to RT, nRT or both; documented that in header.
2024-02-08 12:05:29 +01:00
Florian Pose
677b8442e3
Minor: Use slave pointer.
2024-02-08 12:04:47 +01:00
Florian Pose
caea048cc9
Merge branch 'prefetch-domain-pointer' into 'devel-1.6'
...
Prefetch domain pointer / made domain argument const
See merge request etherlab.org/ethercat!118
2024-02-08 08:54:17 +00:00
Bjarne von Horn
d0f4aed39b
Make ecrt_master_reset available in RT context
...
It takes the master_sem, so calling it from RT context is not an option.
The reset is done by a workqueue now, which is triggered in a NMI-safe way.
Fixes #103
2024-02-08 08:59:29 +01:00
Florian Pose
2f4c06afc1
Moved application time ioctl for RT-only; changed some permissions.
2024-02-07 17:08:52 +01:00
Florian Pose
67b3756976
Removed header addition.
2024-02-07 16:18:05 +01:00
Florian Pose
0c9813862f
Minor: Broke long lines.
2024-02-07 16:11:02 +01:00
Florian Pose
a5df1c38d1
Moved fetching domain offset to ecrt_master_activate().
2024-02-07 15:27:47 +01:00
Florian Pose
4bab54a336
Removed some unused variables.
2024-02-07 15:26:37 +01:00
Bjarne von Horn
a5fc2b0f26
remove unused variables.
2024-02-07 15:03:39 +01:00
Bjarne von Horn
26ffb1d265
Merge branch 'genet_5.10' into devel-1.6
2024-02-07 14:48:05 +01:00
Florian Pose
c8ed5fa38d
Unified EoE IP parameter names.
2024-02-07 12:44:55 +01:00
Bjarne von Horn
19b8f672c7
Disable memory allocation in {soe,sdo}_request_write
...
Because it's not compatible with Xenomai and other atomic contexts.
The memory is preallocated when creating the request in before.
2024-02-05 16:05:57 +01:00
Florian Pose
25cfa1ead1
Fix building with --disable-eoe.
2024-02-05 15:41:02 +01:00
Florian Pose
25bf7ef885
Set IP parameter methods on user and kernel side.
2024-02-05 15:24:24 +01:00
Bjarne von Horn
c76399b8db
more eth_hw_addr_set ifdefs for suse's kernel
2024-02-05 14:25:48 +01:00
Florian Pose
d89191cd9e
strcpy explanations.
2024-02-05 12:07:34 +01:00
Bjarne von Horn
aa89735e55
do ioctl multiplexing in ioctl.c
2024-02-05 10:08:55 +01:00
Bjarne von Horn
bf790debb6
Split ioctl switch statements into rt, nrt and common
2024-02-05 10:08:55 +01:00
Bjarne von Horn
385f2ba64e
Use rtdm_safe_copy_{from,to}_user
2024-02-05 10:04:14 +01:00
Bjarne von Horn
ca60769996
introduce ec_copy_{from,to}_user macros with ctx argument in ioctl
2024-02-05 10:02:28 +01:00
Bjarne von Horn
95209d2858
Move ec_rtdm_context into common header
2024-02-05 09:58:05 +01:00
Bjarne von Horn
0a41222ee6
prepare uniting ec_rtdm_context
2024-02-05 09:58:04 +01:00
Bjarne von Horn
656526f03c
remove EC_RTDM_OPS_HAS_MMAP again
2024-02-05 09:58:04 +01:00
Bjarne von Horn
1c9f9bfe7d
use RTDM CFLAGS for non-standard include dir
2024-02-05 09:58:04 +01:00
Bjarne von Horn
1dae91d8c3
Use mmap handler in Xenomai3
2024-02-05 09:58:04 +01:00