net: gianfar: correctly determine the number of queue groups
authorTobias Waldekranz <tobias@waldekranz.com>
Thu, 5 Mar 2015 13:48:23 +0000 (14:48 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Mar 2015 03:18:32 +0000 (22:18 -0500)
commitf50724cdfeea37ddbd969e1445be7c85329d7d09
tree211c1c1ad25304734b47725770a25b8fc40613f7
parent9d73b42bbf5d2eea4ad9bf4cc56a1252b1eff70d
net: gianfar: correctly determine the number of queue groups

eTSEC of-nodes may have children which are not queue-group nodes. For
example new-style fixed-phy declarations. These where incorrectly
assumed to be additional queue-groups.

Change the search to filter out any nodes which are not queue-groups,
or have been disabled.

Signed-off-by: Tobias Waldekranz <tobias@waldekranz.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/gianfar.c
This page took 0.04969 seconds and 5 git commands to generate.