qlcnic: Fix loopback diagnostic test
authorManish Chopra <manish.chopra@qlogic.com>
Thu, 2 Jan 2014 18:38:43 +0000 (13:38 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Jan 2014 22:19:12 +0000 (17:19 -0500)
commitd9c602f033b00ba360a324c0ee5aa59a6838fb40
tree9906a2fb692f97fd2783ddd667100332ac1e38fc
parentc3ac17cd6af2687d5881184edd310a5f9c4baa98
qlcnic: Fix loopback diagnostic test

o Adapter requires that if the port is in loopback mode no traffic should
  be flowing through that port, so on arrival of Link up AEN, do not advertise
  Link up to the stack until port is out of loopback mode

Signed-off-by: Manish Chopra <manish.chopra@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic.h
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c
drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c