Thread (22 messages) 22 messages, 6 authors, 2011-09-01

Re: [patch net-next-2.6 1/2] net: allow to change carrier via sysfs

flat view

From: Jiri Pirko <hidden>
Date: 2011-08-31 08:27:01

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help