drivers: netdev2: remove netdev2 event_callback isr_arg#4871
drivers: netdev2: remove netdev2 event_callback isr_arg#4871miri64 merged 6 commits intoRIOT-OS:masterfrom
Conversation
|
As stated in #4864 (comment): I would prefer to change the name of the netdev2_t member then also. With this change the name doesn't make much sense. |
|
@authmillenon I got a commit somewhere, sec... |
| const struct netdev2_driver *driver; /**< ptr to that driver's interface. */ | ||
| netdev2_event_cb_t event_callback; /**< callback for device events */ | ||
| void* isr_arg; /**< argument to pass on isr event */ | ||
| void* context; /**< ptr to network stack context */ |
There was a problem hiding this comment.
If your at it: fix the spaces ;)
|
Seems like the right way to go to me. |
|
Needs rebase (but I would actually prefer to wait for it until #4646 was merged). |
|
Still needs rebase (#4646 was rebased a while back). |
9c2a95a to
79258e7
Compare
|
|
Other than that it seems to work. |
79258e7 to
ad8492a
Compare
|
found another one in lwip. |
|
launching CI to check for build errors... |
|
Sorry somehow forgot about this one -.- |
|
There are still errors regarding the types of event callbacks. |
7f10187 to
15d9ce4
Compare
|
@miri64 murdock is happy. did you ack? |
|
Networking still works for at86rf2xx based boards and native so I say ACK and go. |
|
Ah wait, let me give emb6 and lwIP a quick test |
|
🗹 lwIP |
|
🗹 emb6 and go. |
See #4864.
This PR removes event_callback's extra argument, as it is currently completely unused.
PR marked WIP as I didn't test yet, let's discuss first if we need the argument.