Commit Graph

334 Commits

Author SHA1 Message Date
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 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
Florian Pose 25bdba8bbd Do not build GPIO part of CCAT if GPIO is not configured in kernel. 2017-09-08 13:50:06 +02:00
Florian Pose 277bc127c8 Forgot Makefile.orig. 2017-09-08 13:16:57 +02:00
Florian Pose 5281569032 Support changed sock_create_kern() interface from Linux 4.2. 2016-10-18 10:20:47 +02:00
Florian Pose 9d24bf69e2 merge 2016-09-16 11:57:01 +02:00
Patrick Bruenn 1362f30a05 devices/ccat: revert "limit rx processing to one frame per poll"
revert "limit rx processing to one frame per poll", which caused etherlab
frame timeouts in setups with more than one frame per cycle.
2016-04-12 11:17:36 +02:00
Florian Pose 8a9aad3f44 Merged CCAT driver v0.14. 2016-02-16 15:18:34 +01:00
Florian Pose 2b18e00116 Prevent CCAT auto-loading. 2016-02-25 15:23:42 +01:00
Florian Pose 67c89f9d81 merge 2015-12-18 12:30:45 +01:00
Patrick Bruenn 004831997e update ccat driver to v0.14
- fix ccat startup stall and 64 bit address usage
- limit rx processing to one frame per poll
- print registered gpio base to kernel log
- fix constness for *_driver objects
- refactor dma fifo initialization
- refactor rx/tx fifo code and structures
2015-11-05 16:54:49 +01:00
Patrick Bruenn 2632d73bf2 fix ccat startup stall. In case the dma memory was allocated above 4 GB limit, CCAT is unable to access it.
-> limit the dma_mask to 32-bit to omit this situation
2015-10-26 08:28:10 +01:00
Patrick Bruenn 596a2584c3 update ccat driver to v0.13
- add driver for the SRAM function block
- add driver for the GPIO function block
- add support for multiple CCATs
- prepare support for devices without pci
2015-10-13 12:24:16 +02:00
Florian Pose 00156fb424 New alloc_netdev() API since kernel 3.17. 2015-05-07 15:53:42 +02:00