Commit Graph
3029 Commits
Author SHA1 Message Date
Florian Pose 46a2118ad9 Fixed typo in comment. 2026-07-15 16:05:36 +02:00
Florian Pose 80570b2d98 Merge branch 'run-precommit' into 'stable-1.6'
Run pre-commit checks also in CI

See merge request etherlab.org/ethercat!201
2026-07-15 15:52:28 +02:00
Florian Pose 4151f507ff Fixed line breaks. 2026-07-15 15:04:48 +02:00
Florian Pose fff9c1efb7 Merge branch 'stable-1.6' into run-precommit 2026-07-15 14:58:15 +02:00
Florian Pose 18876aa2bc Merge branch 'cpplint' into 'stable-1.6'
Added cpplint checks in pre-commit hooks

See merge request etherlab.org/ethercat!202
2026-07-15 10:48:52 +02:00
Florian Pose 12e2d700bb Only check on changed or added files at merge requests. 2026-07-15 10:47:57 +02:00
Florian Pose 55cb7bc246 Accepted some cpplint suggestions. 2026-07-15 10:42:14 +02:00
Florian Pose b3cd2c2e5a Documented the existence of the pre-commit configuration. 2026-07-15 10:39:08 +02:00
Florian Pose 687872df99 Added pre-commit hook with cpplint. 2026-07-15 10:31:32 +02:00
Florian Pose 74e1d2623c Fixed typo 2026-07-14 19:13:43 +02:00
Florian Pose 97b070b435 Fixed typo. 2026-07-14 19:07:06 +02:00
Florian Pose 60164f0ada Fixed 1.5 link. 2026-07-14 19:05:48 +02:00
Florian Pose 44eb2e6f18 Line breaks. 2026-07-14 19:03:26 +02:00
Florian Pose 83e1e479e4 Improved quote. 2026-07-14 18:57:31 +02:00
Florian Pose a27db36a33 Followed markdownlint guidelines and fixed broken links. 2026-07-14 18:54:39 +02:00
Florian Pose 361ac90ae2 Run pre-commit checks also in CI. 2026-07-14 18:04:53 +02:00
Florian Pose c4b4ac405f Merge commit 'c55771032b363c7c6f05591a9ba1da671cc8a69a' into HEAD 1.6.10 2026-07-14 17:55:29 +02:00
Florian Pose 44b6448592 Adjusted NEWS.md file acc. to markdownlint. 2026-07-14 17:54:47 +02:00
Florian Pose 77bcf82b86 Added pre-commit config with some basic checks. 2026-07-14 17:50:10 +02:00
Florian Pose c55771032b Cleaned-up NEWS.md file. 2026-07-14 17:31:10 +02:00
Florian Pose 34ccbcb1f5 Version bump to 1.6.10. 2026-07-14 17:18:48 +02:00
Florian Pose a6b03ffeaa Merge branch 'security-fixes' into 'stable-1.6'
Security fixes

See merge request etherlab.org/ethercat!200
2026-07-14 17:07:29 +02:00
Florian Pose e257b4af52 Check for malicious EoE frame details. 2026-07-13 15:01:12 +02:00
Florian Pose 1c91a721ca Fixed re-allocation of SoE request buffer. 2026-07-13 13:56:31 +02:00
Florian Pose 7251b6c7be Fixed typos. 2026-07-13 13:44:22 +02:00
Florian Pose f4a1204be2 Improved error message 2026-07-13 13:41:53 +02:00
Florian Pose 5b16117c1f Protect rec_size calculation in FoE. 2026-07-13 13:32:53 +02:00
Florian Pose 6e60da92cd Merge branch 'add-macb-rp1-driver' into 'stable-1.6'
Added macb (Cadence GEM / RP1) driver for kernel 6.18.

See merge request etherlab.org/ethercat!199
2026-07-07 10:42:03 +02:00
Danila Dergachev a40c85c03a Added macb (Cadence GEM / RP1) driver for kernel 6.18.
Native EtherCAT device driver for the Raspberry Pi 5 on-RP1 gigabit MAC
(Cadence GEM, "macb"), ported from the genet recipe. Lets the IgH kernel
master poll-drive the NIC directly instead of via the generic driver.

Derived from the in-tree macb driver at Linux 6.18.33
(drivers/net/ethernet/cadence: macb_main.c, macb.h, macb_ptp.c); the
-orig files are verbatim, the -ethercat files add the ecdev hooks
(ecdev_offer/open/close/withdraw, ec_poll, gem_rx -> ecdev_receive,
a persistent TX skb ring, IRQ/NAPI/PTP gated by get_ecdev()).

