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

15 Commits

Author SHA1 Message Date
Oleg Hahm
900528b2f2 netdev2_tap: check for existence before calling cb 2016-04-03 18:04:03 +02:00
Yonezawa-T2
c4bc42419b netdev2_tap: continue reading even if no spaces left in pktbuf
On OS X, `netdev2_tap` suspends monitoring file descriptor until `_recv` is
called. If no spaces in left in pktbuf, `gnrc_netdev2_eth` does not call `_recv`
that results in deadlock.

With this commit, `gnrc_netdev2_eth` calls `_recv` with NULL buffer and non-zero
length parameter, that indicates the driver to drop frame and resume working.
2016-03-31 16:59:12 +09:00
Yonezawa-T2
79d33897cb native: add UART driver based on /dev/tty
uart0 functionality is removed by #3164. This patch implements periph/uart,
rather than deprecated uart0, using /dev/tty.
To use with netdev2_tap simultaneously, this patch adds asynchronus read system
and modifies netdev2_tap to use it.

A TTY device is specified on command line with -c (COM) option, since -t was
used by the old implementation.

This patch also implements empty GPIO driver needed by the xbee driver.
2016-03-31 16:59:12 +09:00
Oleg Hahm
1f4d73dde1 Merge pull request #4801 from OlegHahm/netstats
netstats: introduce L2 netstats
2016-03-30 14:42:49 +02:00
Oleg Hahm
021e94ee6a netdev2: introduce linklayer netstats 2016-03-29 22:34:09 +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
Martine Lenders
8db42427cb native/drivers/sys: adapt ethernet netdev2 for info struct 2016-02-22 12:37:26 +01:00
60122cca82 cpu: native: netdev2_tap: don't pass isr_arg on rx complete event 2016-02-21 21:55:33 +01:00
Martine Lenders
eb4d9859a3 netdev2_tap: fix strange event_callback argument 2016-02-20 15:55:35 +01:00
14a54bddce cpu: native: netdev2_tap: make use of netdev2_eth module 2015-12-07 11:40:39 +01:00
Ludwig Knüpfer
eda6328e21 documentation: update my name (Ortmann -> Knüpfer) 2015-09-27 18:58:30 +02:00
Oleg Hahm
fd121a94e6 netdev2_tap: set maximum buffer size correctly 2015-09-12 12:02:48 +02:00
Martine Lenders
1c0cf3bf9c native: netdev2_tap: fix NETOPT_IS_WIRED flag 2015-09-11 13:11:33 +02:00
ef972735dc sys: net: replace dev_eth with netdev2, adapt native tap driver 2015-09-04 15:39:04 +02:00