Marian Buschsieweke
47280b3a9b
drivers/w5100: make use of spi_transfer_u16_be()
...
This also fixes a bug, as the free coded byte swap code was incorrect.
2024-02-02 13:05:02 +01:00
Benjamin Valentin
a774ad935b
drivers/w5100: make use of netdev_eui48_get()
2024-01-26 21:42:27 +01:00
Benjamin Valentin
838a5e4bd3
netdev_drivers: make sure to signal LINK_UP at least once
2022-09-16 22:57:28 +02:00
Leandro Lanzieri
5f7a906b95
drivers/w5100: introduce setup with index
2022-03-24 09:30:42 +01:00
=
6d51ac8622
drivers/w5100/w5100.c: fix TX_WR register's value
2021-05-15 14:34:55 +08:00
=
b0af54f93b
drivers/w5100/w5100.c: correct pointer position
2021-01-09 09:42:42 +08:00
Bas Stottelaar
92b1dfc703
drivers/*: realign ENABLE_DEBUG
2020-10-23 01:26:09 +02:00
Jose Alamos
3ad574a822
drivers/netdev: use netdev_trigger_event_isr function
2020-03-06 14:03:43 +01:00
Martine Lenders
82e293a496
Merge pull request #10412 from maribu/w5100
...
drivers/w5100: Fixed netdev_driver_t::recv() API
2019-02-05 16:30:42 +01:00
Marian Buschsieweke
a81d39494f
drivers/w5100: Fix recv() with too small buffer
...
If netdev_driver_t::recv() is called and the provided buffer is smaller than
the frame then `-ENOBUFS` should be returned, the frame should be dropped, and
no data of the frame should be returned.
Addresses: https://github.com/RIOT-OS/RIOT/issues/10413
2019-01-29 20:38:56 +01:00
Marian Buschsieweke
ea3edef5c7
drivers/w5100: Added missing drop implementation
...
The netdev_driver_t::recv implementation of the w5100 does not provide the
drop feature. This commit adds it.
Fixes: https://github.com/RIOT-OS/RIOT/issues/10410
2019-01-29 20:36:37 +01:00
Kees Bakker
811cda15cb
drivers/w5100: do normal assignment instead of memcpy
2019-01-10 19:43:44 +01:00
Marinus Enzinger
9bd15141a3
[w5100] Fixed RX interrupt handling
2018-05-17 18:13:23 +02:00
23b414b732
drivers: net: adapt to iolist-using netdev
2018-03-06 14:00:31 +01:00
smlng
4492396923
driver, w5100: fix sign-compare and add spi as required feature
2017-11-28 23:09:37 +01: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
Hauke Petersen
79a113d1ba
sys/drivers: renamed uuid module to luid
2017-02-27 11:01:20 +01:00
Hauke Petersen
ac482fd3e2
drivers/w5100: adapted to SPI API changes
2017-01-25 16:46:46 +01:00
Hauke Petersen
8624456efe
drivers/w5100: use uuid_get() for HW addr gen
2017-01-19 11:09:29 +01:00
Hauke Petersen
efb7e8a3ba
drivers/w5100: set src addr to known state
2016-11-16 17:46:04 +01:00
Hauke Petersen
bf9f1268f2
drivers/w5100: adapted to netdev2 API changes
2016-11-16 09:50:36 +01:00
Hauke Petersen
d7dbac7c61
drivers: added driver for W5100 Ethernet chips
2016-10-26 08:36:58 +02:00