diff options
| author | Florian Fainelli <[email protected]> | 2014-09-25 00:05:18 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2014-09-28 21:14:08 +0000 |
| commit | b2f2af21e37f6d12bd735c27da8942331aa9b3d7 (patch) | |
| tree | 7273e1535a2000d8fb2c651e0e058e39018504b2 /net/sched/cls_basic.c | |
| parent | net: dsa: start and stop the PHY state machine (diff) | |
| download | kernel-b2f2af21e37f6d12bd735c27da8942331aa9b3d7.tar.gz kernel-b2f2af21e37f6d12bd735c27da8942331aa9b3d7.zip | |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/sched/cls_basic.c')
0 files changed, 0 insertions, 0 deletions
