drivers: net: xgene: Backward compatibility with older firmware
authorIyappan Subramanian <isubramanian@apm.com>
Mon, 3 Nov 2014 19:59:55 +0000 (11:59 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Nov 2014 22:08:42 +0000 (17:08 -0500)
This patch adds support when used with older firmware (<= 1.13.28).

- Added xgene_ring_mgr_init() to check whether ring manager is initialized
- Calling xgene_ring_mgr_init() from xgene_port_ops.reset()
- To handle errors, changed the return type of xgene_port_ops.reset()

Signed-off-by: Iyappan Subramanian <isubramanian@apm.com>
Signed-off-by: Keyur Chudgar <kchudgar@apm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found