Skip to content

Commit

Permalink
Merge pull request #1492 from authmillenon/net-dev-base
Browse files Browse the repository at this point in the history
drivers: Introduce a general interface for network device drivers
  • Loading branch information
miri64 committed Oct 2, 2014
2 parents 464ed0e + 5596af6 commit 0d33a00
Show file tree
Hide file tree
Showing 11 changed files with 1,833 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cpu/atmega_common/avr-libc-extra/errno.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ extern int errno;
#define EAGAIN ENOERR
#define EALREADY ENOERR
#define EBADF ENOERR
//#define EBUSY ENOERR
/* #define EBUSY ENOERR */
#define ECANCELED ENOERR
#define ECHILD ENOERR
#define ECONNABORTED ENOERR
#define ECONNREFUSED ENOERR
Expand All @@ -99,7 +100,7 @@ extern int errno;
#define EHOSTUNREACH ENOERR
#define EILSEQ ENOERR
#define EINPROGRESS ENOERR
//#define EINVAL ENOERR
/* #define EINVAL ENOERR */
#define EIO ENOERR
#define EISCONN ENOERR
#define EISDIR ENOERR
Expand Down Expand Up @@ -128,6 +129,7 @@ extern int errno;
#define ENOTTY ENOERR
#define ENXIO ENOERR
#define EOPNOTSUPP ENOERR
#define ENOTSUP EOPNOTSUPP
#define EPERM ENOERR
#define EPIPE ENOERR
#define EPROTONOSUPPORT ENOERR
Expand Down
3 changes: 3 additions & 0 deletions drivers/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,8 @@ endif
ifneq (,$(filter pir,$(USEMODULE)))
DIRS += pir
endif
ifneq (,$(filter netdev_base,$(USEMODULE)))
DIRS += netdev/base
endif

include $(RIOTBASE)/Makefile.base
Loading

0 comments on commit 0d33a00

Please sign in to comment.