Searched hist:b2f2af21e37f6d12bd735c27da8942331aa9b3d7 (Results 1 – 1 of 1) sorted by relevance
/linux/include/net/ |
H A D | dsa.h | diff b2f2af21e37f6d12bd735c27da8942331aa9b3d7 Thu Sep 25 02:05:18 CEST 2014 Florian Fainelli <f.fainelli@gmail.com> net: dsa: allow enabling and disable switch ports
Whenever a per-port network device is used/unused, invoke the switch driver port_enable/port_disable callbacks to allow saving as much power as possible by disabling unused parts of the switch (RX/TX logic, memory arrays, PHYs...). We supply a PHY device argument to make sure the switch driver can act on the PHY device if needed (like putting/taking the PHY out of deep low power mode).
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|