Commit Graph
100 Commits
Author SHA1 Message Date
Bjarne von Horn 93327b6b95 [r8169] Do not write invalid MAC onto NIC on removal
Related to #192
2026-05-20 14:30:48 +02:00
Bjarne von Horn d90363e072 Add igb Kernel 6.8.2 2026-05-07 10:08:43 +02:00
Bjarne von Horn f8a137a88f Add igc for Kernel 6.8.2 2026-05-07 10:08:11 +02:00
Bjarne von Horn d978c45ad7 Fix igb for opensuse 15.6 (kernel 6.4) 2025-07-01 10:15:20 +02:00
Bjarne von Horn 790dcecc34 Add e1000e for 6.12
Taken from 6.12.8
2025-06-26 12:47:04 +02:00
Bjarne von Horn ab89464e11 Fix uninitialized object usage in igc 6.12. 2025-06-26 11:00:17 +02:00
Bjarne von Horn 7294ebd078 Avoid smp_processor_id() in igb 6.12. 2025-06-26 10:37:23 +02:00
Bjarne von Horn d75234c4e1 fix exported symbol for stmmac 6.12 2025-06-25 11:52:01 +02:00
Bjarne von Horn 5e060a5d7e Add stmmac for 6.12
Taken from 6.12.8
2025-06-23 16:07:23 +02:00
Bjarne von Horn 8b10f32ab3 Add stmmac for 6.4.0 2025-06-23 15:03:04 +02:00
Bjarne von Horn cdc3e6395f Add genet for kernel 6.4.0 2025-06-23 13:23:51 +02:00
Bjarne von Horn ad2a155e97 Add igb for 6.12
Taken from 6.12.8
2025-06-23 13:11:12 +02:00
Bjarne von Horn a61d9d05f0 replace kernel versions in igb update script. 2025-06-23 13:11:12 +02:00
Bjarne von Horn 7c21252c99 Fix igb 6.4 includes
was still 6.1...
2025-06-23 13:11:12 +02:00
Bjarne von Horn 11ec5fff67 Add igc for 6.12
Taken from 6.12.8
2025-06-23 13:11:07 +02:00
Bjarne von Horn b9a3264bbb Add igb driver for kernel 6.4 2025-06-23 10:44:24 +02:00
Bjarne von Horn 21433d2cca Fix ccflags for e1000e 6.4 2025-06-23 10:44:24 +02:00
Bjarne von Horn 555729c356 Add e1000e driver for kernel 6.4 2025-06-23 10:44:24 +02:00
Bjarne von Horn a9e9489f97 Fix RX descriptor writeback threshold to 1
If the igc adapter is not used for EtherCAT, the threshold is left to the original default, 4.

