Date: Wed, 3 Jul 2013 17:57:35 +0000 (UTC) From: David C Somayajulu <davidcs@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r252580 - head/sys/dev/qlxgbe Message-ID: <201307031757.r63HvZvN057684@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: davidcs Date: Wed Jul 3 17:57:35 2013 New Revision: 252580 URL: http://svnweb.freebsd.org/changeset/base/252580 Log: Port 0 needs to wait for ACK only if it issued the RESET. Modified: head/sys/dev/qlxgbe/ql_os.c Modified: head/sys/dev/qlxgbe/ql_os.c ============================================================================== --- head/sys/dev/qlxgbe/ql_os.c Wed Jul 3 17:47:48 2013 (r252579) +++ head/sys/dev/qlxgbe/ql_os.c Wed Jul 3 17:57:35 2013 (r252580) @@ -1646,11 +1646,13 @@ qla_error_recovery(void *context, int pe if ((ha->pci_func & 0x1) == 0) { - if (!ha->msg_from_peer) + if (!ha->msg_from_peer) { qla_send_msg_to_peer(ha, QL_PEER_MSG_RESET); - while ((ha->msg_from_peer != QL_PEER_MSG_ACK) && msecs_100--) - qla_mdelay(__func__, 100); + while ((ha->msg_from_peer != QL_PEER_MSG_ACK) && + msecs_100--) + qla_mdelay(__func__, 100); + } ha->msg_from_peer = 0;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307031757.r63HvZvN057684>