summaryrefslogtreecommitdiffstats
path: root/lib/flex_proportions.c
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2016-06-07 16:32:39 -0700
committerDavid S. Miller <davem@davemloft.net>2016-06-08 11:23:41 -0700
commit6e830d8f0deca91fcb84d3156dcebb20384a9e2d (patch)
treef5bf1f8b55aa043b7649c3c5781eff767316866a /lib/flex_proportions.c
parent0b7b498d41709d68bb4f520051f68d64f752beee (diff)
downloadop-kernel-dev-6e830d8f0deca91fcb84d3156dcebb20384a9e2d.zip
op-kernel-dev-6e830d8f0deca91fcb84d3156dcebb20384a9e2d.tar.gz
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>
Diffstat (limited to 'lib/flex_proportions.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud