qlcnic: fix link diag test
authorSony Chacko <sony.chacko@qlogic.com>
Tue, 17 Aug 2010 00:34:24 +0000 (00:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Aug 2010 10:59:48 +0000 (03:59 -0700)
commit8dec32cc421864702912c4341934fe0c737a9798
treedbf48881cd59c393f735bd5cdb4cf23365f346be
parent69324275de07584fbd0e77a517f9b43e82eaf9d6
qlcnic: fix link diag test

o Give sufficient time for all makes of PHY modules
  to establish the link after loopback test.
o Perform online test before offline test.

Signed-off-by: Sony Chacko <sony.chacko@qlogic.com>
Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlcnic/qlcnic_ethtool.c
drivers/net/qlcnic/qlcnic_hw.c