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
Florian Pose
c67691de42
Fixed bug concerning netdev_completed_queue(); thanks to B. Benner.
2015-02-19 15:19:29 +01:00
Florian Pose
c02e204fcb
Added all drivers for kernel 3.16.
2014-10-28 16:54:59 +01:00
Florian Pose
0a250140d6
Added all drivers for kernel 3.14.
2014-10-28 16:31:44 +01:00
Florian Pose
04644ee1e2
Added all drivers for kernel 3.12.
2014-10-28 15:59:52 +01:00
Florian Pose
a8a629cd26
Added all drivers for kernel 3.10.
2014-10-28 15:44:36 +01:00
Florian Pose
19468817ef
Added all drivers for kernel 3.8.
2014-10-28 13:31:05 +01:00
Florian Pose
4ca7ebce7a
Fixed wrong version e1000 includes.
2014-10-28 11:26:00 +01:00
Florian Pose
7cb12f0cb8
Use return value of ecdev_open(); thanks to Patrick Bruenn.
2014-10-27 16:33:23 +01:00
Florian Pose
480d497644
CCAT: Support kernels before 3.14 without dma_set_mask_and_coherent().
2014-10-27 14:54:02 +01:00
Florian Pose
0de73a15ad
Merged CCAT 0.10 changes.
2014-10-27 14:33:03 +01:00
Florian Pose
fa39f61c52
Prevent CCAT auto-loading.
2014-10-27 14:19:49 +01:00
Florian Pose
d790e03dd9
merge.
2014-10-27 14:15:55 +01:00
Florian Pose
6e8888827a
Added e100 driver for kernel 3.6.
2014-10-27 13:41:01 +01:00