-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
drivers/imx-enet: Add support for ethernet in imxrt1064-evk #96
base: master
Are you sure you want to change the base?
Conversation
3185e73
to
a582983
Compare
b8059e4
to
2af33ab
Compare
2af33ab
to
f5e973e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Partial review as current commit structure prevents efficient code review (the browser crashed with the amount of changes/comments in single commit :)).
Short summary:
- fix commit message titles (see
git history
for examples), at least prefix them with module name (also include in commit message bodies what / why was changed), add missing JIRA ID - clearly split the changes into separate atomic commits (eg. changing type name is not bringing new functionality and should be a separate change)
- fix coding style (according to our coding convention / MISRA as described in some comments)
- please test the code after changes on imx6ull-evk and DTR project (from CI I see that something is broken there), check also if the performance is not degraded
f5e973e
to
7dbbd7e
Compare
Unit Test Results7 725 tests +25 7 008 ✅ +23 39m 0s ⏱️ + 1m 40s For more details on these failures, see this check. Results for commit bfbf6e1. ± Comparison against base commit 4896655. This pull request removes 1 and adds 26 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
7dbbd7e
to
710b1d1
Compare
e11d5db
to
067dc1b
Compare
8c41250
to
fc32052
Compare
converting to draft until it will be ready for next review |
fc32052
to
f42a4cc
Compare
23199d4
to
949cbf1
Compare
949cbf1
to
c11c661
Compare
b05a49a
to
ccc4d77
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pointed out further issues with the code.
❗ Please confirm that the code was tested on DTR platform (change the PR to draft until then).
Please split into more (smaller, atomic) commits. Every potentially-breaking change needs to be in separate commit - clearly describing WHY it's needed
Please fix commit messages:
- be more concrete specifying the module in commit message title - here it will mostly be
drivers/imx-enet
ordrivers
- don't list all the files changed (that's what git is for) - for fixup comment - write in commit WHAT you're fixing, not WHICH commit (I need to dig further to learn what has actually changed), add info about the commit fixed in commit message body
- add newline after commit message body and before the trailers
JIRA: RTOS-507
change code style to match coding conventions JIRA: RTOS-507
refactor printfs with repeated format pattern into ephy_printf JIRA: RTOS-507
JIRA: RTOS-507
first step to add separate implementation files for imx6ull and imxrt106x gpio JIRA: RTOS-507
JIRA: RTOS-507
remove active value inversion in gpio_wait because the value is already being inverted in gpio_get JIRA: RTOS-507
JIRA: RTOS-507
fix 7b90e8e: - add _Atomic specifier to volatile vars used as atomics - change operations on the vars to atomic_* JIRA: RTOS-507
ccc4d77
to
b4be4d5
Compare
fix packet buffer handling for targets with page size less than packet buffer size JIRA: RTOS-507
b4be4d5
to
bfbf6e1
Compare
Description
Add Ethernet support for iMX RT106x, merging the code with existing driver for iMX RT6UL/6ULL in
drivers/imx-enet.c
Motivation and Context
https://jira.phoenix-rtos.com/browse/RTOS-507
Types of changes
How Has This Been Tested?
armv7a7-imx6ull-evk
,armv7m7-imxrt106x-evk
,armv7a7-imx6ull-dataro
.Checklist:
Special treatment