Re: [riot-devel] netdev2 is now netdev

2017-03-15 Thread Martine Lenders
Hi,

2017-03-15 11:54 GMT+01:00 Oleg Hahm :

> Hi Martine!
>
> Thanks for the info. Just a short clarification question:
>
> On Wed, Mar 15, 2017 at 11:46:47AM +0100, Martine Lenders wrote:
> > The only pitfall that might be a problem I was able to identify when
> > porting is that the adaption layer to GNRC `gnrc_netdev2` is now called
> > `gnrc_netdev`. So if you still include `sys/include/net/gnrc/netdev.h`
> > somewhere make sure to remove it or replace it with an include of
> > `drivers/include/net/netdev.h`.
>
> That means that I need to write #include "net/netdev.h", right?
>

Yes.

Cheers,
Martine
___
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel


Re: [riot-devel] netdev2 is now netdev

2017-03-15 Thread Oleg Hahm
Hi Martine!

Thanks for the info. Just a short clarification question:

On Wed, Mar 15, 2017 at 11:46:47AM +0100, Martine Lenders wrote:
> The only pitfall that might be a problem I was able to identify when
> porting is that the adaption layer to GNRC `gnrc_netdev2` is now called
> `gnrc_netdev`. So if you still include `sys/include/net/gnrc/netdev.h`
> somewhere make sure to remove it or replace it with an include of
> `drivers/include/net/netdev.h`.

That means that I need to write #include "net/netdev.h", right?

Cheers,
Oleg
-- 
/* The HME is the biggest piece of shit I have ever seen. */
linux-2.6.6/drivers/scsi/esp.h


signature.asc
Description: PGP signature
___
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel


[riot-devel] netdev2 is now netdev

2017-03-15 Thread Martine Lenders
Hi,
with the last network device based on gnrc_netdev removed we were now able
to rename netdev2 to netdev [1], which is now the only (network stack
independent) API to access a network device.

The only pitfall that might be a problem I was able to identify when
porting is that the adaption layer to GNRC `gnrc_netdev2` is now called
`gnrc_netdev`. So if you still include `sys/include/net/gnrc/netdev.h`
somewhere make sure to remove it or replace it with an include of
`drivers/include/net/netdev.h`.

If you still have some network device that is implemented against the
`gnrc_netdev` that is currently not in master, please port to `netdev2` as
soon as possible.

Cheers,
Martine

[1] https://github.com/RIOT-OS/RIOT/pull/6610
___
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel