gianfar: Add Multiple group Support
authorSandeep Gopalpet <Sandeep.Kumar@freescale.com>
Mon, 2 Nov 2009 07:03:34 +0000 (07:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Nov 2009 07:40:59 +0000 (23:40 -0800)
commit46ceb60ca80fa07703bc6eb8f4651f900dff5a82
tree9bd694c3b1559cbd0fa72bff1f521ce4bcc95aa6
parent2e0246c72fa2e2b61865a2d5aaff1cc9155b9447
gianfar: Add Multiple group Support

This patch introduces multiple group support for etsec2.0
devices.

Multiple group support is provided by mapping the set of enabled
queues to different groups and then programming the per group
regsiters imask, ievent, rstat, tstat.

The queues corresponding to a group are indicated by programming
isrg (interrupt steering) registers.

Signed-off-by: Sandeep Gopalpet <Sandeep.Kumar@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/gianfar.c
drivers/net/gianfar.h
drivers/net/gianfar_ethtool.c
drivers/net/gianfar_sysfs.c