Florian Pose
a79632cdcd
Merge branch 'add-igc' into 'master'
...
Add igc for kernel 6.6
See merge request etherlab.org/ethercat!88
2023-11-29 09:30:01 +00:00
Florian Pose
fb06e5a2ba
Merge branch 'ccat_fifo' into 'stable-1.5'
...
ccat/netdev: fix fifo initialization
See merge request etherlab.org/ethercat!91
(cherry picked from commit b18f365b27 )
84b53c1e ccat/netdev: fix fifo initialization
2023-11-10 08:48:43 +00:00
Victor Lopez
4c49459ec1
Add igc 6.4
2023-10-27 16:08:26 +02:00
Victor Lopez
f18291e35b
Add igc for kernel 6.6
...
I had doubts in a few places and marked them with a //todo comment
2023-10-27 12:43:56 +02:00
Nicola Fontana
262afa2f9c
Fix class_create on kernel 6.4
...
Commit 1aaba11da9aa7d7d6b52a74d45b31cac118295a1 in kernel code removed
`module *` argument from `class_create`.
2023-07-05 07:31:52 +02:00
Florian Pose
b310b98936
Updated copyright, removed Id.
2023-06-29 11:37:00 +02:00
Florian Pose
6ff4168daa
Added 8139too driver for kernel 5.10.
2023-06-29 11:01:31 +02:00
Bjarne von Horn
1f55565fbb
Fix setting mac_address
...
eoe->dev->dev_addr is read_only in 5.17.0
using eth_hw_addr_set instead
2022-05-17 14:06:42 +02:00
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