zhhyu7 commented on issue #18110:
URL: https://github.com/apache/nuttx/issues/18110#issuecomment-3797600154

   > [@xiaoxiang781216](https://github.com/xiaoxiang781216) 
[@zhhyu7](https://github.com/zhhyu7) what about all other eth drivers in nuttx 
that not use common netdev_lowerhalf ? are they broken now?
   
   @raiden00pl  If the network card driver did not call the carrier_on at the 
appropriate place previously, it may become unable to select the network card. 
However, even for drivers using netdev_lowerhalf, the driver code still needs 
to actively call netdev_lower_carrier_on at the appropriate time, so there is 
actually no difference, . 
   The current network card selection strategy is that only when both the user 
configuration and the network card driver are enabled (carrier_on) will it be 
selected. This can return a more appropriate error code when recv and send are 
called. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to