ti_cpsw: Check for disabled child nodes
authorBen Hutchings <ben.hutchings@codethink.co.uk>
Tue, 21 Jun 2016 00:16:31 +0000 (01:16 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Jun 2016 19:12:20 +0000 (15:12 -0400)
commit8658aaf2539795e0b58fe101ae61d989f81700ff
tree658bce06a2907b7c7558f28a751e108ee424d3af
parentb95e5928fcc76d156352570858abdea7b2628efd
ti_cpsw: Check for disabled child nodes

Dual MAC devices don't necessarily have both MACs wired up, so ignore
those that are disabled.

Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw.c