Commit Graph

11 Commits

Author SHA1 Message Date
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 09a5813fa9 Replaced dma_zalloc_coherent. 2021-08-24 17:13:42 +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 d1c7e79c94 Do not build GPIO part of CCAT if GPIO is not configured in kernel. 2021-08-24 16:25:33 +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 99418519bd Reverted default branch to stable-1.5. 2014-11-03 15:20:05 +01:00