Skip to content

net: add ng version of the netdev interface#2398

Merged
haukepetersen merged 1 commit intoRIOT-OS:masterfrom
haukepetersen:ng_ndetdev
Feb 10, 2015
Merged

net: add ng version of the netdev interface#2398
haukepetersen merged 1 commit intoRIOT-OS:masterfrom
haukepetersen:ng_ndetdev

Conversation

@haukepetersen
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason not to typedef this?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if you look some lines up in the code, you see it is typedefed... The forward declaration is needed as the type is used in ng_netdev_driver_t...

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, okay, never mind

@OlegHahm OlegHahm added NSTF and removed NSTF labels Feb 6, 2015
@haukepetersen haukepetersen added the CI: needs squashing Commits in this PR need to be squashed; If set, CI systems will mark this PR as unmergable label Feb 6, 2015
@haukepetersen
Copy link
Copy Markdown
Contributor Author

fixed some doxygen

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

excuse my ignorance, but where does this number came from?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nowhere. Just picked some number...

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I c.. from the brainware pseudo-random number generator :bowtie:

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes :-)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please surround by ifndef

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

really? I feel that at some point we start to surround every single define with '#ifndef'... I would rather leave at is and adjust the chosen value if needed -> wasn't there some discussion for system wide message numbers anyway?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this is the preliminary outcome.

@haukepetersen
Copy link
Copy Markdown
Contributor Author

renamed struct as suggested by @cgundogan

@LudwigKnuepfer LudwigKnuepfer changed the title net: added ng version of the netdev interface net: add ng version of the netdev interface Feb 8, 2015
@miri64
Copy link
Copy Markdown
Member

miri64 commented Feb 9, 2015

I don't see that the msg type discussion is PR relevant. ACK, please squash.

@haukepetersen
Copy link
Copy Markdown
Contributor Author

squashed and rebased - lets wait for Travis...

@haukepetersen haukepetersen removed the CI: needs squashing Commits in this PR need to be squashed; If set, CI systems will mark this PR as unmergable label Feb 9, 2015
@haukepetersen
Copy link
Copy Markdown
Contributor Author

kicked Travis

haukepetersen added a commit that referenced this pull request Feb 10, 2015
net: add ng version of the netdev interface
@haukepetersen haukepetersen merged commit 419e39f into RIOT-OS:master Feb 10, 2015
@haukepetersen
Copy link
Copy Markdown
Contributor Author

Travis is happy, and go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: network Area: Networking

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants