commit | 6e830d8f0deca91fcb84d3156dcebb20384a9e2d | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Tue Jun 07 16:32:39 2016 -0700 |
committer | David S. Miller <davem@davemloft.net> | Wed Jun 08 11:23:41 2016 -0700 |
tree | f5bf1f8b55aa043b7649c3c5781eff767316866a | |
parent | 0b7b498d41709d68bb4f520051f68d64f752beee [diff] |
net: dsa: Initialize ds->enabled_port_mask and ds->phys_mii_mask Some drivers rely on these two bitmasks to contain the correct values for them to successfully probe and initialize at drv->setup() time, calculate correct values to put in both masks as early as possible in dsa_get_ports_dn(). Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>