qlcnic: define error code for loopback test
authorAmit Kumar Salecha <amit.salecha@qlogic.com>
Thu, 14 Jul 2011 03:16:54 +0000 (03:16 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Jul 2011 15:49:44 +0000 (08:49 -0700)
commitfef0c0600b265ea5d4b1e39574801e6509a1dae6
treefbd9e67f698d17bcfb69ecb47c6f9fca5585a02d
parentf127f4727f3f60359570b6daa136ac1156e38fbf
qlcnic: define error code for loopback test

o Defined error code such as fw not responding, test already running and
  cable not connected.
o Check Fw capability before performing loopback test.

Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlcnic/qlcnic.h
drivers/net/qlcnic/qlcnic_ethtool.c
drivers/net/qlcnic/qlcnic_init.c