Commit Graph

469 Commits

Author SHA1 Message Date
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
Victor Lopez 0875ec4b00 Add igc 6.4 2023-11-03 16:56:43 +01:00
Victor Lopez a892b99d3c Add igc for kernel 6.6
I had doubts in a few places and marked them  with a //todo comment
2023-11-03 16:56:43 +01:00
Florian Pose b029271b6c Merge branch 'genet_6.1' into 'stable-1.5'
Raspi 4 ethernet driver (genet) for Kernel 6.1

See merge request etherlab.org/ethercat!82
2023-10-25 12:58:45 +00:00
Florian Pose fdfead9a47 Merge branch 'drivers_6.1' into 'stable-1.5'
igb and 8139too drivers for 6.1

See merge request etherlab.org/ethercat!77
2023-10-24 10:05:32 +00:00
Florian Pose cb17ec1f2d Merge branch 'igb-5.14' into 'stable-1.5'
Igb for kernel 5.14

See merge request etherlab.org/ethercat!83
2023-10-24 10:04:21 +00:00
Bjarne von Horn bd8f4db9d0 add genet to drivers table 2023-09-11 21:34:37 +02:00
Bjarne von Horn 7188916974 disable MDIO interrupt 2023-09-11 21:31:58 +02:00
Bjarne von Horn 80d954cd16 interrupts not yet fully disabled 2023-09-11 21:31:58 +02:00
Bjarne von Horn 7c20b1ae5b nits 2023-09-11 21:31:58 +02:00
Bjarne von Horn fac7e757d2 seems to work after adding dma (un)mapping to rx path 2023-09-11 21:31:58 +02:00
Bjarne von Horn efd523baec genet set link state 2023-09-11 21:31:58 +02:00
Bjarne von Horn ff58834d38 fix genet module name 2023-09-11 21:31:58 +02:00
Bjarne von Horn d9e12d8d82 initial port of genet for 6.1 2023-09-11 21:31:57 +02:00
Bjarne von Horn 3e303865f1 initial broadcom genet from kernel 6.1.38 2023-09-11 21:31:57 +02:00
Bjarne von Horn 253bcdab24 add missing igb orig header 2023-09-11 14:22:15 +02:00
Bjarne von Horn 37bb1b5a78 add drivers to EXTRA_DIST 2023-09-11 11:45:17 +02:00
Bjarne von Horn 71a43c779d igb for 6.1 with u64_*_irq removed 2023-09-11 11:44:45 +02:00
Bjarne von Horn 560843869d Add original 6.1.38 igb driver 2023-09-11 11:44:45 +02:00
Bjarne von Horn b16135bb37 remove obsolete u64_stats_fetch_begin_irq api 2023-09-11 11:44:45 +02:00
Bjarne von Horn c315158a75 Add 8139too for 6.1 2023-09-11 11:44:45 +02:00
Bjarne von Horn d967426204 add missing EXTRA_DIST 2023-09-11 11:43:39 +02:00
Bjarne von Horn 73e6ea9ce6 support out-of-tree build
by replacing `src` variable in Kbuild files.
2023-09-11 11:43:39 +02:00
Bjarne von Horn d08e41f913 Add page ref to device drivers page.
It's now always in doxygen-output/html/devicedrivers.html
2023-09-06 10:19:49 +02:00
Bjarne von Horn aeda2e0ab9 improve cli interface 2023-08-09 22:38:44 +02:00
Bjarne von Horn c332e762c1 first try to include auto-generated device table in Doxygen 2023-08-09 22:38:42 +02:00
Bjarne von Horn 30326154ee add argument parser 2023-08-09 20:26:00 +02:00
Bjarne von Horn f504acf1df add header separator line 2023-08-09 20:25:42 +02:00
Bjarne von Horn 8631fcb308 initial script to create device table 2023-08-09 19:31:39 +02:00
Nicola Fontana 5d8c8990de Fix class_create on kernel 6.4
Commit 1aaba11da9aa7d7d6b52a74d45b31cac118295a1 in kernel code removed
`module *` argument from `class_create`.
2023-07-05 12:13:32 +02:00
Florian Pose f963c819ac Updated copyright, removed Id. 2023-06-29 11:05:33 +02:00
Florian Pose fba21cb759 Added 8139too driver for kernel 5.10. 2023-06-29 11:03:35 +02:00
Bjarne von Horn 4ada15a6b4 igb ethtool workaround for leap 15.5 2023-05-31 16:39:06 +02:00
Bjarne von Horn cb97379dc5 xdp workaround for leap 15.5 2023-05-31 16:27:24 +02:00
Bjarne von Horn 7a4e857f2b Make igb coalesce workaround conditional 2023-05-31 16:06:54 +02:00
Bjarne von Horn a35623c5b7 Fixes for leap 15.4 kernel flavour 2023-05-31 15:43:08 +02:00
Bjarne von Horn 801e4f549f Patched igb for 5.14 2023-05-31 15:12:43 +02:00
Bjarne von Horn 6fd0b0e038 Add original igb from 5.14.21 2023-05-31 15:01:40 +02:00
Bjarne von Horn b97af7523a igb for 5.15 2023-05-02 12:17:37 +00:00
Bjarne von Horn 9388c8ca30 Add igb 5.10 to EXTRA_DIST 2023-05-02 13:21:10 +02:00
Bjarne von Horn d7ece1b11f patched igb 5.10 driver 2022-06-14 12:31:34 +02:00
Bjarne von Horn d301cbb992 Fix setting mac_address
eoe->dev->dev_addr is read_only in 5.17.0
using eth_hw_addr_set instead
2022-05-17 12:17:28 +02:00
Bjarne von Horn 2c9286de9b Fix DMA detection macro
Some arm64 builds have CONFIG_PCI, but free_dma() and request_dma()
symbols depend on CONFIG_GENERIC_ISA_DMA
2021-12-06 23:36:35 +01:00