Superseeds !147
2025-04-04 10:10:22 +02:00
Bjarne von Horn 5f75f566ce Create rtipc directories on startup 2025-03-12 14:08:26 +01:00
Bjarne von Horn 7036da66f4 Add EtherCAT Master id to rtipc directory.
Currently, having multiple rtipc instances with the same
cache directory in one application does not work.
So we use one directory per master instance.
2025-03-12 11:54:50 +01:00
Bjarne von Horn 5bbf53a376 Fix FakeEtherCAT Domain activation. 2025-03-11 19:07:01 +01:00
Bjarne von Horn d06a18f934 Fix -Wold-style-declaration. 2025-02-05 12:58:56 +01:00
Bjarne von Horn 60dd4f94ec Fix -Wmissing-prototypes 2025-02-05 12:58:56 +01:00
Bjarne von Horn de9efb7770 Fix ccat for aarch64 >= 6.11.0
return type of platform_driver::remove was changed to void
2025-01-06 14:47:09 +01:00
Bjarne von Horn 50a9b0a23d Remove datetime from footer for reproducible builds. 2024-10-14 09:30:26 +02:00
Bjarne von Horn be4ff5b22f Fix typo in bash completition.
Fixes #137.
2024-09-17 09:19:20 +02:00
Bjarne von Horn 0f9ad4c834 Add more methods to fake_lib for EtherLab master block 2024-07-26 10:54:24 +02:00
Bjarne von Horn 185674e2b4 Add ecrt_master_scan_progress to fake lib. 2024-07-26 10:45:54 +02:00
Bjarne von Horn 3e3b938c2f Version bump to 1.6.1 2024-07-26 09:49:18 +02:00
Bjarne von Horn f1349ead07 Add reference to EtherLab for swap_io. 2024-07-23 13:33:28 +02:00
Bjarne von Horn 1d858d8b3e Fix doxygen wording. 2024-07-22 11:43:51 +02:00
Bjarne von Horn 45e8b098d7 add multi-master support to fakelib. 2024-07-19 11:51:17 +02:00
Bjarne von Horn eaeddb0c49 Add CI job without EoE. 2024-07-18 14:15:30 +02:00
Bjarne von Horn 4f71ac5099 Fix building without EoE
Fixes #123
2024-07-18 14:14:32 +02:00
Bjarne von Horn b5c7527990 fix pdf job dependencies. 2024-07-18 13:34:28 +02:00
Bjarne von Horn 86656eb61a switch to 15.4 2024-07-18 12:36:02 +02:00
Bjarne von Horn fe08cb0741 build fakelib in CI. 2024-07-18 12:07:17 +02:00
Bjarne von Horn c2c3d56a2c Add README to fakelib 2024-07-18 12:02:53 +02:00
Bjarne von Horn c15195178f Add SDO Json Dump to FakeLib. 2024-07-08 15:23:54 +02:00
Bjarne von Horn 0261b21adb more fake functions 2024-07-05 11:06:21 +02:00
Bjarne von Horn 013aafc329 Simulate domain state 2024-07-05 11:06:05 +02:00
Bjarne von Horn 4795be145a Save SDO config 2024-07-05 11:05:36 +02:00
Bjarne von Horn 42b980c0d4 add fake ethercat library to build system. 2024-07-04 19:00:42 +02:00
Bjarne von Horn 19779300e9 Add debug statements. 2024-07-04 18:31:20 +02:00
Bjarne von Horn 0740c3bbb6 permutate domain ids with FAKE_DOMAIN_PERMUTATION env 2024-07-04 18:30:35 +02:00
Bjarne von Horn daa555a4f6 Make rtipc name configurable 2024-07-04 18:13:17 +02:00
Bjarne von Horn 4c953d5000 WIP add rtipc 2024-07-04 15:41:34 +02:00
Bjarne von Horn 19afa78793 Very initial libfakeethercat 2024-07-04 12:31:46 +02:00
Bjarne von Horn 7e8c6cf12a mention all current drivers in ethercat.conf 2024-06-07 15:03:47 +02:00
Bjarne von Horn 057defec1c update doxygen layout. 2024-06-07 13:19:20 +02:00
Bjarne von Horn a62bfcef9a Fix out-of-tree build of various drivers 2024-06-07 11:45:29 +02:00
Bjarne von Horn b02f0492e0 remove unneeded suse conditional. 2024-06-07 11:41:06 +02:00
Bjarne von Horn 807c8ba709 Add missing backslash in Makefile.am 2024-06-07 11:29:58 +02:00
Bjarne von Horn bac16d07a9 Fix systemd service file
network.service is suse-specific,
on Debian its name is networking.service.

