Thread (29 messages) flat view 29 messages, 4 authors, 2017-09-19

Re: [PATCH net-next 09/12] net: dsa: b53: Wire-up EEE

From: Vivien Didelot <hidden>
Date: 2017-09-18 22:32:53

Hi Florian,

Florian Fainelli [off-list ref] writes:
quoted hunk ↗ jump to hunk
@@ -1000,6 +1005,9 @@ static void b53_adjust_link(struct dsa_switch *ds, int port,
 			b53_write8(dev, B53_CTRL_PAGE, po_reg, gmii_po);
 		}
 	}
+
+	/* Re-negotiate EEE if it was enabled already */
+	p->eee_enabled = b53_eee_init(ds, port, phydev);
 }
Same here, I think we can move this up to DSA core, maybe with a
eee_enabled mask in dsa_switch or a bool in dsa_port.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help