macb-specific points vs the genet recipe:
- ecdev_offer() before macb_init() (macb requests its IRQs there).
- phylink (not MDIO adjust_link); phylink_start/stop wrapped in rtnl_lock
  in EtherCAT mode (ecdev_open runs without the RTNL lock).
- MAC PHC / PTP init gated off in EtherCAT mode.
- macb_pad_and_fcs(): the master reuses one persistent TX skb and rewrites
  skb->len each cycle without resetting the tail, so re-sync the tail and
  append the software FCS in place; a plain skb_put() walked the tail past
  the buffer end -> skb_over_panic().

Tested on a Raspberry Pi 5 (BCM2712, 6.18.33-rt) against an A6-EC servo
drive: binds the RP1 GEM, reaches OP, 0 lost frames at up to 4 kHz.

Build: ./configure --enable-macb [--with-macb-kernel=6.18]

Known limitations: RX allocates an skb per frame in the poll path (a future
revision can reuse the buffer in place); only the GEM RX path carries the
hook (RP1 is GEM); PM suspend/resume is not specially handled.
2026-06-26 17:58:43 +02:00
Florian Pose beb2bf07df Merge branch 'igc_6.8' into 'stable-1.6'
igb and igc for kernel 6.8

See merge request etherlab.org/ethercat!193
2026-06-16 11:57:09 +02:00
Florian Pose d857b19a17 Merge branch 'stable-1.6' into igc_6.8 2026-05-22 14:12:01 +02:00
Florian Pose 46cc20e669 Merge branch 'r8169_6.1x' into 'stable-1.6'
[r8169] Do not write invalid MAC onto NIC on removal

See merge request etherlab.org/ethercat!195
2026-05-22 11:48:36 +02:00
Florian Pose 6544aa9ec6 Merge branch 'igb-6.8' into 'stable-1.6'
Added igb driver for kernel 6.8

See merge request etherlab.org/ethercat!194
2026-05-22 11:09:29 +02:00
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
Florian Pose f9f855d514 Added igb driver for kernel 6.8. 2026-05-07 10:52:46 +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
Florian Pose b709e58147 Version bump to 1.6.9 1.6.9 2026-03-26 17:47:12 +01:00
Florian Pose 15883228f9 Merge branch 'fix-suse-16' into 'stable-1.6'
Driver fixes for openSUSE Leap 16.0

See merge request etherlab.org/ethercat!192
2026-03-26 17:45:44 +01:00
Florian Pose 9c63faf50d Fixed igb for SUSE kernel 6.12 2026-03-26 17:38:46 +01:00
Florian Pose bf706b737d Fixed genet for SUSE 16.0. 2026-03-26 17:26:45 +01:00
Florian Pose cf19168844 Cherry-picked MR 188 (injection-semaphore) from 1.7. 2026-03-26 16:41:43 +01:00
Florian Pose 98563a2f0d Merge branch 'no-config-necessary' into 'stable-1.6'
Do not require .config to exist in kernel sources

Closes #198

See merge request etherlab.org/ethercat!186
2026-03-24 17:13:53 +01:00
Florian Pose db526666f3 At least check for Makefile. 2026-03-24 17:07:12 +01:00
Florian Pose 1e61b8400c Minor: Improved comments in DC user example. 2026-03-24 17:05:00 +01:00
Florian Pose 6869c2bab8 Merge branch 'stable-1.6-kernel615' into 'stable-1.6'
tty: Implemented new timer interface since kernel 6.15.

See merge request etherlab.org/ethercat!187
2026-03-16 14:47:06 +01:00
Bernd Kuhls e32e99f8b8 tty: Implemented new timer interface since kernel 6.15.
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
2026-03-15 20:06:42 +01:00
Florian Pose 7a7d7f051b Merge branch 'calc-dc-after-attach' into 'stable-1.6'
Attach slaves before calculating DCs

Closes #212

See merge request etherlab.org/ethercat!185
2026-03-13 15:17:53 +01:00
Florian Pose 607d0fd1af Merge branch 'discard-eoe' into 'stable-1.6'
Discard EoE traffic if EoE is disabled

See merge request etherlab.org/ethercat!184
2026-03-13 15:16:29 +01:00
Florian Pose 212cb59d58 Do not require .config to exist in kernel sources. 2026-03-12 12:01:21 +01:00