-
Notifications
You must be signed in to change notification settings - Fork 7.2k
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: ethernet: eth_stm32_hal: support get_config
#84898
Comments
Hello community, I'm just new to zephyr and open source software development. Recently started to study about network drivers development too. In zephyr project, I could see that many of the ethernet drivers have implemented only set_config() function in the driver code. And I could see that many drivers have implementation for get_capabilities(). Is the get_capabilities() function itself enough to fulfill the implementation of get_config()?. Because I am thinking that, If we implement the get_config(), the functionality will be more or less same as get_capabilities(). Thanks! |
@ramram885 Please open a dedicated discussion for you questions or alternatively engage on Zephyr Discord the network channel. |
Implementation of get_config() api added Fixes: zephyrproject-rtos#84898 Signed-off-by: Ram Mahesh <rammaheshram1234@gmail.com>
Implementation of get_config() api added Fixes: zephyrproject-rtos#84898 Signed-off-by: Ram Mahesh <rammaheshram1234@gmail.com>
Implementation of get_config() api added Fixes: zephyrproject-rtos#84898 Signed-off-by: Ram Mahesh <rammaheshram1234@gmail.com>
Implementation of get_config() api added Fixes: zephyrproject-rtos#84898 Signed-off-by: Ram Mahesh <rammaheshram1234@gmail.com>
Implementation of get_config() api added Fixes: zephyrproject-rtos#84898 Signed-off-by: Ram Mahesh <rammaheshram1234@gmail.com>
Implementation of get_config() api added Fixes: zephyrproject-rtos#84898 Signed-off-by: Ram Mahesh <rammaheshram1234@gmail.com>
Is your enhancement proposal related to a problem? Please describe.
There is currently no good way to query the configuration of the Ethernet on this driver (to my knowledge).
Describe the solution you'd like
Please implement
int(* get_config )(const struct device *dev, enum ethernet_config_type type, struct ethernet_config *config)
for theeth_stm32_hal
-driver.Describe alternatives you've considered
None
Additional context
None
The text was updated successfully, but these errors were encountered: