Commit Graph

511 Commits

Author SHA1 Message Date
Bjarne von Horn 0cb7cfd973 Fix very old kernels with CONFIG_SUSE_KERNEL 2024-06-06 16:27:04 +02:00
Nicola Fontana 95c25b5071 Remove dev_base_lock for linux >= 6.9.0
Kernel commit 1b3ef46cb7f2618cc0b507393220a69810f6da12 removed
`dev_base_lock` from v6.9 onward.

Use the alternate iterator `for_each_netdev_rcu` introduced by commit
c6d14c84566d6b70ad9dc1618db0dec87cca9300 in 2.6.33+.
2024-06-03 12:45:48 +02:00
Bjarne von Horn f4e9367dde Add igc for 5.15.40 2024-06-03 11:05:20 +02:00
Florian Pose 4fe6b87f89 Added missing prototypes. 2024-05-22 11:00:25 +02:00
Bjarne von Horn a9804cb302 Fix igc for suse 15.6 2024-05-07 14:59:19 +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 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 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
Florian Pose ec407273f4 Changed email address. 2024-02-07 16:17:22 +01:00
Bjarne von Horn 6092d13098 further ccat fixes for leap 15.5 2024-02-07 15:24:21 +01:00
Bjarne von Horn c064eb7446 fix -Wcomment in igc 2024-02-07 15:21:04 +01:00
Bjarne von Horn 9f8570f3cd further igc fixes for leap 15.5 2024-02-07 15:19:55 +01:00
Bjarne von Horn fb3c725953 add missing include for igc on suse 15.5 2024-02-07 15:00:19 +01:00
Bjarne von Horn e553a9999e Merge branch 'igc_6.1' into devel-1.6 2024-02-07 14:49:37 +01:00
Bjarne von Horn 26ffb1d265 Merge branch 'genet_5.10' into devel-1.6 2024-02-07 14:48:05 +01:00
Bjarne von Horn 6f17f8d73b fix igc resource leaks 2024-02-07 12:20:53 +01:00
Bjarne von Horn 777acd8517 verify igc resource allocation and releasing 2024-02-07 12:20:47 +01:00
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 105ee25afb add igc 5.14.21 with suse ifdefs 2024-02-06 14:02:11 +01:00
Bjarne von Horn 6170ac2331 Add igc 6.1.38 2024-02-06 13:23:13 +01:00
Bjarne von Horn 49fae0c6dc Fix igc link detection with xenomai 2024-02-06 12:50:21 +01:00
Bjarne von Horn 501903aec7 [igc] fix copy pasta typo 2024-02-05 15:17:41 +01:00
Bjarne von Horn c76399b8db more eth_hw_addr_set ifdefs for suse's kernel 2024-02-05 14:25:48 +01:00
Bjarne von Horn 1485d78d6a Add bcmgenet 5.14.21 2024-02-05 12:09:35 +01:00
Bjarne von Horn 69a8ff515a add genet update script 2024-02-05 11:52:43 +01:00
Bjarne von Horn 5ea3c93d06 Add genet 5.10.110 2024-02-05 11:52:43 +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
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
Florian Pose 1ace2f4177 Merge branch 'vh/e1000e' into 'stable-1.5'
Add e1000e for 5.4, 5.10, 5.14 and 6.1

See merge request etherlab.org/ethercat!102
2024-02-01 15:10:30 +00:00
Bjarne von Horn f91a0db630 Add e1000e for 5.4, 5.10, 5.14 and 6.1 2024-02-01 15:10:29 +00: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 783c8eddec Merge branch '8139too_5.14_5.15' into 'stable-1.5'
Add 8139too for 5.14 5.15

See merge request etherlab.org/ethercat!97
2024-02-01 15:03:38 +00:00
Florian Pose ee55c20e28 Fixed mail address; limited lines to 78 characters; removed $Id$. 2024-02-01 15:15:41 +01:00
Bjarne von Horn 75686518c7 Remove whitespace. 2024-02-01 09:20:25 +01:00
Bjarne von Horn 2e071ad680 Remove EtherCAT copyright notice. 2024-02-01 09:18:26 +01:00
Bjarne von Horn e8dd5984c7 Remove 2.6 conditionals in generic driver 2024-02-01 09:12:55 +01:00
Bjarne von Horn a2482e4a67 Remove e1000e 2.6 2024-02-01 09:12:55 +01:00
Bjarne von Horn 9fe05cf4eb Remove 2.6 e1000 2024-02-01 09:12:55 +01:00
Bjarne von Horn cb4888eee9 Remove 2.6 8139too e100 r8169 2024-02-01 09:12:55 +01:00
Florian Pose 21b0b13703 Merge branch 'kbuild_out_of_tree' into 'devel-1.6'
support out-of-tree build

See merge request etherlab.org/ethercat!79
2024-01-31 14:52:23 +00:00
Bjarne von Horn d06ced8a24 Add realtek drivers to table.
Fixes #94
2024-01-24 12:15:34 +01:00
Bjarne von Horn c4168c2dc4 skip dev_sw_netstats_rx_add() 2024-01-11 12:02:27 +01:00
Bjarne von Horn f43a83555f Avoid AX_COMPARE_VERSION dependency 2024-01-10 12:09:23 +01:00
Bjarne von Horn 396f7320db Import some of Richards changes 2024-01-10 11:47:58 +01:00
Bjarne von Horn 1d8e58bfc5 r8169 ethtool workaround for leap 15.5 2024-01-10 11:20:29 +01:00
Bjarne von Horn 2eeb31dcc1 r8169 coalesce workaround for leap 15.4+ 2024-01-10 11:20:29 +01:00
Bjarne von Horn 4998b4f795 inital r8169 for 5.14 2024-01-10 11:20:29 +01:00
Bjarne von Horn 2e3da687d2 add orig r8169 from 5.14.21 2024-01-10 11:20:29 +01:00
Bjarne von Horn 21b0a9d4f1 Ported r8169 to 6.1 2024-01-10 11:20:29 +01:00
Bjarne von Horn 9145b0ed93 orig r8169 from 6.1.38 2024-01-10 11:20:29 +01:00
Bjarne von Horn 52100d9278 unify r8169 configure for kernels >= 5.0.0
NOTE: this adds a dependency on autoconf-archive package,
because `AX_COMPARE_VERSION` macro is used.
2024-01-10 11:20:29 +01:00
Bjarne von Horn 79998219bc minor fixes 2024-01-10 11:20:29 +01:00
Bjarne von Horn 556116d6b2 Ported 5.10 2024-01-10 11:20:29 +01:00
Bjarne von Horn b1ed240c37 real 5.10 2024-01-10 11:20:29 +01:00
Bjarne von Horn 647219ac85 accidently ported 5.15 drivers 2024-01-10 11:20:29 +01:00
Bjarne von Horn c16883b589 ported r8169 to 5.10 2024-01-10 11:20:29 +01:00
Bjarne von Horn 9b9e8a4a6e initial r8169 5.10 2024-01-10 11:20:29 +01:00
Bjarne von Horn 74306224a0 wrap netdev_xmit_more in e1000 2023-12-20 17:59:51 +01:00
Bjarne von Horn 32d37eb6c1 Fix e1000 for suse-patched 5.14 2023-11-30 14:15:12 +01:00
Bjarne von Horn 959efa3b9d Add e1000 for 6.1.38. 2023-11-30 14:15:12 +01:00
Bjarne von Horn 9de59a9f4e Add e1000 for 5.15.115 2023-11-30 14:15:12 +01:00
Bjarne von Horn 4430b1fc6d Add e1000 for 5.14.21 2023-11-30 14:15:12 +01:00
Bjarne von Horn a72dfdc4c2 Tune e1000 update script. 2023-11-30 14:15:12 +01:00
Bjarne von Horn f9fb3f1cc1 Add e1000 for 5.10.115 2023-11-30 14:14:57 +01:00
Bjarne von Horn 92cebe2ec9 Merge remote-tracking branch 'origin/stable-1.5' into igc-6.x 2023-11-30 10:16:31 +01:00
Bjarne von Horn 0eac6ce78b add suspend/resume support for igc 2023-11-30 09:52:08 +01:00
Bjarne von Horn 6fc487760f remove todo comments 2023-11-30 09:51:44 +01:00
Bjarne von Horn 2985d24d2d e100 workaround for suse-patched 5.14 2023-11-29 12:12:45 +01:00
Bjarne von Horn 223bde8c7b Add 8139too for 5.15.115 2023-11-29 08:56:14 +01:00
Bjarne von Horn 5a48a7cb6f Add 8139too for 5.14.21 2023-11-29 08:54:11 +01:00
Bjarne von Horn 553172c7f7 add e100 for 6.4.8 2023-11-27 11:25:21 +01:00
Bjarne von Horn 6953da43e5 add e100 for 6.1.55 2023-11-27 11:16:20 +01:00
Bjarne von Horn 2035006cd6 add e100 5.15.40 2023-11-27 11:16:18 +01:00
Bjarne von Horn 96630ceb39 add e100 for 5.14.21 2023-11-27 11:15:55 +01:00
Bjarne von Horn 69a23f1da7 Add e100 5.10.115 2023-11-27 11:15:33 +01:00
Bjarne von Horn 7ea5869640 add e100 for 5.4 (orig from 5.4.255) 2023-11-27 10:14:21 +01:00
Steffen Dirkwinkel 84b53c1e89 ccat/netdev: fix fifo initialization
ccat crashed when first timer callback was triggered before link_up was called
2023-11-09 16:37:52 +01:00
Florian Pose a75cc062ef Merge branch 'fix-71' into 'stable-1.5'
Verbose error message in case no device is configured

See merge request etherlab.org/ethercat!90
2023-11-07 11:02:14 +00:00
Bjarne von Horn 7d636fa35c Add note on how to find driver name. 2023-11-07 11:54:35 +01:00
Bjarne von Horn 61ea868a7d show igc in device driver table 2023-11-03 16:57:56 +01:00