commit | a827418eeda6c739f55d51a2862e891c0e815589 | [log] [tgz] |
---|---|---|
author | Alex <alex.g@adaptrum.com> | Tue Nov 22 10:55:13 2016 -0800 |
committer | Joe Hershberger <joe.hershberger@ni.com> | Thu Dec 08 10:36:22 2016 -0600 |
tree | 22d8f65bdf2e41096d13f2bfd458fb25b3c3698d | |
parent | 01094401a2431965c949fba5b863d958bb6211b8 [diff] |
net/phy/vitesse: Rework RGMII skew configuration for VSC8601 The VSC8601 config tried to add an RGMII skew based on #defines that no config defines. That's quite an ugly way to do it. Since the skew is only needed on RGMII interfaces, check the interface mode at runtime, and apply the settings accordingly. Tested on custom board with AM3352 SOC and VSC801 PHY. Signed-off-by: Alexandru Gagniuc <alex.g@adaptrum.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>