Skip to content

Conversation

@agansari
Copy link
Contributor

Power down PHY in eth_mcux driver and set carrier off.

Signed-off-by: Andrei Gansari [email protected]

Depends on zephyrproject-rtos/hal_nxp#24

Copy link
Contributor

Choose a reason for hiding this comment

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

aling parameters to last '(' + 1 space

west.yml Outdated
Copy link
Contributor

Choose a reason for hiding this comment

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

wait that's a different change: you are bumping nxp's HAL to a newer verison. make a dedicated PR for it please.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@tbursztyka without this version eth_mcux won't work, the version mentioned here has changes related to this patch.

Copy link
Contributor

Choose a reason for hiding this comment

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

So make a version bump PR first, and then the eth_mcux PR dependent over it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@tbursztyka wouldn't a separate commit work rather than a whole new PR, there is no major SDK update

Copy link
Member

Choose a reason for hiding this comment

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

Other option is to add a separate commit into this PR that updates the HAL version.

Copy link
Contributor

Choose a reason for hiding this comment

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

the pb with the hal version bump is that it might affect other drivers that are not related to ethernet. Thus why it's imo preferable to separate completely

Copy link
Member

Choose a reason for hiding this comment

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

But if we find out that the HAL version does not work everywhere we would be forced to revert both commits anyway so the end result is the same (as if we submit two separate PRs).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@jukkar should be a good thing, one will not work without the other.

Copy link
Member

@stephanosio stephanosio Dec 14, 2019

Choose a reason for hiding this comment

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

https://docs.zephyrproject.org/latest/guides/modules.html#changes-to-existing-modules

You can use revision: pull/24/head to run CI testing. Once it passes, the zephyrproject-rtos/hal_nxp#24 can be merged and the revision here can be updated to the commit hash in the master (i.e. the commit that has been rebased onto master of hal_nxp).

@agansari
Copy link
Contributor Author

@jukkar @tbursztyka i've split west and driver in separate commits and aligned code.

zephyrproject-rtos/hal_nxp#24
Add a mask for KSZ8081 PHY's control register to set power down.

Signed-off-by: Andrei Gansari <[email protected]>
@zephyrbot
Copy link

zephyrbot commented Dec 16, 2019

All checks passed.

Tip: The bot edits this comment instead of posting a new one, so you can check the comment's history to see earlier messages.

Power down PHY in eth_mcux driver and set carrier off.

Signed-off-by: Andrei Gansari <[email protected]>
@github-actions github-actions bot added has-conflicts Issue/PR has conflicts with another issue/PR and removed has-conflicts Issue/PR has conflicts with another issue/PR labels Jun 29, 2020
@github-actions github-actions bot added has-conflicts Issue/PR has conflicts with another issue/PR and removed has-conflicts Issue/PR has conflicts with another issue/PR labels Jul 2, 2020
@jukkar
Copy link
Member

jukkar commented Aug 11, 2020

Is this PR abandoned?

@jukkar jukkar added the Stale label Aug 11, 2020
@github-actions github-actions bot closed this Aug 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants