Commit Graph

21 Commits

Author SHA1 Message Date
Florian Pose 354f1493cc Switched from hrtimer_init() to hrtimer_setup() with Linux 6.15. 2025-06-10 12:08:09 +02:00
Bjarne von Horn 6092d13098 further ccat fixes for leap 15.5 2024-02-07 15:24: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
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 563f6e0cb4 Replaced dma_zalloc_coherent. 2020-04-03 12:17:32 +02: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
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
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 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
Patrick Bruenn be89551e21 - increase version number to 0.10
- run indent script on netdev.c
2014-07-02 14:25:23 +02:00
Patrick Bruenn 6c129ee7ce Refactoring:
- convert next_tx/rx counter into dma_fifo member fifo->next
- use POLL_TIME define instead of magic number 100
- remove obsolete tx_fifo_full()
2014-07-02 08:15:27 +02:00
Patrick Bruenn 8309f8f243 remove dead commented code 2014-06-05 17:54:35 +02:00
Patrick Bruenn 4e38410894 remove print.* from release tree
run indent
2014-06-05 17:41:48 +02:00
Patrick Bruenn 950bfe2649 reorder functions in netdev.c to avoid forward declarations 2014-06-05 17:27:16 +02:00
Patrick Bruenn 2f4a4fd5fe - don't use compat.h in the mainline driver
- correct constness of function pointer declarations
2014-06-05 16:40:01 +02:00
Patrick Bruenn eb003e8df3 make ccat driver more linux compliant
- reduce enum ccat_info_t to the minimal set of defines
 - replace CamelCased WINDOWS typedef structs with linux types
 - remove print.c/.h from the driver build, but keep the files for debugging
2014-06-05 16:30:22 +02:00
Patrick Bruenn ae6a5712e6 move first *_carrier_off() in front of register_netdev()/ ecdev_open() 2014-06-05 16:14:13 +02:00
Patrick Bruenn 058e923dda - use short kernel types, add empty lines after variable declaration to conform better with linux coding style
- replace polling threads with hrtimer callback
2014-06-05 16:07:52 +02:00
Patrick Bruenn 682b891bd0 - restored examples/user/
- removed /devices/ccat/COPYING
- replaced DRV_NAME with KBUILD_MODNAME
2014-05-06 17:23:33 +02:00
Patrick Bruenn dc7832849e ccat: use the same file for different driver version 2014-04-23 15:20:33 +02:00