Commit Graph

446 Commits

Author SHA1 Message Date
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
Florian Pose 5e21dcd6e1 Added 4.19 files to Makefile. 2021-07-06 16:11:04 +02:00
Vincenzo Ferraro 260ae28310 igb-4.19 kernel driver 2021-07-06 16:11:04 +02:00
Nicola Fontana 82399a9239 Revive 'make distcheck' 2021-06-22 14:43:07 +00:00
Nicola Fontana 205337fed1 Do not define DIST_SUBDIRS when not needed
DIST_SUBDIRS is automatically populated with all possible values of
SUBDIRS in all conditions:

    https://www.gnu.org/software/automake/manual/html_node/SUBDIRS-vs-DIST_005fSUBDIRS.html

This means it is usually not needed to explicitely set it but in
examples/, where some dirs are never added to SUBDIRS.
2021-05-26 09:18:06 +02:00
Florian Pose 6d37c445ab Merge branch 'fix-e1000e-extra-dist' into 'stable-1.5'
Fix EXTRA_DIST files for e1000e

See merge request etherlab.org/ethercat!14
2021-05-25 10:47:37 +00:00
Florian Pose 0f6e2e19ec Merge branch 'stable-1.5' into 'remove-sram-gpio-from-dist'
# Conflicts:
#   devices/ccat/Makefile.am
2021-05-25 10:43:53 +00:00
Nicola Fontana b2b34133b8 Fix EXTRA_DIST files for e1000e
In `devices/e1000e/Makefile.am` there was a really sneaky double
backslash that messed up the whole EXTRA_DIST list.
2021-05-22 20:14:11 +02:00
Nicola Fontana 9da3b1ab40 Fix #4: remove sram.h and gpio.h from EXTRA_DIST
`sram.h` is not referenced anywhere (or, better, `grep -ir sram.h` does
not return any matching result) while `gpio.h` is included with
`<linux/gpio.h>`, suggesting the system header file is used.
2021-05-22 11:57:39 +02:00
Nicola Fontana 60dd78485c Do not include AC_CONFIG_FILES in BUILT_SOURCES
BUILT_SOURCES is used to trigger early generation of files in the `make`
process to workaround dependency problems:

    https://www.gnu.org/software/automake/manual/html_node/Sources.html

AC_CONFIG_FILES are generated by `configure`, so they are already
present in the file system even before `make` is called. Furthermore,
AC_CONFIG_FILES already properly handle dist and clean targets, so no
need to add them to EXTRA_DIST or DISTCLEANFILES:

    https://www.gnu.org/software/automake/manual/html_node/Requirements.html
2021-05-22 08:25:26 +02:00
Florian Pose b87076135e Use Git for version detection and tools. 2021-03-17 14:51:35 +01:00
Florian Pose 563f6e0cb4 Replaced dma_zalloc_coherent. 2020-04-03 12:17:32 +02:00
Florian Pose 65ff5e7ede Added e1000e driver for kernel 4.4. 2019-01-04 11:30:09 +01:00
Florian Pose 23b3d31737 Added e1000 driver for kernel 4.4. 2018-10-23 15:47:56 +02:00
Florian Pose a9ae5c0727 Minor fix. 2018-10-23 15:16:47 +02:00
Florian Pose 029a72b8cb Added r8169 driver for kernel 4.4. 2018-10-23 15:06:54 +02:00
Florian Pose 9f6863c471 Added e100 driver for kernel 4.4. 2018-10-23 14:55:53 +02:00
Florian Pose 57c60f0b3b Checked usage of last_rx timestamp for stats; fixed indentation. 2018-10-23 13:03:05 +02:00
Florian Pose 025c2af1ae Added native igb driver for kernel 4.4. 2018-10-23 11:53:20 +02:00
Florian Pose fff394782f Added 8139too for kernel 4.4. 2018-10-23 11:23:23 +02:00
Florian Pose 9bb5b431e8 Do not call watchdog function while frames are received. 2018-02-14 11:46:03 +01:00
Florian Pose 77dc73606d Applied CCAT patch 0001-fix-ccat-netdev-for-v4.11.patch from Beckhoff. 2018-01-30 17:08:21 +01:00
Florian Pose ac4d440b21 EtherCAT functionality of igb driver. 2017-10-12 13:08:15 +02:00
Florian Pose 8da461bdab Added clean igb driver from kernel 3.18 (no EtherCAT yet). 2017-09-08 14:39:38 +02:00