According to https://systemd.io/NETWORK_ONLINE/,
there are three targets available in systemd for networking purposes.
2024-06-07 10:55:26 +02:00
Bjarne von Horn 93b60bb812 Fix rt_mutex_lock_interruptible() again for RT >= 3.2 2024-06-06 17:10:13 +02:00
Bjarne von Horn d71e362a5e update doxygen logo and add favicon 2024-06-06 16:38:33 +02:00
Bjarne von Horn 6f928c6fe8 Fix rt_mutex_lock_interruptible for Kernel < 3.17.0 2024-06-06 16:27:04 +02:00
Bjarne von Horn 0cb7cfd973 Fix very old kernels with CONFIG_SUSE_KERNEL 2024-06-06 16:27:04 +02:00
Bjarne von Horn 2c3a92ff23 Annotate API restrictions with tags.
Refers to an overview page with tables and explainations.
2024-06-06 13:56:09 +02:00
Bjarne von Horn 495dbc1aa6 Fix return value for ecrt_master_send_ext(). 2024-06-06 13:55:40 +02:00
Bjarne von Horn 3a064cac2a avoid sleeping in ecrt_master_send_ext()
mini.c example now plays well with EoE.
2024-06-05 16:24:12 +02:00
Bjarne von Horn f4e9367dde Add igc for 5.15.40 2024-06-03 11:05:20 +02:00
Bjarne von Horn 997c81b6fa use separate queue for external datagrams to avoid corrupting master::queue 2024-05-16 09:48:23 +02:00
Bjarne von Horn 783bc19600 Fix SDO Upload in ethercat tool 2024-05-16 09:44:21 +02:00
Bjarne von Horn 9012a40ed9 Fix crc command.
Due to changed permissions in 2f4c06af.
2024-05-14 10:40:19 +02:00
Bjarne von Horn a9804cb302 Fix igc for suse 15.6 2024-05-07 14:59:19 +02:00
Bjarne von Horn 496cebb8ec add another missing EC_PUBLIC_API 2024-04-18 13:48:38 +02:00
Bjarne von Horn 0cd18cd234 Add missing EC_PUBLIC_API
Fixes #111
2024-04-18 09:06:05 +02:00
Bjarne von Horn 763be6deaa missing igb get_ecdev conversions in 5.14, 5.15 and 6.1 2024-04-11 14:11:45 +02:00
Bjarne von Horn 721b4db1d2 Merge branch 'verify_igb' into devel-1.6 2024-04-08 14:16:51 +02:00
Bjarne von Horn 3549dc69cc avoid deadlock in stmmac 2024-04-08 13:06:03 +02:00
Bjarne von Horn 44439c3ea0 Fix stmmac nullptr dereference
```
Apr 08 11:15:37 conga-smarc-2 kernel:  hrtimer_try_to_cancel+0x15/0x130
Apr 08 11:15:37 conga-smarc-2 kernel:  hrtimer_cancel+0x11/0x30
Apr 08 11:15:37 conga-smarc-2 kernel:  stmmac_release+0xea/0x3a0 [ec_dwmac_intel]
Apr 08 11:15:37 conga-smarc-2 kernel:  ec_device_close+0x2d/0x40 [ec_master]
```
2024-04-08 11:36:44 +02:00
Bjarne von Horn 42d376ed53 WARN_ONCE on querying ecdev before ecdev_offer for stmmac 2024-04-03 17:13:12 +02:00
Bjarne von Horn 498ab702d2 WARN_ONCE on querying ecdev before ecdev_offer for 8139too 2024-04-03 12:10:34 +02:00
Bjarne von Horn cf54188d74 WARN_ONCE on querying ecdev before ecdev_offer for e100 2024-04-03 12:10:34 +02:00
Bjarne von Horn 10f15cb282 WARN_ONCE on querying ecdev before ecdev_offer for e1000e 2024-04-03 12:10:34 +02:00
Bjarne von Horn 45b526e99f WARN_ONCE on querying ecdev before ecdev_offer for e1000 2024-04-03 12:10:34 +02:00
Bjarne von Horn c2c4a1b27f WARN_ONCE on querying ecdev before ecdev_offer for genet 2024-04-03 11:11:44 +02:00
Bjarne von Horn f388bde39a WARN_ONCE on querying ecdev before ecdev_offer for igc 2024-04-03 11:11:44 +02:00
Bjarne von Horn 995e41ee6a WARN_ONCE on querying ecdev before ecdev_offer for r8169 2024-04-03 11:11:44 +02:00
Bjarne von Horn 592cc1f309 Fix resource leak in igb 2024-04-03 11:11:40 +02:00
Bjarne von Horn 188519459f WARN_ONCE on querying ecdev before ecdev_offer for igb 2024-04-03 10:48:54 +02:00
Bjarne von Horn dd7fc5b8eb Add --enable-driver-resource-verifying option
verify that ecdev pointer in native drivers is dereferenced after it has been initialized by ecdev_offer().
2024-04-03 10:40:14 +02:00
Bjarne von Horn e4f7122548 typo in configure.ac 2024-04-03 10:39:37 +02: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 19a347267c fix stmmac driver names in table 2024-04-03 10:33:12 +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
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
Bjarne von Horn 1226b9d745 build with kernel 3.4 in CI 2024-02-07 18:22:25 +01:00
Bjarne von Horn 6092d13098 further ccat fixes for leap 15.5 2024-02-07 15:24:21 +01:00