Bjarne von Horn
bd94f4bb88
[e1000] cancel watchdog task in ecdev mode on removal
2024-02-07 12:16:49 +01:00
Bjarne von Horn
81bbf7dbc4
[e1000] fix scheduling watchdog task.
2024-02-07 12:13:15 +01:00
Bjarne von Horn
0d1cd09043
[e1000] add missing forward declaration
2024-02-07 12:03:57 +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.
1.6-alpha
2024-02-05 16:05:57 +01:00
Bjarne von Horn
501903aec7
[igc] fix copy pasta typo
2024-02-05 15:17:41 +01:00
Florian Pose
d89191cd9e
strcpy explanations.
2024-02-05 12:07:34 +01:00
Florian Pose
ec54baeef6
Removed nunecessary srcdir again; added libethercat.map to EXTRA_DIST.
2024-02-05 11:06:01 +01:00
Florian Pose
7683717998
Added srcdir for mapfile dependencies.
2024-02-05 10:59:25 +01:00
Bjarne von Horn
a1a0edb9c4
Fix e1000 link detection with xenomai
2024-02-05 10:08:55 +01:00
Bjarne von Horn
34c56eae7d
Fix igc link detection with xenomai
2024-02-05 10:08:55 +01:00
Bjarne von Horn
35ff319856
Fix igb link detection with xenomai
2024-02-05 10:08:55 +01:00
Bjarne von Horn
bdd7d1f8f7
Fix r8169 link detection with Xenomai
...
```
[ 741.073012] IRQ pipeline: some code running in oob context 'Xenomai'
[ 741.073013] called an in-band only routine
[ 741.073013] CPU: 1 PID: 22419 Comm: my_task Tainted: G O 5.10.179-lp154.3-0510xenomai3 #1
[ 741.073014] Hardware name: ICP / iEi IMBA-9454ISA/IMBA-9454ISA(E168), BIOS 080014 02/20/2009
[ 741.073015] IRQ stage: Xenomai
[ 741.073015] Call Trace:
[ 741.073015] dump_stack+0x86/0xa6
[ 741.073016] check_inband_stage+0x8c/0xa0
[ 741.073017] inband_irq_save+0xe/0x30
[ 741.073017] try_to_grab_pending+0x1e/0x180
[ 741.073018] mod_delayed_work_on+0x42/0xa0
[ 741.073018] phy_trigger_machine+0x23/0x30
[ 741.073019] phy_mac_interrupt+0xe/0x20
[ 741.073019] ec_poll+0x105/0x110 [ec_r8169]
[ 741.073020] ec_device_poll+0x24/0x30 [ec_master]
[ 741.073020] ecrt_master_receive+0x21/0x160 [ec_master]
[ 741.073021] ec_ioctl_rtdm_rt+0x430/0x4c0 [ec_master]
[ 741.073021] ? rtdm_fd_get+0x11d/0x210
[ 741.073022] ec_rtdm_ioctl_rt_handler+0x26/0x40 [ec_master]
[ 741.073022] rtdm_fd_ioctl+0xdc/0x240
[ 741.073023] ? xnlock_dbg_release+0x21/0xf0
[ 741.073023] CoBaLt_ioctl+0xe/0x20
[ 741.073024] handle_head_syscall+0x10f/0x4d0
[ 741.073025] ? CoBaLt_fcntl+0x20/0x20
[ 741.073025] ? handle_pipelined_syscall+0x39/0x40
[ 741.073026] handle_oob_syscall+0x13/0x20
[ 741.073026] pipeline_syscall+0x8c/0x130
[ 741.073027] syscall_enter_from_user_mode+0x26/0x90
[ 741.073027] do_syscall_64+0x13/0x60
[ 741.073028] entry_SYSCALL_64_after_hwframe+0x61/0xc6
[ 741.073029] RIP: 0033:0x7fac8da13c8f
[ 741.073029] Code: Unable to access opcode bytes at RIP 0x7fac8da13c65.
[ 741.073030] RSP: 002b:00007fac8e864c90 EFLAGS: 00000206 ORIG_RAX: 0000000010000050
[ 741.073031] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fac8da13c8f
[ 741.073032] RDX: 0000000000000000 RSI: 000000000000a426 RDI: 0000000000000003
[ 741.073032] RBP: 000000000000a426 R08: 00007fac8e865700 R09: 0000000000000000
[ 741.073033] R10: 0000000000000113 R11: 0000000000000206 R12: 0000000000000000
[ 741.073033] R13: 0000000000000000 R14: 0000000000000000 R15: 00007fac8e864e80
```
2024-02-05 10:08:55 +01:00
Bjarne von Horn
0c1e2bc397
fix r8169 modname
2024-02-05 10:08:55 +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
1e7b4816c1
Add rtai modules to KBUILD_EXTRA_SYMBOLS
2024-02-05 10:04:35 +01:00
Bjarne von Horn
df7145a1c3
Add Xenomai{2,3} and RTAI to CI
2024-02-05 10:04:14 +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
bc1f0e8f41
Add --with-xenomai-config option
2024-02-05 09:58:04 +01:00
Bjarne von Horn
db0d120e2e
Fix Xenomai Posix setschedparam
2024-02-05 09:58:04 +01:00
Bjarne von Horn
64adc0ce16
Port examples to Xenomai3
2024-02-05 09:58:04 +01:00
Bjarne von Horn
3ba71d5702
use sig_atomic_t for run flag in examples
...
Otherwise the loop may run forever.
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
Bjarne von Horn
e76109c854
Use xeno_config for xenomai version detection
2024-02-05 09:58:04 +01:00
Joonyoung Shim
023d989ee3
Support Xenomai version 3
...
From 9567f460411d9a832c24b3ef65252f6f4f902fef Mon Sep 17 00:00:00 2001
Xenomai version 3 has different RTDM interface with version 2 and has
Alchemy interface instead of native API. This supports RTDM of Xenomai
version 3 and to use Alchemy interface.
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com >
2024-02-05 09:58:04 +01:00
Bjarne von Horn
a297dd7fae
add symbol version check target
2024-02-02 11:53:31 +01:00
Bjarne von Horn
71f8041248
Add symbol map file.
...
Fixes #88
2024-02-02 11:53:31 +01:00
Bjarne von Horn
5fd05393bb
Add missing EC_PUBLIC_API declarations
2024-02-02 11:53:31 +01:00
Florian Pose
4ce4d08b7b
Made some more pointer arguments const in API.
2024-02-02 10:56:09 +01:00
Florian Pose
0829b3f802
Minor: Broke long lines.
2024-02-02 10:18:34 +01:00
Florian Pose
df354272a8
Minor: Fixed indentation.
2024-02-02 10:15:47 +01:00
Bjarne von Horn
984cb49633
Add missing EC_PUBLIC_API declarations
2024-02-02 10:04:44 +01:00
Bjarne von Horn
8bf902b02a
update conditions in CI
2024-02-02 09:53:47 +01:00
Bjarne von Horn
6b95e42844
add release pipeline with dist tarballs
...
Fixes #9
2024-02-02 09:53:42 +01:00
Bjarne von Horn
13cef2b981
Add const to pointers to pdo and pdo_entry infos
...
Fixes #85
2024-02-02 08:48:39 +01:00
Florian Pose
eb05547c77
Version bump to 1.6.0.
2024-02-01 18:20:45 +01:00
Florian Pose
6200ecca77
Limited line length to 78.
2024-02-01 17:44:20 +01:00
Florian Pose
df3954d8ec
Fixed line lengths; and ID keywords of merged sources.
2024-02-01 16:38:06 +01:00
Bjarne von Horn
ac50849bcc
Add e1000e for 5.4, 5.10, 5.14 and 6.1
2024-02-01 16:17:21 +01:00
Bjarne von Horn
0836726b77
Add 8139too for 5.15.115
2024-02-01 16:06:14 +01:00
Bjarne von Horn
9a0a683f3c
Add 8139too for 5.14.21
2024-02-01 16:05:06 +01:00
Florian Pose
585070576c
Merge branch 'ethercat-backport_setip' into 'devel-1.6'
...
Backport Set IP command from master
See merge request etherlab.org/ethercat!112
2024-02-01 14:35:32 +00:00
Florian Pose
5e0d49755d
Merge branch 'devel-1.6' into ethercat-backport_setip
2024-02-01 15:30:05 +01:00
Florian Pose
4f32561ce9
Merge branch 'devel-1.6' into ethercat-backport_setip
2024-02-01 15:27:17 +01:00
Florian Pose
cbc1c22eaa
Merge branch 'prepare-1.6' into 'devel-1.6'
...
Prepare release 1.6
See merge request etherlab.org/ethercat!113
2024-02-01 14:22:15 +00:00