Commit Graph

270 Commits

Author SHA1 Message Date
Florian Pose 4d2d4a5481 Avoided warning. 2021-08-25 12:01:03 +02:00
Florian Pose d479f28ccc Added 4.19 files to Makefile. 2021-08-24 17:38:22 +02:00
Vincenzo Ferraro 9e2dc1b002 igb-4.19 kernel driver 2021-08-24 17:38:14 +02:00
Nicola Fontana 4e6ac827c1 Revive 'make distcheck' 2021-08-24 17:37:01 +02:00
Nicola Fontana e94f3ec002 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-08-24 17:34:45 +02:00
Nicola Fontana 5696f70a8f 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-08-24 17:33:30 +02:00
Nicola Fontana 6e8c371c42 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-08-24 17:32:32 +02:00
Nicola Fontana eb96e7fc50 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-08-24 17:22:32 +02:00
Florian Pose fbc414c879 Use Git for version detection and tools. 2021-08-24 17:16:55 +02:00
Florian Pose 09a5813fa9 Replaced dma_zalloc_coherent. 2021-08-24 17:13:42 +02:00
Florian Pose 630c1492dd Added e1000e driver for kernel 4.4. 2021-08-24 16:59:17 +02:00
Florian Pose 4447db4845 Added e1000 driver for kernel 4.4. 2021-08-24 16:40:51 +02:00
Florian Pose a4524e5078 Minor fix. 2021-08-24 16:40:39 +02:00
Florian Pose d66a56b6ad Added r8169 driver for kernel 4.4. 2021-08-24 16:40:18 +02:00
Florian Pose b496e5569c Added e100 driver for kernel 4.4. 2021-08-24 16:40:01 +02:00
Florian Pose b2e987df61 Checked usage of last_rx timestamp for stats; fixed indentation. 2021-08-24 16:39:21 +02:00
Florian Pose 84152ef5fd Added native igb driver for kernel 4.4. 2021-08-24 16:38:50 +02:00
Florian Pose 3d160e709b Added 8139too for kernel 4.4. 2021-08-24 16:38:28 +02:00
Florian Pose 0642ecf226 Do not call watchdog function while frames are received. 2021-08-24 16:36:35 +02:00
Florian Pose 95ba6a03ca Applied CCAT patch 0001-fix-ccat-netdev-for-v4.11.patch from Beckhoff. 2021-08-24 16:34:32 +02:00
Florian Pose cf35b1f003 EtherCAT functionality of igb driver. 2021-08-24 16:26:46 +02:00
Florian Pose f3a580470d Added clean igb driver from kernel 3.18 (no EtherCAT yet). 2021-08-24 16:26:06 +02:00
Florian Pose d1c7e79c94 Do not build GPIO part of CCAT if GPIO is not configured in kernel. 2021-08-24 16:25:33 +02:00
Florian Pose 09855ba49b Forgot Makefile.orig. 2021-08-24 16:24:50 +02:00
Patrick Bruenn 47db807948 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.
2021-08-24 16:19:34 +02:00
Florian Pose 8ab66cd2e9 Prevent CCAT auto-loading. 2021-08-24 15:42:21 +02:00
Patrick Bruenn 3ee177f9d8 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
2021-08-24 15:41:36 +02:00
Patrick Bruenn 20aba4ed2e 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
2021-08-24 15:35:50 +02:00
Patrick Bruenn ec5c35306e 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
2021-08-24 15:34:53 +02:00
Florian Pose 95c2be2a37 Support changed sock_create_kern() interface from Linux 4.2. 2016-10-18 10:20:47 +02:00
Florian Pose 621241b394 New alloc_netdev() API since kernel 3.17. 2015-05-07 15:53:42 +02:00
Florian Pose b4d4a98287 Fixed bug concerning netdev_completed_queue(); thanks to B. Benner. 2015-02-19 15:19:29 +01:00
Florian Pose 99418519bd Reverted default branch to stable-1.5. 2014-11-03 15:20:05 +01:00
Florian Pose 605d25eec9 Replaced all mangled hg keywords. 2012-09-06 14:17:21 +02:00
Florian Pose 0aab87469e Added e1000e driver for kernel 3.2, thanks to J. Kunz. 2012-07-23 16:20:40 +02:00
Florian Pose 650d7d3172 Added r8169 driver for kernel 3.2 (thanks to J. Kunz). 2012-07-23 16:11:34 +02:00
Florian Pose 8da4e37466 Added r8169 driver for 2.6.36, thanks to J. Kunz. 2012-07-23 15:35:32 +02:00
Florian Pose de43042ba9 Fixed 8139too driver for 2.6.36. 2012-07-23 15:32:42 +02:00
Florian Pose 170110f787 Applied ethtool patch from Jun Yuan. 2012-07-23 12:23:42 +02:00
Florian Pose f0d04969d7 Added e1000 driver for kernel 3.0. 2012-07-13 13:16:18 +02:00
Florian Pose ccaef13810 Added e100 driver for kernel 3.0. 2012-04-10 19:09:16 +02:00
Florian Pose c8e2ccfe7c Added e1000e driver for 2.6.35. 2012-01-30 15:12:21 +01:00
Florian Pose 12a10999b3 Minor: Indentation and braces. 2012-01-30 14:53:22 +01:00
Florian Pose d11856268f Minor: Indentation. 2012-01-30 14:49:18 +01:00
Florian Pose ea76f4cd50 Added e1000 driver for 2.6.35. 2012-01-30 14:16:01 +01:00
Florian Pose 4ade756346 Added e100 driver for 2.6.35. 2012-01-30 09:54:50 +01:00
Florian Pose 0b23df6512 Fixed opening device. 2012-01-25 17:44:35 +01:00
Florian Pose 19fc9cc370 Added r8169 driver for 2.6.35. 2012-01-25 16:05:40 +01:00
Florian Pose a17b9d16b7 Added missing dist for e1000 driver for 2.6.31. 2012-01-24 11:43:50 +01:00
Florian Pose a172a135ec Fixed missing dist for r8169 for 2.6.32. 2012-01-24 11:37:46 +01:00