Tue, Aug 30, 2011 at 08:11:37PM CEST, mirqus@gmail.com wrote:
2011/8/30 Jiri Pirko [off-list ref]:
quoted
Allow to write to "carrier" attribute. Devices may implement ndo_change_carrier
callback to allow changing carrier from userspace.
Do you expect drivers using implementation different than just calling
netif_carrier_on/off? Or is it supposed to also e.g. power down PHYs?
Yes, generally it can be used also for en/disable phy, for testing
purposes if hw and driver would support it.
BTW, I like this feature!
Best Regards,
Michał Mirosław