1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

43 Commits

Author SHA1 Message Date
Leandro Lanzieri
a2e5934ec9
drivers/encx24j600: introduce setup function with index 2022-03-24 09:32:10 +01:00
Marian Buschsieweke
4c22716001
drivers/encx24j600: make cppcheck happy
Rename cmd buffer to cmd_buf to avoid shadowing outer function.
2021-11-07 08:46:06 +01:00
Marian Buschsieweke
9f1cece6ee
drivers/encx24j600: fix unaligned memory access 2021-11-06 20:33:43 +01:00
Jan Romann
4384795cb9
treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
Jose Alamos
ebb857f8fa
drivers/encx24j600: avoid explicit cast to netdev 2021-07-09 11:35:23 +02:00
Bas Stottelaar
92b1dfc703 drivers/*: realign ENABLE_DEBUG 2020-10-23 01:26:09 +02:00
Bas Stottelaar
26835a949f drivers/*: remove unused assert.h include 2020-10-22 11:29:27 +02:00
Benjamin Valentin
110609195f drivers/encx24j600: use unsigned char 2020-07-31 13:38:03 +02:00
Martine S. Lenders
8dba9a9188
netopt: remove deprecated alias NETOPT_LINK_CONNECTED 2020-07-10 16:18:13 +02:00
Jose Alamos
3ad574a822 drivers/netdev: use netdev_trigger_event_isr function 2020-03-06 14:03:43 +01:00
Marian Buschsieweke
99db8e8717
drivers/encx24j600: Allow empty iolist elements
This commits allows using netdev_driver_t::send() to be called with one or more
empty iolist elements. This fixes issue
https://github.com/RIOT-OS/RIOT/issues/11163
2019-04-01 16:51:39 +02:00
4dcd958dce
Merge pull request #10415 from maribu/encx24j600
drivers/encx24j600: Implemented missing drop case
2019-03-11 14:15:40 +01:00
4c2749041b drivers/encx24j600: lock dev in netopt get() 2019-03-11 12:35:09 +01:00
smlng
6183d5f5c5 netdev: remove layer2 netstats from netdev drivers
Removing usage of netdev->stats in all net drivers, as it is
handled by gnrc_netif.
2019-02-01 11:25:27 +02:00
Marian Buschsieweke
727b4cac1c
drivers/encx24j600: Implemented missing drop case
The netdev_driver_t::recv implementation of the encx24j600 does not provide the
drop feature. This commit adds it.

Fixes: #10410
2018-11-16 13:24:35 +01:00
Martine Lenders
ce807173ff
Merge pull request #8601 from bergzand/pr/netopt-link-status
netopt/drivers: Add phy link status output
2018-03-18 15:25:01 +00:00
eb9e2dadf1
encx24j600: add link status support 2018-03-18 15:32:41 +01:00
23b414b732 drivers: net: adapt to iolist-using netdev 2018-03-06 14:00:31 +01:00
smlng
b283b7784c make: fix various compile errors with Wextra
pkg, nordic_softdevice_ble: disable CFLAGS to omit compiler error
        sys, pm_layered: fix casting nonscalar to the same type
        cpu, stm32_common: fix type-limits, remove always true assert
        cpu, stm32f4: fix pointer arithmetic in periph/i2c
        drivers, at86rf2xx: fix type-limits where condition always true
        saul, gpio: fix if no gpio configured for saul
        cpu, saml21: add frequency check to periph/timer
        driver, cc110x: fix unused param and type-limts errors
        boards, wsn430-common: fix old-style-declaration
        make: fix old style definition
        drivers, sdcard_spi: fix old style typedef
        driver, at30tse: remove unnecessary check
        driver, nrf24: fix type-limit
        driver, pn532: change buffer from char to uint8_t
        tests/driver_sdcard: fix type limits
        boards, feather-m0: add missing field inits
        driver, tcs37727: fix type limits
        pkg, emb6: disable some compiler warnings
        tests/emb6: disable some compiler warings
        pkg, openthread: fix sign compare and unused params
        tests/trickle: fix struct init
        tests/pthread_cooperation: fix type limits
        board, mips-malta: remove feature periph_uart
        shell: fix var size for netif command
        gnrc, netif: fix sign-compare
        gnrc, nib: fix sign-compare
        shell: fix output in netif command
        posix: fix type-limits in pthread_cond
2017-11-28 18:31:43 +01:00
kYc0o
b3c39274bb drivers/encx24j600/encx24j600.c : fix counter var length 2017-10-26 00:45:00 +02:00
94c753c07a drivers: doxygen cleanup 2017-09-01 15:12:20 +02:00
smlng
a7b049f98a drivers: coding style, use {} for empty while loops 2017-06-11 20:08:10 +02:00
Martine Lenders
99327c7c04 Merge pull request #7137 from smlng/driver/encx24j600/fix_overflow
driver, encx24j600: fix possible buffer overflow
2017-06-06 07:51:13 +02:00
smlng
164768be54 netstats_l2: correct rx_bytes in encx24j600 2017-06-05 11:08:59 +02:00
smlng
b41219744a driver, encx24j600: fix possible buffer overflow
overflow if len < payload_len, that is packet too big
2017-06-05 11:08:59 +02:00
Hauke Petersen
d488fdc1e3 sys/drivers: guard l2filter.h, netstats.h includes 2017-05-23 13:39:49 +02:00
Martine Lenders
29842bb5e4 netdev2: rename to netdev and remove gnrc_netdev
With some minor hand-edits I used the following chain of commands:

```sh
git rm sys/include/net/gnrc/netdev.h
git grep --name-only -i netdev2 | \
        xargs sed -i -e 's/^\(NETDEV\)2\(.*\)\( [("]\)/\1\2 \3/g' \
                     -e 's/\(netdev\)2\(.*\)\( \/\*\*<\)/\1\2 \3/I' \
                     -e 's/\(netdev\)2/\1/gI'
git add -p
git commit --amend
git ls-tree --full-tree -r HEAD --name-only | \
        grep "netdev2" | xargs -I'{}' dirname '{}' | uniq | \
        grep "netdev2" | while read dir; do
                new_dir="$(echo "$dir" | sed "s/netdev2/netdev/g")"
                git mv -f "$dir" "$new_dir"
        done
git commit --amend
git ls-tree --full-tree -r HEAD --name-only | \
        grep "netdev2" | while read file; do
                new_file="$(echo "$file" | sed "s/netdev2/netdev/g")"
                git mv -f "$file" "$new_file"
        done
git commit --amend
git grep --name-only "\<drivers_netdev_netdev\>" | \
        xargs sed -i "s/\<drivers_netdev_netdev\>/drivers_netdev_api/g"
git add -p
git commit --amend
```
2017-03-15 09:31:20 +01:00
7178d6d002 drivers: encx24j600: misc compilation fixes 2017-01-26 10:56:59 +01:00
Hauke Petersen
87534c75f0 drivers/encx24j600: adapted to SPI API changes 2017-01-25 16:46:45 +01:00
Martine Lenders
bd2429f299 cpu: drivers: adapt devices for netdev2 parameter type change 2016-08-03 12:30:51 +02:00
Victor Arino
50eee7fa8a drivers/encx24j600: minor fixes 2016-07-14 16:44:39 +02:00
d7b17684e4 drivers: net: adapt to removed event_callback argument 2016-06-02 11:11:40 +02:00
1ac0ab6905 drivers: encx24j600: prefix constants 2016-04-06 22:53:47 +02:00
d9d5d88b26 drivers: encx24j600.c: compile fixes 2016-04-06 22:53:27 +02:00
Oleg Hahm
aa043a50bf drivers encx24j600: introduce netstats
This driver was missing netstats completely so far.
2016-04-03 18:05:07 +02:00
Oleg Hahm
59674a679b netdev2: use params parameter for setup 2016-03-28 20:22:20 +02:00
Oleg Hahm
26b3263f8a netdev2: moved ethernet header into subdir 2016-03-25 15:10:07 +01:00
Hauke Petersen
e51d634aeb drivers: adapted gpio_init(_x)() calls 2016-03-17 14:55:30 +01:00
Martine Lenders
8db42427cb native/drivers/sys: adapt ethernet netdev2 for info struct 2016-02-22 12:37:26 +01:00
b43a1070a2 drivers: encx24j600: correctly pass on isr_arg 2016-02-21 21:54:40 +01:00
cd471867e6 drivers: encx24j600: make use of netdev2_eth module 2015-12-07 11:40:39 +01:00
21dfa698bc drivers: encx24j600: switch to xtimer 2015-09-16 10:58:55 +02:00
bd698bf574 drivers: add encx24j600 ethernet driver 2015-09-04 18:49:08 +02:00